Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39335 - pdflib-5.0.2 depends on =dev-lang/python-2.2* but builds with python 2.3 if both installed
Summary: pdflib-5.0.2 depends on =dev-lang/python-2.2* but builds with python 2.3 if b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Low minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 04:13 UTC by Stefan Tittel
Modified: 2004-01-26 11:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Tittel 2004-01-25 04:13:12 UTC
The pdflib-5.0.2 ebuild depends on =dev-lang/python-2.2* if the python USE flag is set. 

However, if python 2.2 and 2.3 are both installed (which is quite possible, since they're in different slots) "emerge pdflib" compiles using python 2.3, if 2.3 is linked from /usr/bin/python. 

I compiled pdflib-5.0.2 successfully with python 2.3 on two of my systems, so if there's no problem in general, pdflib-5.0.2 should depend on >=dev-lang/python-2.2. This would be especially useful, since pdflib seems to be the only package on my system which depends on python 2.2.

However, if there's a special reason why pdflib-5.0.2 needs python 2.2, the ebuild should make sure, that python 2.2 is used anyway.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-26 01:16:47 UTC
scandium, can you change the depend for me please -- I'm still trying to recover my computer, so it'll be at least a day or so before I can get to it.
Comment 2 Rainer Größlinger (RETIRED) gentoo-dev 2004-01-26 08:30:23 UTC
I changed the depend for the 5.x version to be >= instead of =, since I noticed an entry in the ChangeLog which says that 4.x needs to link against 2.2 explicitly.
I just tried 4.x with python-2.3 and it compiled fine, so I don't know if that still applies, I will ask raker (who added that item to the ChangeLog) later when I see him.
Comment 3 Rainer Größlinger (RETIRED) gentoo-dev 2004-01-26 08:43:18 UTC
hm, the changelog entry is from january 2003 and in the ebuild revision before it was >= python-2.0, so I guess this was a "it doesn't work with older versions"-change and not a "it won't work with new versions"-change.
(Also looking at the fact that python-2.3 was release 6 months after he had made the change :)

Anyway, I will talk to him if he can remember any details about it and - if possible - also change the = to >= in the latest 4.x ebuild
Comment 4 Rainer Größlinger (RETIRED) gentoo-dev 2004-01-26 11:04:38 UTC
I verified as well as I could that pdflib-4 also works with python-2.3.
I also changed the depend for pdflib-4.0.3-r1, no stable pdflib from either slot 4 or 5 now has a hard dep on python2.2 anymore, closing this bug.