dev-libs/libgamin-0.1.10-r1: failed to compile during an emerge -vuDN world. Last emerge --sync was 20:00 13/1/09. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -vuDN world 3. libgamin-0.1.10-r1 fails to compile Actual Results: 1. emerge --sync 2. emerge -vuDN world 3. libgamin-0.1.10-r1 fails to compile Expected Results: libgamin-01.1.10-r1 should have compiled fine. The error that portage gives when the compile fails: env: en_US.utf8: No such file or directory en_US.utf8: No such file or directory make[2]: *** [gam_event.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [gam_error.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10' make: *** [all] Error 2 * * ERROR: dev-libs/libgamin-0.1.10-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3068: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/temp/environment'. * emerge --info: Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-Mobile_Intel-R-_Celeron-R-_CPU_2.20GHz-with-glibc2.0 Timestamp of tree: Wed, 14 Jan 2009 00:10:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mtune=i386 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -mtune=i386 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo/" LANG="en_US en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi aim alsa bash-completion berkdb bzip2 cairo cdr cli cracklib crypt css dbus dvd dvdread encode fastcgi fbcon ffmpeg flac fontconfig fortran ftp gdbm gif gpm graphviz gtk hal iconv imap ipod ipv6 isdnlog jabber javascript jpeg lame maildir mailwrapper mbox midi minimal mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly ogg openmp oscar pam pcre perl png posix pppd python quicktime readline reflection rss session spell spl ssl svg svga symlink sysfs tcpd theora tiff truetype unicode usb vim-syntax vorbis wifi x86 xcb xorg xpm xulrunner xvid zlib" ALSA_CARDS="i8x0" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="sis fbdev vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
a full build.log might be more helpful.
(In reply to comment #1) > a full build.log might be more helpful. > Sorry, here it is: >>> Unpacking source... >>> Unpacking gamin-0.1.10.tar.gz to /var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work [32;01m*[0m Applying gamin-0.1.9-freebsd.patch ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying libgamin-0.1.10-noinst-lib.patch ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running eautoreconf in '/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10' ... [32;01m*[0m Running aclocal ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running libtoolize --copy --force --automake ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running aclocal ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running autoconf ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running autoheader ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running automake --add-missing --copy ... [A[161C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running elibtoolize in: gamin-0.1.10 [32;01m*[0m Applying install-sh-1.5.patch ... [32;01m*[0m Applying portage-1.5.10.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10 ... * econf: updating gamin-0.1.10/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gamin-0.1.10/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-debug --disable-server --enable-inotify --disable-debug-api --with-python --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-cf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-pghpf... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran static flag -static works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking for ANSI C header files... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking gtk-doc version >= 1.0... no checking for usleep... yes checking for setsid... yes checking for setenv... yes checking for putenv... yes checking for getlogin_r... yes checking for nanoseconds field of struct stat.st_mtim... tv_nsec checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking for kevent... no Enabling multithreaded support checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_mutexattr_settype in -lpthread... yes checking for ISO C99 varargs macros in C... yes checking for GNUC varargs macros... yes checking for struct cmsgcred... no checking abstract socket namespace... yes checking for python... /usr/bin/python Found Python version 2.5 checking for more compiler warnings... yes checking whether gcc understands -Wno-sign-compare... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating libgamin/Makefile config.status: creating server/Makefile config.status: creating tests/Makefile config.status: creating python/Makefile config.status: creating python/tests/Makefile config.status: creating doc/Makefile config.status: creating gamin.pc config.status: creating gamin.spec config.status: creating config.h config.status: executing depfiles commands gamin-0.1.10: prefix: /usr source code location: . compiler: i686-pc-linux-gnu-gcc compiler flags: -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -Os -mtune=i386 -pipe -fomit-frame-pointer build gam_server: no build libgamin/libfam: yes build python bindings: yes build tests: no backends: polling, inotify, dnotify build documentation: no debug support: no make -j2 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10' Making all in lib make[2]: Entering directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10/lib' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -Os -mtune=i386 -pipe -fomit-frame-pointer -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c -o gam_event.lo gam_event.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -Os -mtune=i386 -pipe -fomit-frame-pointer -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c -o gam_error.lo gam_error.c mkdir .libs mkdir .libs mkdir: cannot create directory `.libs': File exists i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -Os -mtune=i386 -pipe -fomit-frame-pointer -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c -fPIC -DPIC -o .libs/gam_event.o env: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -Os -mtune=i386 -pipe -fomit-frame-pointer -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c gam_error.c -fPIC -DPIC -o .libs/gam_error.o env: en_US.utf8: No such file or directory en_US.utf8: No such file or directory make[2]: *** [gam_event.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [gam_error.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/work/gamin-0.1.10' make: *** [all] Error 2 [31;01m*[0m [31;01m*[0m ERROR: dev-libs/libgamin-0.1.10-r1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3068: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed" [31;01m*[0m The die message: [31;01m*[0m emake 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/libgamin-0.1.10-r1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/libgamin-0.1.10-r1/temp/environment'. [31;01m*[0m
Hum, there might be a parallel make issue. Does it happen all the time ? Does it happen if you run emerge with MAKEOPTS="-j1" ?
From your make.conf : (In reply to comment #0) > LANG="en_US en_US.utf8" This is probably not "legal". Could you please retry with either "en_US" or "en_US.utf8" ? Thanks
(In reply to comment #4) > From your make.conf : > > (In reply to comment #0) > > LANG="en_US en_US.utf8" > > This is probably not "legal". Could you please retry with either "en_US" or > "en_US.utf8" ? > > Thanks > That worked. I don't know why I didn't see that earlier, must have slipped into my make.conf during a late night hacking session. :p