After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656790 - move python from bootstrap to modulesets
move python from bootstrap to modulesets
Status: RESOLVED WONTFIX
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2011-08-18 00:30 UTC by Craig Keogh
Modified: 2011-08-20 03:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Craig Keogh 2011-08-18 00:30:12 UTC
Different versions of GNOME require different versions of Python. GNOME 3.2 requires Python 2.6+ (due to py2cairo).

Consider moving Python from bootstrap to the normal modulesets. Then a <pkg-config> can be added to Python, and JHBuild can use the distro's Python if recent enough.
Comment 1 Javier Jardón (IRC: jjardon) 2011-08-18 00:47:48 UTC
Id say remove the bootstrap command/moduleset completely
Comment 2 Craig Keogh 2011-08-18 01:58:21 UTC
(In reply to comment #1)
> Id say remove the bootstrap command/moduleset completely

JHBuild should provide assistance if the user's distro autotools aren't recent enough. Or autotools not the correct version (autotools can be fussy with version, but this has settled down recently).

I'd be in favour of 'remove bootstrap. Build autotools if required' design.
Comment 3 Frederic Peters 2011-08-18 04:42:06 UTC
There are some modules that should really come from distribution packages, or you won't see the end of it, especially as you'll have to venture with non-autotools build systems as you go down the stack.

In the particular case of Python, I'd say that it should be removed from the bootstrap moduleset.

Integrating/merging/whatever bootstrap and sysdeps would be the subject of another bug report.
Comment 4 Craig Keogh 2011-08-18 12:05:56 UTC
(In reply to comment #3)
> In the particular case of Python, I'd say that it should be removed from the
> bootstrap moduleset.

And happy if Python was added to GNOME modulesets?

I opened bug 656818 to deal with getting rid of all of bootstrap.
Comment 5 Javier Jardón (IRC: jjardon) 2011-08-18 14:51:42 UTC
IMHO we shouldnt build python ourselves to build GNOME, we have to relay in the current installed version in the system (the same way we dont compile gcc).
So my vote is to remove python completely from the modulesets.
Comment 6 Frederic Peters 2011-08-18 18:17:29 UTC
I am with Javier on this one.
Comment 7 Craig Keogh 2011-08-18 23:46:52 UTC
If remove python then developers on Debian 5 lenny & Red Hat EL 5 can't build GNOME 3.2 [1].

Debian 6 & Red Hat EL 6 have only been released in the approximately last 6 months.

My preference is to add Python to the moduleset and use sysdeps. If Python's needed, it's built, otherwise it's not.

[1] without manually building python themselves.
Comment 8 Frederic Peters 2011-08-19 06:03:18 UTC
Well, if we care about old distributions, we shouldn't let a module depend on Python 2.6. I really do not want to have Python in the common list of modules to be build and installed.
Comment 9 Craig Keogh 2011-08-20 03:10:02 UTC
I have another idea that we may be able to agree on. I'll propose the idea in bug 656818. Closing this bug.