Bug#693142: libglib2.0-0-refdbg: consider including glib, gio?

Simon McVittie smcv at debian.org
Tue Nov 13 15:04:18 UTC 2012


Package: libglib2.0-0-refdbg
Version: 2.34.2-1
Severity: wishlist

libglib2.0-refdbg is configured with --disable-Bsymbolic (which is the
original reason it exists) and also with --enable-debug=yes. However,
the --enable-debug=yes option also affects glib (gdate, gmem, gslice)
and gio (enabling checked casts).

Since we're compiling them anyway, it might be worth including the
debug-enabled glib and gio in libglib2.0-refdbg, or in a new binary
package, or in libglib2.0-0-dbg, or something?

There are some other tweaks that could usefully be applied to a debug-enabled,
LD_LIBRARY_PATH'able package set: on linux-any we could
--enable-dtrace --enable-systemtap (with a systemtap-sdt-dev build-dependency),
and when <https://bugzilla.gnome.org/show_bug.cgi?id=335126> is eventually
fixed, we could use -DNVALGRIND for the "production" build but use the
system valgrind.h for the debug build (on supported architectures).

libdbus has a similar debug-enabled, LD_LIBRARY_PATH'able alternative build
in /usr/lib/${DEB_HOST_MULTIARCH}/dbus-1.0/debug-build, in the dbus-1-dbg
package.

Thoughts?

Regards,
    S



More information about the pkg-gnome-maintainers mailing list