Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393431 - media-libs/mesa-7.11.2 fails to compile. swrastg_dri.so.tmp not found. gallium, libws_xlib.a: could not read symbols: Archive has no index; run ranlib to add one
Summary: media-libs/mesa-7.11.2 fails to compile. swrastg_dri.so.tmp not found. galli...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 19:52 UTC by jospezial
Modified: 2011-12-06 23:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
shorted build.log (mesabuild_short.log,53.06 KB, text/plain)
2011-12-06 20:05 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2011-12-06 19:52:55 UTC
mesa-7.11.2 fails to compile.

emerge -pv1D mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] media-libs/mesa-7.11.2 [7.11.1] USE="classic egl gallium llvm nptl shared-glapi -bindist -debug -gbm -gles -motif -openvg -osmesa -pax_kernel -pic (-selinux) -shared-dricore" VIDEO_CARDS="nouveau -intel -mach64 -mga -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB

----------------------------------------------------
...

i686-pc-linux-gnu-g++: Fehler: swrastg_dri.so.tmp: Datei oder Verzeichnis nicht gefunden
gmake[3]: *** [swrastg_dri.so] Fehler 1
gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2/src/gallium/targets/dri-swrast'
gmake[2]: *** [default] Fehler 1
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2/src/gallium/targets'
make[1]: *** [subdirs] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2/src'
make: *** [default] Fehler 1
emake failed
 * ERROR: media-libs/mesa-7.11.2 failed (compile phase):
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 5796:  Called base_src_compile
 *   environment, line 1253:  Called base_src_make
 *   environment, line 1291:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 



Reproducible: Always

Steps to Reproduce:
1.emerge mesa-7.11.2
2.
3.
Actual Results:  
compile does not complete on my x86. Compiles fine with same USE-flags on my amd64




bastellinux ~ # emerge --info
Portage 2.2.0_alpha79 (default/linux/x86/10.0, gcc-4.6.2, glibc-2.14.1-r1, 3.2.0-rc4 i686)
=================================================================
System uname: Linux-3.2.0-rc4-i686-Intel-R-_Pentium-R-_III_CPU_-_S_1400MHz-with-gentoo-2.1
Timestamp of tree: Tue, 06 Dec 2011 18:15:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo overlay_jl
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="32bit X Xaw3d a52 aac aacs aalib ace acl acpi activefilter aften alsa apm apng archive ass async audacious audiofile automount bash-completion berkdb binary-drivers blender-game bluray bzip2 cairo ccache cdda cddb cdio cdparanoia cdrom cgi charconv chroot cleartype cli colordiff colors compress consolekit cpio cracklib crypt css cups cupsddk curl curlwrappers cvs cxx cyrillic daemon dbus declarative device-mapper dga dhcp dhcpcd directfb disk-partition dri dts dv dvb dvd dvdnav emerald emoticon enca encode enscript equalizer exif extensions extras fat fax fbcon ffmpeg firefox firefox3 flac floppy fontconfig foomaticdb fortran ftp fts3 fuse gallium gd gdbm gdu geoip gif gimp git gnutls gphoto2 gpm gsm gstreamer gtk gtk3 gudev gui gzip hddtemp highlight hwdb iconv icq icu id3 id3tag idn ipc ipod ipv6 java javascript jpeg jpeg2k kate kde lame laptop lcms libcaca libcanberra libnotify libsamplerate libtiger libv4l libv4l2 libwww lm_sensors logrotate loop-aes lua lxde lzma lzo mad magic matroska md5sum midi mikmod mime minizip mixer mjpeg mmap mms mmx mng modplug modules mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mudflap multislot musepack musicbrainz nano-syntax ncurses network networkmanager nfs nfsidmap nfsv3 nfsv4 nfsv41 nls normalize nowlistening nptl nptlonly nsplugin ntfs ntfsprogs ntp nvidia nvram ogg ogm openal opencl opengl openmp oscar oss otr pam pango parport parse-clocks pcap pcre pdf phonon pipes plasma png policykit ppds pppd privacy projectm projectx ps pulseaudio pvr qt3support qt4 quicktime rar raw rdesktop readline recording reiser4 reiserfs remote-access remoteosd replaygain rpm rtsp rubberband samba scanner schroedinger screenshot sdl secure-delete semantic-desktop sensord session sftp sha512 shorten shout skins slang smbclient smi sndfile sockets sound sounds speex spell sql sqlite sqlite3 sse ssh ssl startup-notification statistics stream subtitles subversion svg svga swat symlink sysfs syslog taglib tcpd texteffect textures tftp theora threads thumbnail tiff translator truetype twolame udev unicode urlpicpreview usb utp v4l v4l2 vcd vcdx vdpau video videos vim-syntax vlm vnc vorbis vroot wav wavpack webgl webkit webpresence wifi win32codecs winpopup wireshark wmf wxwidgets x264 x86 xattr xcb xcomposite xine xinerama xinetd xml xorg xosd xpm xrandr xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia nouveau vesa svga vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 jospezial 2011-12-06 20:05:35 UTC
Created attachment 295013 [details]
shorted build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-12-06 20:52:40 UTC
Does mesa-7.11.1 still build on the x86 box? And does disabling ccache make a difference?
Comment 3 jospezial 2011-12-06 21:57:20 UTC
I wanted to check this but mesa-7.11.1 is not in the tree anymore.

I will test without ccache.
Comment 4 jospezial 2011-12-06 23:25:33 UTC
Disabling ccache did the trick.
Thank you for the hint.

removed ccache from features in make.conf
and did
ccache-config --remove-links

Then all went fine.

My question now is:
Will other People have the same bug or is it only me where something bad was in the ccache cache?
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-12-06 23:29:40 UTC
Your ccache cache on disk got corrupted somehow. Might be a filesystem problem or a ccache bug. See also bug 79519 comment 16.