Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 517670

Summary: media-libs/imlib2-1.4.6[-X]: ld: cannot find -lXext (-lX11)
Product: Gentoo Linux Reporter: Laurent Bachelier <laurent>
Component: [OLD] LibraryAssignee: enlightenment+disabled
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
build log

Description Laurent Bachelier 2014-07-21 12:12:21 UTC
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
Comment 1 Laurent Bachelier 2014-07-21 12:12:47 UTC
Created attachment 381230 [details]
emerge info
Comment 2 Laurent Bachelier 2014-07-21 12:13:05 UTC
Created attachment 381232 [details]
build log
Comment 3 Laurent Bachelier 2014-07-21 12:13:45 UTC
I could not paste the emerge info, apparently it is too big; posted as an attachment.
Comment 4 Uros 2014-07-22 22:23:29 UTC
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
Comment 5 SpanKY gentoo-dev 2014-07-29 03:29:46 UTC
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