[Xapian-tickets] [Xapian] #558: Make check fails in perl bindings test for symbol-test.t

Xapian nobody at xapian.org
Sun Jul 31 03:25:19 BST 2011


#558: Make check fails in perl bindings test for symbol-test.t
-----------------------------+----------------------------------------------
 Reporter:  squirexappy      |       Owner:  olly 
     Type:  defect           |      Status:  new  
 Priority:  normal           |   Milestone:       
Component:  Xapian-bindings  |     Version:  1.2.6
 Severity:  normal           |    Keywords:       
Blockedby:                   |    Platform:  Linux
 Blocking:                   |  
-----------------------------+----------------------------------------------
 Slackware 13.1 (fully updated), gcc 4.4.4, 32 bit, 1GB RAM (non-HighMem
 kernel, so only about 820MB of available RAM). PHP is version 5.2.17, PERL
 is v5.10.1 (*) built for i486-linux-thread-multi, python is 2.6.4, and
 ruby is ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux].

 {{{
 Filesystem           1K-blocks      Used Available Use% Mounted on
 /dev/root              8175648   4687128   3488520  58% /
 tmpfs                   664096     45648    618448   7% /dev/shm
 }}}

 Freshly built xapian-core 1.2.6 (make check fully passes) and then the
 xapian-bindings 1.2.6 with the manually downloaded PHP .h file included.

 Build + testing is done out of /dev/shm (ram disk).

 Test failure output follows:

 {{{
 ./t/symbol-test.t .. 1/3
 #   Failed test 'use SymbolTest;'
 #   at ./t/symbol-test.t line 17.
 #     Tried to use 'SymbolTest'.
 #     Error:  Can't locate loadable object for module SymbolTest in @INC
 (@INC contains: blib/arch/auto/SymbolTest/.libs blib/lib /dev/shm/xapian-
 bindings-1.2.6/perl/.libs /dev/shm/xapian-bindings-1.2.6/perl
 /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1
 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi
 /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl
 /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at (eval
 38) line 2
 # Compilation failed in require at (eval 38) line 2.
 # BEGIN failed--compilation aborted at (eval 38) line 2.

 #   Failed test 'Correct exception caught'
 #   at ./t/symbol-test.t line 19.
 #                   'Can't locate auto/SymbolTest/throw_from_.al in @INC
 (@INC contains: blib/arch/auto/SymbolTest/.libs blib/lib /dev/shm/xapian-
 bindings-1.2.6/perl/.libs /dev/shm/xapian-bindings-1.2.6/perl
 /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1
 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi
 /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl
 /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at ./t
 /symbol-test.t line 18
 # '
 #     doesn't match '(?-xism:DatabaseOpeningError caught in SymbolTest)'

 #   Failed test 'Correct exception caught'
 #   at ./t/symbol-test.t line 24.
 #                   'Can't locate auto/SymbolTest/throw_from_.al in @INC
 (@INC contains: blib/arch/auto/SymbolTest/.libs blib/lib /dev/shm/xapian-
 bindings-1.2.6/perl/.libs /dev/shm/xapian-bindings-1.2.6/perl
 /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1
 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi
 /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl
 /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at ./t
 /symbol-test.t line 23
 # '
 #     doesn't match '(?-xism:DatabaseOpeningError caught in SymbolTest)'
 # Looks like you failed 3 tests of 3.
 ./t/symbol-test.t .. Dubious, test returned 3 (wstat 768, 0x300)
 Failed 3/3 subtests

 Test Summary Report
 -------------------
 ./t/symbol-test.t (Wstat: 768 Tests: 3 Failed: 3)
   Failed tests:  1-3
   Non-zero exit status: 3
 Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.59 cusr
 0.20 csys =  0.82 CPU)
 Result: FAIL
 FAIL: t/symbol-test.t
 }}}


 Configure line:

 {{{
 CFLAGS='-O2 -fstack-protector -march=core2 -mtune=core2' CXXFLAGS='-O2
 -stack-protector -march=core2 -mtune=core2' ./configure --prefix=/usr
 --with-php --with-python --with-perl --with-ruby
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/558>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list