Bug#636651: libapache2-mod-perl2: FTBFS with perl 5.14: -D_FILE_OFFSET_BITS stripped from CFLAGS

Dominic Hargreaves dom at earth.li
Thu Oct 20 08:17:57 UTC 2011


On Sat, Oct 15, 2011 at 04:09:20PM +0300, Niko Tyni wrote:
> If I understand this correctly, we have libapr built without large file
> support and perl built with large file support. Now, mod_perl2 used to
> do without LFS and still work with perl, but that's not the case with
> Perl 5.14 anymore.
> 
> I'm Ccing the libapr1 maintainers for any ideas.
> 
> Dominic, could you try hardwiring has_large_files_conflict() to return 0
> (so it doesn't strip the flags anymore) and see if that passes the test
> suite on i386 with Perl 5.14?

The "Compilation failed in require" errors aren't seen once I do that;
however both in the original case and now, what actually terminates the
build is a segfault. I had perhaps erroneously assumed that this was a
direct result of the problem as originally reported.

ulimit -c unlimited; /usr/bin/perl /build/dom-libapache2-mod-perl2_2.0.5-4~test.1-i386-r33hy_/libapache2-mod-perl2-2.0.5/t/TEST -bugreport -verbose=0
/usr/sbin/apache2  -d /build/dom-libapache2-mod-perl2_2.0.5-4~test.1-i386-r33hy_/libapache2-mod-perl2-2.0.5/t -f /build/dom-libapache2-mod-perl2_2.0.5-4~test.1-i386-r33hy_/libapache2-mod-perl2-2.0.5/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.21 (worker MPM)

[Thu Oct 20 08:06:24 2011] [info] 6 Apache2:: modules loaded
[Thu Oct 20 08:06:24 2011] [info] 0 APR:: modules loaded
[Thu Oct 20 08:06:24 2011] [info] base server + 28 vhosts ready to run tests
Segmentation fault (core dumped)
[  error] oh rats, server dumped core
[  error] for stacktrace, run: gdb /usr/sbin/apache2 -core /build/dom-libapache2-mod-perl2_2.0.5-4~test.1-i386-r33hy_/libapache2-mod-perl2-2.0.5/core
[  error]
server has died with status 255 (please examine t/logs/error_log)

I'll retry that build manually and dig out the stacktrace when I 
next have 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