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 573685 - build with --without-gnome --enable-gtk-doc fails
build with --without-gnome --enable-gtk-doc fails
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.25.x
Other All
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
: 583409 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-01 22:39 UTC by Adrian Bunk
Modified: 2012-12-12 10:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix the build (2.33 KB, patch)
2009-03-02 15:27 UTC, Dan Winship
none Details | Review
Alternate patch (2.29 KB, patch)
2009-03-02 18:04 UTC, palfrey
none Details | Review
Updated version of patch for current SVN (2.27 KB, patch)
2009-06-23 15:40 UTC, palfrey
none Details | Review

Description Adrian Bunk 2009-03-01 22:39:41 UTC
Please describe the problem:
libsoup-2.25.91$ ./configure  --without-gnome --enable-gtk-doc
...
libsoup-2.25.91$ make
...
gtk-doc: Linking scanner
libtool: link: cannot find the library `../../libsoup/libsoup-gnome-2.4.la' or unhandled argument `../../libsoup/libsoup-gnome-2.4.la'
Linking of scanner failed: 
make[3]: *** [scan-build.stamp] Error 1


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Dan Winship 2009-03-02 15:27:39 UTC
Created attachment 129859 [details] [review]
fix the build

This fixes the build, but then the generated docs will be slightly incorrect (since, eg, it will still include SoupCookieJarSqlite, but it won't recognize it as a GObject).

So I'm not sure if this is the right fix; it might be better to say "you can't --enable-gtk-doc unless you build --with-gnome". Or else do more hacking to the docs to remove the wrong/unavailable bits when building without GNOME.
Comment 2 palfrey 2009-03-02 18:04:38 UTC
Created attachment 129867 [details] [review]
Alternate patch

This patch fixes the docs fully (from scratch, not with the earlier patch). You'll need to move docs/reference/libsoup-2.4-docs.sgml to docs/reference/libsoup-2.4-docs.sgml.in before applying it. It specifically removes all of the Gnome docs on non-Gnome builds. Also, docs/reference/libsoup-2.4.types can probably be removed entirely, as this rebuilds them automagically from the available set of types for the current build.
Comment 3 Dan Winship 2009-05-21 12:59:13 UTC
*** Bug 583409 has been marked as a duplicate of this bug. ***
Comment 4 palfrey 2009-06-23 15:40:21 UTC
Created attachment 137260 [details] [review]
Updated version of patch for current SVN

(In reply to comment #2)
> Created an attachment (id=129867) [edit]
> Alternate patch
> 
> This patch fixes the docs fully (from scratch, not with the earlier patch).
> You'll need to move docs/reference/libsoup-2.4-docs.sgml to
> docs/reference/libsoup-2.4-docs.sgml.in before applying it. It specifically
> removes all of the Gnome docs on non-Gnome builds. Also,
> docs/reference/libsoup-2.4.types can probably be removed entirely, as this
> rebuilds them automagically from the available set of types for the current
> build.

Instructions as before, but updated for current SVN HEAD. Any chances of this getting applied?
Comment 5 Pacho Ramos 2010-12-04 11:03:47 UTC
Still valid with 2.32.2
Comment 6 Dan Winship 2012-12-12 10:19:36 UTC
This is now fixed in master, because everything in libsoup-gnome is
now deprecated and removed from the docs.