Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Failed to emerge gitlab
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
catzera
n00b
n00b


Joined: 22 Nov 2022
Posts: 22

PostPosted: Tue Mar 26, 2024 4:56 pm    Post subject: [solved]Failed to emerge gitlab Reply with quote

Hey, when I tried to emerge gitlab, returns
Code:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/rubygems:0

  (dev-ruby/rubygems-3.4.22:0/0::gentoo, ebuild scheduled for merge) USE="-server -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32" pulled in by
    =dev-ruby/rubygems-3.4* required by (www-apps/gitlab-16.10.0:0/0::gitlab, ebuild scheduled for merge) USE="gitaly_git -favicon -gitlab-config -kerberos -mail_room -pages -prometheus -relative_url -systemd" ABI_X86="(64)"
    ^                  ^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                         

  (dev-ruby/rubygems-3.5.3:0/0::gentoo, installed) USE="-server -test" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 ruby33" pulled in by
    >=dev-ruby/rubygems-3.5.3[ruby_targets_ruby33] required by (virtual/rubygems-20:0/0::gentoo, installed) USE="" ABI_X86="(64)" RUBY_TARGETS="ruby31 ruby32 ruby33"
    ^^                  ^^^^^                                                                                                                                                                                                                                                                           


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

So I tried to mask one of rubygems, but none of them succeed. What shall I do?
Here's my make.conf
Code:

CGO_CFLAGS="${CFLAGS}"
CGO_CXXFLAGS="${CXXFLAGS}"
CGO_FFLAGS="${FFLAGS}"
CGO_LDFLAGS="${LDFLAGS}"

COMMON_FLAGS="-march=tigerlake -mtune=tigerlake -mabm -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j65 -l8"
# MAKEOPTS="-j8"
FEATURES="distcc"
# CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3"
CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3"

L10N="en-US zh"
USE="apparmor X lz4 wayland hwaccel python kde alsa acl qt5 gssapi harden avedconfig pulseaudio go cxx rust bluetooth elogind dbus networkmanager dist-kernel sddm -gtk -gnome -systemd"
CHOST="x86_64-pc-linux-gnu"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --ask --verbose=y --load-average --keep-going --deep"
# EMERGE_DEFAULT_OPTS="--with-bdeps=y --ask --verbose=y --load-average --quiet --keep-going --deep"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORTAGE_TMPDIR="/tmp"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
AUTO_CLEAN="yes"

GRUB_PLATFORMS="efi-64"

VIDEO_CARDS="intel i915 iris"
MICROCODE_SIGNATURES="-S"

LLVM_TARGETS="X86"

QEMU_SOFTMMU_TARGETS="arm x86_64 sparc"
QEMU_USER_TARGETS="x86_64"


Last edited by catzera on Wed Mar 27, 2024 2:58 am; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1662

PostPosted: Tue Mar 26, 2024 5:11 pm    Post subject: Reply with quote

Turn off ruby_targets_ruby33 and it will work. AKA remove RUBY_TARGETS="ruby33"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum