[Pkg-electronics-devel] Bug#845352: FTBFS in ru_RU.UTF-8 (tests fail)
Andrey Rahmatullin
wrar at debian.org
Tue Nov 22 17:57:36 UTC 2016
Package: src:pcb
Version: 20140316-3
Severity: important
I've just tried to rebuild the package on my host which has ru_RU.UTF-8 locale
and some tests fail.
It turns out setting LC_NUMERIC=C.UTF-8 is enough to make the build succeed.
Test: hid_gcode4
../../../src/pcbtest.sh -x gcode --iso-mill-depth 0.5
../../tests/inputs/gcode_oneline.pcb
--- /tmp/pcb_tests.22186/gcode_oneline-bottom.gcode-ref 2016-11-22
22:54:33.689204896 +0500
+++ /tmp/pcb_tests.22186/gcode_oneline-bottom.gcode-out 2016-11-22
22:54:33.689204896 +0500
@@ -5,5 +5,5 @@
(Tool diameter: 0.200000 mm)
#100=2.000000 (safe Z)
-#101=0.500000 (cutting depth)
+#101=0.000000 (cutting depth)
#102=25.000000 (plunge feedrate)
#103=50.000000 (feedrate)
--- /tmp/pcb_tests.22186/gcode_oneline-top.gcode-ref 2016-11-22
22:54:33.701204539 +0500
+++ /tmp/pcb_tests.22186/gcode_oneline-top.gcode-out 2016-11-22
22:54:33.701204539 +0500
@@ -5,5 +5,5 @@
(Tool diameter: 0.200000 mm)
#100=2.000000 (safe Z)
-#101=0.500000 (cutting depth)
+#101=0.000000 (cutting depth)
#102=25.000000 (plunge feedrate)
#103=50.000000 (feedrate)
FAIL
----------------------------------------------------------------------
Test: hid_gcode6
../../../src/pcbtest.sh -x gcode --iso-tool-diameter 0.4
../../tests/inputs/gcode_oneline.pcb
--- /tmp/pcb_tests.22186/gcode_oneline-bottom.gcode-ref 2016-11-22
22:54:33.893198850 +0500
+++ /tmp/pcb_tests.22186/gcode_oneline-bottom.gcode-out 2016-11-22
22:54:33.897198732 +0500
@@ -3,5 +3,5 @@
(Board size: 50.80 x 25.40 mm)
(Accuracy 600 dpi)
-(Tool diameter: 0.400000 mm)
+(Tool diameter: 0.000000 mm)
#100=2.000000 (safe Z)
#101=-0.050000 (cutting depth)
@@ -13,29 +13,30 @@
G0 Z#100
(polygon 1)
-G0 X27.728333 Y13.631333 (start point)
+G0 X27.770667 Y13.462000 (start point)
G1 Z#101 F#102
F#103
-G1 X27.347333 Y13.419667
-G1 X7.493000 Y13.419667
-G1 X7.112000 Y13.250333
-G1 X6.900333 Y12.911667
-G1 X6.900333 Y12.446000
-G1 X7.112000 Y12.107333
-G1 X7.493000 Y11.938000
-G1 X27.305000 Y11.938000
-G1 X27.770667 Y11.726333
-G1 X28.194000 Y11.768667
-G1 X28.575000 Y12.022667
-G1 X28.829000 Y12.403667
-G1 X28.829000 Y12.954000
-G1 X28.575000 Y13.335000
-G1 X28.194000 Y13.589000
-G1 X27.728333 Y13.631333
+G1 X27.516667 Y13.335000
+G1 X27.347333 Y13.208000
+G1 X7.408333 Y13.165667
+G1 X7.112000 Y12.869333
+G1 X7.112000 Y12.488333
+G1 X7.408333 Y12.192000
+G1 X27.347333 Y12.149667
+G1 X27.643667 Y11.938000
+G1 X27.940000 Y11.895667
+G1 X28.278667 Y11.980333
+G1 X28.532667 Y12.192000
+G1 X28.702000 Y12.530667
+G1 X28.702000 Y12.827000
+G1 X28.532667 Y13.165667
+G1 X28.321000 Y13.335000
+G1 X28.024667 Y13.462000
+G1 X27.770667 Y13.462000
G0 Z#100
-(polygon end, distance 45.99)
+(polygon end, distance 44.84)
(predrilling)
F#102
G81 X27.940000 Y12.700000 Z#101 R#100
(1 predrills)
-(milling distance 45.99mm = 1.81in)
+(milling distance 44.84mm = 1.77in)
M5 M9 M2
--- /tmp/pcb_tests.22186/gcode_oneline-top.gcode-ref 2016-11-22
22:54:33.905198495 +0500
+++ /tmp/pcb_tests.22186/gcode_oneline-top.gcode-out 2016-11-22
22:54:33.909198376 +0500
@@ -3,5 +3,5 @@
(Board size: 50.80 x 25.40 mm)
(Accuracy 600 dpi)
-(Tool diameter: 0.400000 mm)
+(Tool diameter: 0.000000 mm)
#100=2.000000 (safe Z)
#101=-0.050000 (cutting depth)
@@ -13,25 +13,26 @@
G0 Z#100
(polygon 1)
-G0 X22.690667 Y13.631333 (start point)
+G0 X22.733000 Y13.462000 (start point)
G1 Z#101 F#102
F#103
-G1 X22.309667 Y13.419667
-G1 X2.455333 Y13.419667
-G1 X2.074333 Y13.250333
-G1 X1.862667 Y12.911667
-G1 X1.862667 Y12.446000
-G1 X2.074333 Y12.107333
-G1 X2.455333 Y11.938000
-G1 X22.267333 Y11.938000
-G1 X22.733000 Y11.726333
-G1 X23.156333 Y11.768667
-G1 X23.537333 Y12.022667
-G1 X23.791333 Y12.403667
-G1 X23.791333 Y12.954000
-G1 X23.537333 Y13.335000
-G1 X23.156333 Y13.589000
-G1 X22.690667 Y13.631333
+G1 X22.479000 Y13.335000
+G1 X22.309667 Y13.208000
+G1 X2.370667 Y13.165667
+G1 X2.074333 Y12.869333
+G1 X2.074333 Y12.488333
+G1 X2.370667 Y12.192000
+G1 X22.309667 Y12.149667
+G1 X22.606000 Y11.938000
+G1 X22.902333 Y11.895667
+G1 X23.241000 Y11.980333
+G1 X23.495000 Y12.192000
+G1 X23.664333 Y12.530667
+G1 X23.664333 Y12.827000
+G1 X23.495000 Y13.165667
+G1 X23.283333 Y13.335000
+G1 X22.987000 Y13.462000
+G1 X22.733000 Y13.462000
G0 Z#100
-(polygon end, distance 45.99)
-(milling distance 45.99mm = 1.81in)
+(polygon end, distance 44.84)
+(milling distance 44.84mm = 1.77in)
M5 M9 M2
FAIL
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'),
(101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
More information about the Pkg-electronics-devel
mailing list