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 663686 - test suite failure: glibmm_refptr_sigc_bind/test
test suite failure: glibmm_refptr_sigc_bind/test
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: tests
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2011-11-09 12:11 UTC by Michael Biebl
Modified: 2011-11-18 11:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2011-11-09 12:11:01 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
Comment 1 Murray Cumming 2011-11-09 12:23:17 UTC
What version of libsigc++ do you have there?
Comment 2 Michael Biebl 2011-11-09 13:18:26 UTC
The build log contains that information:  libsigc++-2.0-0c2a 2.2.9-1
Comment 3 Murray Cumming 2011-11-16 22:19:47 UTC
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.
Comment 4 Michael Biebl 2011-11-17 00:16:29 UTC
(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])
Comment 5 Murray Cumming 2011-11-18 09:25:26 UTC
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/
Comment 6 Michael Biebl 2011-11-18 10:58:21 UTC
(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 ?!?
Comment 7 Murray Cumming 2011-11-18 11:54:21 UTC
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.