Bug#649055: libgnome2-gconf-perl: FTBFS (Failed 1/1 test programs. 0/0 subtests failed)
Colin Watson
cjwatson at ubuntu.com
Thu Nov 17 15:55:22 UTC 2011
tags 649055 patch
user ubuntu-devel at lists.ubuntu.com
usertags 649055 ubuntu-patch precise
thanks
On Thu, Nov 17, 2011 at 08:49:46AM +0100, Julien Cristau wrote:
> this package FTBFS on the buildds:
> https://buildd.debian.org/status/package.php?p=libgnome2-gconf-perl
>
> > Test Summary Report
> > -------------------
> > t/00.GConf.t (Wstat: 512 Tests: 0 Failed: 0)
> > Non-zero exit status: 2
> > Parse errors: No plan found in TAP output
> > Files=1, Tests=0, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.08 CPU)
> > Result: FAIL
> > Failed 1/1 test programs. 0/0 subtests failed.
> > make[2]: *** [test_dynamic] Error 2
> > make[2]: Leaving directory `/build/buildd-libgnome2-gconf-perl_1.044-3+b2-amd64-mfqkGF/libgnome2-gconf-perl-1.044'
Further up:
Can't load '/build/buildd-libgnome2-gconf-perl_1.044-3+b2-amd64-mfqkGF/libgnome2-gconf-perl-1.044/blib/arch/auto/Gnome2/GConf/GConf.so' for module Gnome2::GConf: /build/buildd-libgnome2-gconf-perl_1.044-3+b2-amd64-mfqkGF/libgnome2-gconf-perl-1.044/blib/arch/auto/Gnome2/GConf/GConf.so: undefined symbol: gconf_engine_key_is_writable at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at t/00.GConf.t line 9
This is because gconf now builds with --disable-orbit, and that symbol
is missing from the D-Bus implementation. I suggest this patch (though
upstream will probably want to rework this into a Makefile.PL option or
something):
* Disable gconf_engine_key_is_writable. This symbol is not available in
libgconf when it is configured without ORBit support.
diff -u libgnome2-gconf-perl-1.044/debian/patches/series libgnome2-gconf-perl-1.044/debian/patches/series
--- libgnome2-gconf-perl-1.044/debian/patches/series
+++ libgnome2-gconf-perl-1.044/debian/patches/series
@@ -1,0 +2 @@
+disable-orbit
only in patch2:
unchanged:
--- libgnome2-gconf-perl-1.044.orig/debian/patches/disable-orbit
+++ libgnome2-gconf-perl-1.044/debian/patches/disable-orbit
@@ -0,0 +1,29 @@
+Description: Disable gconf_engine_key_is_writable
+ This symbol is not available in libgconf when it is configured without
+ ORBit support, which is currently the case in Debian.
+Author: Colin Watson <cjwatson at ubuntu.com>
+Forwarded: no
+Last-Update: 2011-11-17
+
+Index: b/xs/GConfEngine.xs
+===================================================================
+--- a/xs/GConfEngine.xs
++++ b/xs/GConfEngine.xs
+@@ -350,6 +350,8 @@
+ if (err)
+ gperl_croak_gerror (NULL, err);
+
++#if 0 /* requires gconf to be configured with ORBit support */
++
+ ##gboolean gconf_engine_key_is_writable (GConfEngine *conf,
+ ## const gchar *key,
+ ## GError **err);
+@@ -366,6 +368,8 @@
+ OUTPUT:
+ RETVAL
+
++#endif
++
+ guint
+ gconf_engine_notify_add (engine, namespace_section, func, data=NULL)
+ GConfEngine * engine
Thanks,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the pkg-perl-maintainers
mailing list