Package: acpica-unix
Version: 20140926-1
 
Building acpica-unix failes on my machine with german locale.
 
It happens in the step "Make-install all the provided test cases".

...
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20140926-64 [Oct  2 2017]
Copyright (c) 2000 - 2014 Intel Corporation
Ignoring all errors, forcing AML file generation
ASL Input:     badcode.asl - 401 lines, 6935 bytes, 79 keywords
AML Output:    badcode.aml - 1184 bytes, 60 named objects, 19 executable opcodes
Compilation complete. 46 Errors, 22 Warnings, 11 Remarks, 16 Optimizations
+ diff badcode badcode.asl.result
+ '[' 1 -eq 0 ']'
+ exit 1
make[2]: *** [check] Fehler 1
make[2]: Leaving directory `/home/markus/src/acpica-unix-20140926'
make[1]: *** [override_dh_auto_test] Fehler 2
make[1]: Leaving directory `/home/markus/src/acpica-unix-20140926'
make: *** [build] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
 
 
Reason: The contents of
src/acpica-unix-20140926/tests/misc/badcode
and
src/acpica-unix-20140926/tests/misc/badcode.asl.result
differ:
 
ASL Optimizing Compiler version 20140926-64 [Oct  2 2017]
vs.
ASL Optimizing Compiler version 20140926-64 [Okt  2 2017]
 
Note the different month name (english / german).
 
Solution: Export LC_TIME=C in debian/rules.
 
 
 
Markus
 
--- debian/rules.orig	2014-10-01 23:53:36.000000000 +0200
+++ debian/rules	2017-10-02 12:40:05.289191674 +0200
@@ -24,6 +24,7 @@
 	CC = gcc
 endif
 
+export LC_TIME=C
 
 %:
 	dh $@

Reply via email to