[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#942073: marked as done (marisa: perl bindings are broken when linked with gcc-9)



Your message dated Tue, 15 Oct 2019 14:50:33 +0000
with message-id <E1iKO9h-000IfP-BW@fasolo.debian.org>
and subject line Bug#942073: fixed in marisa 0.2.5-4
has caused the Debian Bug report #942073,
regarding marisa: perl bindings are broken when linked with gcc-9
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 owner@bugs.debian.org
immediately.)


-- 
942073: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942073
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libmarisa-perl
Version: 0.2.5-3
Severity: grave
Control: block 935737 with -1

As noticed by the autopkgtest checks, the marisa Perl bindings are
totally broken in sid after the recent Perl 5.30 rebuild:

  $ perl -e 'use marisa'
  Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/marisa/marisa.so' for module marisa: /usr/lib/x86_64-linux-gnu/perl5/5.30/auto/marisa/marisa.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 193.
   at /usr/lib/x86_64-linux-gnu/perl5/5.30/marisa.pm line 11.
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.
 
Rebuilding marisa in testing with Perl 5.28 triggers the same behaviour,
so it's not a change in Perl 5.30 that broke it. The previous sid build
in July is not broken.

It looks like this regressed with the gcc 8 -> 9 move. Linking the
DSO manually with gcc-8 makes it go away, as seen below.

I have no idea what goes wrong here, but I noticed that broken versions
of blib/arch/auto/marisa/marisa.so have no NEEDED entry for libmarisa.so.0
(as seen with 'objdump -p').

---- reproduce the error ----

  # apt build-dep libmarisa-perl
  $ ./debian/rules build
  $ cd bindings/perl
  $ LD_LIBRARY_PATH=../../lib/marisa/.libs/ perl -I blib/arch -I blib/lib -e 'use marisa'
  Can't load 'blib/arch/auto/marisa/marisa.so' for module marisa: blib/arch/auto/marisa/marisa.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 193.
   at blib/lib/marisa.pm line 11.
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.

---- explicitly link with gcc-8, no error ---

  # apt install gcc-8
  $ gcc-8 -shared -L/usr/local/lib -L../../lib/marisa/.libs -lmarisa -fstack-protector -Wl,-z,relro -Wl,-z,now -Wl,--as-needed  marisa-swig.o marisa-swig_wrap.o  -o blib/arch/auto/marisa/marisa.so
  $ LD_LIBRARY_PATH=../../lib/marisa/.libs/ perl -I blib/arch -I blib/lib -e 'use marisa'

---- explicitly link with gcc-9, same error again ---

  $ gcc-9 -shared -L/usr/local/lib -L../../lib/marisa/.libs -lmarisa -fstack-protector -Wl,-z,relro -Wl,-z,now -Wl,--as-needed  marisa-swig.o marisa-swig_wrap.o  -o blib/arch/auto/marisa/marisa.so
  $ LD_LIBRARY_PATH=../../lib/marisa/.libs/ perl -I blib/arch -I blib/lib -e 'use marisa'
  Can't load 'blib/arch/auto/marisa/marisa.so' for module marisa: blib/arch/auto/marisa/marisa.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 193.
   at blib/lib/marisa.pm line 11.
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.

-- 
Niko Tyni   ntyni@debian.org

--- End Message ---
--- Begin Message ---
Source: marisa
Source-Version: 0.2.5-4

We believe that the bug you reported is fixed in the latest version of
marisa, 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 942073@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated marisa 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 15 Oct 2019 09:46:57 -0400
Source: marisa
Architecture: source
Version: 0.2.5-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 942073
Changes:
 marisa (0.2.5-4) unstable; urgency=medium
 .
   * debian/control:
     + Bump Standards-Version to 4.4.1.
   * debian/rules: Fix build around perl and gcc-9. Patch provided
     by Niko Tyni. (Closes: #942073)
   * Recover usage of dh_dwz again since the issue has been solved.
Checksums-Sha1:
 ef55424f93dea142ae16cfd76dda7180f93e5245 2440 marisa_0.2.5-4.dsc
 57d7aacbbe1c34f7e241e572df67189ace67d774 14468 marisa_0.2.5-4.debian.tar.xz
 8b8849192af5f8f15049f0034d35a7f6c9c5e9fb 10652 marisa_0.2.5-4_amd64.buildinfo
Checksums-Sha256:
 522b11f88fc1fcbf526f32cb7621b4a8fd9aa47153b26f7f4a3fe651deb26c29 2440 marisa_0.2.5-4.dsc
 29b2ce27c82319cc72c0b89a3ecc582efc11ffe0c0a0a6332755aa079a430e06 14468 marisa_0.2.5-4.debian.tar.xz
 83db0cf02cc4b7657d331639de0a7975e74ced9082a5a019b4838d83f18d8b53 10652 marisa_0.2.5-4_amd64.buildinfo
Files:
 b2c6e5472a28f41ce9595cacda8479a5 2440 libs optional marisa_0.2.5-4.dsc
 0f86cde6fc7fb7863b6f5bbd7d6710d1 14468 libs optional marisa_0.2.5-4.debian.tar.xz
 470149992cd047f9bf7c06ebc8b791e3 10652 libs optional marisa_0.2.5-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl2lz8wACgkQwpPntGGC
Ws57Iw/7BXZ4PIyjkzI2AQuchwTK34OTKc5qx6+mugCv9y7yPqLvblia54ocKB4l
QUTWh7aRvkQg8+JBl+2KMccMoEwy1QApZK7Rb3NgFdtVENS401RIGw+/jvbvkgJw
rks5dPfcZBIsh7r+d48zwbeCSaYGnogPLEeP1SODiLBJ12rR+WrrEy+ZQphCM0FV
eUuVGb8XVbxE7BOEoyVXRt49lff3bDc3TFnyye6RH2ZQqcT0Wz8N5APUCt2jn+3H
D4+qXP/Krv0vZy7R+hgqpmZ43msetqUYXBu83ne5J6LUezZXiTCe8jjt6b65oPZl
mRAlrv3QPYifU7bRzSGchnf6dnXgo/kC5tBczlmSVGa89DKBVoWIkYoVGKA9sHF4
qjXjpNmeIKYyhS40zk4Dmisd8UinOxPDj4d60DFouIUwaH78+b3M10YhP6U6xGrW
Du0o1XSEfT9jqojVAVrFvWYzN9kFipXm34DEHQCi54En/pXPLv53hAN2QU1jS7Zn
z5vRjIpH56LquE9cQzAgsDq9y/FJpkR3PYa/wCJlQ/pIo8hEo7itwSvDTTPNUPE+
xupIPtheNdHSybklHeK29eSSwIfY517ofiEI4vEZh2Mal7oRFMumL3eJ900bpq5o
wrATqoUvbJ8cVQh/7LeTELfAvtckco52RhkjSAq6pLbkNfsJLqY=
=V5zU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: