GNOME Bugzilla – Bug 700681
Yelp shouldn't introspect source files that use bzip2 if it is not enabled
Last modified: 2015-01-29 09:10:48 UTC
I built yelp using jhbuild with documentation enabled. This is the output of the configure phase: yelp-3.8.1: prefix: /opt/gnome source code location: . compiler: gcc Documentation: yes Debug enabled: no Enable BZ2: no Enable LZMA: yes BZ2 is disabled because I don't have . But yelp still introspects sources that needs BZ2, leading to this error in the build phase: Making all in docs make[2]: Entering directory `/mnt/data/jhbuild/yelp/docs' Making all in libyelp make[3]: Entering directory `/mnt/data/jhbuild/yelp/docs/libyelp' DOC Scanning header files DOC Introspecting gobjects libyelp-scan.c: In function 'main': libyelp-scan.c:114:3: warning: 'g_type_init' is deprecated (declared at /opt/gnome/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations] .libs/libyelp-scan.o: In function `get_object_types': /mnt/data/jhbuild/yelp/docs/libyelp/libyelp-scan.c:36: undefined reference to `yelp_bz2_decompressor_get_type' collect2: error: ld returned 1 exit status Linking of scanner failed: make[3]: *** [scan-build.stamp] Error 1 make[3]: Leaving directory `/mnt/data/jhbuild/yelp/docs/libyelp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/data/jhbuild/yelp/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/data/jhbuild/yelp' make: *** [all] Error 2
BZ2 is disabled because I don't have libbz2-devel in my openSUSE 12.3 computer. Forgot to complete that sentence.
*** This bug has been marked as a duplicate of bug 737519 ***