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

Bug 289028

Summary: dev-python/gdl-python-2.19.1-r1.ebuild needs dev-libs/gdl with the 'gnome' USE flag
Product: Gentoo Linux Reporter: MT <toffanin.mauro>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: enhancement CC: python
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gdl-python-2.19.1-r2.ebuild.patch

Description MT 2009-10-14 10:38:47 UTC
installing dev-python/gdl-python I got this emerge message:

* If you want to build gdl-python you need to build dev-libs/gdl with
* the the 'gnome' USE flag.
* ERROR: dev-python/gdl-python-2.19.1 failed:                             
*   gdl must be built with USE='gnome'

the problem here is that the ebuild requires >=dev-libs/gdl-2.24.0 which in turn does NOT have the USE flag 'gnome', making impossible to install gdl-python.

Attached there is an ebuild patch that remove the restriction of the USE 'gnome', convert the ebuild to the EAPI2 format and add these enhancements:

- removed pkg_setup() as is useless;
- added USE 'static-libs' to correctly handle static *.a files;
- removal of useless *.la files;

Hope to be useful.
Mauro Toffanin

p.s: the patch files/gdl-python-2.19.1-gdlicons.patch MUST be stored inside gnome-python-extras-2.19.1-split.patch.gz and removed from the portage tree, but is something that I can not fix by the bugzilla.
Comment 1 MT 2009-10-14 10:39:52 UTC
Created attachment 207070 [details, diff]
gdl-python-2.19.1-r2.ebuild.patch
Comment 2 Mart Raudsepp gentoo-dev 2009-10-14 11:05:40 UTC
NAK on static-libs and removal of *.la files. Just pass --disable-static always, perhaps even in gnome-python*.eclass

I don't understand how you got the error you paste here, because gdl-python built_with_use uses "--missing true", so when gdl-2.24.0 doesn't have IUSE=gnome, it should assume the functionality is there and be happy, iirc.
Though mrpouet is saying its configure might be checking for gdl-python pkgconfig package explicitly, which newer gdl probably doesn't provide
Comment 3 MT 2009-10-14 11:18:45 UTC
(In reply to comment #2)
> I don't understand how you got the error you paste here, because gdl-python
> built_with_use uses "--missing true", so when gdl-2.24.0 doesn't have
> IUSE=gnome, it should assume the functionality is there and be happy, iirc.
> Though mrpouet is saying its configure might be checking for gdl-python
> pkgconfig package explicitly, which newer gdl probably doesn't provide

the message come out using sys-apps/portage-2.2_rc45 and sys-apps/portage-2.2_rc46, if you need more info or some particular tests, just ask, i'm available to provide feedback.

Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-30 07:47:06 UTC
removed the built_with_use call since it is indeed useless. Please reopen if it doesn't fix your problem.