>>> Emerging (19 of 35) dev-ruby/rubygems-3.1.2::gentoo * rubygems-3.1.2.tgz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rubygems-3.1.2.tgz to /var/tmp/portage/dev-ruby/rubygems-3.1.2/work/all >>> Source unpacked in /var/tmp/portage/dev-ruby/rubygems-3.1.2/work >>> Preparing source in /var/tmp/portage/dev-ruby/rubygems-3.1.2/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Adjusting to prefix / * operating_system.rb ... [ ok ] /var/tmp/portage/dev-ruby/rubygems-3.1.2/temp/environment: line 596: rake: command not found * ERROR: dev-ruby/rubygems-3.1.2::gentoo failed (prepare phase): * (no error message) but # emerge -pv rake These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-ruby/rubygems-3.1.2::gentoo USE="-server -test" RUBY_TARGETS="ruby25 ruby26 -ruby24" 0 KiB [ebuild N ] virtual/rubygems-15::gentoo RUBY_TARGETS="ruby25 ruby26 -ruby24" 0 KiB [ebuild N ] dev-ruby/rake-13.0.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby25 ruby26 -ruby24" 0 KiB Total: 3 packages (3 new), Size of downloads: 0 KiB Portage 2.3.83 (python 3.6.10-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.30-r3, 5.4.6-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.4.6-gentoo-x86_64-x86_64-AMD_Athlon_3000G_with_Radeon_Vega_Graphics-with-gentoo-2.6 KiB Mem: 14281036 total, 10167624 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 26 Dec 2019 11:00:01 +0000 Head commit of repository gentoo: 3e0327452fb06ade6604e833f312945d6656fe97 sh bash 5.0_p11 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p11::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.6.10::gentoo dev-util/cmake: 3.16.2-r1::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.1-r2::gentoo sys-devel/binutils: 2.32-r1::gentoo, 2.33.1::gentoo sys-devel/gcc: 9.2.0-r3::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe -march=native" 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd udev unicode xattr zlib" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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
# diff /var/db/repos/gentoo/dev-ruby/rubygems/rubygems-3.{0.6,1.2}.ebuild 26a27 > dev-ruby/rake 33c34 < cp "${FILESDIR}/gentoo-defaults-3.rb" lib/rubygems/defaults/operating_system.rb || die --- > cp "${FILESDIR}/gentoo-defaults-4.rb" lib/rubygems/defaults/operating_system.rb || die 38a40,44 > # Avoid test that won't work as json is also installed as plain ruby code > sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.rb || die > > # Update manifest after changing files to avoid a test failure > rake update_manifest || die So it's only rubygems-3.1.2 that has the metacircular dependency, older versions are fine
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d535cff28c1d329bc9dc7f83bfce2c27e1829b commit 56d535cff28c1d329bc9dc7f83bfce2c27e1829b Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2019-12-27 05:41:09 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2019-12-27 05:41:09 +0000 dev-ruby/rubygems: fix rake invocation We only need to use rake when we also run tests. This fixes a circular dependency between rake and rubygems that can now be avoided with FEATURES=-test. Closes: https://bugs.gentoo.org/703868 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/rubygems/rubygems-3.1.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
*** Bug 703878 has been marked as a duplicate of this bug. ***
*** Bug 703946 has been marked as a duplicate of this bug. ***