Glib is failing in cpantesters on a few *BSDs now. I fired up a VM and poked around. The Perl in OpenBSD 5.2 is non-threaded, Glib segfaults when 'make' is run, right when Perl is invoked the build the docs. The error is similar to this:
bash-4.2# perl -I blib/lib -I blib/arch -e "use Glib;" perl:/usr/local/lib/libglib-2.0.so.3200.0: undefined symbol 'pthread_mutex_init' lazy binding failed! Segmentation fault (core dumped) Backtracing Perl in gdb: gdb perl perl.core (gdb) bt #0 0x0a716530 in _dl_bind () from /usr/libexec/ld.so #1 0x0a712ba7 in _dl_bind_start () from /usr/libexec/ld.so #2 0x89f9e8a0 in ?? () #3 0x00001b30 in ?? () #4 0x2d500033 in ?? () #5 0x25df0033 in ?? () from /usr/local/lib/libgobject-2.0.so.3200.0 #6 0x00000000 in ?? () If I run: LD_PRELOAD=/usr/lib/libpthread.so make LD_PRELOAD=/usr/lib/libpthread.so perl -I blib/lib -I blib/arch -e "use Glib;" It's happy. One other thing, when running 'perl Makefile.PL', I get: # perl Makefile.PL Including generated API documentation... *** *** configuring Glib to build without thread safety *** Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-pthread' Writing Makefile for Glib Writing MYMETA.yml and MYMETA.json I want to say '-pthread' is coming from glib-2.0.pc. I'm not sure what to do about it however. Suggestions? Thanks, Brian List of test failures: Glib-1.290: - OpenBSD.i386-openbsd / 5.14.1: - FAIL http://www.cpantesters.org/cpan/report/b9586940-7a95-11e2-b162-c5ed238b44f3 - OpenBSD.i386-openbsd-thread-multi-64int / 5.14.1: - FAIL http://www.cpantesters.org/cpan/report/3788798a-7ad8-11e2-b162-c5ed238b44f3 - amd64-freebsd-thread-multi / 5.16.2: - FAIL http://www.cpantesters.org/cpan/report/bae1a95c-7ac7-11e2-a7ac-bc45f1f528ea - amd64-midnightbsd / 5.14.0: - FAIL http://www.cpantesters.org/cpan/report/c131c250-7ab9-11e2-b162-c5ed238b44f3 - amd64-midnightbsd-thread-multi / 5.12.5: - FAIL http://www.cpantesters.org/cpan/report/e4a36bf0-7a7b-11e2-b162-c5ed238b44f3 - i386-freebsd-thread-multi / 5.14.0: - FAIL http://www.cpantesters.org/cpan/report/1d1eda1c-7a6f-11e2-b162-c5ed238b44f3 - x86_64-dragonfly / 5.10.0: - FAIL http://www.cpantesters.org/cpan/report/1779eafa-7a9e-11e2-b162-c5ed238b44f3 - x86_64-dragonfly-thread-multi / 5.10.0: - FAIL http://www.cpantesters.org/cpan/report/5d414d90-7aed-11e2-b162-c5ed238b44f3 _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list