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

Bug 154458

Summary: media-libs/imlib2-1.3.0 tries to include X headers although USE="-X"
Product: Gentoo Linux Reporter: Kai Krakow <hurikhan77+bgo>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log of broken emerge run

Description Kai Krakow 2006-11-08 04:35:21 UTC
weser ~ # emerge -DNuav world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild     U ] media-libs/imlib2-1.3.0 [1.2.1.009] USE="bzip2 gif jpeg mmx nls png tiff zlib -X -doc -mp3" 0 kB

fails with:

checking X11/X.h usability... no
checking X11/X.h presence... no
checking for X11/X.h... no
configure: error: no X support found.  Use --x-includes and --x-libraries to specify the X
path on your system, or --without-x to disable X support.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/imlib2-1.3.0/work/imlib2-1.3.0/config.log

!!! ERROR: media-libs/imlib2-1.3.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  imlib2-1.3.0.ebuild, line 49:   Called enlightenment_src_compile
  enlightenment.eclass, line 149:   Called econf '--without-x' '--with-jpeg' '--with-png' '--with-tiff' '--with-gif' '--with-zlib' '--with-bzip2' '--without-id3' '--disable-amd64' '--enable-mmx'
  ebuild.sh, line 540:   Called die


As one can see, configure was called with --without-x but it tries to include it anyway, totally ignoring it's own suggestion.

config.log and emerge-info attached
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-08 04:37:48 UTC

*** This bug has been marked as a duplicate of 154304 ***
Comment 2 Kai Krakow 2006-11-08 04:37:56 UTC
Created attachment 101458 [details]
config.log of broken emerge run
Comment 3 Kai Krakow 2006-11-08 04:40:17 UTC
Jakub, u r 2 fast 4 me ;-)

Skipping next attachment because marked as dupe.