Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with ruby......
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 112

PostPosted: Sat Jul 06, 2024 10:59 pm    Post subject: Problem with ruby...... Reply with quote

I am having problems updating system..I am getting errors related to ruby




Here is the output of
Code:
`emerge --info '=dev-ruby/io-console-0.7.2::gentoo'`

https://bpa.st/SXGQ
here is the output of
Code:
emerge -pqv '=dev-ruby/io-console-0.7.2::gentoo'

https://bpa.st/G37A
here is the build log
https://bpa.st/6EUQ
here is my make.conf:
https://bpa.st/TYJQ
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31257
Location: here

PostPosted: Sun Jul 07, 2024 10:55 am    Post subject: Reply with quote

I think you should enable ruby32 on dev-ruby/io-console-0.7.2 package.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 112

PostPosted: Sun Jul 07, 2024 5:33 pm    Post subject: Reply with quote

Now I cannot emerge dev-ruby/racc
here is the output of
Code:
emerge --info '=dev-ruby/racc-1.8.0

https://bpa.st/EK2A
here is the build log:
https://bpa.st/4XFA
I have enabled ruby32 on dev-ruby/racc-1.8.0 package
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22619

PostPosted: Sun Jul 07, 2024 6:38 pm    Post subject: Reply with quote

That is dev-lang/ruby: hard-codes mkdir path in RbConfig.
Back to top
View user's profile Send private message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 112

PostPosted: Tue Jul 09, 2024 4:48 pm    Post subject: Reply with quote

so what do I do now......I cannot update my computer
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1910

PostPosted: Tue Jul 09, 2024 4:58 pm    Post subject: Reply with quote

eklebanow wrote:
so what do I do now......I cannot update my computer

Rebuild all dev-lang/ruby installed slots with --oneshot --usepkg-exclude dev-lang/ruby options

The tl;dr is binhosted dev-lang/ruby packages are broken on split-usr profiles until at least ruby 3.3.3 (for now). Everything works great if compiled locally.
Back to top
View user's profile Send private message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 112

PostPosted: Tue Jul 09, 2024 5:03 pm    Post subject: Reply with quote

I am not sure I understand what you mean.......

Are you saying to run the following:
Code:
emerge --oneshot --usepkg-exclude dev-lang/ruby
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1910

PostPosted: Tue Jul 09, 2024 5:08 pm    Post subject: Reply with quote

eklebanow wrote:
I am not sure I understand what you mean.......

Are you saying to run the following:
Code:
emerge --oneshot --usepkg-exclude dev-lang/ruby

Maybe this will be clearer:
Code:
emerge --oneshot --usepkg-exclude='dev-lang/ruby' dev-lang/ruby:3.1 dev-lang/ruby:3.2
Back to top
View user's profile Send private message
eklebanow
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2019
Posts: 112

PostPosted: Tue Jul 09, 2024 5:50 pm    Post subject: Reply with quote

OK...Thank you...that worked....my system successfully updated

I am a NOOB

Can you please explain:
1. Why was I having problems emerging packages related to ruby?
2. Can you breakdown the above code and tell me what it did to resolve the situation?
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 382

PostPosted: Sat Nov 09, 2024 12:12 pm    Post subject: Reply with quote

ruby doesn't compile for me

Code:
emerge -av dev-lang/ruby

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

Calculating dependencies... done!
Dependency resolution took 6.53 s (backtrack: 0/20).

[ebuild     U  ] dev-lang/ruby-3.2.5-r1:3.2::gentoo [3.2.5:3.2::gentoo] USE="gdbm ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs (-ipv6%*)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/ruby-3.2.5-r1::gentoo
 * ruby-3.2.5.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking ruby-3.2.5.tar.xz to /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work
>>> Source unpacked in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work
>>> Preparing source in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5 ...
 * Applying 010-default-gem-location.patch ...                                                                                   [ ok ]
 * Applying 011-arm64-branch-protection.patch ...                                                                                [ ok ]
 * Applying 013-test-rlimit-constants.patch ...
