Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 275983

Summary: Fail to emerge dev-libs/glib on stage3 on AMD64 install ; error message : '/usr/bin: file not recognized: Is a directory'
Product: Gentoo Release Media Reporter: fenril <yopyop>
Component: All ISOAssignee: Gentoo Release Team <releng>
Status: RESOLVED DUPLICATE    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description fenril 2009-06-30 18:22:52 UTC
Can't emerge glib on AMD64 (multilib) install ; curious compilation error message : '/usr/bin: file not recognized: Is a directory'

Reproducible: Always

Steps to Reproduce:
1. Install gentoo with stage3

Actual Results:  
Stop glib compilation/installation. Can't install package with glib dependence like syslog-ng.

Expected Results:  
Same problem with any version of glib (using package.unmask or package.keywords)

Compilation error message :
*******************************************************************************************************
/usr/bin: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [libmoduletestplugin_a.la] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/libmoduletestplugin_b.o   -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gmodule/.libs -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/glib/.libs -L/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/glib/.libs ../gmodule/.libs/libgmodule-2.0.so /usr/bin /usr/sbin /bin /sbin -ldl /var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/glib/.libs/libglib-2.0.so ../glib/.libs/libglib-2.0.so  -march=athlon64 -Wl,--export-dynamic -Wl,-O1   -Wl,-soname -Wl,libmoduletestplugin_b.so -o .libs/libmoduletestplugin_b.so
/usr/bin: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [libmoduletestplugin_b.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4'
make: *** [all] Error 2
 [31;01m*[0m
 [31;01m*[0m ERROR: dev-libs/glib-2.18.4-r1 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 2846:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake || die "make failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   make failed
 [31;01m*[0m
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-libs/glib-2.18.4-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.18.4-r1/temp/environment'.
 [31;01m*[0m
*******************************************************************************************************

emerge --info message :
*******************************************************************************************************
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29.04-std121-amd64 x86_64)
=================================================================
System uname: Linux-2.6.29.04-std121-amd64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
Timestamp of tree: Mon, 29 Jun 2009 18:15:02 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 acl alsa amd64 berkdb bzip2 cd cddb cdinstall cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr ffmpeg flac fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog jack jpeg jpeg2k mad midi mmx mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png pppd python quicktime raw readline reflection session spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff unicode vorbis x264 xcomposite xfce xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*******************************************************************************************************
Comment 1 Sebastian Luther (few) 2009-06-30 18:34:30 UTC
What was your install medium? SystemRescueCD?
Comment 2 fenril 2009-06-30 18:48:22 UTC
(In reply to comment #1)
> What was your install medium? SystemRescueCD?
> 

Yes, i used SystemRescueCD. I need it because several of my partitions are in ext4.
Comment 3 Sebastian Luther (few) 2009-06-30 18:58:52 UTC

*** This bug has been marked as a duplicate of bug 271942 ***