Your message dated Fri, 20 Nov 2020 18:18:45 +0000
with message-id <[email protected]>
and subject line Bug#949789: fixed in libcdb-file-perl 1.03-1
has caused the Debian Bug report #949789,
regarding libcdb-file-perl FTCBFS: computes a build architecture ARCHLIB
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 [email protected]
immediately.)


-- 
949789: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949789
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libcdb-file-perl
Version: 1.00-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

libcdb-file-perl fails to cross build from source, because its ARCHLIB
variable is computed for the build architecture rather than the host
architecture. We've already seen this pattern in #949266. The same fix
works here.

Can we take the opportunity to step back? Clearly embodying these runes
into many packages is going to cause pain down the road. They're hard to
remember and longish. If setting up ARCHLIB is a common thing, then
maybe it should be centralized somehow? dpkg provides
/usr/share/dpkg/*.mk. Maybe perl should do something similar? Could
there be some perl.mk to be included in debian/rules that sets up
ARCHLIB?

I've X-Debbugs-Cced [email protected] to get an answer to the latter.
Please wait a little before applying my patch: I hope we can centralize
it somehow.

Helmut
diff --minimal -Nru libcdb-file-perl-1.00/debian/changelog 
libcdb-file-perl-1.00/debian/changelog
--- libcdb-file-perl-1.00/debian/changelog      2020-01-24 14:28:12.000000000 
+0100
+++ libcdb-file-perl-1.00/debian/changelog      2020-01-25 06:03:25.000000000 
+0100
@@ -1,3 +1,10 @@
+libcdb-file-perl (1.00-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Correctly compute ARCHLIB. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 25 Jan 2020 06:03:25 +0100
+
 libcdb-file-perl (1.00-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru libcdb-file-perl-1.00/debian/rules 
libcdb-file-perl-1.00/debian/rules
--- libcdb-file-perl-1.00/debian/rules  2020-01-24 14:28:12.000000000 +0100
+++ libcdb-file-perl-1.00/debian/rules  2020-01-25 06:03:23.000000000 +0100
@@ -4,7 +4,9 @@
 
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
-ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+include /usr/share/dpkg/architecture.mk
+PERLVER := $(shell perl -MConfig -e 'print $$Config{version}')
+ARCHLIB := $(shell perl 
-I/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(PERLVER) -MConfig -e 
'print $$Config{vendorarch}')
 
 %:
        dh $@

--- End Message ---
--- Begin Message ---
Source: libcdb-file-perl
Source-Version: 1.03-1
Done: gregor herrmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libcdb-file-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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libcdb-file-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 [email protected])


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

Format: 1.8
Date: Fri, 20 Nov 2020 18:56:21 +0100
Source: libcdb-file-perl
Architecture: source
Version: 1.03-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 949789
Changes:
 libcdb-file-perl (1.03-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Correctly compute ARCHLIB. (Closes: #949789)
 .
   [ gregor herrmann ]
   * Import upstream version 1.03.
   * Update years of upstream copyright.
   * Drop no-b-cow.patch, and add back libb-cow-perl to Build-Depends after
     the RC bug in libb-cow-perl has been fixed.
   * Add a warning from the upstream changelog to debian/NEWS.
   * Declare compliance with Debian Policy 4.5.1.
   * Set Rules-Requires-Root: no.
   * Bump debhelper-compat to 13.
Checksums-Sha1:
 3505d85e1572d30ab2dc61daf3d83b3999db41fa 2357 libcdb-file-perl_1.03-1.dsc
 4f9812db5f9639efd71c430b7bd8ad7069b92ccd 86662 
libcdb-file-perl_1.03.orig.tar.gz
 b614fa862617741774b73468df883c04805fa3f1 3344 
libcdb-file-perl_1.03-1.debian.tar.xz
Checksums-Sha256:
 aefa1729f0edd72610dce57debc7c5e6009391c564d63a6215ae1d263261b7c7 2357 
libcdb-file-perl_1.03-1.dsc
 a5fc1d984fcdb1356d740da91560cb39530e5943a2d2077bb6ad33666fa64514 86662 
libcdb-file-perl_1.03.orig.tar.gz
 bb44848af07903936b145fe618d7b8d1da864324ad5bb972555d5680d3cb6a2f 3344 
libcdb-file-perl_1.03-1.debian.tar.xz
Files:
 50693ba367c3d4f3cdbf5500e13ce051 2357 perl optional libcdb-file-perl_1.03-1.dsc
 20049caca9be474a8d8a3b01f81566b6 86662 perl optional 
libcdb-file-perl_1.03.orig.tar.gz
 c12c5ed40e1e7b947a0af3b7e42d6545 3344 perl optional 
libcdb-file-perl_1.03-1.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl+4A95fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgawBA//WsrH4b1zJ2ZLbI3eP7sQLaLVC66Wz4LkbI3E8s4Ld0FkTzsQsptBXQh6
6RXNTpuDSjpLPh094u4+4BaY+gZv7FPt3CgjbTHasWlrk+6qDtY4tsVp3xXzkW7z
hHaqyVMgdKNt4/eWNldB44MPeSG3a95+/dMPyqWmad1D5bRzzdJhlWZKoDaJKUOF
RFE1UP5A4qvnI1dQrEMkPWlAA5VWT7x4oSiUN+3axSQyDawlz6tx9GlH5/Y9IeCJ
hz1drepVXlBvqXzZc3ASySrfAUETc7YAmJYzK9QLmVWVGJKOV+UaHEgp1RPMJDAJ
LlYNF046k9E8ejiQj08vdsuqyFkdRQ8GFqKonK4CzWQQHGsT2lUEMBJT0kmoG5Bo
Kwz8AkUH4mSolR/lw2fAW61ppMgjxklIjmvmZNbcVYP1v2bbmK5HXkDl/29eoD6u
WTkqDbCHUdyaAQYM0YVn49oJIopZUDwWh72Bu8lcPi1s8ACSYqJ9IBTC9IfCYAss
uy4cpqYZO3iUvByhaziyJU4jprL7sQnC33Vqn1N2jmziW0KV1PbSTFgjQ/oQIwUm
ONmCEDlTg0iYL6WQViK5oYA+bJ1aZbESJ53NBRxJ+cog1EEDbJInz2wUkCtqCuZI
q6ndbjMWs4DHCejusA6bPlUQSBpwx5uHzN2cbCzYaJQuNdouw1A=
=dmXO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to