emerging media-libs/allegro-4.2.2-r1 fails on ~amd64 Reproducible: Always Steps to Reproduce: 1.emerge -1 =media-libs/allegro-4.2.2-r1 2.[ebuild N ] media-libs/allegro-4.2.2-r1 USE="X alsa arts -esd -fbcon -jack -oss (-svga) -vga" 3,104 kB 3.make: *** No rule to make target `_pdf)', needed by `obj/unix/alleg/file.o'. Stop. Actual Results: Failed to compile Expected Results: Compile fine Portage 2.2_rc28 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r4-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-glibc2.2.5 Timestamp of tree: Wed, 01 Apr 2009 15:45:03 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p10-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.7 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 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="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=barcelona -fomit-frame-pointer -s -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/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=barcelona -fomit-frame-pointer -s -pipe -fpermissive" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en cs" MAKEOPTS="-j6" 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/portage/local/layman/toolchain /usr/portage/local/legacy" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex 3dnowext 7zip X a52 aac aalib acpi akode alsa amd64 ansi aotuv arts artswrappersuid asf async audiofile automount bash-completion binary-drivers blas boost branding browserplugin bzip2 cddb cdparanoia cdr crypt css cups custom-cflags custom-cxxflags custom-flags custom-optimization cvs cxx dbus dc1394 debugger divx dlloader dmi double-precision dv dvb dvbplayer dvd dvdnav dvdr dvdread ecc emerald encode exif fat ffmpeg firefox flac fortran fpx ftp gecko gif ginac git glib glibc-omitfp gmedia gmp gphoto2 gpm graphviz gs gstreamer gtk hddtemp hpn iconv idea ieee1394 imagemagick imlib ipv6 java5 java6 javascript jbig jpeg jpeg2k kde kdeenablefinal kqemu lame libcaca lm_sensors logitech-mouse lzma lzo mad matroska midi mikmod mjpeg mmap mmx mmxext mng modplug motif mozbranding mozdevelop mozilla moznopango mp2 mp3 mp4 mpeg mplayer multilib musepack musicbrainz ncurses nls no-old-linux nodrm noflagstrip nopie nossp nptl nptlonly nsplugin ntfs nvidia ogg openal opengl openmp pdf png pnm povray profile qhull qt3support qt4 quicktime rar readline realmedia reiser4 reiserfs rle rtc run-as-root samba scenarios sdl slang smp sndfile speex srt sse sse2 sse3 ssl stream submenu subtitles subversion svg swat sysfs syslog t1lib tetex tga theora threads threadsafe tiff timidity truetype unicode urandom usb v4l v4l2 vcd vlm vorbis wmf wmp x264 xanim xcb xine xml xorg xulrunner xv xvid xvmc yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" 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" CAMERAS="spca50x" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 187030 [details] build log
Try compiling with MAKEOPTS="-j1" Looks like paralel build issue and my phenom 9850 starts to feel old :D
Thank you very much for reply, sadly it doesn't help. (it gives the same error)
ok one more unrelevant idea. try -arts with that you will get exact enviroment and useflags like i have.
Sorry to say, it is still failing.
What's this junk in /usr/local?
You should understand why you have something in /usr/local/ and if it is ok to moveout ... doit, maybe rename the /usr/local directory temporarily. If your problem is fixed, well close this bug. Otherwise: cd /var/tmp/portage/media-libs/allegro-4.2.2-r1/work/allegro-4.2.2 make -p obj/unix/alleg/file.o > rules.dump and attach: ./rules.dump ./makefile.dep to this bug Thanks
Thank you for replies! My /usr/local is a symlink to /usr . Maybe it is done this way for historical reasons, maybe some 3rd party software needed that. I tried removing that link, but then almost everything started failing (emerge allegro failed at autoconf). But I see other Gentoo systems I can use have only .keep files in /usr/local . About overlays, "toolchain" provides latest gcc-4.4 alphas, "legacy" provides ebuilds no longer in the main tree (nvidia drivers, older kernels, nasm-0.98.39 ) - I don't have any of this "legacy" software installed on this computer. When examining makefile.dep (as you suggested), I found out files in / are probably added to dependencies. 'touch "/()" && emerge -1 allegro' makes it reproducible for me even on amd64 (two machines failed to compile after executing this command - do you need my build logs?) Thanks for support
yes please, if the error is the same as before, attach rules.dump and makefile.dep. I need to understand where that "_pdf" come
Created attachment 187711 [details] makefile.dep
Created attachment 187712 [details] rules.dump
Analyzing ...
A fix is now in portage (couples of hours from now). Please test it.
Many thanks for the fix, now it compiles flawlessly for me.