Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779985 - dev-ruby/rubygems-3.2.14 install on root filesystem
Summary: dev-ruby/rubygems-3.2.14 install on root filesystem
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-04 11:41 UTC by Andrea Postiglione
Modified: 2021-04-04 14:51 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Postiglione 2021-04-04 11:41:33 UTC
gentoo-cluster1 ~ # equery files rubygems
!!! Repository 'x-local' is missing masters attribute in '/var/db/repos/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'x-local' is missing masters attribute in '/var/db/repos/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'x-local' is missing masters attribute in '/var/db/repos/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
 * Searching for rubygems ...
 * Contents of dev-ruby/rubygems-3.2.14:
/auto_gem.rb
/rubygems
/rubygems.rb
/rubygems/available_set.rb
/rubygems/basic_specification.rb
/rubygems/bundler_version_finder.rb
/rubygems/command.rb
/rubygems/command_manager.rb
/rubygems/commands
/rubygems/commands/build_command.rb
/rubygems/commands/cert_command.rb
/rubygems/commands/check_command.rb
/rubygems/commands/cleanup_command.rb
/rubygems/commands/contents_command.rb
/rubygems/commands/dependency_command.rb
/rubygems/commands/environment_command.rb
/rubygems/commands/fetch_command.rb
/rubygems/commands/generate_index_command.rb
/rubygems/commands/help_command.rb
/rubygems/commands/info_command.rb
/rubygems/commands/install_command.rb
/rubygems/commands/list_command.rb
/rubygems/commands/lock_command.rb
/rubygems/commands/mirror_command.rb
/rubygems/commands/open_command.rb
/rubygems/commands/outdated_command.rb
/rubygems/commands/owner_command.rb
/rubygems/commands/pristine_command.rb
/rubygems/commands/push_command.rb
/rubygems/commands/query_command.rb
/rubygems/commands/rdoc_command.rb
/rubygems/commands/search_command.rb
/rubygems/commands/server_command.rb
/rubygems/commands/setup_command.rb
/rubygems/commands/signin_command.rb
/rubygems/commands/signout_command.rb
/rubygems/commands/sources_command.rb
/rubygems/commands/specification_command.rb
/rubygems/commands/stale_command.rb
/rubygems/commands/uninstall_command.rb
/rubygems/commands/unpack_command.rb
/rubygems/commands/update_command.rb
/rubygems/commands/which_command.rb
/rubygems/commands/yank_command.rb
/rubygems/compatibility.rb
/rubygems/config_file.rb
/rubygems/core_ext
/rubygems/core_ext/kernel_gem.rb
/rubygems/core_ext/kernel_require.rb
/rubygems/core_ext/kernel_warn.rb
/rubygems/core_ext/tcpsocket_init.rb
/rubygems/defaults
/rubygems/defaults.rb
/rubygems/defaults/operating_system.rb
/rubygems/dependency.rb
/rubygems/dependency_installer.rb
/rubygems/dependency_list.rb
/rubygems/deprecate.rb
/rubygems/doctor.rb
/rubygems/errors.rb
/rubygems/exceptions.rb
/rubygems/ext
/rubygems/ext.rb
/rubygems/ext/build_error.rb
/rubygems/ext/builder.rb
/rubygems/ext/cmake_builder.rb
/rubygems/ext/configure_builder.rb
/rubygems/ext/ext_conf_builder.rb
/rubygems/ext/rake_builder.rb
/rubygems/gem_runner.rb
/rubygems/gemcutter_utilities.rb
/rubygems/indexer.rb
/rubygems/install_default_message.rb
/rubygems/install_message.rb
/rubygems/install_update_options.rb
/rubygems/installer.rb
/rubygems/installer_test_case.rb
/rubygems/installer_uninstaller_utils.rb
/rubygems/local_remote_options.rb
/rubygems/mock_gem_ui.rb
/rubygems/name_tuple.rb
/rubygems/openssl.rb
/rubygems/package
/rubygems/package.rb
/rubygems/package/digest_io.rb
/rubygems/package/file_source.rb
/rubygems/package/io_source.rb
/rubygems/package/old.rb
/rubygems/package/source.rb
/rubygems/package/tar_header.rb
/rubygems/package/tar_reader
/rubygems/package/tar_reader.rb
/rubygems/package/tar_reader/entry.rb
/rubygems/package/tar_test_case.rb
/rubygems/package/tar_writer.rb
/rubygems/package_task.rb
/rubygems/path_support.rb
/rubygems/platform.rb
/rubygems/psych_additions.rb
/rubygems/psych_tree.rb
/rubygems/query_utils.rb
/rubygems/rdoc.rb
/rubygems/remote_fetcher.rb
/rubygems/request
/rubygems/request.rb
/rubygems/request/connection_pools.rb
/rubygems/request/http_pool.rb
/rubygems/request/https_pool.rb
/rubygems/request_set
/rubygems/request_set.rb
/rubygems/request_set/gem_dependency_api.rb
/rubygems/request_set/lockfile
/rubygems/request_set/lockfile.rb
/rubygems/request_set/lockfile/parser.rb
/rubygems/request_set/lockfile/tokenizer.rb
/rubygems/requirement.rb
/rubygems/resolver
/rubygems/resolver.rb
/rubygems/resolver/activation_request.rb
/rubygems/resolver/api_set
/rubygems/resolver/api_set.rb
/rubygems/resolver/api_set/gem_parser.rb
/rubygems/resolver/api_specification.rb
/rubygems/resolver/best_set.rb
/rubygems/resolver/composed_set.rb
/rubygems/resolver/conflict.rb
/rubygems/resolver/current_set.rb
/rubygems/resolver/dependency_request.rb
/rubygems/resolver/git_set.rb
/rubygems/resolver/git_specification.rb
/rubygems/resolver/index_set.rb
/rubygems/resolver/index_specification.rb
/rubygems/resolver/installed_specification.rb
/rubygems/resolver/installer_set.rb
/rubygems/resolver/local_specification.rb
/rubygems/resolver/lock_set.rb
/rubygems/resolver/lock_specification.rb
/rubygems/resolver/molinillo
/rubygems/resolver/molinillo.rb
/rubygems/resolver/molinillo/lib
/rubygems/resolver/molinillo/lib/molinillo
/rubygems/resolver/molinillo/lib/molinillo.rb
/rubygems/resolver/molinillo/lib/molinillo/delegates
/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
/rubygems/resolver/molinillo/lib/molinillo/errors.rb
/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
/rubygems/resolver/molinillo/lib/molinillo/modules
/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
/rubygems/resolver/molinillo/lib/molinillo/state.rb
/rubygems/resolver/requirement_list.rb
/rubygems/resolver/set.rb
/rubygems/resolver/source_set.rb
/rubygems/resolver/spec_specification.rb
/rubygems/resolver/specification.rb
/rubygems/resolver/stats.rb
/rubygems/resolver/vendor_set.rb
/rubygems/resolver/vendor_specification.rb
/rubygems/s3_uri_signer.rb
/rubygems/safe_yaml.rb
/rubygems/security
/rubygems/security.rb
/rubygems/security/policies.rb
/rubygems/security/policy.rb
/rubygems/security/signer.rb
/rubygems/security/trust_dir.rb
/rubygems/security_option.rb
/rubygems/server.rb
/rubygems/source
/rubygems/source.rb
/rubygems/source/git.rb
/rubygems/source/installed.rb
/rubygems/source/local.rb
/rubygems/source/lock.rb
/rubygems/source/specific_file.rb
/rubygems/source/vendor.rb
/rubygems/source_list.rb
/rubygems/spec_fetcher.rb
/rubygems/specification.rb
/rubygems/specification_policy.rb
/rubygems/ssl_certs
/rubygems/ssl_certs/.document
/rubygems/ssl_certs/rubygems.org
/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
/rubygems/stub_specification.rb
/rubygems/syck_hack.rb
/rubygems/test_case.rb
/rubygems/test_utilities.rb
/rubygems/text.rb
/rubygems/uninstaller.rb
/rubygems/uri_formatter.rb
/rubygems/uri_parser.rb
/rubygems/uri_parsing.rb
/rubygems/user_interaction.rb
/rubygems/util
/rubygems/util.rb
/rubygems/util/licenses.rb
/rubygems/util/list.rb
/rubygems/validator.rb
/rubygems/version.rb
/rubygems/version_option.rb
/usr
/usr/bin
/usr/bin/gem27
/usr/share
/usr/share/doc
/usr/share/doc/rubygems-3.2.14
/usr/share/doc/rubygems-3.2.14/CHANGELOG.md.bz2
/usr/share/doc/rubygems-3.2.14/README.md.bz2



