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 752009 - Bootstrapping prerequisites for building on Linux
Bootstrapping prerequisites for building on Linux
Status: RESOLVED OBSOLETE
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2015-07-06 08:56 UTC by Emmanuele Bassi (:ebassi)
Modified: 2021-05-17 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuele Bassi (:ebassi) 2015-07-06 08:56:11 UTC
A follow up to bug 751492.

Since we strongly discourage jhbuild users running on a non-enterprise Linux distribution from using the `bootstrap` moduleset, we need to find a way for them to install global requirements needed to bootstrap the build environments.

Usually, this would be the role for system dependencies, *but* some modules — like autoconf-archive/m4-common, and gnome-common before that — are not meant to be packaged.

Maybe we should have a bootstrap-lite ("all the modules a bootstrap needs, without those pesky fats and sugars") moduleset, or maybe we should devise a way to specify that a module should still be built before everything else. Right now, gnome-common is needed by a bunch of modules, but specifying it by hand is tedious, and I'm pretty sure some module just rely on the graph solving the dependency.
Comment 1 Philip Withnall 2015-07-06 10:10:08 UTC
(In reply to Emmanuele Bassi (:ebassi) from comment #0)
> A follow up to bug 751492.
> 
> Since we strongly discourage jhbuild users running on a non-enterprise Linux
> distribution from using the `bootstrap` moduleset, we need to find a way for
> them to install global requirements needed to bootstrap the build
> environments.
> 
> Usually, this would be the role for system dependencies, *but* some modules
> — like autoconf-archive/m4-common, and gnome-common before that — are not
> meant to be packaged.
> 
> Maybe we should have a bootstrap-lite ("all the modules a bootstrap needs,
> without those pesky fats and sugars") moduleset, or maybe we should devise a
> way to specify that a module should still be built before everything else.
> Right now, gnome-common is needed by a bunch of modules, but specifying it
> by hand is tedious, and I'm pretty sure some module just rely on the graph
> solving the dependency.

If we added m4-common as a dependency of gnome-common, we would end up with the same implicit-dependency-graph problem as before, which would not be great.

How about we explicitly add m4-common as a dependency of modules as they port to it (i.e. start using autoconf-archive macros as per https://wiki.gnome.org/Projects/GnomeCommon/Migration)?
Comment 2 Emmanuele Bassi (:ebassi) 2015-07-06 10:18:24 UTC
(In reply to Philip Withnall from comment #1)

> If we added m4-common as a dependency of gnome-common, we would end up with
> the same implicit-dependency-graph problem as before, which would not be
> great.

True.
 
> How about we explicitly add m4-common as a dependency of modules as they
> port to it (i.e. start using autoconf-archive macros as per
> https://wiki.gnome.org/Projects/GnomeCommon/Migration)?

That would not solve the issue of new modules depending on m4-common/autoconf-archive that do not add it as a dependency, just like they do now for gnome-common.
Comment 3 Philip Withnall 2015-07-06 10:34:00 UTC
(In reply to Emmanuele Bassi (:ebassi) from comment #2)
> > How about we explicitly add m4-common as a dependency of modules as they
> > port to it (i.e. start using autoconf-archive macros as per
> > https://wiki.gnome.org/Projects/GnomeCommon/Migration)?
> 
> That would not solve the issue of new modules depending on
> m4-common/autoconf-archive that do not add it as a dependency, just like
> they do now for gnome-common.

I would be fine with considering that a bug in the moduleset for any new module. It looks like moving towards a policy of making dependencies on m4-common explicit is a good plan.
Comment 4 Philip Withnall 2015-07-06 14:37:42 UTC
I have modified the gnome-common migration page to mention this:
https://wiki.gnome.org/action/info/Projects/GnomeCommon/Migration?action=diff&rev2=32&rev1=31
Comment 5 GNOME Infrastructure Team 2021-05-17 16:02:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/224.