Bug#777935: libapache2-mod-perl2: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:33:04 UTC 2015


Package: src:libapache2-mod-perl2
Version: 2.0.9~1624218-2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/libapache2-mod-perl2_2.0.9~1624218-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
chmod 644 Const.bs
make[5]: Leaving directory '/«PKGBUILDDIR»/xs/APR/Const'
make[5]: Entering directory '/«PKGBUILDDIR»/xs/APR/PerlIO'
Running Mkbootstrap for APR::PerlIO ()
chmod 644 PerlIO.bs
make[5]: Leaving directory '/«PKGBUILDDIR»/xs/APR/PerlIO'
make[5]: Entering directory '/«PKGBUILDDIR»/xs/APR/aprext'
make[5]: Leaving directory '/«PKGBUILDDIR»/xs/APR/aprext'
make[4]: Leaving directory '/«PKGBUILDDIR»/xs/APR'
make[4]: Entering directory '/«PKGBUILDDIR»/xs/Apache2'
make[5]: Entering directory '/«PKGBUILDDIR»/xs/Apache2/Const'
Running Mkbootstrap for Apache2::Const ()
chmod 644 Const.bs
make[5]: Leaving directory '/«PKGBUILDDIR»/xs/Apache2/Const'
make[4]: Leaving directory '/«PKGBUILDDIR»/xs/Apache2'
make[4]: Entering directory '/«PKGBUILDDIR»/xs/ModPerl'
make[5]: Entering directory '/«PKGBUILDDIR»/xs/ModPerl/Const'
Running Mkbootstrap for ModPerl::Const ()
chmod 644 Const.bs
make[5]: Leaving directory '/«PKGBUILDDIR»/xs/ModPerl/Const'
make[4]: Leaving directory '/«PKGBUILDDIR»/xs/ModPerl'
make[3]: Leaving directory '/«PKGBUILDDIR»/xs'
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -httpd_conf /«PKGBUILDDIR»/debian/apache2.conf -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /«PKGBUILDDIR»/t/TEST -httpd_conf '/«PKGBUILDDIR»/debian/apache2.conf' -clean
APACHE_TEST_USER= APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -httpd_conf /«PKGBUILDDIR»/debian/apache2.conf -bugreport -verbose=0 
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /«PKGBUILDDIR»/t/TEST -httpd_conf '/«PKGBUILDDIR»/debian/apache2.conf' -bugreport -verbose=0
(2)No such file or directory: AH02291: Cannot access directory '/«PKGBUILDDIR»/t/logs/' for main error log
AH00014: Configuration check failed
/usr/sbin/apache2  -d /«PKGBUILDDIR»/t -f /«PKGBUILDDIR»/t/conf/httpd.conf -D APACHE2 -D APACHE24 -D PERL_USEITHREADS
using Apache/2.4.10 

apache2: Syntax error on line 79 of /«PKGBUILDDIR»/t/conf/httpd.conf: Cannot load /«PKGBUILDDIR»/src/modules/perl/mod_perl.so into server: /«PKGBUILDDIR»/src/modules/perl/mod_perl.so: undefined symbol: modperl_handler_name
[  error] 
server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode)
Terminated
make[2]: *** [run_tests] Error 143
waiting 300 seconds for server to start: .Makefile:1110: recipe for target 'run_tests' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_test: make -j1 test returned exit code 2
make[1]: *** [override_dh_auto_test] Error 2
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:10: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-perl-maintainers mailing list