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

Bug#1086649: cpuinfo: FTBFS: The following tests FAILED: 1 - init-test (Failed)



Ok, this is my proposal for a "sponsored upload".

Please tell me if it's ok for you.

If it is ok, my next step will be to file the bug
against release.debian.org and upload the package
for bookworm (hopefully in time for Debian 12.9),
with the exact same debdiff I'm attaching now.

Thanks.
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-chen@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:

Reply to: