View previous topic :: View next topic |
Author |
Message |
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Tue May 16, 2023 7:13 am Post subject: dev-ruby/racc-1.6.2 fails to emerge on fresh install |
|
|
This failure happens during the first emerge ... @world. I had previously done an emerge --sync so ebuilds should be up to date. I tried several things to fix it. Now I'm down to 9 out of 220 packages left to emerge.
TL;DR: USE Flag 'ruby_targets_ruby27' not in IUSE for dev-ruby/racc-1.6.2
Here is the error message:
Code: |
>>> Emerging (2 of 9) dev-ruby/racc-1.6.2::gentoo
* racc-1.6.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
* Running unpack phase for all
>>> Unpacking racc-1.6.2.tar.gz to /var/tmp/portage/dev-ruby/racc-1.6.2/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/racc-1.6.2/work
>>> Preparing source in /var/tmp/portage/dev-ruby/racc-1.6.2/work ...
* Running prepare phase for all
* Running prepare phase for all
* ERROR: dev-ruby/racc-1.6.2::gentoo failed (prepare phase):
* USE Flag 'ruby_targets_ruby27' not in IUSE for dev-ruby/racc-1.6.2
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 2274: Called ruby-ng_src_prepare
* environment, line 1876: Called _ruby_invoke_environment 'all' '_ruby_apply_patches'
* environment, line 663: Called _ruby_apply_patches
* environment, line 481: Called all_ruby_prepare
* environment, line 788: Called use 'ruby_targets_ruby27'
* phase-helpers.sh, line 256: Called die
* The specific snippet of code:
* die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
*
* If you need support, post the output of `emerge --info '=dev-ruby/racc-1.6.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-ruby/racc-1.6.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-ruby/racc-1.6.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-ruby/racc-1.6.2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-ruby/racc-1.6.2/work/all/racc-1.6.2'
* S: '/var/tmp/portage/dev-ruby/racc-1.6.2/work/all/racc-1.6.2' |
Here is the emerge --info:
Code: | chroot> emerge --info '=dev-ruby/racc-1.6.2::gentoo'
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 3.0.44 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r8, 6.1.12-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.1.12-gentoo-dist-x86_64-AMD_Ryzen_5_PRO_4650G_with_Radeon_Graphics-with-glibc2.36
KiB Mem: 32181556 total, 5418088 free
KiB Swap: 10485756 total, 7326260 free
Timestamp of repository gentoo: Tue, 16 May 2023 00:30:01 +0000
Head commit of repository gentoo: 9c2d323e142f1b651e4fbc73089348dd5fdaccfb
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.36.0-r2::gentoo
dev-lang/python: 3.11.3::gentoo
dev-lang/rust-bin: 1.66.1-r1::gentoo
dev-util/cmake: 3.26.3::gentoo
dev-util/meson: 1.0.1::gentoo
sys-apps/baselayout: 2.13-r1::gentoo
sys-apps/openrc: 0.46::gentoo
sys-apps/sandbox: 2.29::gentoo
sys-devel/autoconf: 2.71-r5::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config: 2.10::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/llvm: 15.0.7::gentoo
sys-devel/make: 4.4.1::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.36-r8::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL googleearth AdobeFlash-10.1 AdobeFlash-11.x AdobeFlash-10.3 Oracle-BCLA-JavaSE google-chrome MakeMKV-EULA FraunhoferFDK Coherent-Graphics ms-teams-pre"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/share/config /usr/share/gnupg/qualified.txt /usr/src"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="3dnow 3dnowext X a52 aac aacs acpi alsa amarok amd64 bash-completion bdplus bluetooth bluray branding bzip2 cairo cdda cddb cdparanoia cdr cjk cli crypt cups dbus djvu dri dts dvd dvdnav dvdr dvdread elogind emovix encode exif fbcon fbcondecor ffmpeg firefox flac fortran gdbm gif glitz gmp gpm gtk gui iconv icu id3 ieee1394 imagemagick ipv6 java jpeg kpathsea lcms libglvnd libnotify libtirpc libwww lm_sensors logitech-mouse lz4 lzma mad mmx mmxext mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl nsplugin objc ogg opengl openmp pam pango pcre pdf plotutils png policykit ppds python qt5 quicktime readline real ruby sdl seccomp sockets sound spell split-usr sse sse2 ssl startup-notification svg tcltk test-rust tetex tidy tiff tk truetype udev udisks unicode upower usb vdpau vim-pager vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xetex xft xine xinerama xml xmp xv xvid xz zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc efi-32 coreboot" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
I've been running Gentoo for over 20 years. It's gotten really stable and easy. Every 5 or so years I do a fresh install. This time it was motivated by getting a ton of error messages (blocks and slots) trying to emerge world. I thought a fresh install would be easier than tracking down those problems. Gentoo has gotten so easy that I'm out of touch with how to fix it myself when things go wrong. The binary kernels make my life much easier.
FWIW I'm using a Ryzen Pro 4650G with 32G ECC RAM. It's spends less time compiling than any of my previous systems by a wide margin and stays below 60C regardless of load. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1946
|
Posted: Tue May 16, 2023 7:22 am Post subject: |
|
|
With regard to reinstalls: the reason that emerges tend to get "blocked up" over time is stuff in your world file which isn't installable. emerge -p -ev @world --backtrack=0 can help to find such problems.
Anyway, in this case, it's a real bug, and it's just been fixed. Please report issues like this on bugs.gentoo.org in future to make sure the right people see it. |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Tue May 16, 2023 9:08 am Post subject: |
|
|
Thanks sam! I will try again tomorrow. Here is the command I've been using to emerge world:
Code: | emerge -av --keep-going --quiet-build=y --with-bdeps=y --backtrack=100 --verbose-conflicts -uDN world |
Suggestions to improve this would be welcome. Fixing my current system would be slightly more convenient for me but I didn't want to bother people with hundreds of lines of error messages. I thought a fresh install would require less outside help.
It's hard to distinguish between me doing something stupid/different/old-fashioned and an actual bug. I will usually post here first before submitting a bug report. Although IIRC it's been years since I've had to report a problem. My guess for this one with racc was a change in make.conf was needed but none of the changes I tried worked. I re-use make.conf from my current system and I had already fixed one problem in it. I've bumped into problems several times over the years because I was doing things the old fashioned way. It's usually best (for me) to assume PEBKAC rather than a bug in the system.
Again, thanks for your help! |
|
Back to top |
|
|
Kellerkalt n00b
Joined: 22 Dec 2020 Posts: 47
|
Posted: Sat Jun 17, 2023 10:12 pm Post subject: |
|
|
please disregard, I replied to the wrong post...
Last edited by Kellerkalt on Sat Jun 17, 2023 10:48 pm; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22602
|
Posted: Sat Jun 17, 2023 10:43 pm Post subject: |
|
|
Kellerkalt wrote: | I'm still not having any luck getting past this and I can't even emerge dev-ruby/rake as suggested. | I think you may have posted in the wrong thread. The subject matter of this thread was a failure to build due to a mistake in the ebuild for racc, which triggered a sanity check. That problem was fixed. Your problem is that you cannot convince Portage to even attempt to build rake, due to a slot conflict. rake is not racc, and your failure is not the same type of failure the OP reported.
Your problem appears to be a USE flag mismatch. You are attempting to rebuild rake without ruby30 support, but you still need ruby30 support because ruby-3.0 requires it. Restore ruby30 support, or emerge --depclean ruby:3.0 to eliminate the need for ruby30 support. |
|
Back to top |
|
|
Sinbiosis n00b
Joined: 03 Oct 2022 Posts: 30
|
Posted: Sun Jun 18, 2023 6:19 pm Post subject: |
|
|
Posting here to point others to the other thread that this thread was continued on.
For anyone who finds this thread, the OP responded in a different thread after mistaking the other thread for this thread. |
|
Back to top |
|
|
|
|
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
|
|