Mailing List Archive

RUBY?!?!?!?
Gah, the water block on my threadripper is clogged again. =\  Just
ordered a fresh one, will try to clean the current one and keep it as a
spare.


I had been coasting for about 6 months but a power dip reset the machine
so I'm updating.

I had a nightmare of a time getting things to the point where I was
getting any updating done at all, it fought me on every step. (was on
kernel 5.9), I can't allow the linux_headers to get too far from the
actual kernel so I had to upgrade to 6.2 although I have no idea what is
supposed to be improved by 6.2....

Right now the biggest roadblock is rubygems.

I have cleared the decks and wiped ALL dev-ruby packages off the system.
Obviously, "Ruby" is set in my make.conf but this setting is not seen
from the make script and the thing wastes my time...

IS THERE EVEN A WORKAROUND FOR THIS OR IS IT JUST BROKEN???

### make.conf
# portage complains if absent.
#RUBY_TARGETS="${RUBY_TARGETS} ruby25 ruby26 "
RUBY_TARGETS="${RUBY_TARGETS} ruby31 ruby32 "
RUBY="ruby31"

#### console
tortoise ~ # emerge --oneshot rubygems

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.75 s.

[ebuild  N     ] dev-ruby/rubygems-3.4.6::gentoo  USE="server -test"
RUBY_TARGETS="ruby30 ruby31 ruby32 -ruby27" 0 KiB
[ebuild  N     ] dev-ruby/builder-3.2.4-r1:3.2::gentoo  USE="-doc -test"
RUBY_TARGETS="ruby30 ruby31 ruby32 -ruby27" 0 KiB

Total: 2 packages (2 new), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 2) dev-ruby/rubygems-3.4.6::gentoo
>>> Failed to emerge dev-ruby/rubygems-3.4.6, Log file:
>>> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/build.log'
>>> Jobs: 0 of 2 complete, 1 failed                 Load avg: 1.67,
1.64, 1.48
 * Package:    dev-ruby/rubygems-3.4.6:0
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
ruby_targets_ruby30 ruby_targets_ruby31 ruby_targets_ruby32 server
userland_GNU
 * FEATURES:   network-sandbox nostrip sandbox splitdebug userpriv
usersandbox
>>> Unpacking source...
>>> Unpacking rubygems-3.4.6.tar.gz to
/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work ...
 * Running prepare phase for all
 * Running prepare phase for all
 * Adjusting to prefix /
 *   operating_system.rb ...
 [ ok ]
 * Running source copy phase for ruby30
 * Running source copy phase for ruby31
 * Running source copy phase for ruby32
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work ...
 * Running compile phase for ruby30
 * Running compile phase for ruby31
 * Running compile phase for ruby32
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: dev-ruby/rubygems-3.4.6

>>> Install dev-ruby/rubygems-3.4.6 into
/var/tmp/portage/dev-ruby/rubygems-3.4.6/image
 * Running install phase for ruby30
 * ERROR: dev-ruby/rubygems-3.4.6::gentoo failed (install phase):
 *   $RUBY is not set
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 1992:  Called ruby-ng_src_install
 *   environment, line 1721:  Called _ruby_each_implementation
'each_ruby_install'
 *   environment, line  429:  Called _ruby_invoke_environment 'ruby30'
'each_ruby_install'
 *   environment, line  566:  Called each_ruby_install
 *   environment, line  687:  Called doruby '-r' 'rubygems' 'rubygems.rb'
 *   environment, line  672:  Called die
 * The specific snippet of code:
 *       [[ -z ${RUBY} ]] && die "\$RUBY is not set";
 *
 * If you need support, post the output of `emerge --info
'=dev-ruby/rubygems-3.4.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=dev-ruby/rubygems-3.4.6::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/environment'.
 * Working directory:
'/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6/lib'
 * S: '/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6'

 * Messages for package dev-ruby/rubygems-3.4.6:

 * ERROR: dev-ruby/rubygems-3.4.6::gentoo failed (install phase):
 *   $RUBY is not set
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 1992:  Called ruby-ng_src_install
 *   environment, line 1721:  Called _ruby_each_implementation
'each_ruby_install'
 *   environment, line  429:  Called _ruby_invoke_environment 'ruby30'
'each_ruby_install'
 *   environment, line  566:  Called each_ruby_install
 *   environment, line  687:  Called doruby '-r' 'rubygems' 'rubygems.rb'
 *   environment, line  672:  Called die
 * The specific snippet of code:
 *       [[ -z ${RUBY} ]] && die "\$RUBY is not set";
 *
 * If you need support, post the output of `emerge --info
'=dev-ruby/rubygems-3.4.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=dev-ruby/rubygems-3.4.6::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/environment'.
 * Working directory:
'/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6/lib'
 * S: '/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6'
tortoise ~ #

--
Beware of Zombies. =O
#EggCrisis #BlackWinter
White is the new Kulak.
Powers are not rights.
Re: RUBY?!?!?!? [ In reply to ]
On Monday, 3 April 2023 18:16:30 BST Alan Grimes wrote:
> Gah, the water block on my threadripper is clogged again. =\ Just
> ordered a fresh one, will try to clean the current one and keep it as a
> spare.
>
>
> I had been coasting for about 6 months but a power dip reset the machine
> so I'm updating.
>
> I had a nightmare of a time getting things to the point where I was
> getting any updating done at all, it fought me on every step. (was on
> kernel 5.9), I can't allow the linux_headers to get too far from the
> actual kernel so I had to upgrade to 6.2 although I have no idea what is
> supposed to be improved by 6.2....
>
> Right now the biggest roadblock is rubygems.
>
> I have cleared the decks and wiped ALL dev-ruby packages off the system.
> Obviously, "Ruby" is set in my make.conf but this setting is not seen
> from the make script and the thing wastes my time...
>
> IS THERE EVEN A WORKAROUND FOR THIS OR IS IT JUST BROKEN???

