Your message dated Mon, 11 Jan 2016 09:43:29 +0000
with message-id <e1aiz0b-0000dm...@franck.debian.org>
and subject line Bug#809759: fixed in lasso 2.5.0-3
has caused the Debian Bug report #809759,
regarding liblasso-perl: quoting problems with Perl $Config{ccflags}, unusable 
on 32-bit architectures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
809759: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809759
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: liblasso-perl
Version: 2.5.0-1
Severity: grave
Tags: patch
X-Debbugs-Cc: pkg-perl-maintain...@lists.alioth.debian.org, Xavier 
<x.guim...@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   nt...@debian.org
>From 7abd488e135d540db2c4fc8ec903940a0d46570e Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Sun, 3 Jan 2016 19:51:33 +0200
Subject: [PATCH] Fix quoting of Perl ccflags

perl -V::cflags: outputs a quoted string (like '-DTHIS -DTHAT'), which
never got unquoted, but instead passed as-is to cc as
 cc '-DTHIS -DTHAT'
which somewhat surprisingly defines just one preprocessor symbol "THIS"
to an unintended value "-DTHAT 1" while leaving "THAT" undefined.

  % echo THIS and THAT | cpp '-DTHIS -DTHAT'
  # 1 "<stdin>"
  # 1 "<built-in>"
  # 1 "<command-line>"
  # 1 "/usr/include/stdc-predef.h" 1 3 4
  # 1 "<command-line>" 2
  # 1 "<stdin>"
  -DTHAT 1 and THAT

This broke the binary interface between Perl and the built Lasso.so
extension, resulting in the failure

  Lasso.c: loadable library and perl binaries are mismatched (got
           handshake key 0x9200080, needed 0x9400080)