patching file spec/ruby/core/process/constants_spec.rb
Hunk #1 succeeded at 2 with fuzz 1.                                                                                              [ ok ]
 * Applying 902-hppa-pthread-stack-size.patch ...                                                                                [ ok ]
 * Unbundling gems...
 * Running eautoreconf in '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5' ...
 * Running 'autoconf --force' ...                                                                                                [ ok ]
 * Running elibtoolize in: ruby-3.2.5/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5 ...
 * ERROR: dev-lang/ruby-3.2.5-r1::gentoo failed (configure phase):
 *   USE Flag 'ipv6' not in IUSE for dev-lang/ruby-3.2.5-r1
 *
 * Call stack:
 *          ebuild.sh, line  136:  Called src_configure
 *        environment, line 2262:  Called use 'ipv6'
 *   phase-helpers.sh, line  256:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.2.5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.2.5-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
 * S: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'

>>> Failed to emerge dev-lang/ruby-3.2.5-r1, Log file:

>>>  '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'

 * Messages for package dev-lang/ruby-3.2.5-r1:

 * ERROR: dev-lang/ruby-3.2.5-r1::gentoo failed (configure phase):
 *   USE Flag 'ipv6' not in IUSE for dev-lang/ruby-3.2.5-r1
 *
 * Call stack:
 *          ebuild.sh, line  136:  Called src_configure
 *        environment, line 2262:  Called use 'ipv6'
 *   phase-helpers.sh, line  256:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.2.5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.2.5-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
 * S: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'

_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1949

PostPosted: Sat Nov 09, 2024 1:11 pm    Post subject: Reply with quote

Linubie wrote:
ruby doesn't compile for me

Code:
emerge -av dev-lang/ruby

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

Calculating dependencies... done!
Dependency resolution took 6.53 s (backtrack: 0/20).

[ebuild     U  ] dev-lang/ruby-3.2.5-r1:3.2::gentoo [3.2.5:3.2::gentoo] USE="gdbm ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs (-ipv6%*)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/ruby-3.2.5-r1::gentoo
 * ruby-3.2.5.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking ruby-3.2.5.tar.xz to /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work
>>> Source unpacked in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work
>>> Preparing source in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5 ...
 * Applying 010-default-gem-location.patch ...                                                                                   [ ok ]
 * Applying 011-arm64-branch-protection.patch ...                                                                                [ ok ]
 * Applying 013-test-rlimit-constants.patch ...
patching file spec/ruby/core/process/constants_spec.rb
Hunk #1 succeeded at 2 with fuzz 1.                                                                                              [ ok ]
 * Applying 902-hppa-pthread-stack-size.patch ...                                                                                [ ok ]
 * Unbundling gems...
 * Running eautoreconf in '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5' ...
 * Running 'autoconf --force' ...                                                                                                [ ok ]
 * Running elibtoolize in: ruby-3.2.5/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5 ...
 * ERROR: dev-lang/ruby-3.2.5-r1::gentoo failed (configure phase):
 *   USE Flag 'ipv6' not in IUSE for dev-lang/ruby-3.2.5-r1
 *
 * Call stack:
 *          ebuild.sh, line  136:  Called src_configure
 *        environment, line 2262:  Called use 'ipv6'
 *   phase-helpers.sh, line  256:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.2.5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.2.5-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
 * S: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'

>>> Failed to emerge dev-lang/ruby-3.2.5-r1, Log file:

>>>  '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'

 * Messages for package dev-lang/ruby-3.2.5-r1:

 * ERROR: dev-lang/ruby-3.2.5-r1::gentoo failed (configure phase):
 *   USE Flag 'ipv6' not in IUSE for dev-lang/ruby-3.2.5-r1
 *
 * Call stack:
 *          ebuild.sh, line  136:  Called src_configure
 *        environment, line 2262:  Called use 'ipv6'
 *   phase-helpers.sh, line  256:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.2.5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.2.5-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
 * S: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'


Your issue is very different. But it's fixed already, see bug 943050. Please sync.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum