p5-DBD-Sybase regression tests fail with:
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
I have a custom application that after this messages it outputs:
lazy binding failed!
Segmentation fault (core dumped)
Which seems to come from ld.so.
Here's the output of $ cd /usr/ports/databases/p5-DBD-Sybase/; make regress;
(I have set a testing SQL server and configured ${WRKSRC}/PWD accordingly)
Somebody has a clue?, thanks.
===> Regression check for p5-DBD-Sybase-1.10p1
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/autocommit.t ..
Failed 7/9 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/base.t ........ ok
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/exec.t ........
Failed 20/22 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/fail.t ........
Failed 10/12 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/login.t .......
Failed 4/6 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/main.t ........
Failed 34/36 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/multi_sth.t ...
Failed 41/43 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/nsql.t ........
Failed 5/7 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/place.t .......
Failed 16/18 subtests
t/thread.t ...... skipped: this perl 5.012002 not configured to support iThreads
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/xblk.t ........
Failed 60/62 subtests
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_unlock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_destroy'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_lock'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_atfork'
/usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol
'pthread_mutex_init'
t/xblob.t .......
Failed 9/11 subtests
Test Summary Report
-------------------
t/autocommit.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 9 tests but ran 2.
t/exec.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 22 tests but ran 2.
t/fail.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 12 tests but ran 2.
t/login.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 6 tests but ran 2.
t/main.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 36 tests but ran 2.
t/multi_sth.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 43 tests but ran 2.
t/nsql.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 7 tests but ran 2.
t/place.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 18 tests but ran 2.
t/xblk.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 62 tests but ran 2.
t/xblob.t (Wstat: 139 Tests: 2 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 11 tests but ran 2.
Files=12, Tests=25, 2 wallclock secs ( 0.04 usr 0.07 sys + 0.47
cusr 0.20 csys = 0.78 CPU)
Result: FAIL
Failed 10/12 test programs. 0/25 subtests failed.
*** Error code 255
Stop in /usr/pobj/p5-DBD-Sybase-1.10/DBD-Sybase-1.10 (line 943 of Makefile).
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-Sybase (line 2493 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-Sybase (line 2221 of
/usr/ports/infrastructure/mk/bsd.port.mk).