on at least the armhf and i386 architectures, probably on all
32-bit architectures.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7a1a6ce..c07f623 100644
--- a/configure.ac
+++ b/configure.ac
@@ -531,7 +531,7 @@ AC_ARG_ENABLE(perl, [  --disable-perl          disable the Perl binding],,
 if test "X$PERL" != "X"; then
   PERLINSTALLSITEARCH=`$PERL -MConfig -e 'print $Config{installsitearch};'`
   PERLMAN3DIR=`$PERL -MConfig -e 'print $Config{man3dir};'`
-  PERL_CFLAGS=$($PERL -V::ccflags:)
+  PERL_CFLAGS=`$PERL -MConfig -e 'print $Config{ccflags};'`
 else
   PERLINSTALLSITEARCH=none
   PERLMAN3DIR=none
-- 
2.6.4


--- End Message ---
--- Begin Message ---
Source: lasso
Source-Version: 2.5.0-3

We believe that the bug you reported is fixed in the latest version of
lasso, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 809...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frederic Peters <fpet...@debian.org> (supplier of updated lasso package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 11 Jan 2016 09:16:31 +0100
Source: lasso
Binary: liblasso3-dev liblasso3 python-lasso python3-lasso liblasso-perl 
php5-lasso
Architecture: source amd64
Version: 2.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Frederic Peters <fpet...@debian.org>
Changed-By: Frederic Peters <fpet...@debian.org>
Description:
 liblasso-perl - Library for Liberty Alliance and SAML protocols - Perl bindings
 liblasso3  - Library for Liberty Alliance and SAML protocols - runtime library
 liblasso3-dev - Library for Liberty Alliance and SAML protocols - development 
kit
 php5-lasso - Library for Liberty Alliance and SAML protocols - PHP 5 bindings
 python-lasso - Library for Liberty Alliance and SAML protocols - Python 
bindings
 python3-lasso - Library for Liberty Alliance and SAML protocols - Python 
bindings
Closes: 809759 809760
Changes:
 lasso (2.5.0-3) unstable; urgency=medium
 .
   * d/p/0001-perl-remove-quotes-from-PERL-V-ccflags-output.patch: new patch,
     make sure to remove quotes given by "perl -V::ccflags:" as they ultimately
     cause the 32bit builds to fail. (closes: #809759)
     * Thanks to Niko Tyni for the detailed diagnostic.
   * d/rules: enable verbose builds. (closes: #809760)
Checksums-Sha1:
 e6b89fc6b6fae4a89d32a08d5e11c8bf962d5832 2197 lasso_2.5.0-3.dsc
 5777cc79b984b625336ffdc2c58a7d80b2a0bc08 9120 lasso_2.5.0-3.debian.tar.xz
 86b46a2dfaacac829347c376a8d41ddd8bbbfdad 148362 
liblasso-perl-dbgsym_2.5.0-3_amd64.deb
 cfcb9e50f95825d61991675c17550475f649cdb4 145788 liblasso-perl_2.5.0-3_amd64.deb
 9e1a02f64052de0d8f69aa1f1c73db714af31d65 22710 
liblasso3-dbgsym_2.5.0-3_amd64.deb
 9b660a3eb76c296c6504ea2a324a65c48dfb559b 227622 liblasso3-dev_2.5.0-3_amd64.deb
 6f39cfaa60622bca2389d08c0a8cec875677ff34 158178 liblasso3_2.5.0-3_amd64.deb
 27c5b8234ef6bb45dbe14f1b8582081f88b14d6a 18012 
php5-lasso-dbgsym_2.5.0-3_amd64.deb
 ce5ba2c29945f27ecb104bc6744d9e4e13f5fa3f 132718 php5-lasso_2.5.0-3_amd64.deb
 a007a4590593815b779352eb2b86a3fb5449978a 14738 
python-lasso-dbgsym_2.5.0-3_amd64.deb
 1a0a39c0eeaffa4bcb08ef0c43bfe9f1be863442 112454 python-lasso_2.5.0-3_amd64.deb
 916e314b2181a57146b77258324f988582b1deb7 14888 
python3-lasso-dbgsym_2.5.0-3_amd64.deb
 c8005b2d22541997b890a33dc37671e08636a7ec 116742 python3-lasso_2.5.0-3_amd64.deb
Checksums-Sha256:
 138c6994fe44b4bab08c48c698d0b97ddb06162995923b239103787e68b301a4 2197 
lasso_2.5.0-3.dsc
 8941a1de90c7e25c9ed005161ec8a56b7fe9deec39b93f4c012fcc650adfb6fc 9120 
lasso_2.5.0-3.debian.tar.xz
 02cd1231b39538999599af779242faf3771ed79417a22f3979dda12b09aafd34 148362 
liblasso-perl-dbgsym_2.5.0-3_amd64.deb
 5676668e072d042826417972a15995ccfe28903938ae8410180da79e7fb722ee 145788 
liblasso-perl_2.5.0-3_amd64.deb
 23db505061837019eaffb30604776596d61ef31a4d457c1d603796f5d46a42be 22710 
liblasso3-dbgsym_2.5.0-3_amd64.deb
 76308f7edfa0c11a07328759ddf1bb07afbb66eb45b555f28f0f65b25e1c7939 227622 
liblasso3-dev_2.5.0-3_amd64.deb
 6615ad485dd7ae72c9c2b6092502d8f854bbabc40b3047609c38bf87a510fb99 158178 
liblasso3_2.5.0-3_amd64.deb
 2d73635d372b6042305f4d9eb82d1a4a263c462779612107da086c7ecdf04298 18012 
php5-lasso-dbgsym_2.5.0-3_amd64.deb
 c7b64485714d94e0b49f35e02e16dc489b7d4a2a55a303b535d4f8fb0d52344e 132718 
php5-lasso_2.5.0-3_amd64.deb
 973a0befd7383df1119d44e86077f30680f977210fd692036a00736794f8d513 14738 
python-lasso-dbgsym_2.5.0-3_amd64.deb
 dec884f57ee55aee378746de056914df7dbe47712145ab03ccc9989534ff51c7 112454 
python-lasso_2.5.0-3_amd64.deb
 781648f55617c106786dc39440ac2b016f4ad97f25fdd3fa44d3183772b977ac 14888 
python3-lasso-dbgsym_2.5.0-3_amd64.deb
 af636bd0ac675084a0105995ce505050cd443d691274e2f2ebe971b03e5e8021 116742 
python3-lasso_2.5.0-3_amd64.deb
Files:
 0cd79401033321e3182451a767261b13 2197 libs optional lasso_2.5.0-3.dsc
 69fdb233bab177cfefbc6b34dcc04bef 9120 libs optional lasso_2.5.0-3.debian.tar.xz
 42f9b5c7940ce753243fbf74beea08e2 148362 debug extra 
liblasso-perl-dbgsym_2.5.0-3_amd64.deb
 04467ef0fad231acf21e6fd7a2c2cb82 145788 perl optional 
liblasso-perl_2.5.0-3_amd64.deb
 915a9c32b30e8c11e06555a526c8b922 22710 debug extra 
liblasso3-dbgsym_2.5.0-3_amd64.deb
 6eec1439a704562a7c725eb0900aa941 227622 libdevel optional 
liblasso3-dev_2.5.0-3_amd64.deb
 96a65bede99c150b3937e9c88c0cc207 158178 libs optional 
liblasso3_2.5.0-3_amd64.deb
 0fc453135e595e9dd7ec39507ea2a3d5 18012 debug extra 
php5-lasso-dbgsym_2.5.0-3_amd64.deb
 97a6efbf2a80e7835396e96adcc5b5bf 132718 web optional 
php5-lasso_2.5.0-3_amd64.deb
 500c46ddda7999bac30b3946e2d6ace9 14738 debug extra 
python-lasso-dbgsym_2.5.0-3_amd64.deb
 493b43fe555f5e99ffd4cf078a636997 112454 python optional 
python-lasso_2.5.0-3_amd64.deb
 219f6623f43f6f47ccc0d684feb0e7dd 14888 debug extra 
python3-lasso-dbgsym_2.5.0-3_amd64.deb
 65192d6cdaca990a132053903e2e89b3 116742 python optional 
python3-lasso_2.5.0-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWk20YAAoJECrpAeXHAhjSRVgP/0vVgiDwjl4hsWThvoW1GdwS
Q6ympoRAFRPcth3+oG83Ux1YlIH/ItnqxbLmchhPP9IT1gif64eYLwI7AYcaGNQj
Cmz/EsY6iKTlE41Jka8zG58k4vVDY+r6Pdc45dktujmzus/mdyZp5fXBFp4MF8fv
hWJkd/KSePGEJ810dY6u1yDpzsuWynqJeTxh2crSMK0YCTqKQeE2yqVDEr4iR2hs
uvNmpK1DgH9Q3QjitdbXi+CMfuJaC7PiODN3IbUlalCRJTpbpHSHXuhjXns6+fsP
/YHV7ziTLxVqgP3EtxT7s5jk+12rrZM/c3BugQ1rmJCe0MUyzvotD8qmBUEao+Dn
B0IaDJXf+tKdpv2NXP/AYiEopijo1cGAqbT6RyMv2sZNb37eCmZKHi/QgQTbwYgE
HqR3VNjPc5IlLZPqX0fC2AJYQ4AS2I5SN8ohqSSFBMhhqcP5R1rqad5hF4mGW1Ft
opXGexm49BRgbPoziLN8jd9ZwTgeWNs1ZWyjf0Q1lnIhxRN+6Ne0CJmFEC3zSK3W
Rolfpj072zbwh70/pb27HjV2UDUIbZFXgJJz2Mu7D5gwnfIiJWgp8Xf7h6sfdagM
xefwa1nQPyuqm7xunHqqo6rPK9jtr40ZWEyTdAjwya+uTbWJz97r1cXZ4IbiExOC
dbABlarKqOqVu14MxW8v
=JHvJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to