Bug#979171: libnet-ssh2-perl FTCBFS: selects the wrong crypt backend
Helmut Grohne
helmut at subdivi.de
Sun Jan 3 20:19:20 GMT 2021
Source: libnet-ssh2-perl
Version: 0.72-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
libnet-ssh2-perl still fails to cross build. It seems like 0.72 changed
the syntax for selecting the crypto backend. A native build detects
absence of ssl and presence of gcrypt and all is fine. For a cross build
that doesn't seem to work. While debian/rules passes "gcrypt" to the
Makefile.PL, that's not what it expects. The buildlog kindly explains:
| To build with libgcrypt instead of OpenSSL, use the crypto_backend
| option when calling Makefile.PL, e.g.:
|
| perl Makefile.PL crypto_backend=gcrypt
Once doing that, it actually cross builds. Please consider applying the
attached patch. I hope that this time, there is no conflict. :)
Helmut
-------------- next part --------------
diff --minimal -Nru libnet-ssh2-perl-0.72/debian/changelog libnet-ssh2-perl-0.72/debian/changelog
--- libnet-ssh2-perl-0.72/debian/changelog 2021-01-03 00:51:08.000000000 +0100
+++ libnet-ssh2-perl-0.72/debian/changelog 2021-01-03 21:14:27.000000000 +0100
@@ -1,3 +1,10 @@
+libnet-ssh2-perl (0.72-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Update syntax for selecting the crypto backend. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sun, 03 Jan 2021 21:14:27 +0100
+
libnet-ssh2-perl (0.72-2) unstable; urgency=medium
* Team upload.
diff --minimal -Nru libnet-ssh2-perl-0.72/debian/rules libnet-ssh2-perl-0.72/debian/rules
--- libnet-ssh2-perl-0.72/debian/rules 2021-01-03 00:51:08.000000000 +0100
+++ libnet-ssh2-perl-0.72/debian/rules 2021-01-03 21:14:27.000000000 +0100
@@ -9,7 +9,7 @@
dh $@
override_dh_auto_configure:
- dh_auto_configure -- gcrypt
+ dh_auto_configure -- crypto_backend=gcrypt
override_dh_installexamples:
dh_installexamples
More information about the pkg-perl-maintainers
mailing list