Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: cpui...@packages.debian.org, sanv...@debian.org
Control: affects -1 + src:cpuinfo
[ Reason ]
This is a fix for FTBFS bug #1086649, in which the build fails
in dh_auto_tests when the running CPU is not "recognized".
[ Impact ]
Anybody trying to build the package with new enough hardware might
unexpectedly find that the package does not build from source.
[ Tests ]
I've tested that the package builds again on the systems where it
used to fail.
[ Risks ]
Very low.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in (old)stable
[X] the issue is verified as fixed in unstable
[ Changes ]
The only change is to prefix the dh_auto_test line
with an hyphen, as it was done already in unstable, so that
a test failure does not make the build to fail.
[ Other info ]
- This is a sponsored upload (not a NMU), and it's done
with agreement of the maintainers.
- I'll wait for confirmation from you before upload.
diff -Nru cpuinfo-0.0~git20220617.082deff/debian/changelog
cpuinfo-0.0~git20220617.082deff/debian/changelog
--- cpuinfo-0.0~git20220617.082deff/debian/changelog 2022-06-24
06:53:07.000000000 +0200
+++ cpuinfo-0.0~git20220617.082deff/debian/changelog 2024-12-30
18:30:00.000000000 +0100
@@ -1,3 +1,11 @@
+cpuinfo (0.0~git20220617.082deff-1+deb12u1) bookworm; urgency=medium
+
+ * Team upload.
+ * Ignore exit status of dh_auto_test, allowing the package to be
+ built on systems where the CPU is not recognized. Closes: #1086649.
+
+ -- Shengqi Chen <harry-c...@outlook.com> Mon, 30 Dec 2024 18:30:00 +0100
+
cpuinfo (0.0~git20220617.082deff-1) unstable; urgency=medium
* New upstream version 0.0~git20220617.082deff
diff -Nru cpuinfo-0.0~git20220617.082deff/debian/rules
cpuinfo-0.0~git20220617.082deff/debian/rules
--- cpuinfo-0.0~git20220617.082deff/debian/rules 2022-06-24
06:45:14.000000000 +0200
+++ cpuinfo-0.0~git20220617.082deff/debian/rules 2024-12-30
18:30:00.000000000 +0100
@@ -16,7 +16,7 @@
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
if [ -r /proc/cpuinfo ]; then cat /proc/cpuinfo ; else false; fi
if [ -x ./$(shell ls -d obj-*)/cpuid-dump ]; then ./$(shell ls -d
obj-*)/cpuid-dump; fi
- LD_LIBRARY_PATH=$(shell pwd)/$(shell ls -d obj-*) dh_auto_test
+ -LD_LIBRARY_PATH=$(shell pwd)/$(shell ls -d obj-*) dh_auto_test
endif
override_dh_missing: