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 676224 - display circular dependencies in 'jhbuild checkmodulesets' command
display circular dependencies in 'jhbuild checkmodulesets' command
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2012-05-17 11:48 UTC by Craig Keogh
Modified: 2012-06-08 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Craig Keogh 2012-05-17 11:48:01 UTC
In continuation from bug 669554 comment 29, display any circular dependencies from the module set in a 'jhbuild checkmodulesets' command.
Comment 1 Craig Keogh 2012-05-18 05:09:40 UTC
Consider ppp, as ppp was cherry-picked by Federico [1]. It has been established we can't check the package name, as every distro has different names, and we're not maintaining a list for every distro.

When NetworkManager checks for ppp, it does via configure.ac:
  AC_CHECK_HEADERS(pppd/pppd.h
Which compiles a C program with the following:
  #include <pppd/pppd.h>
ppp has the following file [2]:
  /usr/include/pppd/pppd.h

How about this design?
1. a new JHBuild config variable 'system_prefix' that defaults to '/usr'.
2. A new tag <systemfile>
 
  <systemmodule id="ppp" >
     <systemfile>include/pppd/pppd.h</systemfile>
     <branch repo="system" version="2.4"/>
  </systemmodule>

If the user has software in different prefix, that can be set via system_prefix. E.g.:
system_prefix = ['/usr', '/usr/local']

In this first design, only 1 <systemfile> can be specified.

However, this design falls down for Foresight linux (due to Conary package management system), Sourcemage linux, and other rpath/chroot package management systems.

[1] http://mail.gnome.org/archives/desktop-devel-list/2012-April/msg00040.html
[2] https://admin.fedoraproject.org/pkgdb/builds/show/F-16-x86_64/ppp-devel/0/2.4.5/18.fc16/i686?_csrf_token=80d26c4545932a4aba52edde124374c1af1b08b0
Comment 2 Craig Keogh 2012-05-18 05:11:30 UTC
Oops, comment 1 was posted to wrong bug. It was meant for Bug 671042.