Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Trouble emerging rdoc-4.2.0 [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
evoweiss
Veteran
Veteran
User avatar
Posts: 1678
Joined: Sun Sep 07, 2003 10:40 am
Location: Edinburgh, UK

Trouble emerging rdoc-4.2.0 [solved]

  • Quote

Post by evoweiss » Mon May 15, 2017 8:46 pm

Hi all,

For some reason, an emerge -uDNp @world fails at rdoc-4.2.0 (see code below).

My ruby profile is set to Ruby22 and I have RUBY_TARGETS="ruby22" in /etc/make.conf, so I am not sure what I am missing.

Any help would be appreciated.

Best,

Alex

Code: Select all

>>> Emerging (1 of 1) dev-ruby/rdoc-4.2.0::gentoo
 * rdoc-4.2.0.gem SHA256 SHA512 WHIRLPOOL size ;-) ...                                                           [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                    [ ok ]
 * Uncompressing metadata ...                                                                                    [ ok ]
 * Unpacking data.tar.gz ...                                                                                     [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running prepare phase for all ...
 * Applying rdoc-3.0.1-bin-require.patch ...                                                                     [ ok ]
 * Running source copy phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running compile phase for ruby22 ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/rdoc-4.2.0

>>> Install rdoc-4.2.0 into /var/tmp/portage/dev-ruby/rdoc-4.2.0/image/ category dev-ruby
 * Running install phase for ruby22 ...
 * Running install phase for all ...
 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby20' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4418:  Called ruby-ng_src_install
 *        environment, line 4118:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  559:  Called all_ruby_install
 *        environment, line  655:  Called use 'ruby_targets_ruby20'
 *   phase-helpers.sh, line  200:  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-ruby/rdoc-4.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-4.2.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rdoc-4.2.0
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
 * S: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
Last edited by evoweiss on Mon May 15, 2017 9:08 pm, edited 1 time in total.
Top
ntnn
n00b
n00b
Posts: 10
Joined: Mon Mar 20, 2017 1:07 pm

  • Quote

Post by ntnn » Mon May 15, 2017 8:51 pm

Known and has been resolved: https://bugs.gentoo.org/show_bug.cgi?id=618538

Sync again and then try to update.
Top
evoweiss
Veteran
Veteran
User avatar
Posts: 1678
Joined: Sun Sep 07, 2003 10:40 am
Location: Edinburgh, UK

  • Quote

Post by evoweiss » Mon May 15, 2017 9:08 pm

ntnn wrote:Known and has been resolved: https://bugs.gentoo.org/show_bug.cgi?id=618538

Sync again and then try to update.
Indeed, that did the trick.

Thanks!

Alex
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

I had the same problem.

  • Quote

Post by cwc » Sun Aug 20, 2017 1:09 pm

I had the same problem.
I do not have gems with ruby 21 but I do with ruby 22

eselect ruby list
Available Ruby profiles:
[1] ruby21
[2] ruby22 (with Rubygems) *

And I do not have anything set in /etc/portage/make.conf


Any ideas?

Calculating dependencies... done!
[nomerge ] dev-lang/ruby-2.2.6:2.2::gentoo USE="berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples -jemalloc (-libressl) -rubytests -socks5 -tk -xemacs"
[ebuild R ] dev-ruby/rdoc-4.2.0::gentoo USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby21%*)" 0 KiB

Code: Select all

>>> Emerging (1 of 1) dev-ruby/rdoc-4.2.0::gentoo
 * rdoc-4.2.0.gem SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                      [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                                                                               [ ok ]
 * Uncompressing metadata ...                                                                                                                                                                               [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                                                                                [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running prepare phase for all ...
 * Applying rdoc-3.0.1-bin-require.patch ...                                                                                                                                                                [ ok ]
 * Running source copy phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running compile phase for ruby22 ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/rdoc-4.2.0

>>> Install rdoc-4.2.0 into /var/tmp/portage/dev-ruby/rdoc-4.2.0/image/ category dev-ruby
 * Running install phase for ruby22 ...
 * Running install phase for all ...
 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby21' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4396:  Called ruby-ng_src_install
 *        environment, line 4096:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  535:  Called all_ruby_install
 *        environment, line  631:  Called use 'ruby_targets_ruby21'
 *   phase-helpers.sh, line  200:  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-ruby/rdoc-4.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-4.2.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rdoc-4.2.0
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
 * S: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'

>>> Failed to emerge dev-ruby/rdoc-4.2.0, Log file:

>>>  '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'

 * Messages for package dev-ruby/rdoc-4.2.0:

 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby21' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4396:  Called ruby-ng_src_install
 *        environment, line 4096:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  535:  Called all_ruby_install
 *        environment, line  631:  Called use 'ruby_targets_ruby21'
 *   phase-helpers.sh, line  200:  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-ruby/rdoc-4.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-4.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
 * S: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'



Without diversity there can be no evolution:)
Top
Dzierzymiecz
n00b
n00b
Posts: 9
Joined: Sun Mar 14, 2010 2:37 pm

  • Quote

Post by Dzierzymiecz » Sun Aug 20, 2017 1:30 pm

Same issue as cwc
Top
sevendogs
n00b
n00b
User avatar
Posts: 5
Joined: Sat Mar 25, 2017 9:59 pm
Location: Texas

rdoc emerge fails

  • Quote

Post by sevendogs » Sun Aug 20, 2017 5:33 pm

Dzierzymiecz wrote:Same issue as cwc
Same issue here, did an

Code: Select all

emerge --sync
but same behavior.
When asked "Are you a god or a man?" the Buddha replied "I am awake."
Top
Bloot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 99
Joined: Fri Mar 10, 2006 7:33 pm
Location: Barcelona

  • Quote

Post by Bloot » Sun Aug 20, 2017 5:39 pm

After an emerge --sync same problem here

Code: Select all

# emerge --ask --verbose --update --deep --newuse @world

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

Calculating dependencies... done!
[ebuild   R    ] dev-ruby/rubygems-2.5.2::gentoo  USE="-server {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 465 KiB
[ebuild   R    ] virtual/rubygems-11::gentoo  RUBY_TARGETS="ruby22 (-rbx) (-ruby23) (-ruby21%*)" 0 KiB
[ebuild   R    ] dev-ruby/rake-10.5.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 128 KiB
[ebuild   R    ] dev-ruby/power_assert-0.3.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 14 KiB
[ebuild   R    ] dev-ruby/minitest-5.8.4:5::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 71 KiB
[ebuild   R    ] dev-ruby/json-1.8.3::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 149 KiB
[ebuild   R    ] dev-ruby/test-unit-3.1.9:2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 122 KiB
[ebuild   R    ] dev-ruby/racc-1.4.11::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby21%*)" 111 KiB
[ebuild   R    ] dev-ruby/rdoc-4.2.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby21%*)" 718 KiB

Code: Select all

>>> Emerging (9 of 9) dev-ruby/rdoc-4.2.0::gentoo
 * rdoc-4.2.0.gem SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                         [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                  [ ok ]
 * Uncompressing metadata ...                                                                                                                  [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                   [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running prepare phase for all ...
 * Applying rdoc-3.0.1-bin-require.patch ...                                                                                                   [ ok ]
 * Running source copy phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running compile phase for ruby22 ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/rdoc-4.2.0

>>> Install rdoc-4.2.0 into /var/tmp/portage/dev-ruby/rdoc-4.2.0/image/ category dev-ruby
 * Running install phase for ruby22 ...
 * Running install phase for all ...
 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby21' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4426:  Called ruby-ng_src_install
 *        environment, line 4126:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  565:  Called all_ruby_install
 *        environment, line  661:  Called use 'ruby_targets_ruby21'
 *   phase-helpers.sh, line  200:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
Top
elprawn
n00b
n00b
Posts: 5
Joined: Mon May 22, 2017 8:11 pm

  • Quote

Post by elprawn » Sun Aug 20, 2017 5:41 pm

Bloot wrote:After an emerge --sync same problem here

Code: Select all

# emerge --ask --verbose --update --deep --newuse @world

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

Calculating dependencies... done!
[ebuild   R    ] dev-ruby/rubygems-2.5.2::gentoo  USE="-server {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 465 KiB
[ebuild   R    ] virtual/rubygems-11::gentoo  RUBY_TARGETS="ruby22 (-rbx) (-ruby23) (-ruby21%*)" 0 KiB
[ebuild   R    ] dev-ruby/rake-10.5.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 128 KiB
[ebuild   R    ] dev-ruby/power_assert-0.3.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 14 KiB
[ebuild   R    ] dev-ruby/minitest-5.8.4:5::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 71 KiB
[ebuild   R    ] dev-ruby/json-1.8.3::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 149 KiB
[ebuild   R    ] dev-ruby/test-unit-3.1.9:2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby21%*)" 122 KiB
[ebuild   R    ] dev-ruby/racc-1.4.11::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby21%*)" 111 KiB
[ebuild   R    ] dev-ruby/rdoc-4.2.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby21%*)" 718 KiB

Code: Select all

>>> Emerging (9 of 9) dev-ruby/rdoc-4.2.0::gentoo
 * rdoc-4.2.0.gem SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                         [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                  [ ok ]
 * Uncompressing metadata ...                                                                                                                  [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                   [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running prepare phase for all ...
 * Applying rdoc-3.0.1-bin-require.patch ...                                                                                                   [ ok ]
 * Running source copy phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running compile phase for ruby22 ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/rdoc-4.2.0

>>> Install rdoc-4.2.0 into /var/tmp/portage/dev-ruby/rdoc-4.2.0/image/ category dev-ruby
 * Running install phase for ruby22 ...
 * Running install phase for all ...
 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby21' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4426:  Called ruby-ng_src_install
 *        environment, line 4126:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  565:  Called all_ruby_install
 *        environment, line  661:  Called use 'ruby_targets_ruby21'
 *   phase-helpers.sh, line  200:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
I am having the same problem.
Top
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

  • Quote

Post by Fitzcarraldo » Sun Aug 20, 2017 6:04 pm

To the August 20, 2017 posters: https://bugs.gentoo.org/show_bug.cgi?id=628368
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Top
gen2saurus
n00b
n00b
Posts: 11
Joined: Sun Aug 20, 2017 6:22 pm

Re: I had the same problem.

  • Quote

Post by gen2saurus » Sun Aug 20, 2017 6:43 pm

cwc wrote:I had the same problem.
I do not have gems with ruby 21 but I do with ruby 22

eselect ruby list
Available Ruby profiles:
[1] ruby21
[2] ruby22 (with Rubygems) *

And I do not have anything set in /etc/portage/make.conf


Any ideas?

Calculating dependencies... done!
[nomerge ] dev-lang/ruby-2.2.6:2.2::gentoo USE="berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples -jemalloc (-libressl) -rubytests -socks5 -tk -xemacs"
[ebuild R ] dev-ruby/rdoc-4.2.0::gentoo USE="-doc {-test}" RUBY_TARGETS="ruby22 (-ruby21%*)" 0 KiB

Code: Select all

>>> Emerging (1 of 1) dev-ruby/rdoc-4.2.0::gentoo
 * rdoc-4.2.0.gem SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                      [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                                                                               [ ok ]
 * Uncompressing metadata ...                                                                                                                                                                               [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                                                                                [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running prepare phase for all ...
 * Applying rdoc-3.0.1-bin-require.patch ...                                                                                                                                                                [ ok ]
 * Running source copy phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-4.2.0/work ...
 * Running compile phase for ruby22 ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/rdoc-4.2.0

>>> Install rdoc-4.2.0 into /var/tmp/portage/dev-ruby/rdoc-4.2.0/image/ category dev-ruby
 * Running install phase for ruby22 ...
 * Running install phase for all ...
 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby21' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4396:  Called ruby-ng_src_install
 *        environment, line 4096:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  535:  Called all_ruby_install
 *        environment, line  631:  Called use 'ruby_targets_ruby21'
 *   phase-helpers.sh, line  200:  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-ruby/rdoc-4.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-4.2.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rdoc-4.2.0
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
 * S: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'

>>> Failed to emerge dev-ruby/rdoc-4.2.0, Log file:

>>>  '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'

 * Messages for package dev-ruby/rdoc-4.2.0:

 * ERROR: dev-ruby/rdoc-4.2.0::gentoo failed (install phase):
 *   USE Flag 'ruby_targets_ruby21' not in IUSE for dev-ruby/rdoc-4.2.0
 * 
 * Call stack:
 *          ebuild.sh, line  115:  Called src_install
 *        environment, line 4396:  Called ruby-ng_src_install
 *        environment, line 4096:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *        environment, line  535:  Called all_ruby_install
 *        environment, line  631:  Called use 'ruby_targets_ruby21'
 *   phase-helpers.sh, line  200:  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-ruby/rdoc-4.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-4.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-4.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
 * S: '/var/tmp/portage/dev-ruby/rdoc-4.2.0/work/all/rdoc-4.2.0'
It's a bug in ebuild.

Please do

Code: Select all

cd /usr/portage/dev-ruby/rdoc
sed -i 's/[[:alpha:]]*21 //' /usr/portage/dev-ruby/rdoc/rdoc-4.2.0.ebuild
ebuild rdoc-4.2.0.ebuild digest
and recompile it.
Top
sevendogs
n00b
n00b
User avatar
Posts: 5
Joined: Sat Mar 25, 2017 9:59 pm
Location: Texas

Re: I had the same problem.

  • Quote

Post by sevendogs » Sun Aug 20, 2017 7:13 pm

It's a bug in ebuild.

Please do

Code: Select all

cd /usr/portage/dev-ruby/rdoc
sed -i 's/[[:alpha:]]*21 //' /usr/portage/dev-ruby/rdoc/rdoc-4.2.0.ebuild
ebuild rdoc-4.2.0.ebuild digest
and recompile it.
That did it for me, thanks gen2saurus!
When asked "Are you a god or a man?" the Buddha replied "I am awake."
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

Re: I had the same problem.

  • Quote

Post by cwc » Sun Aug 20, 2017 11:59 pm

sevendogs wrote:
It's a bug in ebuild.

Please do

Code: Select all

cd /usr/portage/dev-ruby/rdoc
sed -i 's/[[:alpha:]]*21 //' /usr/portage/dev-ruby/rdoc/rdoc-4.2.0.ebuild
ebuild rdoc-4.2.0.ebuild digest
and recompile it.
That did it for me, thanks gen2saurus!
The above also solved the problem for me! Thanks!

This is amazing! Nice !
sed -i 's/[[:alpha:]]*21 //' /usr/portage/dev-ruby/rdoc/rdoc-4.2.0.ebuild
Without diversity there can be no evolution:)
Top
TuxPower
n00b
n00b
Posts: 1
Joined: Fri Apr 27, 2018 2:04 pm
Location: Denmark

  • Quote

Post by TuxPower » Fri Apr 27, 2018 2:09 pm

On 2018-04-27 this still works with rdoc-4.3.0/ruby23 with the following change:

Code: Select all

cd /usr/portage/dev-ruby/rdoc
sed -i 's/[[:alpha:]]*22 //' /usr/portage/dev-ruby/rdoc/rdoc-4.3.0.ebuild
ebuild rdoc-4.3.0.ebuild digest
And then re-emerge.

Update
The emerge later in the day on my primary desktop and laptop did not have this problem.
So for people in the future who read this:
  • Adapt the above fix to your rdoc/ruby version
    - or -
  • Wait for it to be fixed in a later emerge --sync
Top
richardash1981
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Fri Apr 08, 2005 5:26 pm
Location: England

  • Quote

Post by richardash1981 » Sat Apr 28, 2018 6:37 pm

This is still failing for me after a sync. The problem is that all though I don't now have ruby 2.2.x installed at all, I still have it in RUBY_TARGETS according to emerge --info:

Code: Select all

RUBY_TARGETS="ruby22 ruby23"
This isn't set anywhere in /etc/portage/, and I have my profile set to the desktop stable (17.0).

Code: Select all

default/linux/x86/17.0/desktop (stable) *
I think this is because the tree still has the line

Code: Select all

/usr/portage/profiles/base/make.defaults:RUBY_TARGETS="ruby22 ruby23"
which is setting ruby 2.2 when it shouldn't be.
Top
guitou
Guru
Guru
Posts: 534
Joined: Thu Oct 02, 2003 1:00 pm
Location: France

  • Quote

Post by guitou » Sun Apr 29, 2018 12:08 pm

Hi.

A simple workaround is to set RUBY_TARGET="ruby23" in /etc/portage/make.conf

++
Gi)
Top
Post Reply

15 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic