Package: libclone-perl
Version: 0.22-1
Severity: important
Tags: fixed-upstream
User: [EMAIL PROTECTED]
Usertags: perl-5.10-transition

This package is failing to build with Perl 5.10 (currently in
experimental):

cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2   
-DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/lib/perl/5.10/CORE"   
Clone.c
Clone.xs: In function 'hv_clone':
Clone.xs:52: warning: suggest parentheses around assignment used as truth value
Clone.xs:55: warning: value computed is not used
Clone.xs: In function 'av_clone':
Clone.xs:69: warning: unused variable 'val'
Clone.xs: In function 'rv_clone':
Clone.xs:100: warning: unused variable 'visible'
Clone.xs:99: warning: unused variable 'rv'
Clone.xs: In function 'sv_clone':
Clone.xs:180: error: duplicate case value
Clone.xs:170: error: previously used here
Clone.xs:259: warning: suggest parentheses around assignment used as truth value
Clone.xs:222: warning: unused variable 'vtable'
make[1]: *** [Clone.o] Error 1
make[1]: Leaving directory `/home/niko/libclone-perl-0.22'
make: *** [build-stamp] Error 2

This is fixed upstream; I tested 0.28 and it built OK and passed the
test suite.

The unconditional rmdir in debian/rules needs also fixing, as
ExtUtils::MakeMaker doesn't create an empty usr/share/perl5 anymore.
Suggested fix (from recent dh-make-perl templates):

    [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents 
--verbose $(TMP)/usr/lib/perl5

Information on the Perl 5.10 transition can be found at 

 http://wiki.debian.org/Perl5.10Transition

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to