Bug#636649: libgd-gd2-perl: FTBFS with perl 5.14: CCFLAGS should include $Config{ccflags}

Dominic Hargreaves dom at earth.li
Thu Aug 4 20:40:02 UTC 2011


Source: libgd-gd2-perl
Version: 1:2.46-2
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.14-transition

As discussed on Debian bug #628522, this package fails to build with
perl 5.14.1 on i386 because $Config{ccflags} is being overridden by local
CCFLAGS options:

/usr/bin/make  -C . CFLAGS="-g -O2 -g -O2 -Wall" CXXFLAGS="-g -O2 -g -O2 -Wall" 
CPPFLAGS="" LDFLAGS=""  test TEST_VERBOSE=1
make[1]: Entering directory `/build/dom-libgd-gd2-perl_2.46-2-i386-dq9inp/libgd-
gd2-perl-2.46'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 
'blib/lib', 'blib/arch')" t/*.t
Not a CODE reference at /usr/lib/perl/5.14/DynaLoader.pm line 207.
END failed--call queue aborted at blib/lib/GD.pm line 207.
Compilation failed in require at t/GD.t line 14.
BEGIN failed--compilation aborted at t/GD.t line 14.

This bug is also discussed upstream at
<https://rt.cpan.org/Public/Bug/Display.html?id=68613>.

Please modify the build system of this package to append $Config{ccflags}
to CCFLAGS. In most cases this will be by editing Makefile.PL.

(I will fix this one in a minute)

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





More information about the pkg-perl-maintainers mailing list