Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766231 - dev-ruby/racc-1.5.2 (and others) /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `require': cannot load such file -- rubygems/compatibility (LoadError)
Summary: dev-ruby/racc-1.5.2 (and others) /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `req...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 765781 766543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-20 01:48 UTC by danipo
Modified: 2021-01-22 12:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge -pqv (racc-pqv.txt,101 bytes, text/plain)
2021-01-20 01:53 UTC, danipo
Details
output of emerge --info (racc-info.txt,9.50 KB, text/plain)
2021-01-20 01:53 UTC, danipo
Details
build log (racc_build_log.txt,1.75 KB, text/plain)
2021-01-20 01:56 UTC, danipo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description danipo 2021-01-20 01:48:47 UTC
Discovered on ~amd64 dev-ruby/racc-1.5.2 fails to compile. Appears to be related to bug numbers 762190 and 762181 which were resolved.

Reproducible: Always

Steps to Reproduce:
1.emerge -qauvDU -l10 -j --with-bdeps=y --keep-going @world

Actual Results:  
* ERROR: dev-ruby/racc-1.5.2::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 2162:  Called ruby-ng_src_prepare
 *   environment, line 1818:  Called _ruby_invoke_environment 'all' '_ruby_apply_patches'
 *   environment, line  697:  Called _ruby_apply_patches
 *   environment, line  532:  Called all_ruby_prepare
 *   environment, line  797:  Called die
 * The specific snippet of code:
 *       rake lib/racc/parser-text.rb || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/racc-1.5.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/racc-1.5.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/racc-1.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/racc-1.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/racc-1.5.2/work/all/racc-1.5.2'
 * S: '/var/tmp/portage/dev-ruby/racc-1.5.2/work/all/racc-1.5.2'
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-ruby/minitest-5.10.3[ruby_targets_ruby25] pulled in by:
 *     (dev-lang/ruby-2.5.8-r1:2.5/2.5::gentoo, installed)
 * 
 *   virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
 *     (dev-ruby/did_you_mean-1.2.1:2.5/2.5::gentoo, installed)
 * 
 *   virtual/ruby-ssl[ruby_targets_ruby25(-)] pulled in by:
 *     (dev-ruby/racc-1.5.2:0/0::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-ruby/racc-1.5.2:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-ruby/racc-1.5.2/temp/build.log'
 * 


Output of build.log: https://dpaste.com/EKJMLAH5W
Output of emerge -pqv '=dev-ruby/racc-1.5.2::gentoo': https://dpaste.com/BYH8VLBLN
Output of emerge --info '=dev-ruby/racc-1.5.2::gentoo': https://dpaste.com/FX3DRDVVF


Expected Results:  
Successful compilation

$ emerge --info
Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r7, 5.10.7-gentoo x86_64)
=================================================================
System uname: Linux-5.10.7-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.2.5
KiB Mem:    32825528 total,  26899912 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 20 Jan 2021 01:00:01 +0000
Head commit of repository gentoo: 115d1531223dede9fc00ef6faf92185cffb8f4f3
Timestamp of repository beatussum-overlay: Fri, 15 Jan 2021 18:10:18 +0000
Head commit of repository beatussum-overlay: 5de74ed34fe2f91ff6e811f6ff475b47142a28b5

Timestamp of repository brave-overlay: Sun, 10 Jan 2021 09:05:12 +0000
Head commit of repository brave-overlay: 9d927e53b2601f6e692dfeb992f53ec240136deb

Timestamp of repository dotnet: Tue, 12 Jan 2021 10:37:33 +0000
Head commit of repository dotnet: 9def1db4c60751284f818739cad05fcdc64942e6

Timestamp of repository guru: Tue, 19 Jan 2021 15:02:48 +0000
Head commit of repository guru: ba35660cd27b5fc8a3ddf423496703a75359ae4b

Timestamp of repository jorgicio: Wed, 20 Jan 2021 00:03:29 +0000
Head commit of repository jorgicio: 6049f83cc22a7f8de7f870f702cf037579a16a89

Timestamp of repository ppfeufer-gentoo-overlay: Tue, 19 Jan 2021 13:02:56 +0000
Head commit of repository ppfeufer-gentoo-overlay: 01aeb9f409668081ea5621b090e867f4820ca059

Timestamp of repository stefantalpalaru: Mon, 18 Jan 2021 23:03:30 +0000
Head commit of repository stefantalpalaru: 11049998d2baeaf19a8b090dd7c7235e7f76b598

Timestamp of repository tastytea: Mon, 18 Jan 2021 18:33:05 +0000
Head commit of repository tastytea: ce2cb616ce120413911125ab78075d865045b09c

Head commit of repository steam-overlay: 6ed5630096d43208168572264f204d40e6b2a5c0

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          2.7.18-r100::stefantalpalaru, 3.6.12-r1::gentoo, 3.7.9-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo
dev-util/cmake:           3.19.3::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

beatussum-overlay
    location: /var/db/repos/beatussum-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/beatussum-overlay.git
    masters: gentoo

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dotnet.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo

ppfeufer-gentoo-overlay
    location: /var/db/repos/ppfeufer-gentoo-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ppfeufer-gentoo-overlay.git
    masters: gentoo

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo

tastytea
    location: /var/db/repos/tastytea
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tastytea.git
    masters: gentoo

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.cs.utah.edu/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
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"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gui iconv icu ipv6 jpeg jumbo-build kde kipi kwallet latex lcms libglvnd libnotify libtirpc mad minizip mng mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit postproc ppds pulseaudio qml qt4 qt5 readline sdl seccomp secure-delete semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" 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-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 danipo 2021-01-20 01:53:21 UTC
Created attachment 683791 [details]
output of emerge -pqv
Comment 2 danipo 2021-01-20 01:53:42 UTC
Created attachment 683794 [details]
output of emerge --info
Comment 3 danipo 2021-01-20 01:56:36 UTC
Created attachment 683797 [details]
build log
Comment 4 Ionen Wolkens gentoo-dev 2021-01-20 03:42:59 UTC
Traceback (most recent call last):
3: from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
2: from <internal:gem_prelude>:2:in `require'
1: from /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `<top (required)>'
/usr/lib64/ruby/2.5.0/rubygems.rb:17:in `require': cannot load such file -- rubygems/compatibility (LoadError)

I think it's a generalized issue when have ruby25 eselect'ed after the ruby25 target removal, try to: eselect ruby set ruby26
Comment 5 danipo 2021-01-20 04:55:42 UTC
Yes. eselect ruby set ruby26 fixes it.
Comment 6 Ionen Wolkens gentoo-dev 2021-01-22 12:37:45 UTC
I'll take the liberty to mark similar bugs a duplicate of this one.
Comment 7 Ionen Wolkens gentoo-dev 2021-01-22 12:39:10 UTC
*** Bug 766543 has been marked as a duplicate of this bug. ***
Comment 8 Ionen Wolkens gentoo-dev 2021-01-22 12:39:48 UTC
*** Bug 765781 has been marked as a duplicate of this bug. ***