Your message dated Sat, 06 Jun 2020 10:48:37 +0000
with message-id <e1jhwnr-000ddn...@fasolo.debian.org>
and subject line Bug#962319: fixed in libextutils-hascompiler-perl 0.021-3
has caused the Debian Bug report #962319,
regarding libextutils-hascompiler-perl: test failures with perl 5.30.3-2
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.)


-- 
962319: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962319
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libextutils-hascompiler-perl
Version: 0.021-2
Severity: serious

This package fails its test suite with perl 5.30.3-2 from unstable.

The reasons are somewhat complicated. The failing test checks
that ExtUtils::HasCompiler and ExtUtils::MakeMaker give the
same result when trying to build a program that is statically linked
with libperl.a.

Up until perl 5.30.3-2, this test build failed with ExtUtils::HasCompiler:
it checked $Config{useshrplib} and bailed out because it concluded
that our libperl is built dynamically and we therefore don't support
static linking. On the other hand, the ExtUtils::MakeMaker reference
build failed because the package does not build depend on libperl-dev,
so libperl.a was not available.

With perl 5.30.3-2, #798626 is fixed and $Config{useshrplib} now
correctly indicates that static linking is supported. However, the
ExtUtils::HasCompiler check does not actually link, so it fails to detect
that libperl.a is missing.  ExtUtils::MakeMaker still fails in the same
way, so the results now disagree.

I suggest that we fix this in a way that's compatible with both
older and newer perl versions, by adding a build dependency on
libperl-dev and patching away the check $Config{useshrplib} check in
ExtUtils::HasCompiler::can_compile_static_library() . On Debian we build
both static and dynamic versions of libperl, so static builds should
be supported.

