View previous topic :: View next topic |
Author |
Message |
eklebanow Tux's lil' helper
Joined: 08 Sep 2019 Posts: 112
|
Posted: Sat Jul 06, 2024 10:59 pm Post subject: Problem with ruby...... |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Sun Jul 07, 2024 10:55 am Post subject: |
|
|
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 |
|
|
eklebanow Tux's lil' helper
Joined: 08 Sep 2019 Posts: 112
|
Posted: Sun Jul 07, 2024 5:33 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
|
Back to top |
|
|
eklebanow Tux's lil' helper
Joined: 08 Sep 2019 Posts: 112
|
Posted: Tue Jul 09, 2024 4:48 pm Post subject: |
|
|
so what do I do now......I cannot update my computer |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1910
|
Posted: Tue Jul 09, 2024 4:58 pm Post subject: |
|
|
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 |
|
|
eklebanow Tux's lil' helper
Joined: 08 Sep 2019 Posts: 112
|
Posted: Tue Jul 09, 2024 5:03 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1910
|
Posted: Tue Jul 09, 2024 5:08 pm Post subject: |
|
|
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 |
|
|
eklebanow Tux's lil' helper
Joined: 08 Sep 2019 Posts: 112
|
Posted: Tue Jul 09, 2024 5:50 pm Post subject: |
|
|
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 |
|
|
Linubie Guru
Joined: 11 Jun 2004 Posts: 382
|
Posted: Sat Nov 09, 2024 12:12 pm Post subject: |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1949
|
Posted: Sat Nov 09, 2024 1:11 pm Post subject: |
|
|
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 |
|
|
|