Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188029 - stabilize dev-lang/python-2.4.4-r5 (to get working python-config)
Summary: stabilize dev-lang/python-2.4.4-r5 (to get working python-config)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: STABLEREQ
: 178096 184553 188263 192898 (view as bug list)
Depends on:
Blocks: 189770 193339 gnome2.20
  Show dependency tree
 
Reported: 2007-08-07 17:12 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2007-10-31 22:46 UTC (History)
10 users (show)

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


Attachments
Replacement python-config (python-config-2.4,1.39 KB, text/plain)
2007-08-08 18:35 UTC, Daniel Gryniewicz (RETIRED)
Details
compatibility.diff (compatible.diff,459 bytes, patch)
2007-08-24 09:10 UTC, Ali Polatel (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-08-07 17:12:15 UTC
In gnome's overlay, we (the gnome herd) are encountering a problem with some packages. Those packages try to use some of the new features available in upstream python-config which are not yet available in gentoo.

For now, we are patching out the relevant lines but it is to be expected to hit this problem more often in the future. I've been testing the python-config actually used in ubuntu (from the 2.5 dev package) with python-2.4 and it works well as far as my tests goes. Please advise.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-08 08:35:33 UTC
*** Bug 178096 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-08-08 18:35:45 UTC
Created attachment 127313 [details]
Replacement python-config

I'd like to bump this.  Most of the gnome 2.20 python bindings will need this.  Here's the python-config from ubuntu (which is very similar to the one in python-2.5).  It works for me.  I'd like to get this into a python 2.4 bump, unless we're sure that python 2.5 will be unmasked very soon.

If it's preferable, I can make it return the same info as our current one does if called with no options.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-08-09 19:43:54 UTC
*** Bug 188263 has been marked as a duplicate of this bug. ***
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2007-08-22 15:02:30 UTC
Python herd if you don't move your ass until the end of the week i'll do myself the changes to get this bug done.
Thanks
Comment 5 Mart Raudsepp gentoo-dev 2007-08-24 07:39:59 UTC
*** Bug 184553 has been marked as a duplicate of this bug. ***
Comment 6 Mart Raudsepp gentoo-dev 2007-08-24 07:43:57 UTC
I spoke with hawking about this a couple days ago. Meanwhile python2.5 has come out of p.mask, so for now ~arch is good.
However I stressed then and stress again, that we should have a fixed python2.4 as well. Keep reporting ldflags with no arguments but have the include flags and other things possible to be reported with appropriate arguments being passed to it. A starting point is provided in comment #2, with an offer to make the work to report ldflags with no arguments in your help.
Why I stress is because we don't want to depend on python2.5 getting stable on time for GNOME-2.20, delaying the stabling of 2.20 again - we really want to get this stable in reasonable time this time around, and having such big other things block it is not good - you don't know what unexpected roadblocks can turn out for python2.5 stabling, so lets please have a 2.4 revbump with the python-config fix that can be stabled rather soon.
Comment 7 Ali Polatel (RETIRED) gentoo-dev 2007-08-24 09:10:00 UTC
Created attachment 129051 [details, diff]
compatibility.diff
Comment 8 Ali Polatel (RETIRED) gentoo-dev 2007-08-24 09:13:53 UTC
(In reply to comment #6)
> I spoke with hawking about this a couple days ago. Meanwhile python2.5 has come
> out of p.mask, so for now ~arch is good.
> However I stressed then and stress again, that we should have a fixed python2.4
> as well. Keep reporting ldflags with no arguments but have the include flags
> and other things possible to be reported with appropriate arguments being
> passed to it. A starting point is provided in comment #2, with an offer to make
> the work to report ldflags with no arguments in your help.

I agree, we need a fixed python-2.4. I wrote a small patch to make the
attached python-config compatible with our old custom python-config.
I plan to revbump python-2.4 after speaking with other python guys ;)
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-08-24 12:22:33 UTC
Thanks for giving some attention to this bug. I am strongly in favor of a revdump of python-2.4 with a fix too. Can someone explain why the current python-config provided by 2.5 isn't good for 2.4 ? As far as I my tests goes there were no problem.
Comment 10 Ali Polatel (RETIRED) gentoo-dev 2007-08-24 13:08:56 UTC
(In reply to comment #9)
> Thanks for giving some attention to this bug. I am strongly in favor of a
> revdump of python-2.4 with a fix too. Can someone explain why the current
> python-config provided by 2.5 isn't good for 2.4 ? As far as I my tests goes
> there were no problem.
> 
 It's good for 2.4 - the first attachment is actually python-config-2.5 ;) - , it'll just cause problems for packages that rely on the specific behaviour of our old custom python-config. There aren't many afaik - one example is dev-tcltk/tclpython - but considering my patch is harmless for packages using the python-config, I think it's wise to apply it so that we can fix stuff slowly without breaking anything and providing backwards compatibility.
Comment 11 Ali Polatel (RETIRED) gentoo-dev 2007-08-24 13:38:08 UTC
python-2.4.4-r5 is in CVS with the new python-config. Thanks everyone :)
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-08-24 13:50:30 UTC
that's fine with me, thanks for the fix.
Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-08-24 21:05:25 UTC
Woo hoo!  Thanks.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 06:11:24 UTC
*** Bug 192898 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 06:13:39 UTC
Reopening for stabilization, please stabilize 2.4.4-r5 
Comment 16 Tiziano Müller (RETIRED) gentoo-dev 2007-09-21 11:04:48 UTC
CC'ing arch-teams.
Thanks in advance!
Comment 17 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-09-21 16:50:21 UTC
Amd64 out.
Comment 18 Chris Gianelloni (RETIRED) gentoo-dev 2007-09-21 18:30:04 UTC
x86 done
Comment 19 Raúl Porcel (RETIRED) gentoo-dev 2007-09-21 18:47:23 UTC
alpha/ia64 stable
Comment 20 nixnut (RETIRED) gentoo-dev 2007-09-22 11:31:47 UTC
stable on ppc
Comment 21 Brent Baude (RETIRED) gentoo-dev 2007-09-22 13:38:22 UTC
ppc64 stable
Comment 22 Ferris McCormick (RETIRED) gentoo-dev 2007-09-22 15:09:26 UTC
Sparc stable (all tests pass, portage works).
Comment 23 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-22 15:13:56 UTC
Stable for HPPA.
Comment 24 Joshua Kinard gentoo-dev 2007-09-26 01:38:25 UTC
mips stable.
Comment 25 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-15 23:12:27 UTC
hum looks like I forgot to add m68k here

arm, sh, s390, ping