Package: perl-modules
Version: 5.14.0-1
Severity: important

This is a similar issue to that in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624460>
where Extutils::CBuilder was fixed to not overwrite
$Config{ccflags} with $ENV{CFLAGS}.

(perl-exp-i386-test-sbuild)dom@carme:/tmp/hivex-1.2.7/perl$ perl -MConfig -e 
'print $Config{ccflags}'
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64

...

make[5]: Entering directory `/tmp/hivex-1.2.7/perl'
cp lib/Win/Hivex.pm blib/lib/Win/Hivex.pm
cp lib/Win/Hivex/Regedit.pm blib/lib/Win/Hivex/Regedit.pm
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp  -typemap 
/usr/share/perl/5.14/ExtUtils/typemap -typemap ./typemap -typemap typemap  
Hivex.xs > Hivex.xsc && mv Hivex.xsc Hivex.c
cc -c  -I../lib -I../lib -g -O2 -O2 -g   -DVERSION=\"1.2.7\" 
-DXS_VERSION=\"1.2.7\" -fPIC "-I/usr/lib/perl/5.14/CORE"   Hivex.c

...

t/010-load.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Not a CODE reference at /usr/lib/perl/5.14/DynaLoader.pm line 207.
END failed--call queue aborted at 
/build/dom-hivex_1.2.6-3+b1-i386-XFhvjI/hivex-1.2.6/perl/blib/lib/Win/Hivex.pm 
line 207.
Compilation failed in require at t/020-open.t line 22.
BEGIN failed--compilation aborted at t/020-open.t line 22.

Again, this isn't a new problem, but it's only with 5.14 that it's fatal.
I haven't yet checked which versions of ExtUtils::MakeMaker have the
problem.

The same problem also arises with

- libgd-gd2-perl
- libogre-perl
- libois-perl

Each passes CCFLAGS to WriteMakefile.

I've confirmed that removing CCFLAGS from perl/Makefile.PL.in in the
hivex fixes the build problem.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to