Making all in secs make[1]: Entering directory `/var/tmp/portage/naim-0.11.8.2/work/naim-0.11.8.2/secs' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -march=pentium4 -pipe -O3 -ftracer -c atomizer.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -march=pentium4 -pipe -O3 -ftracer -c block.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -march=pentium4 -pipe -O3 -ftracer -c liaison.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -march=pentium4 -pipe -O3 -ftracer -c mem.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -march=pentium4 -pipe -O3 -ftracer -c script.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../include -march=pentium4 -pipe -O3 -ftracer -c vars.c rm -f libsecs.a i686-pc-linux-gnu-ar cru libsecs.a atomizer.o block.o liaison.o mem.o script.o vars.o i686-pc-linux-gnu-ranlib libsecs.a make[1]: Leaving directory `/var/tmp/portage/naim-0.11.8.2/work/naim-0.11.8.2/secs' Making all in src make[1]: Entering directory `/var/tmp/portage/naim-0.11.8.2/work/naim-0.11.8.2/src' make all-am make[2]: Entering directory `/var/tmp/portage/naim-0.11.8.2/work/naim-0.11.8.2/src' AWK="gawk" CPP="i686-pc-linux-gnu-gcc -E -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -DHAVE_CONFIG_H" SRCDIR=. ./genkeys.sh > conio_keys.h i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -march=pentium4 -pipe -O3 -ftracer -c buddy.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -march=pentium4 -pipe -O3 -ftracer -c echof.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -march=pentium4 -pipe -O3 -ftracer -c events.c events.c:14:24: conio_cmds.h: No such file or directory make[2]: *** [events.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/naim-0.11.8.2/work/naim-0.11.8.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/naim-0.11.8.2/work/naim-0.11.8.2/src' make: *** [all-recursive] Error 1 + diefunc src_compile 39 2 'make failed' + local funcname=src_compile lineno=39 exitcode=2 + shift 3 + echo + echo '!!! ERROR: net-im/naim-0.11.8.2 failed.' !!! ERROR: net-im/naim-0.11.8.2 failed. + dump_trace 2 + local funcname= sourcefile= lineno= n e s=yes + declare -i strip=1 + [[ -n 2 ]] + strip=2 + echo 'Call stack:' Call stack: + (( n = 5 - 1, p = 6 )) + (( n > 2 )) + funcname=dyn_compile ++ basename /usr/lib/portage/bin/ebuild.sh + sourcefile=ebuild.sh + lineno=1549 + args= + [[ -n 2 make failed 2 39 src_compile compile ]] + (( j = 1 )) + (( j <= 0 )) + (( p -= 0 )) + echo ' ebuild.sh, line 1549: Called dyn_compile' ebuild.sh, line 1549: Called dyn_compile + (( n-- )) + (( n > 2 )) + funcname=src_compile ++ basename /usr/lib/portage/bin/ebuild.sh + sourcefile=ebuild.sh + lineno=940 + args= + [[ -n 2 make failed 2 39 src_compile compile ]] + (( j = 1 )) + (( j <= 0 )) + (( p -= 0 )) + echo ' ebuild.sh, line 940: Called src_compile' ebuild.sh, line 940: Called src_compile + (( n-- )) + (( n > 2 )) ++ basename /usr/portage/net-im/naim/naim-0.11.8.2.ebuild + echo ' naim-0.11.8.2.ebuild, line 39: Called die' naim-0.11.8.2.ebuild, line 39: Called die + echo + echo '!!! make failed' !!! make failed + echo '!!! If you need support, post the topmost build error, and the call stack if relevant.' !!! If you need support, post the topmost build error, and the call stack if relevant. + echo + '[' compile == compile ']' + local x + exit 1 emerge --info Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.17 i686) ================================================================= System uname: 2.6.17 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.12.1 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.18.1 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.17 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -pipe -O3 -ftracer" 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/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -pipe -O3 -ftracer" DISTDIR="/in/portage" FEATURES="autoconfig dislocks distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="ru" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac aalib alsa amuled apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts bzip2 calender cbbd cdda cli crypt cups dba dlloader dri dvd dvdr dvdread eds emboss encode esd fam fame ffmpeg firefox flac foomaticdb fortran freetype ftp gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal imap imlib ipv6 isdnlog java jpeg kde libg++ libwww lm_sensors mad matroska mikmod mjpeg motif mp3 mpeg ncurses network nls nogecko-sdk nptl nptlonly nsplugin nvidia ogg openal opengl optimisememory oss pam pcre pdflib perl png postgres pppd python qt qt3 qt4 quicktime readline real reflection remote ruby screen sdl session spell spl sqlite sse2 ssl tcltk tcpd tetex theora truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs wxwindows xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_ru userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It looks like this header file is created during compile: AWK="gawk" CPP="i686-pc-linux-gnu-gcc -E -I. -I. -I. -I../include -I../libfiretalk -I../libltd l -DHAVE_CONFIG_H" ./gencmds.sh > conio_cmds.h Do you see this anywhere in your compile output?
Ma3oxuct portage # emerge naim | grep conio_cmds.h lily.c: In function `lily_signon': lily.c:793: warning: assignment discards qualifiers from pointer target type toc2.c: In function `toc_infoget_parse_userinfo': toc2.c:436: warning: comparison between pointer and integer toc2.c: In function `toc_set_info': toc2.c:1367: warning: assignment discards qualifiers from pointer target type events.c:14:24: conio_cmds.h: No such file or directory Looks like I don't.
I got in touch with naim's developer, and he suggested that I build manually (outside of portage). conio_cmds.h was built successfully.
hmm... it seems like naim can't be compile with MAKEOPTS > 1, replace emake with make without any special options solve this problem... ok, fixed. thx for reporting.
I just got the same error with 0.11.8.3.1: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -march=pentium-m -O2 -mmmx -msse3 -fomit-frame-pointer -pipe -c hamster.c events.c:14:24: error: conio_cmds.h: No such file or directory make[2]: *** [events.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/net-im/naim-0.11.8.3.1/work/naim-0.11.8.3.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-im/naim-0.11.8.3.1/work/naim-0.11.8.3.1/src' make: *** [all-recursive] Error 1 * * ERROR: net-im/naim-0.11.8.3.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 85: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make 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/net-im/naim-0.11.8.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/naim-0.11.8.3.1/temp/environment'. * * Messages for package net-im/naim-0.11.8.3.1: * * ERROR: net-im/naim-0.11.8.3.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 85: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make 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/net-im/naim-0.11.8.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/naim-0.11.8.3.1/temp/environment'. * The problem is the same as this bug report, where I was compiling -j3 on a 2 CPU system. Setting -j1 makes everything work just fine.