This is on a machine with Gentoo Hardened and USE="-X" /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXext /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status make[3]: *** [libImlib2.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 * ERROR: media-libs/imlib2-1.4.6-r2::gentoo failed (compile phase): * emake failed Reproducible: Always
Created attachment 381230 [details] emerge info
Created attachment 381232 [details] build log
I could not paste the emerge info, apparently it is too big; posted as an attachment.
Got the same problem on my stable x86 today with USE="bzip2 gif jpeg mp3 nls png zlib -X -doc -mmx -static-libs -tiff" upgrading from 1.4.5-r1. /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status
should be all set now in the tree; thanks for the report! Commit message: Fix builds with USE=-X http://sources.gentoo.org/media-libs/imlib2/files/imlib2-1.4.6-no-x.patch?rev=1.1 http://sources.gentoo.org/media-libs/imlib2/imlib2-1.4.6-r2.ebuild?r1=1.11&r2=1.12