Perlbal-XS-Headers build fail

Mark Smith junior at danga.com
Thu Oct 13 10:17:32 PDT 2005


Using the latest CVS?  I think it was my last commit to the XS module was
fixing a count error in the tests.  Also, the warnings are expected --
haven't gotten around to fixing them yet...

-jr

On Thu, Oct 13, 2005, Mike Whitaker wrote:
> Am I missing something obvious here? latest Debian stable, dh-make-perl:
> 
> AutoSplitting blib/lib/Perlbal/XS/HTTPHeaders.pm (blib/lib/auto/ 
> Perlbal/XS/HTTPHeaders)
> g++ -c  -I. -g -Wall -g -O2   -DVERSION=\"0.18\" -DXS_VERSION=\"0.18 
> \" -fPIC "-I/usr/lib/perl/5.8/CORE"   headers.cpp
> headers.cpp: In member function `int HTTPHeaders::parseHeaders(SV*)':
> headers.cpp:316: warning: comparison between signed and unsigned integer
>    expressions
> headers.cpp:319: warning: comparison between signed and unsigned integer
>    expressions
> headers.cpp: In member function `void HTTPHeaders::setHeader(char*,  
> char*)':
> headers.cpp:468: warning: comparison between signed and unsigned integer
>    expressions
> headers.cpp:469: warning: comparison between signed and unsigned integer
>    expressions
> /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp  -C++ -typemap /usr/ 
> share/perl/5.8/ExtUtils/typemap -typemap typemap  HTTPHeaders.xs >  
> HTTPHeaders.xsc && mv HTTPHeaders.xsc HTTPHeaders.c
> g++ -c  -I. -g -Wall -g -O2   -DVERSION=\"0.18\" -DXS_VERSION=\"0.18 
> \" -fPIC "-I/usr/lib/perl/5.8/CORE"   HTTPHeaders.c
> Running Mkbootstrap for Perlbal::XS::HTTPHeaders ()
> chmod 644 HTTPHeaders.bs
> rm -f blib/arch/auto/Perlbal/XS/HTTPHeaders/HTTPHeaders.so
> LD_RUN_PATH="" cc  -shared -L/usr/local/lib headers.o HTTPHeaders.o  - 
> o blib/arch/auto/Perlbal/XS/HTTPHeaders/HTTPHeaders.so   -lstdc++
> chmod 755 blib/arch/auto/Perlbal/XS/HTTPHeaders/HTTPHeaders.so
> cp HTTPHeaders.bs blib/arch/auto/Perlbal/XS/HTTPHeaders/HTTPHeaders.bs
> chmod 644 blib/arch/auto/Perlbal/XS/HTTPHeaders/HTTPHeaders.bs
> Manifying blib/man3/Perlbal::XS::HTTPHeaders.3pm
> make[1]: Leaving directory `/usr/src/Perlbal-XS-HTTPHeaders-0.18'
> touch build-stamp
> dh_testdir
> dh_testroot
> dh_clean -k
> # Add commands to install the package into debian/ACKAGE_NAME here
> make test
> make[1]: Entering directory `/usr/src/Perlbal-XS-HTTPHeaders-0.18'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/HTTPHeaders....ok 31/28# Looks like you planned 28 tests but ran 3  
> extra.
> t/HTTPHeaders....dubious
>         Test returned status 3 (wstat 768, 0x300)
> DIED. FAILED tests 29-31
>         Failed 3/28 tests, 89.29% okay
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------ 
> -------
> t/HTTPHeaders.t    3   768    28    3  10.71%  29-31
> Failed 1/1 test scripts, 0.00% okay. -3/28 subtests failed, 110.71%  
> okay.
> make[1]: *** [test_dynamic] Error 2
> make[1]: Leaving directory `/usr/src/Perlbal-XS-HTTPHeaders-0.18'
> make: *** [install-stamp] Error 2
> make: Leaving directory `/usr/src/Perlbal-XS-HTTPHeaders-0.18'
> Cannot create deb package


--
Junior (aka Mark Smith)
junior at danga.com

Software Engineer
Six Apart / Danga Interactive


More information about the perlbal mailing list