Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517670 - media-libs/imlib2-1.4.6[-X]: ld: cannot find -lXext (-lX11)
Summary: media-libs/imlib2-1.4.6[-X]: ld: cannot find -lXext (-lX11)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 12:12 UTC by Laurent Bachelier
Modified: 2014-07-29 03:29 UTC (History)
0 users

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


Attachments
emerge info (emerge,18.62 KB, text/plain)
2014-07-21 12:12 UTC, Laurent Bachelier
Details
build log (build.log,27.40 KB, text/plain)
2014-07-21 12:13 UTC, Laurent Bachelier
Details

Note You need to log in before you can comment on or make changes to this bug.
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