mklib: Making Linux shared library: libGL.so.1.2 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.a when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libX11.so when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libX11.a when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.a when searching for -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../../lib mv: cannot stat `libGL.so.1.2': No such file or directory make[3]: *** [../../../lib/libGL.so] Error 1 make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2' make: *** [linux-dri-x86] Error 2 !!! ERROR: media-libs/mesa-6.4.2-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mesa-6.4.2-r2.ebuild, line 235: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r13-Flexsolutions x86_64) ================================================================= System uname: 2.6.16-gentoo-r13-Flexsolutions x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -pipe -falign-functions=4" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -fomit-frame-pointer -pipe -falign-functions=4" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig candy ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pt_BR" LINGUAS="pt_BR" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac accessibility acpi aim alsa apache2 arts artworkextra ati audiofile avi bash-completion berkdb bitmap-fonts bonobo cdparanoia cdr cli crypt cups curl divx4linux dlloader dri dv dvd dvdr eds emboss encode esd exif flac flash floppyd foomaticdb fortran ftp gcc gcj gif gimp gimp-print gimpprint gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hardened howl icq imagemagick imlib innodb isdnlog jabber java jpeg ldap libwww ltsp lzw lzw-tiff mad maildir mailwrapper mime ming mmx2 mng mono mp3 mpeg msn mysql mythtv nas ncurses nls nntp nptl nptlonly ogg oggvorbis openal opengl oscar pam pam-mysql pcre pda pdflib perl php pic png ppds pppd python qt qt3 qt4 quicktime radeon readline reflection samba sdl session snmp spell spl ssl tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis vsftpd wmf x86 xine xml xml2 xmms xorg xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pt_BR userland_GNU video_cards_radeon video_cards_vesa" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please read before filing bugs: Bugs regarding the Gentoo Bugzilla website (bugs.gentoo.org), Bugs related to ebuilds belong in 'Gentoo Linux'
It looks like there's a problem with libX11. Try re-emerging x11-libs/libX11. BTW, why do you have '-falign-functions=4' specified in your CFLAGS?
(In reply to comment #2) > It looks like there's a problem with libX11. Try re-emerging x11-libs/libX11. > > BTW, why do you have '-falign-functions=4' specified in your CFLAGS? > I get this CFLAGS in one web page.
Created attachment 92611 [details] emerge mesa output
Created attachment 92612 [details] emerge libX11 output
(In reply to comment #2) > It looks like there's a problem with libX11. Try re-emerging x11-libs/libX11. > > BTW, why do you have '-falign-functions=4' specified in your CFLAGS? > I cut -falign-functions=4 and re-emerge x11-libs/libX11 and emerge mesa and get the same message.
Oh, I see the problem. Drop "x86" from your USE flags. That shouldn't be there.
Reopen to dupe.
*** This bug has been marked as a duplicate of 127568 ***