Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776640 - dev-ruby/xmlrpc-0.3.0 - * ERROR: dev-ruby/xmlrpc-0.3.0::gentoo failed (install phase):
Summary: dev-ruby/xmlrpc-0.3.0 - * ERROR: dev-ruby/xmlrpc-0.3.0::gentoo failed (insta...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 08:25 UTC by Toralf Förster
Modified: 2021-04-05 13:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.54 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
dev-ruby:xmlrpc-0.3.0:20210316-062044.log (dev-ruby:xmlrpc-0.3.0:20210316-062044.log,3.05 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,67.31 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
environment (environment,102.19 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.91 KB, application/x-bzip)
2021-03-16 08:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-16 08:25:37 UTC
	1: from /usr/lib64/ruby/2.7.0/rubygems.rb:16:in `<top (required)>'
/usr/lib64/ruby/2.7.0/rubygems.rb:16:in `require': cannot load such file -- rubygems/compatibility (LoadError)
 * ERROR: dev-ruby/xmlrpc-0.3.0::gentoo failed (install phase):
 *   Unable to generate gemspec file.
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20210314-100157

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar 16 00:52:58 UTC 2021

emerge -qpvO dev-ruby/xmlrpc
[ebuild  N    ] dev-ruby/xmlrpc-0.3.0  USE="-doc -test" RUBY_TARGETS="ruby26 ruby27 -ruby25"
Comment 1 Toralf Förster gentoo-dev 2021-03-16 08:25:38 UTC
Created attachment 691737 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-16 08:25:39 UTC
Created attachment 691740 [details]
dev-ruby:xmlrpc-0.3.0:20210316-062044.log
Comment 3 Toralf Förster gentoo-dev 2021-03-16 08:25:40 UTC
Created attachment 691743 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-03-16 08:25:41 UTC
Created attachment 691746 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-03-16 08:25:42 UTC
Created attachment 691749 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-17 20:06:25 UTC
FWIW much more ruby packages are failing at various different images here at the tinderbox with the same error - what was changed in the last few days here is:
      */*  RUBY_TARGETS: ruby27
into
      */*  RUBY_TARGETS: ruby27
within package.use/90common
Comment 7 Hans de Graaff gentoo-dev Security 2021-03-20 07:18:55 UTC
(In reply to Toralf Förster from comment #6)
> FWIW much more ruby packages are failing at various different images here at
> the tinderbox with the same error - what was changed in the last few days
> here is:
>       */*  RUBY_TARGETS: ruby27
> into
>       */*  RUBY_TARGETS: ruby27
> within package.use/90common

These two lines look identical to me? I'm guessing one of them should not be ruby27 but another version? Note that switching like that won't work because your ruby will be partially in one and partially in another version and that breaks things. Add the new target, update, then remove the old one.
Comment 8 Toralf Förster gentoo-dev 2021-03-20 08:23:23 UTC
(In reply to Hans de Graaff from comment #7)
> (In reply to Toralf Förster from comment #6)
> > FWIW much more ruby packages are failing at various different images here at
> > the tinderbox with the same error - what was changed in the last few days
> > here is:
> >       */*  RUBY_TARGETS: ruby27
> > into
> >       */*  RUBY_TARGETS: ruby27
> > within package.use/90common
> 
> These two lines look identical to me? I'm guessing one of them should not be
> ruby27 
Indeed, for tinderbox images I had "ruby27 ruby30" before and removed ruby30.

But this is made only during setup of new images. Existing images (TTL of about 12 days) will never be changed wrt to USE flags.
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2021-04-01 08:35:36 UTC
Had the same issue trying to add ruby27 to a running system with just ruby30. I really have no idea what the error messages mean. So I just gave up (for now) trying to install 2.7. Any ideas or tips for (clearly) uninformed folks like me? Cheers
Comment 10 Hans de Graaff gentoo-dev Security 2021-04-05 13:01:16 UTC
(In reply to Rémi Cardona from comment #9)
> Had the same issue trying to add ruby27 to a running system with just
> ruby30. I really have no idea what the error messages mean. So I just gave
> up (for now) trying to install 2.7. Any ideas or tips for (clearly)
> uninformed folks like me? Cheers

These messages usually mean a mismatch between RUBY_TARGETS and the eselected ruby version. I'll see if I can add some safeguards to the eclasses to better identify this and propose remedies.