GNOME Bugzilla – Bug 663686
test suite failure: glibmm_refptr_sigc_bind/test
Last modified: 2011-11-18 11:54:21 UTC
Version: 2.30.0 As you can see at ¹, the test suite fails in glibmm_refptr_sigc_bind/test for ia64, amd64 and kfreebsd-amd64. So this might be a 64bit related bug. ¹ https://buildd.debian.org/status/package.php?p=glibmm2.4&suite=experimental
What version of libsigc++ do you have there?
The build log contains that information: libsigc++-2.0-0c2a 2.2.9-1
Using the newer libsigc++ version (2.2.10) fixes that, I believe. Please try that and confirm. We could require that in configure.ac, I guess, though we don't expect everyone to run the tests.
(In reply to comment #3) > Using the newer libsigc++ version (2.2.10) fixes that, I believe. Please try > that and confirm. Tested it on amd64, the test suite did indeed build successfully. Thanks for the pointer > We could require that in configure.ac, I guess, though we don't expect everyone > to run the tests. If you don't want to bump the configure check, a compromise might be, to either document this issue (like e.g. in README) or add a non-fatal check to configure.ac which would output a warning that the testsuite might fail. Something like: --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,8 @@ test "x$glibmm_host_windows" = xyes || GIOMM_MODULES="$GIOMM_MODULES gio-unix-$g PKG_CHECK_MODULES([GLIBMM], [$GLIBMM_MODULES]) PKG_CHECK_MODULES([GIOMM], [$GIOMM_MODULES]) +PKG_CHECK_EXISTS([sigc++-2.0 >= 2.2.10], , AC_MSG_WARN([libsigc++ too old; the test suite might fail])) + MM_PKG_CONFIG_SUBST([GTHREAD_CFLAGS], [--cflags-only-other gthread-2.0]) MM_PKG_CONFIG_SUBST([GTHREAD_LIBS], [--libs gthread-2.0])
Actually, glibmm 2.30.0 already checks for libsigc++ 2.0.10. I checked that tarball: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.30/
(In reply to comment #5) > Actually, glibmm 2.30.0 already checks for libsigc++ 2.0.10. I checked that 2.0.10 != 2.2.10 ?!?
Oh, yes, thanks. I have fixed it in the master and glibmm-2-30 branches and I have released a glibmm 2.30.1 tarball.