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

Bug 121063

Summary: wxGTK-2.6.2-r1: false dependency on gtk2
Product: Gentoo Linux Reporter: Ryan Tandy <ryan>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: propsed patch to wxGTK-2.6.1-r1.ebuild

Description Ryan Tandy 2006-01-31 08:38:08 UTC
Overview:
Despite einfo messages suggesting the contrary, attempting to build wxGTK-2.6.2-r1 with USE="-X" tries to pull in >=gtk+-2.0 as a dependency.

Steps to reproduce:
1) Have a system with no X or GTK+ installed.
2) Install =x11-libs/wxGTK-2.6.2-r1 with USE="-X"

Actual results:
Portage tries to pull in GTK+ and Glib as dependencies.

Expected results:
No GUI libraries should be built with USE="-X".

Workaround:
emerge --oneshot --nodeps '=x11-libs/wxGTK-2.6.2-r1' completes successfully despite the lack of GTK+ on the system.
Comment 1 Ryan Tandy 2006-01-31 08:40:03 UTC
Created attachment 78572 [details, diff]
propsed patch to wxGTK-2.6.1-r1.ebuild

Makes the GTK+, Glib, and TIFF dependencies relative to the X USE flag.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-31 08:42:52 UTC

*** This bug has been marked as a duplicate of 109515 ***