Gentoo Base System version 1.12.5 Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) XEON(TM) CPU 1.80GHz Last Sync: Sun, 17 Sep 2006 19:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/" LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X alsa arts bash-completion berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emacs emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis win32codecs xinerama xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ./obj/echogs -e .dev -a- ./obj/dpsnext -oper zdpnext ./obj/echogs -e .dev -a- ./obj/dpsnext -ps gs_dpnxt ./obj/echogs -e .dev -w- -l-dev2 -b -s -l-obj ./obj/ps2write ./obj/echogs -e .dev -a- ./obj/ps2write -include ./obj/pdfwrite.dev ./obj/genconf ./obj/devs.tr -h ./obj/gconfxx.h -p "%s&s&&" -pl "&-l%s&s&&" -pL "&-L%s&s&&" -ol ./obj/ld.tr ./obj/echogs -a ./obj/gconfxx.h rm -f ./obj/gconfig.c rm -f ./obj/gconfig.h rm -f ./obj/iconfig.c cp ./obj/gconfxx.h ./obj/gconfig.h cp ./src/iconf.c ./obj/iconfig.c i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=i686 -pipe -I./src -I./obj -I./obj -I./src -o ./obj/iconfig.o -c ./obj/iconfig.c cp ./obj/gconfxx.h ./obj/gconfig.h In file included from ./obj/iconfig.c:39: ./src/gconf.h:28:23: error: gconfig.h: No such file or directory make: *** [obj/iconfig.o] Error 1 make: *** Waiting for unfinished jobs.... cp ./src/gconf.c ./obj/gconfig.c i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=i686 -pipe -I./obj -I./src -o ./obj/gconfig.o -c ./obj/gconfig.c !!! ERROR: app-text/ghostscript-gpl-8.54 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install ghostscript-gpl-8.54.ebuild, line 131: Called die !!! emake install failed !!! If you need support, post the topmost build error, and the call stack if relevant.
I was able to work around this by first emerging the deps, then finally emerging ghostscript-gpl itself: : jmglov@foo; USE='-doc' emerge -av nasm lzo gnutls : jmglov@foo; USE='gnutls gtk jpeg2k opengl X' emerge -av cups : jmglov@foo; USE='gnutls gtk jpeg2k opengl X' emerge -av ghostscript-gpl [...] >>> app-text/ghostscript-gpl-8.54 merged. >>> Recording app-text/ghostscript-gpl in "world" favorites file... >>> No packages selected for removal by clean. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. : jmglov@foo; echo $? 0 : jmglov@foo;
(In reply to comment #1) > I was able to work around this by first emerging the deps, then finally > emerging ghostscript-gpl itself: ---8<--- Thanks that worked for me too. (I was trying to emerge kdebase. I'm curious: kde and ghsostcript are hardly obscure packages so I wonder how this bug hasn't got picked up before.)
I can confirm this bug as well, ran into this exact issue on a fresh 2006.1 install. Comment #1 worked as a fix in my case as well (without using USE on CLI as demonstrated in Comment #1)
(In reply to comment #0) > ./obj/echogs -e .dev -a- ./obj/dpsnext -oper zdpnext > ./obj/echogs -e .dev -a- ./obj/dpsnext -ps gs_dpnxt > ./obj/echogs -e .dev -w- -l-dev2 -b -s -l-obj ./obj/ps2write > ./obj/echogs -e .dev -a- ./obj/ps2write -include ./obj/pdfwrite.dev > ./obj/genconf ./obj/devs.tr -h ./obj/gconfxx.h -p "%s&s&&" -pl "&-l%s&s&&" -pL > "&-L%s&s&&" -ol ./obj/ld.tr > ./obj/echogs -a ./obj/gconfxx.h > rm -f ./obj/gconfig.c > rm -f ./obj/gconfig.h > rm -f ./obj/iconfig.c > cp ./obj/gconfxx.h ./obj/gconfig.h > cp ./src/iconf.c ./obj/iconfig.c > i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall > -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual > -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H > -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=i686 -pipe -I./src > -I./obj -I./obj -I./src -o ./obj/iconfig.o -c ./obj/iconfig.c > cp ./obj/gconfxx.h ./obj/gconfig.h > In file included from ./obj/iconfig.c:39: > ./src/gconf.h:28:23: error: gconfig.h: No such file or directory > make: *** [obj/iconfig.o] Error 1 > make: *** Waiting for unfinished jobs.... > cp ./src/gconf.c ./obj/gconfig.c > i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall > -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual > -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H > -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -march=i686 -pipe -I./obj > -I./src -o ./obj/gconfig.o -c ./obj/gconfig.c > > !!! ERROR: app-text/ghostscript-gpl-8.54 failed. > Call stack: > ebuild.sh, line 1546: Called dyn_install > ebuild.sh, line 1020: Called src_install > ghostscript-gpl-8.54.ebuild, line 131: Called die > > !!! emake install failed > !!! If you need support, post the topmost build error, and the call stack if > relevant. Another simple workaround is to use MAKEOPTS="-j1".
I changed the ebuild to use -j1