Subject: | Perl-RPM fails with perl-5.10 |
Running on latest SUSE-Linux, using perl-5.10 (not yet in suse
distribution), I see strange errors during make test:
Name "RPM::num2tag" used only once: possible typo
Name "RPM::tag2num" used only once: possible typo
panic: free from wrong pool at t/02_headers.t line 42.
Please refer to the attached build log.
Everything is smooth with perl-5.8.8
Subject: | xxx |
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/Perl-RPM-1.51.tar.gz
+ cd Perl-RPM-1.51
+ perl Makefile.PL
Checking if your kit is complete...
Looks good
Local build detected. Generating Perl-RPM.spec...
Generating rpmrc...
Generating rpmmacros...
Writing Makefile for RPM
+ make all
cp RPM.pm blib/lib/RPM.pm
cp RPM/Database.pm blib/lib/RPM/Database.pm
cp RPM/Constants.pm blib/lib/RPM/Constants.pm
cp RPM/Error.pm blib/lib/RPM/Error.pm
cp RPM/Header.pm blib/lib/RPM/Header.pm
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap RPM/Database.xs > RPM/Database.xsc && mv RPM/Database.xsc RPM/Database.c
cc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -fPIC "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" -DRPM_VERSION=0x040402 RPM/Database.c -o RPM/Database.o
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap RPM/Constants.xs > RPM/Constants.xsc && mv RPM/Constants.xsc RPM/Constants.c
cc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -fPIC "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" -DRPM_VERSION=0x040402 RPM/Constants.c -o RPM/Constants.o
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap RPM/Header.xs > RPM/Header.xsc && mv RPM/Header.xsc RPM/Header.c
cc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -fPIC "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" -DRPM_VERSION=0x040402 RPM/Header.c -o RPM/Header.o
RPM/Header.xs: In function 'rpmhdr_STORE':
RPM/Header.xs:364: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap RPM.xs > RPM.xsc && mv RPM.xsc RPM.c
cc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -fPIC "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" -DRPM_VERSION=0x040402 RPM.c -o RPM.o
RPM.xs: In function 'setup_tag_mappings':
RPM.xs:65: warning: value computed is not used
RPM.xs:67: warning: value computed is not used
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap RPM/Error.xs > RPM/Error.xsc && mv RPM/Error.xsc RPM/Error.c
cc -c -I. -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" -fPIC "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" -DRPM_VERSION=0x040402 RPM/Error.c -o RPM/Error.o
Running Mkbootstrap for RPM ()
chmod 644 RPM.bs
rm -f blib/arch/auto/RPM/RPM.so
LD_RUN_PATH="/usr/lib64" cc -shared -L/usr/local/lib64 RPM/Database.o RPM/Constants.o RPM/Header.o RPM.o RPM/Error.o -o blib/arch/auto/RPM/RPM.so \
-lrpm -lrpmdb -lrpmio \
chmod 755 blib/arch/auto/RPM/RPM.so
cp RPM.bs blib/arch/auto/RPM/RPM.bs
chmod 644 blib/arch/auto/RPM/RPM.bs
cp utils/rpmprune blib/script/rpmprune
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/rpmprune
Manifying blib/man1/rpmprune.1
Manifying blib/man3/RPM.3pm
Manifying blib/man3/RPM::Error.3pm
Manifying blib/man3/RPM::Constants.3pm
Manifying blib/man3/RPM::Database.3pm
Manifying blib/man3/RPM::Header.3pm
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load............ok
t/00_pod.............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/00_pod_coverage....skipped
all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage
t/01_database........Name "RPM::num2tag" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
Name "RPM::tag2num" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
Use of uninitialized value in subroutine entry at t/01_database.t line 149.
ok
t/02_headers.........Name "RPM::num2tag" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
Name "RPM::tag2num" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
panic: free from wrong pool at t/02_headers.t line 42.
dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 3-21
Failed 19/21 tests, 9.52% okay
t/03_errors..........Name "RPM::num2tag" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
Name "RPM::tag2num" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
ok
t/04_utils...........Name "RPM::num2tag" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
Name "RPM::tag2num" used only once: possible typo at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
ok
t/09_leaks...........skipped
all skipped: Devel::Leak and Test::More required
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/02_headers.t 9 2304 21 38 3-21
3 tests skipped.
Failed 1/8 test scripts. 19/57 subtests failed.
Files=8, Tests=57, 1 wallclock secs ( 0.52 cusr + 0.19 csys = 0.71 CPU)
Failed 1/8 test programs. 19/57 subtests failed.
make: *** [test_dynamic] Error 255