Bug#754308: libapache2-mod-perl2: FTBFS: oh nuts, server dumped core

2014-07-09 Thread Niko Tyni
On Wed, Jul 09, 2014 at 11:03:33PM +0200, gregor herrmann wrote:
> On Wed, 09 Jul 2014 23:57:00 +0300, Niko Tyni wrote:
> 
> > I seem to have problems with building this in cowbuilder, where starting the
> > test suite just hangs. sbuild works fine, however. Could somebody please try
> > it out on pbuilder/cowbuilder too?
> 
> Works for me in cowbuilder.
> I guess you're hitting #753944.

Right you are. Thanks for the pointer.
-- 
Niko Tyni   nt...@debian.org


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



Bug#754308: libapache2-mod-perl2: FTBFS: oh nuts, server dumped core

2014-07-09 Thread gregor herrmann
On Wed, 09 Jul 2014 23:57:00 +0300, Niko Tyni wrote:

> I seem to have problems with building this in cowbuilder, where starting the
> test suite just hangs. sbuild works fine, however. Could somebody please try
> it out on pbuilder/cowbuilder too?

Works for me in cowbuilder.
I guess you're hitting #753944.
 

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Uriah Heep: Easy Livin'


signature.asc
Description: Digital Signature


Bug#754308: libapache2-mod-perl2: FTBFS: oh nuts, server dumped core

2014-07-09 Thread Niko Tyni
On Wed, Jul 09, 2014 at 10:07:12PM +0300, Niko Tyni wrote:
> Package: libapache2-mod-perl2
> Version: 2.0.8+httpd24-r1449661-6
> Severity: serious
> 
> This package fails to build on current sid/amd64:
> 
> waiting 300 seconds for server to start: .[Wed Jul 09 18:34:40.685369 2014] 
> [env:warn] [pid 15490:tid 139848019314560] AH01506: PassEnv variable 
> LD_LIBRARY_PATH was undefined
> [  error] oh dangnabit, server dumped core 

This is a gcc-4.9 regression. The attached patch works around it by
using gcc-4.8 instead.

Interestingly, even gcc-4.9 at -O0 seems to fail, but in different ways.
(The test suite fails loading APR.so because of missing symbols.)

I seem to have problems with building this in cowbuilder, where starting the
test suite just hangs. sbuild works fine, however. Could somebody please try
it out on pbuilder/cowbuilder too?

Not sure how to make a gcc-4.9 bug report out of this.
-- 
Niko Tyni   nt...@debian.org
>From aa515ee381402d5a061f8c9c329612f9bf69ac8f Mon Sep 17 00:00:00 2001
From: Niko Tyni 
Date: Wed, 9 Jul 2014 23:45:54 +0300
Subject: [PATCH] Build with gcc-4.8 for now to work around problems with 4.9.
 (Closes: #754308)

---
 debian/control | 1 +
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 7dd05a0..561c5d4 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,7 @@ Build-Depends: perl,
  libreadonly-perl,
  libwww-perl,
  locales-all,
+ gcc-4.8,
  netbase
 Build-Conflicts: apache2-mpm-event
 
diff --git a/debian/rules b/debian/rules
index 6253c38..5a758b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ override_dh_auto_configure:
 		MP_APR_CONFIG=/usr/bin/apr-config
 
 override_dh_auto_build:
-	dh_auto_build --parallel -- MODPERL_OPTIMIZE="$(CFLAGS)" OPTIMIZE="$(CFLAGS)"
+	dh_auto_build --parallel -- MODPERL_OPTIMIZE="$(CFLAGS)" OPTIMIZE="$(CFLAGS)" MODPERL_CC=gcc-4.8
 
 
 override_dh_auto_test:
-- 
2.0.1



Bug#754308: libapache2-mod-perl2: FTBFS: oh nuts, server dumped core

2014-07-09 Thread Niko Tyni
Package: libapache2-mod-perl2
Version: 2.0.8+httpd24-r1449661-6
Severity: serious

This package fails to build on current sid/amd64:

waiting 300 seconds for server to start: .[Wed Jul 09 18:34:40.685369 2014] 
[env:warn] [pid 15490:tid 139848019314560] AH01506: PassEnv variable 
LD_LIBRARY_PATH was undefined
[  error] oh dangnabit, server dumped core 
[  error] for stacktrace, run: gdb /usr/sbin/apache2 -core 
/tmp/buildd/libapache2-mod-perl2-2.0.8+httpd24-r1449661/core
[  error] 
server has died with status 255 (t/logs/error_log wasn't created, start the 
server in the debug mode)
[  error] oh dangit, server dumped core 
[  error] for stacktrace, run: gdb /usr/sbin/apache2 -core 
/tmp/buildd/libapache2-mod-perl2-2.0.8+httpd24-r1449661/core
Terminated

Looking at build logs, this may have been the case for at least a month or so:

 
https://buildd.debian.org/status/fetch.php?pkg=libapache2-mod-perl2&arch=s390x&ver=2.0.8%2Bhttpd24-r1449661-6%2Bb2&stamp=1402614065

Could be a gcc-4.9 problem?
-- 
Niko Tyni   nt...@debian.org


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