Bug#976540: clippoly: FTBFS: dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2

2020-12-15 Thread Barak A. Pearlmutter
The latest upload fails test on more architectures, making me suspect
that fancy new compiler tech may be involved. Chained floating point
operations keeping guard digits inappropriately or something like
that, perhaps.

In all bad cases, test0 passes, and both test1 and test2 fail, both with:

clippolytest: graphadd.cc:149: void recursive_intersection(const
hvec2_t&, const hvec2_t&, const hvec2_t&, const hvec2_t&, hvec2_t&):
Assertion `inp_ort(q,s1) <= 0' failed.

This is the same assertion that failed on a single platform (Longsoon)
years ago, reported in 762669, so I'm tempted to merge the reports.

Not sure what the next step should be. This may require attention from
someone who understands the bit-level float hackery being used, which
is pretty specialised stuff.



Bug#976540: clippoly: FTBFS: dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2

2020-12-05 Thread Lucas Nussbaum
Source: clippoly
Version: 0.11-9
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
> make[4]: Entering directory '/<>'
> FAIL: test1
> PASS: test0
> FAIL: test2
> =
>polygon clipping library 0.11: ./test-suite.log
> =
> 
> # TOTAL: 3
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: test1
> ===
> 
> clippolytest: graphadd.cc:149: void recursive_intersection(const hvec2_t&, 
> const hvec2_t&, const hvec2_t&, const hvec2_t&, hvec2_t&): Assertion 
> `inp_ort(q,s1) <= 0' failed.
> 1,33d0
> < a_min_b:
> < -6  12
> < -5.4662612
> < -5.9383411.312
> < -6  11.2067
> < PolyMagic
> < -5.5301 -12
> < -6  -12
> < -6  -11.312
> < PolyMagic
> < b_min_a:
> < -5.4662612
> < -4.832  12.9244
> < -4.89627-12.928
> < -5.5301 -12
> < -5  -12
> < -5  12
> < PolyMagic
> < -6  -11.312
> < -6  -11.312
> < -6.04   -11.2436
> < -6.04   11.1384
> < -6  11.2067
> < PolyMagic
> < a_and_b:
> < -5.4662612
> < -5  12
> < -5  -12
> < -5.5301 -12
> < -6  -11.312
> < -6  11.2067
> < -5.9383411.312
> < PolyMagic
> Aborted
> FAIL test1 (exit status: 1)
> 
> FAIL: test2
> ===
> 
> clippolytest: graphadd.cc:149: void recursive_intersection(const hvec2_t&, 
> const hvec2_t&, const hvec2_t&, const hvec2_t&, hvec2_t&): Assertion 
> `inp_ort(q,s1) <= 0' failed.
> Aborted
> 1,95d0
> < a_min_b:
> < -6  12
> < -5.4662612
> < -5.9383411.312
> < -6  11.2067
> < PolyMagic
> < -5.5301 -12
> < -6  -12
> < -6  -11.312
> < PolyMagic
> < b_min_a:
> < -5.4662612
> < -4.832  12.9244
> < -4.8288512.928
> < -3.624  14.1869
> < -3.1451414.544
> < -2.416  15.0613
> < -1.208  15.6049
> < 8.39233e-07 15.8506
> < 1.208   15.8152
> < 2.416   15.4939
> < 3.624   14.8603
> < 4.02824 14.544
> < 4.832   13.8738
> < 5.6628  12.928
> < 6.0412.445
> < 6.75703 11.312
> < 7.248   10.3872
> < 7.56974 9.696
> < 8.18386 8.08
> < 8.456   7.16038
> < 8.65207 6.464
> < 8.99688 4.848
> < 9.23066 3.232
> < 9.36429 1.616
> < 9.40401 2.28882e-07
> < 9.35181 -1.616
> < 9.2057  -3.232
> < 8.95942 -4.848
> < 8.60211 -6.464
> < 8.456   -6.97339
> < 8.12306 -8.08
> < 7.49846 -9.696
> < 7.248   -10.2324
> < 6.67539 -11.312
> < 6.04-12.321
> < 5.571   -12.928
> < 4.832   -13.7805
> < 3.93656 -14.544
> < 3.624   -14.7944
> < 2.416   -15.455
> < 1.208   -15.8009
> < 8.39233e-07 -15.8592
> < -1.208  -15.6349
> < -2.416  -15.1119
> < -3.23094-14.544
> < -3.624  -14.2559
> < -4.832  -13.0111
> < -4.89627-12.928
> < -5.5301 -12
> < 6   -12
> < 6   12
> < PolyMagic
> < -6  -11.312
> < -6  -11.312
> < -6.04   -11.2436
> < -6.81734-9.696
> < -7.248  -8.62322
> < -7.44863-8.08
> < -7.92721-6.464
> < -8.27778-4.848
> < -8.456  -3.65266
> < -8.51912-3.232
> < -8.66272-1.616
> < -8.707242.28882e-07
> < -8.654711.616
> < -8.502923.232
> < -8.456  3.53513
> < -8.254174.848
> < -7.895216.464
> < -7.407698.08
> < -7.248  8.50826
> < -6.767529.696
> < -6.04   11.1384
> < -6  11.2067
> < PolyMagic
> < a_and_b:
> < -5.4662612
> < 6   12
> < 6   -12
> < -5.5301 -12
> < -6  -11.312
> < -6  11.2067
> < -5.9383411.312
> < PolyMagic
> FAIL test2 (exit status: 1)
> 
> 
> Testsuite summary for polygon clipping library 0.11
> 
> # TOTAL: 3
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> 
> See ./test-suite.log
> Please report to kla...@mi.el.utwente.nl
> 
> make[4]: *** [Makefile:959: test-suite.log] Error 1
> make[4]: Leaving directory '/<>'
> make[3]: *** [Makefile:1067: check-TESTS] Error 2
> make[3]: Leaving directory '/<>'
> make[2]: *** [Makefile:1294: check-am] Error 2
> make[2]: Leaving directory '/<>'
> dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/clippoly_0.11-9_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs