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 700681 - Yelp shouldn't introspect source files that use bzip2 if it is not enabled
Yelp shouldn't introspect source files that use bzip2 if it is not enabled
Status: RESOLVED DUPLICATE of bug 737519
Product: yelp
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-20 01:16 UTC by Arnel Borja
Modified: 2015-01-29 09:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnel Borja 2013-05-20 01:16:29 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
Comment 1 Arnel Borja 2013-05-20 01:48:44 UTC
BZ2 is disabled because I don't have libbz2-devel in my openSUSE 12.3 computer.

Forgot to complete that sentence.
Comment 2 David King 2015-01-29 09:10:48 UTC

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