'emerge fpc' fails with: ... make[3]: Leaving directory `/var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/compiler' /bin/rm -f ppc3 /bin/mv -f ppc386 ppc3 make[2]: Leaving directory `/var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/compiler' make 'FPC=/var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/compiler/ppc3' 'OLDFPC=/var/tmp/portage/dev-la ng/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/compiler/ppc2' next /usr/bin/diff ppc3 ppc386 /usr/bin/diff: ppc386: No such file or directory make[1]: *** [cycle] Error 2 Reproducible: Always root@vilm:/root(22)# emerge --info Portage 2.1.6.12 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29.1 i686) ================================================================= System uname: Linux-2.6.29.1-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 02 May 2009 03:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2, 2.6.2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" 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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" FFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages/" PORTAGE_CONFIGROOT="/" 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/local/portage/layman/zugaina /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage/layman/dotnet /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ide imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kde kde4 kdeprefix kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir mailwrapper math matroska matrox midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qemu qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis webkit win32codecs wmf wxwindows x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="mga vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please try again with MAKEOPTS="-j1". If it still fails attach the build.log.
Created attachment 190209 [details] /var/tmp/portage/dev-lang/fpc-2.2.4/temp/build.log
I set MAKEOPTS="-j1", removed /var/tmp/portage/dev-lang/fpc-2.2.4, but it still fails.
I deleted gcc-4.2.4, did env-update, erased again /var/tmp/portage/dev-lang/fpc-2.2.4, deleted fpc but after that 'emerge fpc' still fails with: >>> Emerging (1 of 6) dev-lang/fpc-2.2.4 * fpc-2.2.4.i386-linux.tar RMD160 SHA1 SHA256 size ;-) ... [ ok ] * fpc-2.2.4-doc-pdf.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * fpcbuild-2.2.4.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking fpc-2.2.4.i386-linux.tar to /var/tmp/portage/dev-lang/fpc-2.2.4/work >>> Unpacking fpc-2.2.4-doc-pdf.zip to /var/tmp/portage/dev-lang/fpc-2.2.4/work >>> Unpacking fpcbuild-2.2.4.tar.gz to /var/tmp/portage/dev-lang/fpc-2.2.4/work * Applying fpc-2.2.4-execstack.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-lang/fpc-2.2.4/work >>> Compiling source in /var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc ... make -j1 -j1 PP=/var/tmp/portage/dev-lang/fpc-2.2.4/work/lib/fpc/2.2.4/ppc386 compiler_cycle cp: cannot stat `/var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/compiler/ppc386': No such file or directory make -j1 -j1 PP=/var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/ppc386.new compiler_cycle Makefile:133: *** Compiler /var/tmp/portage/dev-lang/fpc-2.2.4/work/fpcbuild-2.2.4/fpcsrc/ppc386.new not found. Stop. * * ERROR: dev-lang/fpc-2.2.4 failed.
I get the same error message here too. Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r3-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.0 Timestamp of tree: Thu, 14 May 2009 19:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2, 2.6.2 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -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/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo " LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/local/portage/layman/vmware /usr/local/portage /usr/local/overlays/xgl-coffee /usr/local/overlays/eclipse-overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="7zip X Xaw3d a52 aac acl acpi aiglx akode alsa asf bash-completion berkdb bluetooth branding bzip2 cairo captury cdr cg cggui cjk cli consolekit cracklib crypt cups curl cvs dba dbus devil dga directfb divx4linux dri dvb dvd dvdr dvdread eds emboss encode esd evo exif fam fat fbcon fbcondecor ffmpeg filter firefox flac flash fontconfig fortran fuji fuse gd gdbm gif glib gnome gpm graphviz gstreamer gtk hal iconv imagemagick iproute2 ipv6 irda isdnlog jpeg jpeg2k kde kde4 kdepim kdgraphics kpathsea ldap libnotify lm_sensors logitech-mouse mad maildir mbox midi mikmod mmx mng modplug mozbranding mozsvg mp3 mpeg mpi mudflap mysql ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcre pda pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection reiserfs rtps samba scanner sdl semantic-desktop session shout slang slp spell spl sse sse2 sse3 ssl ssse3 startup-notification stream subversion svg sysfs tcpd tetex theora threads tidy tiff tk truetype unicode usb v4l v4l2 vcd vidix vorbis wavpack webkit win32codecs wma wmf wxwindows x264 x86 xcb xcomposite xface xine xinerama xml xmp xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia vga fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Any news?
None, sorry. The build log suggests that your make reported success when the ebuild runs emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!" yet it didn't actually do anything. Just to rule out the obvious, what is the output of `emerge -pv make` and of `make --version`? And do you have anything at all set that you could imagine even subtly changing its behaviour?
root@vilm:/root(101)# emerge -pv make These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/make-3.81 USE="nls -static" 0 kB Hi Harald, Total: 1 package (1 reinstall), Size of downloads: 0 kB root@vilm:/root(102)# make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-pc-linux-gnu I will add the build.log from 'emerge =vd1 fpc', maybe it is helpfull.
Created attachment 192464 [details] /var/tmp/portage/dev-lang/fpc-2.2.4/temp/build.log of 'emerge -vd1 fpc'
Your make version info looks fine, there's nothing strange there. What is very odd, though, is... > + emake -j1 PP=/var/tmp/portage/dev-lang/fpc-2.2.4/work/lib/fpc/2.2.4/ppc386 compiler_cycle > make -j1 -j1 PP=/var/tmp/portage/dev-lang/fpc-2.2.4/work/lib/fpc/2.2.4/ppc386 compiler_cycle > make -C compiler cycle ...because now the first make does call itself to get to the compiler subdirectory (unlike in your first build log), but then the second make still immediately exits without returning a failure status, so it still doesn't get you anywhere.
Could you please check if fpc builds correctly for you if you set FEATURES="-sandbox", and if not, if the build log changes?
If I set FEATURES="-sandbox", I can emerge fpc.
Switching back to FEATURES="fixpackages" 'emerge -vD1 fpc' fails again with the old error. The problem with fpc-2.2.4 happens only on one computer. For all other computers with more or less similar hard- and software configuration, I can emerge fpc without setting FEATURES="fixpackages".
> If I set FEATURES="-sandbox", I can emerge fpc. vapier, might this be a rarely triggered problem in sandbox, or do you think this is probably something else?
i just released sandbox-2.0 which includes different static binary fixes. if that still fails, i'll take a look.
With sandbox-2.0 I could successfully emerge fpc-2.2.4.
In that case, I'll close this. Thanks for the report and for testing.