Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234091 - x11-lib/gtk+-2.12.11 neglects USE flags
Summary: x11-lib/gtk+-2.12.11 neglects USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 14:35 UTC by MATSUI Tetsushi
Modified: 2008-08-07 12:45 UTC (History)
0 users

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


Attachments
config.log (config.log,94.23 KB, text/plain)
2008-08-07 01:44 UTC, MATSUI Tetsushi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUI Tetsushi 2008-08-06 14:35:38 UTC
x11-lib/gtk+-2.12.11 sees no USE flags for the configure script.

In my case, I set USE="-X aqua" but the configure fails with missing libX11.

Reproducible: Always

Steps to Reproduce:
1. set some USE flags which should influence the configuration
2. emerge =gtk+-2.12.11
Actual Results:  
With "-X aqua" I got:

checking for X... libraries /Users/tetsushi/Gentoo/usr/lib, headers /Users/tetsushi/Gentoo/usr/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay... no
configure: error: *** libX11 not found. Check 'config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /Users/tetsushi/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/config.log
 * ERROR: x11-libs/gtk+-2.12.11 failed:
 *   econf failed
 * Call stack:
 *               ebuild.sh:  49: <call src_configure>
 *             environment:3065: <call _default_src_configure>
 *             environment: 289: <call econf>
 *               ebuild.sh: 538:                        die "econf failed"


Expected Results:  
be installed without errors.

As call stack in the actual result above shows, the configure script is run
from src_configure.  The all USE flags related settings are done in src_compile
in the ebuild, they make no effects on the econf invokation.  A possible fix is to separate those settings into src_configure.

I'm not sure whether this bug should be of prefix or of main tree (gnome?),
but the most meaningful USE flags are X/aqua on OS X.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-06 15:09:51 UTC
Please post the config.log so we can see what ./configure is being invoked with. Thanks.
Comment 2 Fabian Groffen gentoo-dev 2008-08-06 18:44:06 UTC
can you please downgrade your portage (I removed the latest version) and try again?
Comment 3 MATSUI Tetsushi 2008-08-07 01:34:55 UTC
Well, I've just tried portage downgrade but it results an error that user id of portage can't be found.  It seems more serious than this... One more downgrade?

And sorry, Jeremy.  Since I hand-edited the ebuild and tried to emerge it, the very log was lost (though I can reproduce it later).
Comment 4 MATSUI Tetsushi 2008-08-07 01:44:43 UTC
Created attachment 162403 [details]
config.log

This is a reproduced config.log from a failed emerge.
Comment 5 Fabian Groffen gentoo-dev 2008-08-07 08:00:06 UTC
The portage you use is broken.  If you can't downgrade, please try to bootstrap portage (and only portage) to recover.
Comment 6 MATSUI Tetsushi 2008-08-07 10:59:19 UTC
I've done bootstrapping portage, and then have emerged portage-2.2.00.11322.
Now the gtk+ can be installed without any errors.  Thank you.
Comment 7 Fabian Groffen gentoo-dev 2008-08-07 12:45:23 UTC
ok, sorry for the mess.