[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939418: marked as done (libpfm4 FTCBFS: rebuilds during make install for the wrong architecture)



Your message dated Wed, 04 Dec 2019 19:35:04 +0000
with message-id <E1icaQS-000ESW-4V@fasolo.debian.org>
and subject line Bug#939418: fixed in libpfm4 4.10.1+git20-g7700f49-1
has caused the Debian Bug report #939418,
regarding libpfm4 FTCBFS: rebuilds during make install for the wrong architecture
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 owner@bugs.debian.org
immediately.)


-- 
939418: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939418
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libpfm4
Version: 4.10.1+git14-g815ff28-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libpfm4 fails to cross build from source. It actually builds fine for
some architectures. For ppc64el, the archmap entry is missing though.
However during make install it rebuilds from scratch for the build
architecture, because the arch flag is not passed. The attached patch
fixes both and makes libpfm4 cross buildable at least for ppc64el.
Please consider applying the patch.

Helmut
diff --minimal -Nru libpfm4-4.10.1+git14-g815ff28/debian/changelog libpfm4-4.10.1+git14-g815ff28/debian/changelog
--- libpfm4-4.10.1+git14-g815ff28/debian/changelog	2019-08-14 16:04:02.000000000 +0200
+++ libpfm4-4.10.1+git14-g815ff28/debian/changelog	2019-09-04 20:36:33.000000000 +0200
@@ -1,3 +1,12 @@
+libpfm4 (4.10.1+git14-g815ff28-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS for ppc64el: (Closes: #-1)
+    + Pass LIBPFM4_ARCH_FLAG to make install to avoid a rebuild.
+    + Extecn LIBPFM4_ARCH_ map for ppc64el.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 04 Sep 2019 20:36:33 +0200
+
 libpfm4 (4.10.1+git14-g815ff28-1) unstable; urgency=medium
 
   * New upstream GIT snapshot.
diff --minimal -Nru libpfm4-4.10.1+git14-g815ff28/debian/rules libpfm4-4.10.1+git14-g815ff28/debian/rules
--- libpfm4-4.10.1+git14-g815ff28/debian/rules	2019-08-14 16:04:02.000000000 +0200
+++ libpfm4-4.10.1+git14-g815ff28/debian/rules	2019-09-04 20:36:33.000000000 +0200
@@ -19,6 +19,7 @@
 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)
 
@@ -38,7 +39,8 @@
 		DESTDIR=$(CURDIR)/debian/tmp \
 		PREFIX=/usr \
 		LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-		LDCONFIG=true
+		LDCONFIG=true \
+		$(LIBPFM4_ARCH_FLAG)
 
 override_dh_missing:
 	dh_missing --list-missing

--- End Message ---
--- Begin Message ---
Source: libpfm4
Source-Version: 4.10.1+git20-g7700f49-1

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 939418@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, 04 Dec 2019 20:07:57 +0100
Source: libpfm4
Architecture: source
Version: 4.10.1+git20-g7700f49-1
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 939418
Changes:
 libpfm4 (4.10.1+git20-g7700f49-1) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * New upstream GIT snapshot.
   * Add B-D: libncurses-dev.
   * reproducible.patch: New, do not use __DATE__.
   * typos.patch: Fix more typos found by Lintian.
   * [sparc]: UltraSPARC-III+/IIIi: Disable conflicting event with code 0x4.
   * Bump Standards-Version to 4.4.1. No changes needed.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS for ppc64el:  (Closes: #939418)
     + Pass LIBPFM4_ARCH_FLAG to make install to avoid a rebuild.
     + Extecn LIBPFM4_ARCH_ map for ppc64el.
Checksums-Sha1:
 444947b10dc87cf6e5135528958071adaf9e0a7c 2148 libpfm4_4.10.1+git20-g7700f49-1.dsc
 a10838b3b0f84f5e05a3d74166afbb775b2d7929 521204 libpfm4_4.10.1+git20-g7700f49.orig.tar.xz
 79ccbeb1adedc73a94891fd31df3cb4faf24cc2e 16460 libpfm4_4.10.1+git20-g7700f49-1.debian.tar.xz
 53602f203057de511ff8610ab2962698c53d2582 5276 libpfm4_4.10.1+git20-g7700f49-1_source.buildinfo
Checksums-Sha256:
 c1415d84f98c508af71801029d332383878dde5fa0f62ee2eaf6d418eab7b175 2148 libpfm4_4.10.1+git20-g7700f49-1.dsc
 00094cc041090460b0a92135018cf4579bce2bb4d3953d2dfa7a68db910a3d50 521204 libpfm4_4.10.1+git20-g7700f49.orig.tar.xz
 57c3e739076a1c326ea491cfc49515828ebbaddcaa7590874868b3e7d510eec5 16460 libpfm4_4.10.1+git20-g7700f49-1.debian.tar.xz
 1860cd7658ba4c5d5ef8d9e993cad16bb1bfd87333e7cfdd35164f56846f5127 5276 libpfm4_4.10.1+git20-g7700f49-1_source.buildinfo
Files:
 da21bb59ae61b763214f7dcb7277c8b1 2148 libs optional libpfm4_4.10.1+git20-g7700f49-1.dsc
 65dc0bb5f11f7323421c414f20b24ed8 521204 libs optional libpfm4_4.10.1+git20-g7700f49.orig.tar.xz
 d8b5084f52eaad4eb40b21ec1e982216 16460 libs optional libpfm4_4.10.1+git20-g7700f49-1.debian.tar.xz
 bf4afd1152c1a555332388a00bf217a7 5276 libs optional libpfm4_4.10.1+git20-g7700f49-1_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAl3oBe8QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCIWwEACWvtmkVhUjyEgjQifC48pNG7XAWzFV1R9f
GYXbxKm4C+H0tX3t3WE6Hf8oZmSe0CThdcLPB6UG31TcWtfpq1USJmTmrLTjDY5j
YSEZWzS/f5Govs8081XEBYK+daEdvOvLrxY5m74pCOwmGsg6QEr4v3kZayrk5384
ayXLgGKcqAHTc1pTZOu4ZWzTg8b0R4MHZsePeeDzZqlPd1/+COEcxx6651ZnNFzt
pngcU8mWyyOmhmPD/ckezPNtfe7psw0SxiKK9gqHjxELXnenv5+BEmXgO/FjZCKj
WXttB8X6BnVYFTNfI6NPryqzjm5buv8N2FZ6jLnkrbl20oPYTvJoYZvv1V06H7ci
WlPTUE+oTMVqFy4zQb8oPdNQqOvjkn2pwqIc13dX1TOtbHT/g5VVGSWiuVLZfT78
WAqLmO0iwrajhbm1Jfx+7cO/q60x7Hs/R9r9PqHFihOdOrYEQVzgDg6q3TtaCSBv
W3oulfIFiY1fSzzPBGJubYCYd+Ka6KYH4penTYKRaoN2czxasDtI22XjwN2imyff
kb+6f34KZuOgWEDNTJT/kEfzFzJrdlSM83uDPmKJDU6rddmBnfMnDq5nd7/4JHe7
qJ0sPWyLn2kUUu64PvZfpXliI7rtwnpPEgUlTE0ojB2LkyZGE+cUupjXu//i+b7S
1j9C7EPrdg==
=lecl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: