Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475384 - =dev-ruby/json-1.8.0 - LoadError: no such file to load -- auto_gem
Summary: =dev-ruby/json-1.8.0 - LoadError: no such file to load -- auto_gem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 06:38 UTC by tman
Modified: 2013-07-04 08:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/dev-ruby:json-1.8.0:20130701-141332.log (dev-ruby:json-1.8.0:20130701-141332.log,4.91 KB, text/x-log)
2013-07-01 14:16 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-07-01 06:38:04 UTC
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.8 Feb 2013
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.8 Feb 2013
Copyright (c) 2001-2009 by Adrian Thurston
cd ext/json/ext/parser
/usr/bin/ruby18 extconf.rb
creating Makefile
gmake
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I.   -fPIC -march=corei7 -O2 -pipe -fno-strict-aliasing  -fPIC  -Wall  -c parser.c
x86_64-pc-linux-gnu-gcc -shared -o parser.so parser.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18  -lpthread -lrt -ldl -lcrypt -lm   -lc
cd -
cp ext/json/ext/parser/parser.so ext/json/ext
cd ext/json/ext/generator
/usr/bin/ruby18 extconf.rb
creating Makefile
gmake
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DJSON_GENERATOR    -fPIC -march=corei7 -O2 -pipe -fno-strict-aliasing  -fPIC  -Wall -O0 -ggdb  -c generator.c
x86_64-pc-linux-gnu-gcc -shared -o generator.so generator.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18  -lpthread -lrt -ldl -lcrypt -lm   -lc
cd -
cp ext/json/ext/generator/generator.so ext/json/ext
 * Running compile phase for ruby19 ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.8 Feb 2013
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.8 Feb 2013
Copyright (c) 2001-2009 by Adrian Thurston
cd ext/json/ext/parser
/usr/bin/ruby19 extconf.rb
creating Makefile
gmake
compiling parser.c
linking shared-object json/ext/parser.so
cd -
cp ext/json/ext/parser/parser.so ext/json/ext
cd ext/json/ext/generator
/usr/bin/ruby19 extconf.rb
creating Makefile
gmake
compiling generator.c
linking shared-object json/ext/generator.so
cd -
cp ext/json/ext/generator/generator.so ext/json/ext
 * Running compile phase for jruby ...
 * Running compile phase for all ...
 * Running install phase for ruby18 ...
 * Running install phase for ruby19 ...
 * Running install phase for jruby ...
LoadError: no such file to load -- auto_gem
 * ERROR: dev-ruby/json-1.8.0 failed (install phase):
 *   Unable to generate gemspec file.
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 4540:  Called ruby-ng_src_install
 *   environment, line 4206:  Called _ruby_each_implementation 'each_ruby_install'
 *   environment, line  463:  Called _ruby_invoke_environment 'jruby' 'each_ruby_install'
 *   environment, line  515:  Called each_ruby_install
 *   environment, line  801:  Called each_fakegem_install
 *   environment, line  768:  Called ruby_fakegem_install_gemspec
 *   environment, line 4387:  Called die
 * The specific snippet of code:
 *       fi ) || die "Unable to generate gemspec file.";
 *
 * If you need support, post the output of `emerge --info '=dev-ruby/json-1.8.0'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/json-1.8.0'`.
!!! 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 =json-1.8.0
 * The complete build log is located at '/var/log/portage/dev-ruby:json-1.8.0:20130701-063519.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/json-1.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/json-1.8.0/

Reproducible: Always




Portage 2.1.12.11 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.9.8-gentoo x86_64)
=================================================================
System uname: Linux-3.9.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627512 total,  20638108 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Mon, 01 Jul 2013 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo nikai mgorny poly-c luman qt Techwolf gamerlay scarabeus science mva emacs flameeyes-overlay mpd wirelay gnome ruby alice lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /etc/timezone /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-01 07:53:36 UTC
Please attach the complete build log.
Comment 2 tman 2013-07-01 14:16:24 UTC
Created attachment 352402 [details]
/var/log/portage/dev-ruby:json-1.8.0:20130701-141332.log
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-01 15:36:06 UTC
Thank you, I needed to assure this was from the Portage tree; as denoted in the first lines missing from the build log. Assigned to the maintainers.
Comment 4 Hans de Graaff gentoo-dev Security 2013-07-01 17:02:55 UTC
Could you provide more details on what you were trying to emerge? This can only happen when your environment contains rubygems-specific code already but rubygems itself is not installed. Did you uninstall rubygems?
Comment 5 tman 2013-07-02 00:53:31 UTC
(In reply to Hans de Graaff from comment #4)
> Could you provide more details on what you were trying to emerge? This can
> only happen when your environment contains rubygems-specific code already
> but rubygems itself is not installed. Did you uninstall rubygems?

rubygem is not unmerged. i all what i did: emerge -uDN world. and this ev-ruby/json-1.8 failed to compile.

~ $ eix rubygem
[I] dev-ruby/rubygems
     Available versions:  1.3.7^t 1.3.7-r1^t (~)1.3.7-r5^t 1.8.24 (~)1.8.25 (~)2.0.3 {doc server test ELIBC="FreeBSD" RUBY_TARGETS="jruby ree18 ruby18 ruby19"}
     Installed versions:  2.0.3(01:38:34 29.06.2013)(-server -test ELIBC="-FreeBSD" RUBY_TARGETS="jruby ruby18 ruby19")
     Homepage:            http://rubyforge.org/projects/rubygems/
     Description:         Centralized Ruby extension management system

[U] virtual/rubygems
     Available versions:  
     (ruby18) 1
     (jruby) 2
     (ruby19) 4
     (rbx)  (~)5
       {ELIBC="FreeBSD" RUBY_TARGETS="jruby rbx ruby18 ruby19"}
     Installed versions:  1(ruby18)(01:38:56 29.06.2013)(ELIBC="-FreeBSD" RUBY_TARGETS="ruby18") 2(jruby)(01:38:42 29.06.2013)(ELIBC="-FreeBSD" RUBY_TARGETS="jruby") 4(ruby19)(01:38:49 29.06.2013)(ELIBC="-FreeBSD" RUBY_TARGETS="ruby19")
     Description:         Virtual ebuild for rubygems
Comment 6 tman 2013-07-04 08:00:58 UTC
a work around fix the problem:

emerge -C dev-ruby/rubygems virtual/rubygems
emerge -1 dev-java/jvyamlb
emerge -1 dev-ruby/rubygems virtual/rubygems