Bug#638894: mongodb-perl: FTBFS with perl 5.14: CCFLAGS should include $Config{ccflags}

Dominic Hargreaves dom at earth.li
Mon Aug 22 18:28:44 UTC 2011

Source: mongodb-perl
Version: 0.44-1
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 (in experimental) on i386 because $Config{ccflags} is being
overridden by local CCFLAGS options:

make[1]: Entering directory `/build/dom-mongodb-perl_0.44-1+b1-i386-njyzfh/mongodb-perl-0.44'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/threads/*.t
Not a CODE reference at /usr/lib/perl/5.14/DynaLoader.pm line 207.
END failed--call queue aborted at /build/dom-mongodb-perl_0.44-1+b1-i386-njyzfh/mongodb-perl-0.44/blib/lib/MongoDB.pm line 207.
Compilation failed in require at t/bson.t line 6.
BEGIN failed--compilation aborted at t/bson.t line 6.
t/bson.t ............ 
Dubious, test returned 2 (wstat 512, 0x200)

This bug is also discussed upstream at

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

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