Transcript of the failure below. Note that the warning about
perl and Config.pm having 'different ideas about the architecture'
is not the cause of this. It is just a warning that we'll handle
separately (cf. #962138)


  #   Failed test 'MakeMaker agrees we can compile static'
  #   at t/compare.t line 67.
  #          got: '1'
  #     expected: undef
  # Couldn't run make test: make[2]: Entering directory '/tmp/BDk9YhPh04'
  # make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
  # Writing "Makefile.aperl" for this perl
  # Have /usr/lib/x86_64-linux-gnu/perl-base
  # Want /usr/lib/x86_64-linux-gnu/perl/5.30
  # Your perl and your Config.pm seem to have different ideas about the
  # architecture they are running on.
  # Perl thinks: [perl-base]
  # Config says: [x86_64-linux-gnu-thread-multi]
  # This may or may not cause problems. Please check your installation of perl
  # if you have problems building this extension.
  # Warning: /usr/lib/x86_64-linux-gnu/perl/5.30/../../libperl.a not found
  # If you're going to build a static perl binary, make sure perl is installed
  # otherwise ignore this warning
  # Generating a Unix-style Makefile.aperl
  # Writing Makefile.aperl for EUHC::Test
  # Writing MYMETA.yml and MYMETA.json
  # make -f Makefile.aperl perl
  # make[3]: Entering directory '/tmp/BDk9YhPh04'
  # Writing perlmain.c
  # mv perlmain.ct perlmain.c
  # x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC 
"-I/usr/lib/x86_64-linux-gnu/perl/5.30/CORE"   perlmain.c
  # make[3]: *** No rule to make target 
'/usr/lib/x86_64-linux-gnu/perl/5.30/../../libperl.a', needed by 'perl'.  Stop.
  # make[3]: Leaving directory '/tmp/BDk9YhPh04'
  # make[2]: *** [Makefile:956: perl] Error 2
  # make[2]: Leaving directory '/tmp/BDk9YhPh04'
  # Looks like you failed 1 test of 3.
 
-- 
Niko Tyni   nt...@debian.org

--- End Message ---
--- Begin Message ---
Source: libextutils-hascompiler-perl
Source-Version: 0.021-3
Done: Niko Tyni <nt...@debian.org>

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

Debian distribution maintenance software
pp.
Niko Tyni <nt...@debian.org> (supplier of updated libextutils-hascompiler-perl 
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: Sat, 06 Jun 2020 13:16:23 +0300
Source: libextutils-hascompiler-perl
Architecture: source
Version: 0.021-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Niko Tyni <nt...@debian.org>
Closes: 962319
Changes:
 libextutils-hascompiler-perl (0.021-3) unstable; urgency=medium
 .
   * Team upload.
 .
   * Add build dependency on libperl-dev and fix static linking check.
     (Closes: #962319)
   * Update to debhelper compat level 13
   * Update to Standards-Version 4.4.1
   * Declare that the package does not need (fake)root to build
Checksums-Sha1:
 e26aa8d50ac5a270a144ad6c182c59643626fe93 2286 
libextutils-hascompiler-perl_0.021-3.dsc
 1030fe9b361fb7cd1dd8aa03b4047a5f61a36680 2432 
libextutils-hascompiler-perl_0.021-3.debian.tar.xz
 7a83f5ed003f8eab041a65d46f6161674c11ab37 5715 
libextutils-hascompiler-perl_0.021-3_source.buildinfo
Checksums-Sha256:
 4901c552cb388b5f56a3db745b7bb67dc53379aca0b48365feb3dfa82f804f70 2286 
libextutils-hascompiler-perl_0.021-3.dsc
 4211354eb04e98daa04860fd1b73f434d7f37e520f25aba2b8ef69cf6c2dea5c 2432 
libextutils-hascompiler-perl_0.021-3.debian.tar.xz
 9057fd05c3311a215f7325d3b6eec5538200fb88c94c0e34f820bf83b62df8a9 5715 
libextutils-hascompiler-perl_0.021-3_source.buildinfo
Files:
 f04503d080c05c711d7e74bc4c80ec7f 2286 perl optional 
libextutils-hascompiler-perl_0.021-3.dsc
 498ce2d3c31f214bf5a3784924314f03 2432 perl optional 
libextutils-hascompiler-perl_0.021-3.debian.tar.xz
 8b0ddf0e03c39ca04d9cbde9bf29726b 5715 perl optional 
libextutils-hascompiler-perl_0.021-3_source.buildinfo

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

iQIzBAEBCAAdFiEEdqKOQsmBHZHoj7peLsD/s7cwGx8FAl7bbY8ACgkQLsD/s7cw
Gx+aiw/8C9dwoqSjxG42lX1ZTiYsVj8JxhtPwS+UMHKECVsqOH/ifMsa/8Sp7prQ
nNA1NEnaRx5MK1rMs/mmypMjyM8e9jHOLnC1Wv00gmD7MNwynhxMS0MdIHfrgtOt
TUxJ4RBapT9RlgP0/UldYlw7VcDzP8G17md4OOOgg2RDYcxooSLCfrpqVQ066KF5
CR57Tn2ursc7G3S+XIHmpaSHqvP/GZISe4s4imzwih+pG5LfuOZMrzRNB6iK54aB
TZBO+J+E+QaWpS99hzQVBX8D19ChcANiUheZzmeuZ/BqZej7pSujQTgXCxZ9PXAV
+CdXmdFoFqMS/MziF5ICxiJ6ry5PHLxp5sBKo15ZXSWGaDgQWTkr5oi2Ua13YB5o
pW5RcHV/eBXmZnMVWz2iElv6gxDuhenypJLkrdVF4lYwvM9xwqW3OZaEzqlIVAQM
pzzYtKOftXYyA3Lr878QhtM3OT2F04dKeAC/8CU53s7m6Co/cFz+ToAxXQEWOdCW
qrRvpPtMROlVqviachX6B1yxuwx5TiNTBQsPzI6Hef2BtvIGmfOH8pB774maAlse
zrwozjh4OuAwL+xrIq/DtrKZqtE3XgaQlyugezMUFhtSVO2zqpt/WQeGihtoUk4o
YX98pORYx4pww8x9jDnNM05ZDe7QCY3lBN8H34C2e2FqCDj21RM=
=rDf9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to