| Summary: | dev-ruby/ruby-glib2-0.19.4 should DEPEND on dev-ruby/rubygems | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Walch <walch.martin> |
| Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Walch
2011-04-03 09:54:24 UTC
It seems like you uninstalled rubygems and did not make a note of the informational messages printed by emerge. (In reply to comment #1) > It seems like you uninstalled rubygems and did not make a note of the > informational messages printed by emerge. No I did not uninstall rubygems. This is a fresh Gentoo install and rubygems has never been installed. Did you copy anything in /etc/ from an old installation? If no, provide the output of: * emerge -pv ruby rubygems * ls /etc/env.d * ruby -rrbconfig -rpp -e 'pp Config::CONFIG; pp $:' Sorry, I had to continue building the affected system (dead-line was too close). This changed a lot of configuration files. I have tried to reproduce the problem, but did not succeed. I suppose the problem appeared after interrupting and resuming an emerge process of several selected packages.
Indeed, I copied some contents of an old installation into /etc. But I guess, those files should not be able to procude that error. I have copied package.use, locale.gen, make.conf and several files from /etc/package.keywords.
The current state is now:
# emerge -pv ruby rubygems
[ebuild R ] dev-lang/ruby-1.8.7_p334 USE="berkdb gdbm ipv6 ncurses readline ssl -debug -doc -examples -libedit -rubytests -socks5 -threads -tk -xemacs" 0 kB
[ebuild R ] dev-ruby/rubygems-1.3.7-r1 USE="-doc -server" RUBY_TARGETS="ruby18 -jruby -ree18" 0 kB
# ls /etc/env.d/ -1
00basic
03opengl
05binutils
05gcc-i686-pc-linux-gnu
08xulrunner
09sandbox
10rubygems
20ant
20java-config
22javacc
30gnupg
30xdg-data-local
37fontconfig
43kdepaths
44qca2
44qt4
50gconf
50gtk2
50ncurses
70less
90games
90nss
90xdg-data-base
98ca-certificates
99fltk-1
99gentoolkit-env
99R
binutils
blas
cblas
gcc
python
# ruby -rrbconfig -rpp -e 'pp Config::CONFIG; pp $:'
{"PACKAGE_VERSION"=>"",
"INSTALL_SCRIPT"=>"/usr/bin/install -c",
"DEFS"=>"-D_FILE_OFFSET_BITS=64",
"GREP"=>"/bin/grep",
"sharedstatedir"=>"/usr/com",
"COMMON_LIBS"=>"",
"EXPORT_PREFIX"=>"",
"AR"=>"i686-pc-linux-gnu-ar",
"target_alias"=>"",
"PACKAGE_STRING"=>"",
"host_os"=>"linux-gnu",
"RDOCTARGET"=>"",
"MANTYPE"=>"doc",
"build"=>"i686-pc-linux-gnu",
"AS"=>"i686-pc-linux-gnu-as",
"PACKAGE_URL"=>"",
"DLDFLAGS"=>"",
"build_os"=>"linux-gnu",
"PATH_SEPARATOR"=>":",
"PACKAGE_NAME"=>"",
"LIBRUBYARG"=>"-Wl,-R -Wl,/usr/lib -L/usr/lib -lruby18",
"RUBY_INSTALL_NAME"=>"ruby18",
"LN_S"=>"ln -s",
"EXTSTATIC"=>"",
"EXEEXT"=>"",
"mandir"=>"/usr/share/man",
"YACC"=>"bison -y",
"LIBPATHENV"=>"LD_LIBRARY_PATH",
"oldincludedir"=>"/usr/include",
"psdir"=>"/usr/share/doc/$(PACKAGE)",
"sitearch"=>"i686-linux",
"DLEXT2"=>"",
"LIBS"=>"-lrt -ldl -lcrypt -lm ",
"bindir"=>"/usr/bin",
"localedir"=>"/usr/share/locale",
"rubyw_install_name"=>"",
"RUBY_SO_NAME"=>"ruby18",
"OBJDUMP"=>"",
"ECHO_C"=>"",
"optflags"=>"",
"arch"=>"i686-linux",
"NROFF"=>"/usr/bin/nroff",
"libexecdir"=>"/usr/libexec",
"CC"=>"i686-pc-linux-gnu-gcc",
"cflags"=>" ",
"OUTFLAG"=>"-o ",
"STATIC"=>"",
"PREP"=>"miniruby",
"build_vendor"=>"pc",
"debugflags"=>"",
"htmldir"=>"/usr/share/doc/$(PACKAGE)",
"sitedir"=>"/usr/lib/ruby/site_ruby",
"YFLAGS"=>"",
"MAKEFILES"=>"Makefile",
"STRIP"=>"strip -S -x",
"MINOR"=>"8",
"LIBRUBYARG_SHARED"=>"-Wl,-R -Wl,/usr/lib -L/usr/lib -lruby18",
"MAKEDIRS"=>"mkdir -p",
"LIBRUBY_LDSHARED"=>"i686-pc-linux-gnu-gcc -shared",
"LDFLAGS"=>
"-L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined",
"vendorarchdir"=>"/usr/lib/ruby/vendor_ruby/1.8/i686-linux",
"includedir"=>"/usr/include",
"infodir"=>"/usr/share/info",
"NM"=>"",
"target"=>"i686-pc-linux-gnu",
"ENABLE_SHARED"=>"yes",
"DLLWRAP"=>"",
"vendorlibdir"=>"/usr/lib/ruby/vendor_ruby/1.8",
"CFLAGS"=>
"-Os -march=prescott -pipe -fgcse-after-reload -fno-strict-aliasing -fPIC ",
"host"=>"i686-pc-linux-gnu",
"INSTALL_DATA"=>"/usr/bin/install -c -m 644",
"INSTALL_PROGRAM"=>"/usr/bin/install -c",
"DLEXT"=>"so",
"PACKAGE_BUGREPORT"=>"",
"exec_prefix"=>"/usr",
"sysconfdir"=>"/etc",
"TEENY"=>"7",
"CPP"=>"i686-pc-linux-gnu-gcc -E",
"ALLOCA"=>"",
"LIBEXT"=>"a",
"libdir"=>"/usr/lib",
"LIBRUBY"=>"libruby18.so.1.8.7",
"build_alias"=>"i686-pc-linux-gnu",
"prefix"=>"/usr",
"target_vendor"=>"pc",
"target_cpu"=>"i686",
"ECHO_N"=>"-n",
"rubylibdir"=>"/usr/lib/ruby/1.8",
"sbindir"=>"/usr/sbin",
"docdir"=>"/usr/share/doc/$(PACKAGE)",
"dvidir"=>"/usr/share/doc/$(PACKAGE)",
"host_vendor"=>"pc",
"TRY_LINK"=>"",
"SOLIBS"=>"-lrt -ldl -lcrypt -lm ",
"configure_args"=>
" '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=18' '--enable-shared' '--disable-socks' '--disable-install-doc' '--disable-pthread' '--enable-ipv6' '--disable-debug' '--with-dbm' '--with-gdbm' '--with-openssl' '--without-tk' '--with-curses' '--with-readline' '--with-sitedir=/usr/lib/ruby/site_ruby' '--enable-option-checking=no' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-Os -march=prescott -pipe -fgcse-after-reload -fno-strict-aliasing' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=-pipe'",
"vendordir"=>"/usr/lib/ruby/vendor_ruby",
"target_os"=>"linux",
"GNU_LD"=>"yes",
"CP"=>"cp",
"EXTOUT"=>".ext",
"MAINLIBS"=>"",
"SET_MAKE"=>"",
"datarootdir"=>"/usr/share",
"pdfdir"=>"/usr/share/doc/$(PACKAGE)",
"LIBRUBYARG_STATIC"=>"-lruby18-static",
"RUBYW_INSTALL_NAME"=>"",
"PATCHLEVEL"=>"334",
"WINDRES"=>"",
"archdir"=>"/usr/lib/ruby/1.8/i686-linux",
"ruby_version"=>"1.8",
"LINK_SO"=>"",
"ECHO_T"=>"",
"RPATHFLAG"=>" -Wl,-R%1$-s",
"SHELL"=>"/bin/sh",
"LDSHARED"=>"i686-pc-linux-gnu-gcc -shared",
"RANLIB"=>"i686-pc-linux-gnu-ranlib",
"DLDLIBS"=>" -lc",
"build_cpu"=>"i686",
"host_alias"=>"i686-pc-linux-gnu",
"ASFLAGS"=>"",
"INSTALL"=>"/usr/bin/install -c",
"sitearchdir"=>"/usr/lib/ruby/site_ruby/1.8/i686-linux",
"ARCHFILE"=>"",
"LIBRUBY_DLDFLAGS"=>"-Wl,-soname,libruby18.so.1.8",
"OBJEXT"=>"o",
"datadir"=>"/usr/share",
"DESTDIR"=>"",
"LIBRUBY_ALIASES"=>"libruby18.so.1.8 libruby18.so",
"CCDLFLAGS"=>" -fPIC",
"RM"=>"rm -f",
"host_cpu"=>"i686",
"setup"=>"Setup",
"CPPOUTFILE"=>"-o conftest.i",
"topdir"=>"/usr/lib/ruby/1.8/i686-linux",
"localstatedir"=>"/var/lib",
"LIBPATHFLAG"=>" -L%1$-s",
"cppflags"=>"-pipe",
"sitelibdir"=>"/usr/lib/ruby/site_ruby/1.8",
"ruby_install_name"=>"ruby18",
"CPPFLAGS"=>"-pipe -D_FILE_OFFSET_BITS=64 -pipe",
"MAJOR"=>"1",
"EGREP"=>"/bin/grep -E",
"LIBRUBY_SO"=>"libruby18.so.1.8.7",
"PACKAGE_TARNAME"=>"",
"LIBRUBY_A"=>"libruby18-static.a",
"COMMON_MACROS"=>"",
"ARCH_FLAG"=>"",
"COMMON_HEADERS"=>""}
["/usr/lib/ruby/site_ruby/1.8",
"/usr/lib/ruby/site_ruby/1.8/i686-linux",
"/usr/lib/ruby/site_ruby",
"/usr/lib/ruby/vendor_ruby/1.8",
"/usr/lib/ruby/vendor_ruby/1.8/i686-linux",
"/usr/lib/ruby/vendor_ruby",
"/usr/lib/ruby/1.8",
"/usr/lib/ruby/1.8/i686-linux",
"."]
(In reply to comment #4) > Indeed, I copied some contents of an old installation into /etc. But I guess, > those files should not be able to procude that error. I have copied > package.use, locale.gen, make.conf and several files from > /etc/package.keywords. and profile.env or env.d/*? At any rate, the situation you describe cannot happen without external influence. The package that introduces auto_gem also provides it. You copied stuff in /etc, you might just as well have hit the files that make ruby try to load auto_gem. (In reply to comment #5) > and profile.env or env.d/*? I am sure I did not touch those. > At any rate, the situation you describe cannot happen without external > influence. The package that introduces auto_gem also provides it. You copied > stuff in /etc, you might just as well have hit the files that make ruby try to > load auto_gem. I will reopen if I find a way to reproduce the problem. Thank you for your assistance. |