On 01/29/2017 01:56 PM,
the...@sys-concept.com wrote:
> I haven't updated my system for over a year (1year and 3-months).
[snip]
I got stuck on "dev-ruby/racc"
>>> Failed to emerge dev-ruby/racc-1.4.11, Log file:
>>> '/var/log/portage/dev-ruby:racc-1.4.11:20170131-232501.log'
>>> Jobs: 133 of 366 complete, 1 failed Load avg: 1.10, 1.21, 1.31
*** Resuming merge...
* Package: dev-ruby/racc-1.4.11
* Repository: gentoo
* Maintainer:
ru...@gentoo.org
* USE: abi_x86_32 elibc_glibc kernel_linux ruby_targets_ruby21 userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Skipping checksum index updating...
* Running unpack phase for all ...
* Unpacking .gem file... ...
[ ok ]
* Uncompressing metadata ...
[ ok ]
* Unpacking data.tar.gz ...
[ ok ]
* Running prepare phase for all ...
* Running source copy phase for ruby21 ...
* Running prepare phase for ruby21 ...
checking for rb_ary_subseq()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby21
/usr/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0'
from /usr/lib/ruby/2.1.0/mkmf.rb:556:in `try_link'
from /usr/lib/ruby/2.1.0/mkmf.rb:736:in `try_func'
from /usr/lib/ruby/2.1.0/mkmf.rb:1021:in `block in have_func'
from /usr/lib/ruby/2.1.0/mkmf.rb:912:in `block in checking_for'
from /usr/lib/ruby/2.1.0/mkmf.rb:351:in `block (2 levels) in postpone'
from /usr/lib/ruby/2.1.0/mkmf.rb:321:in `open'
from /usr/lib/ruby/2.1.0/mkmf.rb:351:in `block in postpone'
from /usr/lib/ruby/2.1.0/mkmf.rb:321:in `open'
from /usr/lib/ruby/2.1.0/mkmf.rb:347:in `postpone'
from /usr/lib/ruby/2.1.0/mkmf.rb:911:in `checking_for'
from /usr/lib/ruby/2.1.0/mkmf.rb:1020:in `have_func'
from extconf.rb:5:in `<main>'
* ERROR: dev-ruby/racc-1.4.11::gentoo failed (prepare phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_prepare
* environment, line 4446: Called ruby-ng_src_prepare
* environment, line 4156: Called _ruby_each_implementation 'each_ruby_prepare'
* environment, line 446: Called _ruby_invoke_environment 'ruby21' 'each_ruby_prepare'
* environment, line 549: Called each_ruby_prepare
* environment, line 867: Called die
* The specific snippet of code:
* ${RUBY} -Cext/racc extconf.rb || die
*
* If you need support, post the output of `emerge --info '=dev-ruby/racc-1.4.11::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-ruby/racc-1.4.11::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 =racc-1.4.11
* The complete build log is located at '/var/log/portage/dev-ruby:racc-1.4.11:20170131-232501.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/racc-1.4.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-ruby/racc-1.4.11/temp/environment'.
* Working directory: '/var/tmp/portage/dev-ruby/racc-1.4.11/work/ruby21/racc-1.4.11'
* S: '/var/tmp/portage/dev-ruby/racc-1.4.11/work/ruby21/racc-1.4.11'
* One or more packages are either masked or have missing dependencies:
*
* >=dev-ruby/json-1.7.7[ruby_targets_ruby20] pulled in by:
* (dev-lang/ruby-2.0.0_p648:2.0/2.0::gentoo, installed)
*
* dev-lang/perl:0/5.20= pulled in by:
* (virtual/perl-File-Temp-0.230.400-r5:0/0::gentoo, installed)
*
* virtual/rubygems[ruby_targets_ruby20] pulled in by:
* (dev-ruby/racc-1.4.11:0/0::gentoo, installed)
*
* The resume list contains packages that are either masked or have
* unsatisfied dependencies. Please restart/continue the operation
* manually, or use --skipfirst to skip the first package in the list and
* any other packages that may be masked or have missing dependencies.
When I try to exclude the "dev-ruby/racc:
emerge -uDNavq --exclude dev-libs/icu --exclude dev-libs/boost --exclude dev-ruby/racc world
I'm getting another error:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-lang/perl:0
(dev-lang/perl-5.22.3_rc4:0/5.22::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)
(dev-lang/perl-5.20.2:0/5.20::gentoo, installed) pulled in by
dev-lang/perl:0/5.20=[-build(-)] required by (dev-perl/Locale-gettext-1.50.0-r1:0/0::gentoo, installed)
^^^^^^^^
(and 31 more with the same problem)
x11-libs/libfm-extra:0
(x11-libs/libfm-extra-1.2.4:0/4.4.0::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)
(x11-libs/libfm-extra-1.2.3:0/4.3.0::gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/libfm-extra-1.2.3 required by (x11-libs/libfm-1.2.3-r1:0/4.3.0::gentoo, ebuild scheduled for merge)
^ ^^^^^
NOTE: Use the '--verbose-conflicts' option to display parents omitted above
!!! All ebuilds that could satisfy ">=dev-ruby/json-1.7.7[ruby_targets_ruby20]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-ruby/json-2.0.3::gentoo (masked by: ~x86 keyword)
- dev-ruby/json-2.0.2::gentoo (masked by: ~x86 keyword)
- dev-ruby/json-2.0.1::gentoo (masked by: ~x86 keyword)
- dev-ruby/json-1.8.3::gentoo (masked by: ~x86 keyword)
(dependency required by "dev-lang/ruby-2.0.0_p648::gentoo" [installed])
(dependency required by "dev-ruby/racc-1.4.11::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
--
Thelma