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 693288 - use of <suggests> in modulesets is confused
use of <suggests> in modulesets is confused
Status: RESOLVED DUPLICATE of bug 693290
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2013-02-07 01:05 UTC by Allison Karlitskaya (desrt)
Modified: 2013-02-07 01:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2013-02-07 01:05:53 UTC
We use <suggests> like so:

  <autotools id="glib">
...
    <suggests>
      <!-- these provide gnome implementations of glib
           extension points -->
      <dep package="gvfs"/>
      <dep package="glib-networking"/>
    </suggests>
  </autotools>


as if it somehow means "these things should be built after building glib".

It doesn't mean that at all, though.

'jhbuild build --build-optional-modules glib' just builds glib and its dependencies (and --build-optional-modules is the only argument listed in --help that says anything about suggests or 'soft depends').

Meanwhile, another module uses it in a way that seems to mean "this would be nice to have to enable optional features during my build":

 <autotools id="libchamplain">
...
   <suggests>
     <dep package="libsoup"/>
     <dep package="clutter-gtk"/>
   </suggests>
 </autotools>

When building that module, --build-optional-modules has no effect on the number of packages built (vs. giving no arguments), but --ignore-suggests results in the suggests packages being ignored.

I guess this probably means that glib is the example of invalid usage (and that I don't understand what --build-optional-modules is supposed to do, unless it overrides a config file saying the opposite).
Comment 1 Allison Karlitskaya (desrt) 2013-02-07 01:29:01 UTC

*** This bug has been marked as a duplicate of bug 693290 ***