Bug#490369: The test suites fail on any 64-bit architectures

Damyan Ivanov dmn at debian.org
Sat Jul 12 08:54:19 UTC 2008


-=| Michael Casadevall, Fri, Jul 11, 2008 at 06:14:34PM -0400 |=-
> I ran it on my amd64, and it failed the test suite with the 
> following error:
> 
> t/local/00_ptr_cast............# compiling test program with: cc -o
> t/local/ptr_cast_test t/local/ptr_cast_test.c
> 
> # Failed test 'STDERR empty after compiling'
> # at t/local/00_ptr_cast.t line 28.
> # got: 't/local/ptr_cast_test.c: In function 'main':
> # t/local/ptr_cast_test.c:27: warning: format '%d' expects type 'int',
> but argument 4 has type 'long unsigned int'
> # t/local/ptr_cast_test.c:27: warning: format '%d' expects type 'int',
> but argument 6 has type 'long unsigned int'
> # '
> # expected: ''
> # Looks like you failed 1 test of 5.
> dubious
> Test returned status 1 (wstat 256, 0x100)

> I should have been more specific and said a specific test fails ;-). 

You should tell us the specific version of the package you built. If 
you used the 'reportbug' tool, it would have included it in the 
report.

> I
> am running on Ubuntu though, I passed the bug report though since the
> test suite was not run on buildd.d.o.

Of course test suite *is* run on the build daemons. Did you look at 
the build log?

http://buildd.debian.org/fetch.cgi?pkg=libnet-ssleay-perl;ver=1.33.01-1;arch=ia64;stamp=1214906736


> I'm using GCC-4.3.1 which may
> make the difference.

As seen in the above build log, buildds used 4.3.1-3

I also feel uneasy about the patch prosposed as I suspect %ld may not 
be appropriate on 32-bit architectures.


-- 
dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080712/a256fdab/attachment.pgp 


More information about the pkg-perl-maintainers mailing list