--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libpfm4 FTCBFS: misdetects some architectures
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sat, 26 Sep 2020 18:17:23 +0200
- Message-id: <20200926161723.GA18573@alf.mars>
Source: libpfm4
Version: 4.10.1+git44-ga2909cd-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
libpfm4 is already quite well prepared for cross compilation.
Unfortunately, the ARCH= flag is not passed for every architectures. For
some such as s390x is missing and there it fails to build. Please
consider applying the attached patch to always pass it.
Helmut
diff --minimal -Nru libpfm4-4.10.1+git44-ga2909cd/debian/changelog libpfm4-4.10.1+git44-ga2909cd/debian/changelog
--- libpfm4-4.10.1+git44-ga2909cd/debian/changelog 2020-03-08 14:23:00.000000000 +0100
+++ libpfm4-4.10.1+git44-ga2909cd/debian/changelog 2020-09-26 18:14:34.000000000 +0200
@@ -1,3 +1,10 @@
+libpfm4 (4.10.1+git44-ga2909cd-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Pass ARCH= for any architecture. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 26 Sep 2020 18:14:34 +0200
+
libpfm4 (4.10.1+git44-ga2909cd-1) unstable; urgency=medium
* New upstream GIT snapshot.
diff --minimal -Nru libpfm4-4.10.1+git44-ga2909cd/debian/rules libpfm4-4.10.1+git44-ga2909cd/debian/rules
--- libpfm4-4.10.1+git44-ga2909cd/debian/rules 2020-03-08 14:23:00.000000000 +0100
+++ libpfm4-4.10.1+git44-ga2909cd/debian/rules 2020-09-26 18:12:05.000000000 +0200
@@ -16,12 +16,12 @@
# architecture mapping $(DEB_HOST_ARCH) => libpfm4 ARCH
# in case that can't be derived from the cpu correctly
# e.g. cross-compiling for a 32-bit architecture on a 64-bit cpu
+LIBPFM4_ARCH_amd64 = x86_64
LIBPFM4_ARCH_armel = arm
LIBPFM4_ARCH_armhf = arm
-LIBPFM4_ARCH_i386 = i386
LIBPFM4_ARCH_ppc64el = powerpc
-LIBPFM4_ARCH_FLAG = $(foreach a,$(strip $(LIBPFM4_ARCH_$(DEB_HOST_ARCH))),ARCH=$a)
+LIBPFM4_ARCH_FLAG = ARCH=$(or $(LIBPFM4_ARCH_$(DEB_HOST_ARCH_CPU)),$(DEB_HOST_ARCH_CPU))
%:
dh $@
--- End Message ---
--- Begin Message ---
Source: libpfm4
Source-Version: 4.11.1+git74-g5140ce5-1
Done: Andreas Beckmann <anbe@debian.org>
We believe that the bug you reported is fixed in the latest version of
libpfm4, 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 971034@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated libpfm4 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: SHA256
Format: 1.8
Date: Wed, 03 Aug 2022 16:47:55 +0200
Source: libpfm4
Architecture: source
Version: 4.11.1+git74-g5140ce5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 971034 1012985
Changes:
libpfm4 (4.11.1+git74-g5140ce5-1) unstable; urgency=medium
.
* New upstream GIT snapshot.
- Fix FTBFS with GCC 12. (Closes: #1012985)
* Fix FTCBFS: Pass ARCH= for any architecture, thanks to Helmut Grohne.
(Closes: #971034)
* Bump Standards-Version to 4.6.1. No changes needed.
* typos.patch: Fix more typos found by Lintian.
Checksums-Sha1:
710e6e912efd8caeba67af9b1d534879d7d995e8 2148 libpfm4_4.11.1+git74-g5140ce5-1.dsc
fd5ac81aadfc362a3e8fd986ab11128db11585d6 574020 libpfm4_4.11.1+git74-g5140ce5.orig.tar.xz
e67cc982889a776b1d85fdbcd4b75bb0c1e6fb9c 11068 libpfm4_4.11.1+git74-g5140ce5-1.debian.tar.xz
2aa223b0c9c2bba99990c320bc54933c4cce6a55 5877 libpfm4_4.11.1+git74-g5140ce5-1_source.buildinfo
Checksums-Sha256:
ecd1a536e8170c823e6f5936474ef66ab4aaf765d89abe8345dc353c9f206b89 2148 libpfm4_4.11.1+git74-g5140ce5-1.dsc
9b9709e43b7493be0ee641150a586622634c21de61946a42e2f297a9a0b3d086 574020 libpfm4_4.11.1+git74-g5140ce5.orig.tar.xz
b470a05d614dfe20e4f5006f3445d00b553ef7525e98e669841c1486d5620aba 11068 libpfm4_4.11.1+git74-g5140ce5-1.debian.tar.xz
77b081bdce2fd60c2ca72fcf9beb587cff0e49c4162330d77907614aa6f50738 5877 libpfm4_4.11.1+git74-g5140ce5-1_source.buildinfo
Files:
5bfcf803c850269a09c8567c473d12a7 2148 libs optional libpfm4_4.11.1+git74-g5140ce5-1.dsc
f509103e2c6ec342bf443d9c011496c3 574020 libs optional libpfm4_4.11.1+git74-g5140ce5.orig.tar.xz
516ab1ab5456a7adb21be17e075dc643 11068 libs optional libpfm4_4.11.1+git74-g5140ce5-1.debian.tar.xz
aef74046f8eb7acdef7e336cfaa51ac4 5877 libs optional libpfm4_4.11.1+git74-g5140ce5-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmLqiwUQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCK2MD/9AU9RSRlNRLR4atK/zcdoIGg0tbeZMyXHM
tyu0nMeGjjXyat0wQydL98NtX0o/EKb+pV5snpT+KGHIRgLBlo31uym9Qp/ybRej
ZDkLMiYrdA2f5CxVYOxRm04ieYO4Q59YVxnguEilA6gB17LTGwhp2AXykI9qfxma
bljB4s/l6MHCK7RhtU+7IMu5MnkWIOQrOWuhmFZgD+Py85xVHfwBYoNA+PNBm2Om
Irv1HyVce+n06yD6rYIfUG/kCrMO/akH1+sETLiDT8YqNZq86XUwNsSdXbWdQAJG
g73e4pRHa2rJVy1C5q9jPBHtOPX4RGy01Cf13A62F4EW3C4Msjn1ZBE728W8z5E0
x/rYUz/d8N56Z71la5fx49O/Wp/TBxAUjUpT+Niwk724CF4Z/2cz6lRDmdVY1DAk
rzN+PCbOVFAe6fgHg20dSn5L47Fl1vtAHhrk9a36Atsp6qeAKA54jvdsFDT0xMXy
GvVDIbHLDh3emp8w6k/CZkYxHNKcsjcdu0e+igF+qwftxyN+pvTojmywHB84ve33
fQ9w+6Hh/7jXxuM49cX8V9oB2Y2JmpzuepFjBfueTf4Yug8b1fz3zbQTq/TOx/IJ
e/LHkKk4qJO3t6MW39J0do0AW+QN3K2nCeGrlFpKuTalc2agZNUIgLwtAzWLpQ0o
mjQHaVakNw==
=U6FH
-----END PGP SIGNATURE-----
--- End Message ---