x86_64-pc-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include -I. -march=k8 -O2 -I. -c ./config.c ./config.c: In function 'main': ./config.c:35: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:40: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:45: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:65: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:68: warning: incompatible implicit declaration of built-in function 'exit' fairtrade jens # LC_ALL=C emerge --info Portage 2.1.2_pre3-r5 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.5 Last Sync: Thu, 19 Oct 2006 09:20:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 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-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://130.59.10.34/mirror/gentoo/ http://130.59.10.35/mirror/gentoo/" LANG="de_DE@euro" LC_ALL="C" LINGUAS="de cz it fr en" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X aalib alsa arts audiofile berkdb bitmap-fonts bzip2 cdr cli cracklib crypt css cups dlloader dri dvd dvdr eds elibc_glibc emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kernel_linux linguas_cz linguas_de linguas_en linguas_fr linguas_it lzw lzw-tiff mozilla mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pango pcre pdf perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa video_cards_vga vorbis xmms xorg xosd xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
There's no error in the output you've posted.
make build TARGET=finale_nolibafs make[1]: Entering directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2' make finale_nolibafs DEST=/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/amd64_linux26/dest COMPILE_PART2B=all DESTDIR= make[2]: Entering directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2' cd src && cd config && make all case amd64_linux26 in \ sgi_*) \ echo "SGI efs not supported" ;; \ *) \ echo No efs stuff for amd64_linux26;; \ esac No efs stuff for amd64_linux26 rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/lib/libtermlib.a case amd64_linux26 in \ rs_aix* | sun4x_* | sunx86_* | sgi_6? | *linux* | *_darwin* | *fbsd* | ia64_hpux*) \ ln -s libnull.a /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/lib/libtermlib.a ;; \ *) \ ln -s /usr/lib/libtermlib.a /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/lib/libtermlib.a ;; \ esac if test -d "doc/man-pages" ; then \ cd doc/man-pages && make all ; \ fi cd src && cd platform && make all make[3]: Entering directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/src/platform' Makefile:12: ../config/Makefile.version: No such file or directory make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[3]: *** No rule to make target `../config/Makefile.version'. Stop. make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/src/platform' make[2]: *** [platform] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Entering directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/src/config' make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f Makefile.version if [ -r SRC/../CML/state ] ; \ then cp ./Makefile.version-CML Makefile.version ; \ else cp Makefile.version-NOCML Makefile.version ; \ fi make -f Makefile.version AFS_component_version_number.c make[4]: Entering directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/src/config' echo 'char cml_version_number[]="@(#) OpenAFS 1.4.2 built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c echo 'char* AFSVersion = "openafs 1.4.2"; ' >>AFS_component_version_number.c make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/src/config' x86_64-pc-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include -I. -march=k8 -O2 -I. -c ./config.c ./config.c: In function 'main': ./config.c:35: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:40: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:45: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:65: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:68: warning: incompatible implicit declaration of built-in function 'exit' x86_64-pc-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include -I. -march=k8 -O2 -c ./mc.c x86_64-pc-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include -I. -march=k8 -O2 -o config config.o mc.o x86_64-pc-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include -I. -march=k8 -O2 -o mkvers ./mkvers.c if [ "X" != "X" ] ; then \ cat ./ ./param.amd64_linux26.h > param.h.new ; \ rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/param.h; \ cp param.h.new /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/param.h ; \ else \ rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/param.h; cp ./param.amd64_linux26.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/param.h ; \ fi rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/stds.h; cp stds.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/stds.h rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/afs_sysnames.h; cp afs_sysnames.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/afs_sysnames.h rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/afs_args.h; cp afs_args.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/afs_args.h rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/icl.h; cp icl.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/icl.h rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/venus.h; cp venus.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/venus.h rm -f /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/debug.h; cp debug.h /var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/include/afs/debug.h make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2/src/config' make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2' make[1]: *** [build] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-1.4.2/work/openafs-1.4.2' make: *** [all_nolibafs] Error 2 !!! ERROR: net-fs/openafs-1.4.2 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile openafs-1.4.2.ebuild, line 54: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Much better.
Sorry for the confusion ... I was for some reason focused on compiler errors ...
If you change "emake" to "emake -j1" in the .ebuild file, does that solve the problem?
Yes, it does.
Re-enabled "emake -j1" by default, in both openafs and openafs-kernel. I removed it after a couple of tests I did turned out ok, but it seems those tests weren't representative. The "-j1" will have to stay there until the Makefiles are rewritten properly :)