[Pkg-utopia-maintainers] Bug#607762: dbus-glib: requires higher versioned build-dep on glib

Andres Salomon dilinger at queued.net
Tue Dec 21 21:22:09 UTC 2010


Package: dbus-glib
Version: 0.88-2
Severity: serious

While backporting this package for lenny, I hit the following build
error:

checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
/dbus-glib-0.88/./configure: line 12053: ./po/POTFILES.in: No such file
or directory checking for XML_ParserCreate_MM in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for DBUS_GLIB... no
checking for DBUS_GLIB_THREADS... yes
configure: error: GLib development libraries not found
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -D -us -uc -sa -v0.84-1 failed
dev:/dbus-glib-0.88#

It would appear that I'd hit the following in configure.ac:

PKG_CHECK_MODULES(DBUS_GLIB, gobject-2.0 >= 2.24, have_glib=yes,
have_glib=no)

The current build-dep for glib is libglib2.0-dev (>= 2.10), while the
version installed in the chroot is

ii  libglib2.0-dev                    2.16.6-3

Bumping the build-dep to libglib2.0-dev (>= 2.24) and installing
libglib2.0-dev 2.24.2-1~bpo50+1 fixes the build.






More information about the Pkg-utopia-maintainers mailing list