When compiling mesa-7.4_rc1 with "motif" USE flag this error occurs : mklib: Making Linux shared library: libGLU.so.1.3.070300 mklib: Installing libGLU.so.1.3.070300 libGLU.so.1 libGLU.so in ../../../lib64 gmake[4]: Leaving directory `/var/tmp/paludis/media-libs-mesa-7.4_rc1/work/Mesa-7.4-rc1/src/glu/sgi' gmake[3]: Leaving directory `/var/tmp/paludis/media-libs-mesa-7.4_rc1/work/Mesa-7.4-rc1/src/glu/sgi' gmake[2]: Leaving directory `/var/tmp/paludis/media-libs-mesa-7.4_rc1/work/Mesa-7.4-rc1/src/glu' gmake[2]: Entering directory `/var/tmp/paludis/media-libs-mesa-7.4_rc1/work/Mesa-7.4-rc1/src/glw' gmake[2]: Leaving directory `/var/tmp/paludis/media-libs-mesa-7.4_rc1/work/Mesa-7.4-rc1/src/glw' make[1]: Leaving directory `/var/tmp/paludis/media-libs-mesa-7.4_rc1/work/Mesa-7.4-rc1/src' gmake[2]: *** No rule to make target `/usr/include/gnu/stubs-32.h', needed by `GLwDrawA.o'. Stop. make[1]: *** [subdirs] Error 1 make: *** [default] Error 1 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in media-libs/mesa-7.4_rc1: !!! In default_src_compile at line 27 !!! emake failed Without motif USE flag, compilation works fine. Reproducible: Always
*** Bug 263988 has been marked as a duplicate of this bug. ***
Created attachment 186516 [details, diff] define__x86_64__for_makedepend.patch This fixed the build for me in a different case, but it might work as well for this case.
(In reply to comment #2) > Created an attachment (id=186516) [edit] > define__x86_64__for_makedepend.patch > > This fixed the build for me in a different case, but it might work as well for > this case. > patch applied but no improvement for the compilation sorry :-)
Won't with only help the AMD64 case? What about the HPPA case from bug 263988?
Actually, this doesn't work for me, either. Just for completeness' sake, here is my emerge --info. Following will be my build log. * Overlay eclass overrides eclass from PORTDIR: * * '/usr/local/portage/layman/vmware/eclass/vmware.eclass' * * It is best to avoid overriding eclasses from PORTDIR because it will * trigger invalidation of cached ebuild metadata that is distributed with * the portage tree. If you must override eclasses from PORTDIR then you * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to * run `emerge --regen` after each time that you run `emerge --sync`. Set * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to * disable this warning. Portage 2.2_rc28 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3-asneeded, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5 Timestamp of tree: Fri, 27 Mar 2009 21:45:01 +0000 app-shells/bash: 4.0_p10-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 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="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8-sse3 -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/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ http://gentoo.krasko.sk/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,-z,combreloc" LINGUAS="en en_US" 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 /usr/local/portage/layman/vmware" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac acpi akode alsa amd64 ao branding bzip2 cairo caps cddb cdparanoia cli consolekit cracklib crypt css cups curl dbus dga djvu dri dv dvd dvdr dvdread encode exif expat faac faad fam fbcon ffmpeg flac fontconfig fortran geoip ggi gif glib gmp gnutls gphoto2 gpm gs gtk hal hyperestraier iconv icu id3tag idn ieee1394 imagemagick imlib isdnlog ithreads java joystick jpegjpeg2k kdehiddenvisibility kontact lame lcms libsamplerate lm_sensors lzo mad matroska mbox midi mmap mmx mmxext mng modplug motif mp3mpeg msn mudflap musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin offensive ogg openal opengl openmp oscaross pam pcre pdf perl plasma plotutils png pppd qt4 quicktime readline reflection rle ruby samba schroedinger sdl session smp sndfile speex spell spl sse sse2 sse3 ssl startup-notification stats subversion suid svg sysfs syslog tcpd theora threads tiff truetype unicodeusb utempter vcd vim-syntax vnc vorbis wavpack wmf wxwindows x264 xcomposite xft xine xml xorg xpm xscreensaver xslt xv xvid xvmc zlib" ALSA_CARDS="emu10k1 usb-audio" 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 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_cachemime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 186564 [details] Build log with patch applied
Actually, the problem is that the tarball ships 2 "depend" files that are not empty (like they should be). The patch is actually not needed, I'll try to fix this bug Real Soon (tm). Thanks
The final 7.4 release has empty "depend" files as expected. If this ever happens again, we can always add a "clean depend files" function to the ebuild. Thanks