While compiling sci-visualization/opendx-4.4.4 on a amd64 gentoo system, it can't find "tmp.c" Reproducible: Always Steps to Reproduce: 1.emerge -av opendx 2. 3. Actual Results: make[3]: Entering directory `/var/tmp/portage/sci-visualization/opendx-4.4.4/work/dx-4.4.4/src/exec/dxmods' echo MYINC: rm -f dxcm.mdf MYINC: rm -f dx.mdf cp ./dxmdf.src tmp.c cp ./dxmdf.src tmp.c x86_64-pc-linux-gnu-gcc -E -I../../../include -I./../dpexec -I/var/tmp/portage/sci-visualization/opendx-4.4.4/work/dx-4.4.4/include -Dlinux -DHAVE_CONFIG_H tmp.c > dxcm.mdf x86_64-pc-linux-gnu-gcc -E -I../../../include -I./../dpexec -I/var/tmp/portage/sci-visualization/opendx-4.4.4/work/dx-4.4.4/include -Dlinux -DHAVE_CONFIG_H -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp.c > dx.mdf rm -f tmp.c usercm.c rule awk -f ../../../lib/mdf2c.awk < dxcm.mdf > usercm.c cc1: error: tmp.c: No such file or directory make[3]: *** [dx.mdf] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.4.4/work/dx-4.4.4/src/exec/dxmods' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.4.4/work/dx-4.4.4/src/exec' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-visualization/opendx-4.4.4/work/dx-4.4.4/src' make: *** [all-recursive] Error 1 * * ERROR: sci-visualization/opendx-4.4.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3675: Called die * The specific snippet of code: * emake || die; * The die message: * (no error message) * * 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/sci-visualization/opendx-4.4.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/opendx-4.4.4/temp/environment'. * Expected Results: successful installation of opendx
Please post your `emerge --info' too.
Oh, and does it work properly when emerging with MAKEOPTS=-j1?
MAKEOPTS=-j1 does make it work. Thanks. My emerge --info: Portage 2.2_rc1 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.2.5 Timestamp of tree: Wed, 02 Jul 2008 14:15:03 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j3" 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/science /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl alsa amd64 bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups doc dri dvd dvdr dvdread fortran gd gdbm gif gpm gtk iconv imagemagick ipv6 isdnlog java jpeg midi mmx mono mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 quicktime readline reflection samba scanner session smp spell spl sse sse2 ssl tcpd test tetex tiff truetype unicode usb vim-syntax vorbis xinerama xorg xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa i810 intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #3) > MAKEOPTS=-j1 does make it work. Thanks. > If this sounds reasonable I'd rather not turn off parallel building in the ebuild quite yet unless more users report having problems. Parallel make helps speeding up the compile considerably and works fine on all my dev boxes. Also, this is the first time I recall a user having this issue. If it happens to more people we'll of course have to bite the bullet and turn it off. Thanks, Markus
Created attachment 165217 [details, diff] A patch to fix concurrent make of opendx. I believe the attached patch will fix the issue you encountered. Please confirm.
Patch added to CVS. Closing the bug as FIXED. Please reopen in case you still experience any problems with concurrent make.