Your message dated Thu, 07 Sep 2023 21:57:49 +0000
with message-id <e1qen0x-008q97...@fasolo.debian.org>
and subject line Bug#1051431: fixed in libauthen-pam-perl 0.16-6
has caused the Debian Bug report #1051431,
regarding libauthen-pam-perl FTCBFS: invokes ./configure without --host
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.)


-- 
1051431: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051431
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libauthen-pam-perl
Version: 0.16-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

libauthen-pam-perl fails to cross build from source, because ./configure
is run without --host and fails that way. It is run from Makefile.PL
without any arguments and this makes injecting the --host flag
particularly difficult. I propose making that configure invocation from
Makefile.PL optional. If it sees a config.status, it may assume that
configure was successful and skip it. In the packaging, we can then
simply configure before handing off to Makefile.PL and let
dh_auto_configure pass the right flag. I'm attaching a patch for your
convenience. Does that work for you?

Helmut
diff --minimal -Nru libauthen-pam-perl-0.16/debian/changelog 
libauthen-pam-perl-0.16/debian/changelog
--- libauthen-pam-perl-0.16/debian/changelog    2022-06-15 17:58:51.000000000 
+0200
+++ libauthen-pam-perl-0.16/debian/changelog    2023-09-07 22:23:44.000000000 
+0200
@@ -1,3 +1,10 @@
+libauthen-pam-perl (0.16-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Call ./configure with --host. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 07 Sep 2023 22:23:44 +0200
+
 libauthen-pam-perl (0.16-5) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru libauthen-pam-perl-0.16/debian/patches/cross.patch 
libauthen-pam-perl-0.16/debian/patches/cross.patch
--- libauthen-pam-perl-0.16/debian/patches/cross.patch  1970-01-01 
01:00:00.000000000 +0100
+++ libauthen-pam-perl-0.16/debian/patches/cross.patch  2023-09-07 
22:23:44.000000000 +0200
@@ -0,0 +1,15 @@
+--- libauthen-pam-perl-0.16.orig/Makefile.PL
++++ libauthen-pam-perl-0.16/Makefile.PL
+@@ -5,8 +5,10 @@
+     $ENV{'CC'} # If a compiler is not specified on the command line then
+       or $ENV{'CC'} = $Config{'cc'}; # use the one with which perl was built
+ 
+-    system("./configure") == 0 or
+-      die "Error in configuring the Authen::PAM module.\n";
++    if (! -e "./config.status") {
++      system("./configure") == 0 or
++        die "Error in configuring the Authen::PAM module.\n";
++    }
+ 
+     # returns a reference to anonymous hash which is then interpreted as
+     # additional options to the WriteMakeFile
diff --minimal -Nru libauthen-pam-perl-0.16/debian/patches/series 
libauthen-pam-perl-0.16/debian/patches/series
--- libauthen-pam-perl-0.16/debian/patches/series       2022-06-15 
17:58:51.000000000 +0200
+++ libauthen-pam-perl-0.16/debian/patches/series       2023-09-07 
22:23:44.000000000 +0200
@@ -1,2 +1,3 @@
 spelling.patch
 perl-inc.patch
+cross.patch
diff --minimal -Nru libauthen-pam-perl-0.16/debian/rules 
libauthen-pam-perl-0.16/debian/rules
--- libauthen-pam-perl-0.16/debian/rules        2022-06-15 17:58:51.000000000 
+0200
+++ libauthen-pam-perl-0.16/debian/rules        2023-09-07 22:23:42.000000000 
+0200
@@ -5,6 +5,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 override_dh_auto_configure:
+       dh_auto_configure --buildsystem=autoconf
        dh_auto_configure --buildsystem=perl_makemaker
 
 override_dh_auto_test:

--- End Message ---
--- Begin Message ---
Source: libauthen-pam-perl
Source-Version: 0.16-6
Done: gregor herrmann <gre...@debian.org>

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

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libauthen-pam-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: SHA512

Format: 1.8
Date: Thu, 07 Sep 2023 23:00:02 +0200
Source: libauthen-pam-perl
Architecture: source
Version: 0.16-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1051431
Changes:
 libauthen-pam-perl (0.16-6) unstable; urgency=medium
 .
   * Team upload.
 .
   [ gregor herrmann ]
   * Add missing word in previous changelog entry.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Call ./configure with --host. (Closes: #1051431)
 .
   [ gregor herrmann ]
   * Declare compliance with Debian Policy 4.6.2.
Checksums-Sha1:
 f808a30aaade365a3db12b06ef2e8b6aa17fc071 2370 libauthen-pam-perl_0.16-6.dsc
 6d3c925a1e18833e954747cf00fc224cb15515f3 5008 
libauthen-pam-perl_0.16-6.debian.tar.xz
Checksums-Sha256:
 92f1d5ff143519c687c00e8b94afbe588e1c4ce3f2afb0a04d421cec79736014 2370 
libauthen-pam-perl_0.16-6.dsc
 9ea74c9b002044659087ed5e6e5118473c61d9086097772f2c38de2f80a9deed 5008 
libauthen-pam-perl_0.16-6.debian.tar.xz
Files:
 900330aeba36599c175d2b5cbb702406 2370 perl optional 
libauthen-pam-perl_0.16-6.dsc
 5d3272a72d2d567808683ba25a95f506 5008 perl optional 
libauthen-pam-perl_0.16-6.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmT6OlZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYEkxAAxZQy6fqpEoAltHsFMWB7IT+Ood2OQxb6rvs8AseDptXuZ4/GcbfJ9405
qDBEMe3LsA52tOV2cr8ktPMCtZkkLsxDehC32U1nhNdyuJfKd6NWwI9LF+yUoUQK
VI+JIYraTcR3Hg6qRIasK1C6OTTaikns04LGVrL8M9ka7H7FNLttht04mJ9JcYsN
eWkoTpiHJPDrwSewINjA8oUga+/JG0hyiXFguSaqBdl1kKT9BnLTjhrXqy777z5T
RFCho1GIWkDAMHZt/kHbKl50064eR0L9AadFLMKn3ldKwYJ0Ny8Lvwgf/3W7bqbm
6QugaUsog4zhFaWT4avIUkio5j6iDqLhmuBmZwRJ17IgM3CVOgyPOcCV2CEWGunM
aclfZ1tZwFJYrgGSQxLOzK0v4E7UU5s/HrzrJi2wyXQ4iP+DBk0KK6+NBgcS95Nn
2OtImScFPbWxIm0Gg/UVhwnAn8pdNNeCZ0nATBrJtxj9TLvhQFXEcb0InkBnaVl5
ITxu97zCpyE3gEvPYb8D3DaQv8Z6MhBppmBovaF1b+mZAqo7Apqo2N7zPLkX7g+P
rZEn4pdWsuzc21lz893ZdRdE88jqH6Cu+h37SMj2M8jreD3zUYUsfhCE2VR1Vo0o
i19kC35lxhXQnlvIyriR3UdamMVKvkhABGFQ71SKz+laWAREN68=
=BH63
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to