Subject: | make test fails on x86_64 |
Date: | Wed, 16 Aug 2006 16:36:41 -0700 |
To: | bug-Devel-Size [...] rt.cpan.org |
From: | "Chris Weyl" <cweyl [...] alumni.drew.edu> |
String size tests fail on fedora core 5 / x86_64.
Full buildlog:
[cweyl@zeus Devel-Size-0.64]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::Size
[cweyl@zeus Devel-Size-0.64]$ make
cp Size.pm blib/lib/Devel/Size.pm
/usr/bin/perl /usr/lib/perl5/vendor_perl/5.8.8/ExtUtils/xsubpp
-typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Size.xs > Size.xsc &&
mv Size.xsc Size.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.64\"
-DXS_VERSION=\"0.64\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Size.c
Size.xs: In function 'cc_opclass':
Size.xs:43: warning: suggest parentheses around assignment used as truth value
Size.xs: In function 'thing_size':
Size.xs:515: warning: suggest parentheses around assignment used as truth value
Size.xs:518: warning: suggest parentheses around assignment used as truth value
Size.xs:521: warning: suggest parentheses around assignment used as truth value
Size.xs:524: warning: suggest parentheses around assignment used as truth value
Size.xs:527: warning: suggest parentheses around assignment used as truth value
Size.xs:530: warning: suggest parentheses around assignment used as truth value
Size.xs: In function 'XS_Devel__Size_total_size':
Size.xs:696: warning: suggest parentheses around assignment used as truth value
Size.xs:712: warning: suggest parentheses around assignment used as truth value
Size.xs:647: warning: unused variable 'count'
Running Mkbootstrap for Devel::Size ()
chmod 644 Size.bs
rm -f blib/arch/auto/Devel/Size/Size.so
gcc -shared Size.o -o blib/arch/auto/Devel/Size/Size.so \
\
chmod 755 blib/arch/auto/Devel/Size/Size.so
cp Size.bs blib/arch/auto/Devel/Size/Size.bs
chmod 644 blib/arch/auto/Devel/Size/Size.bs
Manifying blib/man3/Devel::Size.3pm
[cweyl@zeus Devel-Size-0.64]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic....FAILED tests 2-3
Failed 2/8 tests, 75.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/basic.t 8 2 25.00% 2-3
Failed 1/1 test scripts, 0.00% okay. 2/8 subtests failed, 75.00% okay.
make: *** [test_dynamic] Error 255
[cweyl@zeus Devel-Size-0.64]$ perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.