On Mon, Mar 24, 2014 at 07:25:42PM +0100, David Coutadeur wrote:
> Package: liblasso-perl
> Version: 2.3.6-2
> Severity: grave
> Justification: renders package unusable
> 
> When using perl Lasso binding on Debian wheezy 32bits,
> I get this error message:
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Lasso.t .. Not a CODE reference at /usr/lib/perl/5.14/DynaLoader.pm line 
> 207.
> END failed--call queue aborted at 
> /root/lasso-2.4.0-install/bindings/perl/blib/lib/Lasso.pm line 207.
> Compilation failed in require at t/Lasso.t line 9.
> 
> important fact: the bug is only present in debian wheezy 32bits!
> The code is working perfectly on debian squeeze 32 and 64 bits, and on
> debian wheezy 64 bits.

Hi,

this is usually a result of compiling perl XS extensions without
$Config{ccflags}, currently resulting in binary incompatibility on 32-bit
architectures. See #628522.

I see bindings/perl/Makefile.am explicitly overrides CCFLAGS with
something that includes $(PERL_CFLAGS), but I can't see any place where
that's initialized. Possibly it would be enough to set PERL_CFLAGS to
the contents of perl -V::ccflags: or something like that.

Hope this helps,
-- 
Niko Tyni   nt...@debian.org


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

Reply via email to