This build fails here with the default MAKEOPTS="-j2". make all-recursive make[1]: Entering directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9' Making all in scsilib make[2]: Entering directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/scsilib' RULES/rules1.top:234: incs/Dcc.x86-linux: No such file or directory RULES/rules.cnf:56: incs/x86-linux-cc/Inull: No such file or directory RULES/rules.cnf:57: incs/x86-linux-cc/rules.cnf: No such file or directory Makefile:18: warning: overriding commands for target `install' RULES/rules1.dir:27: warning: ignoring old commands for target `install' sh conf/cc-config.sh cc incs/Dcc.x86-linux Trying to find cc ==> MAKING DIRECTORY "incs/x86-linux-cc/Inull" Found cc Creating empty 'incs/Dcc.x86-linux' conf/cc-config.sh: line 102: incs/Dcc.x86-linux: No such file or directory make[2]: *** [incs/Dcc.x86-linux] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/scsilib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9' make: *** [all] Error 2 My guess for the cause of the error is that the creation of the empty file is not yet completed when cc-config.sh tests for the existance of that file. With MAKEOPTS="" or ="-j1" it works fine. Thus the -j2 option for make should probably be disabled in this ebuild.
Created attachment 42699 [details, diff] Patch for cdrdao-1.1.9.ebuild Here is a patch to make the ebuild use -j1. (Note that if multiple -j options are present, the last one is used)
I tested it here with -j3. No problem. Does this problem occur every time when you emerge cdrdao? If this is the cause, could you test with "make" instead of "emake"? Only emake reads your MAKEOPTS variable is /etc/make.conf, make should fall back to -j1.
I am no longer able to reproduce this issue. I tested the ebuild now with -j1, -j2, and -j3 (emake) and it works flawless. As I filed this report the behavior seemed reproducible. I tried to build cdrdao three or four times and it failed every time with the error above. Sorry for your wasted time.
I ran into the same problem, tried disabling makeopts and ccache, neither of which helped. Used ebuild to do it and it worked fine. Weird. ebuild app-cdr/cdrdao-1.1.9.ebuild unpack && ebuild app-cdr/cdrdao-1.1.9.ebuild compile && ebuild app-cdr/cdrdao-1.1.9.ebuild install && ebuild app-cdr/cdrdao-1.1.9.ebuild qmerge Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-ck2 i686) ================================================================= System uname: 2.6.9-ck2 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-tbird -ffast-math -ftracer -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -ffast-math -ftracer -fomit-frame-pointer -pipe" DISTDIR="/files/portage/distfiles" FEATURES="autoaddcvs candy ccache distlocks sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.binarycompass.org http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr / http://gentoo.math.bme.hu http://ftp.isu.edu.tw/pub/Linux/Gentoo http://www.zentek-international.com/mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/files/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/files/portage/local" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="/ 3dnow X acl alsa apm arts avi bitmap-fonts cdr cups f77 flac foomaticdb gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mmx mozilla mpeg ncurses nomac nptl opengl oss pam pdflib perl pic png pwdb python qt quicktime readline samba slang sndfile spell sse ssl tcltk tcpd tiff truetype unicode x86 xml2 xmms xv zlib"
Solved for me using amd64 by emerging linux26-headers and unemerging linux(-headers. See also 58358. Switching MAKEOPTS did'nt help at my side. HTH, Jan
"MAKEOPTS="-j1" emerge cdrdao" fixed it for me (~x86).