Package: libembperl-perl Version: 2.5.0~rc2-1 Severity: serious Tags: patch
According to https://buildd.debian.org/status/package.php?p=libembperl-perl&suite=sid the package fails on armel/armhf, mips/mipsel, s390 due to -m32 not being available on those platforms as a valid gcc flag. Please refrain from using such CFLAGS without checking the architecture first. The patch fixes the FTBFS by removing the -m32 in Makefile.PL. Regards Konstantinos
diff -ruN libembperl-perl-2.5.0~rc2/Makefile.PL libembperl-perl-2.5.0~rc2.mine/Makefile.PL --- libembperl-perl-2.5.0~rc2/Makefile.PL 2012-09-10 05:44:14.000000000 +0000 +++ libembperl-perl-2.5.0~rc2.mine/Makefile.PL 2012-10-18 15:47:32.827875735 +0000 @@ -1269,7 +1269,6 @@ $dynlib->{'OTHERLDFLAGS'} .= " $lddebug" ; if ($perl32bit) { - $dynlib->{'OTHERLDFLAGS'} .= " -m32" ; $dynlib->{'OTHERLDFLAGS'} .= " -L" . join (' -L', split / /, $Config{libpth}) ; } @@ -1329,8 +1328,6 @@ $i .= ' -I' . join (' -I', @inc) if (@inc) ; } -$addcflags = $perl32bit?'-m32':'' ; - %MMARGS = ( 'LIBS' => [$libs || ''], 'DEFINE' => "$d \$(DEFS) " . ($mp2cfg?$mp2cfg->{MODPERL_CCOPTS}:''),