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.
Please post the config.log so we can see what ./configure is being invoked with. Thanks.
can you please downgrade your portage (I removed the latest version) and try again?
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).
Created attachment 162403 [details] config.log This is a reproduced config.log from a failed emerge.
The portage you use is broken. If you can't downgrade, please try to bootstrap portage (and only portage) to recover.
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.
ok, sorry for the mess.