Bug#809759: liblasso-perl: quoting problems with Perl $Config{ccflags}, unusable on 32-bit architectures

Niko Tyni ntyni at debian.org
Sun Jan 3 19:04:57 UTC 2016


Package: liblasso-perl
Version: 2.5.0-1
Severity: grave
Tags: patch
X-Debbugs-Cc: pkg-perl-maintainers at lists.alioth.debian.org, Xavier <x.guimard at free.fr>

On Sun, Jan 03, 2016 at 04:42:56PM +0200, Niko Tyni wrote:
> On Sun, Jan 03, 2016 at 01:44:25PM +0100, Frederic Peters wrote:
> > Xavier wrote:
> 
> > > reproductible.debian.org reports an FTBFS problem on lemonldap-ng which
> > > seems to point a Lasso problem:
> > > 
> > >   Lasso.c: loadable library and perl binaries are mismatched (got
> > >            handshake key 0x9200080, needed 0x9400080)
> 
> Interesting. I can reproduce this on harris.debian.org and
> liblasso-perl 2.5.0-1+b1 with just 'perl -e "use Lasso"'.

It also happens on i386. I expect it's broken on all 32-bit
architectures.

> I think it must be something with the compiler/linker flags Lasso.so gets
> built with, but the automake terseness gets in the way by stripping that
> from the logs. I'm looking into it, but harris is really slow atm so it
> will take a while.

Indeed, it's invoking the compiler with

arm-linux-gnueabihf-gcc [...] '-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' [...]

and the quoting breaks the definitions.

Patch attached. I've tested this as far as producing a usable Lasso.so
on harris.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-quoting-of-Perl-ccflags.patch
Type: text/x-diff
Size: 1599 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160103/a1605016/attachment.patch>


More information about the pkg-perl-maintainers mailing list