gentoo-cluster1 ~ # emerge --info rubygems
!!! Repository 'x-local' is missing masters attribute in '/var/db/repos/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
WARNING: One or more repositories have missing repo_name entries:

        /var/db/repos/local/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.33, 5.11.11-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.11-gentoo-dist-x86_64-Intel-R-_Core-TM-_i9-10900K_CPU_@_3.70GHz-with-glibc2.2.5
KiB Mem:     8135148 total,   4576332 free
KiB Swap:    2097148 total,   2096368 free
Timestamp of repository gentoo: Sun, 04 Apr 2021 10:45:01 +0000
Head commit of repository gentoo: 63c61a619d00e269575dbe782d6f2613ef8ae1ed
Timestamp of repository guru: Sat, 03 Apr 2021 00:20:36 +0000
Head commit of repository guru: 28187b3b18fa6ffa427af0e7d95273d0777299f2

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.9::gentoo, 3.9.3::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.43::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

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

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

x-local
    location: /var/db/repos/local
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-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="-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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd 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" 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="python3_8" RUBY_TARGETS="ruby27" 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 proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-ruby/rubygems-3.2.14::gentoo was built with the following:
USE="-server -test" ABI_X86="(64)" RUBY_TARGETS="ruby27 -ruby25 -ruby26 -ruby30"
FEATURES="ebuild-locks multilib-strict binpkg-docompress xattr userfetch usersandbox usersync binpkg-dostrip merge-sync binpkg-logs assume-digests distlocks strict qa-unresolved-soname-deps pid-sandbox ipc-sandbox parallel-fetch news protect-owned fixlafiles config-protect-if-modified unmerge-orphans sandbox preserve-libs unmerge-logs sfperms network-sandbox userpriv unknown-features-warn"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-04 11:44:32 UTC
Full build.log is needed from the install if you can reproduce?
Comment 2 Ionen Wolkens gentoo-dev 2021-04-04 11:45:51 UTC
Briefly described the cause back in bug #776322 comment #8
Comment 3 Ionen Wolkens gentoo-dev 2021-04-04 11:55:43 UTC
In other words, this doesn't "normally" happen, it happens if your ruby is in a broken state and isn't reporting install paths properly.
Comment 4 Andrea Postiglione 2021-04-04 12:26:17 UTC
(In reply to Ionen Wolkens from comment #3)
> In other words, this doesn't "normally" happen, it happens if your ruby is
> in a broken state and isn't reporting install paths properly.

My ruby is correctly installed

gentoo-cluster1 ~ # equery list dev-lang/ruby
 * Searching for ruby in dev-lang ...
[IP-] [  ] dev-lang/ruby-2.7.2-r1:2.7
Comment 5 Andrea Postiglione 2021-04-04 12:28:12 UTC
(In reply to Sam James from comment #1)
> Full build.log is needed from the install if you can reproduce?

Sorry but build.log is not available because the install procedure done correctly
Comment 6 Andrea Postiglione 2021-04-04 13:00:39 UTC
i downgraded ruby-2.7.2-r1 to ruby-2.7.2 and it works fine
Comment 7 Jonas Stein gentoo-dev 2021-04-04 14:51:39 UTC
It is sad to read that you have problems with rubygems. The situation seems to be a bit more complicate and requires some analysis.
The ticket is quite confusing to me so far and it would be better to collect more information first.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/