Perlbal::XS::HTTPHeaders 0.20

Skip to first unread message


Jan 16, 2010, 3:18:06 PM1/16/10

Hachi wrapped up some changes to the HTTPHeaders extension, and it hasn't
had a release since 2006, so we kicked that out.

It's probably worth an upgrade if you've been using CPAN instead of trunk,
and if you've been on trunk in the last year it's worth an upgrade since a
few bugs were closed.

This will be the last independent release of XS::HTTPHeaders. It'll be
merged into the next release or two of the main Perlbal dist, and will
build by default, with an option to not build it.

Switching this to default should give people much better performance out
of the box.


Ocular Bat

Feb 16, 2012, 6:45:13 PM2/16/12
fails to build by hand and with cpanm on archlinux with gcc4.7

[root@garchlinux1 Perlbal-XS-HTTPHeaders-0.20]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Perlbal::XS::HTTPHeaders
Writing MYMETA.yml and MYMETA.json
[root@gavarchlinux1 Perlbal-XS-HTTPHeaders-0.20]# less README
[root@gavarchlinux1 Perlbal-XS-HTTPHeaders-0.20]# make
cp lib/Perlbal/XS/ blib/lib/Perlbal/XS/
AutoSplitting blib/lib/Perlbal/XS/ (blib/lib/auto/Perlbal/XS/HTTPHeaders)
g++ -c  -I. -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC "-I/usr/lib/perl5/core_perl/CORE"   headers.cpp
/usr/bin/perl /usr/share/perl5/site_perl/ExtUtils/xsubpp  -C++ -typemap /usr/share/perl5/core_perl/ExtUtils/typemap -typemap typemap  HTTPHeaders.xs > HTTPHeaders.xsc && mv HTTPHeaders.xsc HTTPHeaders.c
g++ -c  -I. -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC "-I/usr/lib/perl5/core_perl/CORE"   HTTPHeaders.c
Running Mkbootstrap for Perlbal::XS::HTTPHeaders ()
chmod 644
rm -f blib/arch/auto/Perlbal/XS/HTTPHeaders/
LD_RUN_PATH="/usr/lib" cc  -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/local/lib -fstack-protector headers.o HTTPHeaders.o  -o blib/arch/auto/Perlbal/XS/HTTPHeaders/  \
   -lstdc++     \

chmod 755 blib/arch/auto/Perlbal/XS/HTTPHeaders/
cp blib/arch/auto/Perlbal/XS/HTTPHeaders/
chmod 644 blib/arch/auto/Perlbal/XS/HTTPHeaders/
Manifying blib/man3/Perlbal::XS::HTTPHeaders.3pm
[root@garchlinux1 Perlbal-XS-HTTPHeaders-0.20]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/HTTPHeaders.t .. 1/40
#   Failed test 'use Perlbal::XS::HTTPHeaders;'
#   at t/HTTPHeaders.t line 10.
#     Tried to use 'Perlbal::XS::HTTPHeaders'.
#     Error:  Not a CODE reference at /usr/lib/perl5/core_perl/ line 213.
# END failed--call queue aborted at /home/apps/Perlbal-XS-HTTPHeaders-0.20/blib/lib/Perlbal/XS/ line 213.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Bizarre copy of UNKNOWN in list assignment at /usr/share/perl5/core_perl/Test/ line 942.
Attempt to free unreferenced scalar: SV 0x9db9500, Perl interpreter: 0x9db9008 at /usr/share/perl5/core_perl/Test/ line 942.
# Looks like you planned 40 tests but ran 6.
# Looks like you failed 1 test of 6 run.
# Looks like your test exited with 255 just after 6.
t/HTTPHeaders.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 35/40 subtests

Test Summary Report
t/HTTPHeaders.t (Wstat: 65280 Tests: 6 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 40 tests but ran 6.
Files=1, Tests=6,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.10 cusr  0.01 csys =  0.13 CPU)
Result: FAIL
Failed 1/1 test programs. 1/6 subte

 gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.6-20120120/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --disable-multilib --disable-libssp --enable-checking=release
Thread model: posix
gcc version 4.6.2 20120120 (prerelease) (GCC)

Reply all
Reply to author
0 new messages