Building and testing with CGAL cgal-devel-5.4 failed in holes_disjoint and is_valid_unknown_polygon(p, t)
Hello, at openSUSE in Tumbleweed we already have CGAL version 5.4-1.1
The build finish successfully but the test run failed with the following message
[ 1537s] Executing(%check): /usr/bin/bash -e /var/tmp/rpm-tmp.stVANj
[ 1537s] + umask 022
[ 1537s] + cd /home/abuild/rpmbuild/BUILD
[ 1537s] + cd SFCGAL-v1.4.1
[ 1537s] + LD_LIBRARY_PATH=/home/abuild/rpmbuild/BUILDROOT/sfcgal-1.4.1-0.x86_64/usr/lib64
[ 1537s] + /home/abuild/rpmbuild/BUILDROOT/sfcgal-1.4.1-0.x86_64/usr/bin/unit-test-SFCGAL
[ 1537s] Running 596 test cases...
[ 1537s] CGAL warning: check violation!
[ 1537s] Expression : holes_disjoint
[ 1537s] File : /usr/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h
[ 1537s] Line : 793
[ 1537s] Explanation: Holes of the PWH intersect amongst themselves or with outer boundary
[ 1537s] Refer to the bug-reporting instructions at https://www.cgal.org/bug_report.html
[ 1537s] CGAL error: precondition violation!
[ 1537s] Expression : is_valid_unknown_polygon(p, t)
[ 1537s] File : /usr/include/CGAL/General_polygon_set_on_surface_2.h
[ 1537s] Line : 39
[ 1537s] Explanation:
[ 1537s] Refer to the bug-reporting instructions at https://www.cgal.org/bug_report.html
[ 1537s] unknown location(0): fatal error: in "SFCGAL_algorithm_DifferenceTest/testDifferencePolygonPolygon2D": CGAL::Precondition_exception: CGAL ERROR: precondition violation!
[ 1537s] Expr: is_valid_unknown_polygon(p, t)
[ 1537s] File: /usr/include/CGAL/General_polygon_set_on_surface_2.h
[ 1537s] Line: 39
[ 1537s] /home/abuild/rpmbuild/BUILD/SFCGAL-v1.4.1/test/unit/SFCGAL/algorithm/DifferenceTest.cpp(135): last checkpoint
[ 1545s]
[ 1545s] *** 1 failure is detected in the test module "UnitTestSFCGAL"
[ 1545s] error: Bad exit status from /var/tmp/rpm-tmp.stVANj (%check)
Full log can be found here Full build x86_64
Source and spec visible here sfcgal package
Any idea how to get ride of this error ?
Edited by Bruno Friedmann