Have you looked at this page:

https://wiki.gentoo.org/wiki/Ruby


> ### make.conf
> # portage complains if absent.
> #RUBY_TARGETS="${RUBY_TARGETS} ruby25 ruby26 "
> RUBY_TARGETS="${RUBY_TARGETS} ruby31 ruby32 "
> RUBY="ruby31"
>
> #### console
> tortoise ~ # emerge --oneshot rubygems
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> Dependency resolution took 2.75 s.
>
> [ebuild N ] dev-ruby/rubygems-3.4.6::gentoo USE="server -test"
> RUBY_TARGETS="ruby30 ruby31 ruby32 -ruby27" 0 KiB
> [ebuild N ] dev-ruby/builder-3.2.4-r1:3.2::gentoo USE="-doc -test"
> RUBY_TARGETS="ruby30 ruby31 ruby32 -ruby27" 0 KiB
>
> Total: 2 packages (2 new), Size of downloads: 0 KiB
>
> >>> Verifying ebuild manifests
> >>> Emerging (1 of 2) dev-ruby/rubygems-3.4.6::gentoo
> >>> Failed to emerge dev-ruby/rubygems-3.4.6, Log file:
> >>> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/build.log'
> >>> Jobs: 0 of 2 complete, 1 failed Load avg: 1.67,
>
> 1.64, 1.48
> * Package: dev-ruby/rubygems-3.4.6:0
> * Repository: gentoo
> * Maintainer: ruby@gentoo.org
> * USE: abi_x86_64 amd64 elibc_glibc kernel_linux
> ruby_targets_ruby30 ruby_targets_ruby31 ruby_targets_ruby32 server
> userland_GNU
> * FEATURES: network-sandbox nostrip sandbox splitdebug userpriv
> usersandbox
>
> >>> Unpacking source...
> >>> Unpacking rubygems-3.4.6.tar.gz to
>
> /var/tmp/portage/dev-ruby/rubygems-3.4.6/work/all
>
> >>> Source unpacked in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work
> >>> Preparing source in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work ...
>
> * Running prepare phase for all
> * Running prepare phase for all
> * Adjusting to prefix /
> * operating_system.rb ...
> [ ok ]
> * Running source copy phase for ruby30
> * Running source copy phase for ruby31
> * Running source copy phase for ruby32
>
> >>> Source prepared.
> >>> Configuring source in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work ...
> >>> Source configured.
> >>> Compiling source in /var/tmp/portage/dev-ruby/rubygems-3.4.6/work ...
>
> * Running compile phase for ruby30
> * Running compile phase for ruby31
> * Running compile phase for ruby32
>
> >>> Source compiled.
>
> * Skipping make test/check due to ebuild restriction.
>
> >>> Test phase [disabled because of RESTRICT=test]: dev-ruby/rubygems-3.4.6
> >>>
> >>> Install dev-ruby/rubygems-3.4.6 into
>
> /var/tmp/portage/dev-ruby/rubygems-3.4.6/image
> * Running install phase for ruby30
> * ERROR: dev-ruby/rubygems-3.4.6::gentoo failed (install phase):
> * $RUBY is not set
> *
> * Call stack:
> * ebuild.sh, line 136: Called src_install
> * environment, line 1992: Called ruby-ng_src_install
> * environment, line 1721: Called _ruby_each_implementation
> 'each_ruby_install'
> * environment, line 429: Called _ruby_invoke_environment 'ruby30'
> 'each_ruby_install'
> * environment, line 566: Called each_ruby_install
> * environment, line 687: Called doruby '-r' 'rubygems' 'rubygems.rb'
> * environment, line 672: Called die
> * The specific snippet of code:
> * [[ -z ${RUBY} ]] && die "\$RUBY is not set";
> *
> * If you need support, post the output of `emerge --info
> '=dev-ruby/rubygems-3.4.6::gentoo'`,
> * the complete build log and the output of `emerge -pqv
> '=dev-ruby/rubygems-3.4.6::gentoo'`.
> * The complete build log is located at
> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/environment'.
> * Working directory:
> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6/lib'
> * S: '/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6'
>
> * Messages for package dev-ruby/rubygems-3.4.6:
>
> * ERROR: dev-ruby/rubygems-3.4.6::gentoo failed (install phase):
> * $RUBY is not set
> *
> * Call stack:
> * ebuild.sh, line 136: Called src_install
> * environment, line 1992: Called ruby-ng_src_install
> * environment, line 1721: Called _ruby_each_implementation
> 'each_ruby_install'
> * environment, line 429: Called _ruby_invoke_environment 'ruby30'
> 'each_ruby_install'
> * environment, line 566: Called each_ruby_install
> * environment, line 687: Called doruby '-r' 'rubygems' 'rubygems.rb'
> * environment, line 672: Called die
> * The specific snippet of code:
> * [[ -z ${RUBY} ]] && die "\$RUBY is not set";
> *
> * If you need support, post the output of `emerge --info
> '=dev-ruby/rubygems-3.4.6::gentoo'`,
> * the complete build log and the output of `emerge -pqv
> '=dev-ruby/rubygems-3.4.6::gentoo'`.
> * The complete build log is located at
> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/temp/environment'.
> * Working directory:
> '/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6/lib'
> * S: '/var/tmp/portage/dev-ruby/rubygems-3.4.6/work/ruby30/rubygems-3.4.6'
> tortoise ~ #