Your message dated Thu, 18 Nov 2021 07:03:33 +0000
with message-id <[email protected]>
and subject line Bug#999880: fixed in cpufetch 1.0+git20211101+a5b321a9668f-1
has caused the Debian Bug report #999880,
regarding cpufetch FTCBFS: uses uname to detect host cpu
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.)


-- 
999880: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999880
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cpufetch
Version: 0.98-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

cpufetch fails to cross build from source, because it uses uname to
figure out the host architecture cpu, but uname returns information
about the build architecture. A better way is to use cc -dumpmachine.
Please consider applying the attached patch.

Helmut
--- cpufetch-0.98.orig/Makefile
+++ cpufetch-0.98/Makefile
@@ -11,8 +11,8 @@
 COMMON_HDR = $(SRC_COMMON)ascii.h $(SRC_COMMON)cpu.h $(SRC_COMMON)udev.h $(SRC_COMMON)printer.h $(SRC_COMMON)args.h $(SRC_COMMON)global.h
 
 ifneq ($(OS),Windows_NT)
-	arch := $(shell uname -m)
-	ifeq ($(arch), $(filter $(arch), x86_64 i686))
+	arch := $(shell $(CC) -dumpmachine)
+	ifeq ($(arch), $(filter x86_64-% i686-%,$(arch)))
 		SRC_DIR=src/x86/
 		SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c
 		HEADERS += $(COMMON_HDR) $(SRC_DIR)cpuid.h $(SRC_DIR)apic.h $(SRC_DIR)cpuid_asm.h $(SRC_DIR)uarch.h

--- End Message ---
--- Begin Message ---
Source: cpufetch
Source-Version: 1.0+git20211101+a5b321a9668f-1
Done: Clay Stan <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cpufetch, 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.
Clay Stan <[email protected]> (supplier of updated cpufetch 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: Thu, 18 Nov 2021 13:56:19 +0800
Source: cpufetch
Architecture: source
Version: 1.0+git20211101+a5b321a9668f-1
Distribution: unstable
Urgency: medium
Maintainer: Clay Stan <[email protected]>
Changed-By: Clay Stan <[email protected]>
Closes: 998722 999880
Changes:
 cpufetch (1.0+git20211101+a5b321a9668f-1) unstable; urgency=medium
 .
   * Newest upstream commit a5b321a9668f.
   * Some known bugs may be fixed.
   * use_cc_dumpmachine (Closes: #999880).
   * bug 998722 fixed-upstream (Closes: 998722).
Checksums-Sha1:
 e75014f4017222d64e4abda5069c6ea860f5c828 1992 
cpufetch_1.0+git20211101+a5b321a9668f-1.dsc
 4d921dfd3114621be770c33842d64b937a45667d 2758437 
cpufetch_1.0+git20211101+a5b321a9668f.orig.tar.gz
 aae1faf6a46f89205fff1ef31c9b55d211795948 4068 
cpufetch_1.0+git20211101+a5b321a9668f-1.debian.tar.xz
 f4fabfc8175e9052c8aff7d8880c0d0f94a20586 6154 
cpufetch_1.0+git20211101+a5b321a9668f-1_amd64.buildinfo
Checksums-Sha256:
 118ce2f343cc4ad3e2a100f1aeb929267e1e4173fab0cb07600b9f1daa5a018a 1992 
cpufetch_1.0+git20211101+a5b321a9668f-1.dsc
 66efa4f7e42c3209e145066c8eff7e3a5b92c2bfc540956fa0fd6848678b8fba 2758437 
cpufetch_1.0+git20211101+a5b321a9668f.orig.tar.gz
 eace5954d9fe952a900f7d92a2909106f9d68e55a6692fbdd28e8bdb1a0414f6 4068 
cpufetch_1.0+git20211101+a5b321a9668f-1.debian.tar.xz
 5a9721295543adc93b767ede90054966bb4e2eae5489beb5f5522f02bfe48202 6154 
cpufetch_1.0+git20211101+a5b321a9668f-1_amd64.buildinfo
Files:
 a726bfb48580e935f2ecfabc32c48dd3 1992 utils optional 
cpufetch_1.0+git20211101+a5b321a9668f-1.dsc
 2fb64fa421873e2bf5f424a75a49de60 2758437 utils optional 
cpufetch_1.0+git20211101+a5b321a9668f.orig.tar.gz
 d5ad14cc6e661f37c4675530c859e3cd 4068 utils optional 
cpufetch_1.0+git20211101+a5b321a9668f-1.debian.tar.xz
 427f5730065d80a304eb864049e60488 6154 utils optional 
cpufetch_1.0+git20211101+a5b321a9668f-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEERYjLWMuJNfrH3QLQI8D8YLBAvsMFAmGV9soACgkQI8D8YLBA
vsO96A/+K1y8xU4C3c/xjTUqvIH58UwgsA7l4zYjjkv0mrJhFbvAFz/3Bcn0GlK/
QDwxnsz3rSjNKOwtgVvKDGAax2zKab4s9rbWlM7H1q+MQK7AdsiEneNGu+QQs39Q
QjtRicyiJ9wPsBP+TdiN9B+mEyllIvvQWsOm0+ImurK8aHdCK3XyNdndgn5m+ESx
/NRPpkYPlgVJqbjbRsaWEKmLDxeEfs/QogwN5juiX1Lql08Ln3yj2DwX4hhLBvI0
ijsaoR5KHpcWTvt4YzlL9hov7uEdXS29oZ9d40nLNPcyyUDUi+JvF+nZi6D6ewOn
0efRtNPvWAMI/asjVGDq0ZI7x5s9iBuaNKNJkWiVeQjs2B19ce9CRl7msOGnywOv
wRPvxAl0bP1CdrZg7QPwIMeMbgb3MHZtIP1paERNZi7LVmBM6nl8G7AEFYHyyZjs
HXaK5iid6eozD1mcKm+/Nk2AzmdJR5y2pN5gfXOiiPFJfficIjm+a7NPyRHPtzzg
OWi5yplw5SF+HyJefH3d3GMqKgnzI+daFWGNl63WzhByGDaFSUNf4cdn29o+ccb8
jpy24XYgl2xW9//gL+aKykKrpM/GyXXU/5EfNl149un9c13njb3D9EwcoKASUx/i
jQvA2TUCgDm1vy2YHR5ZfqcvZd944H9FS8DHzVFcVgVd0iMU6jg=
=yuFI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to