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)
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
Depends on:
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: ---

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

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]: *** [] 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