Bug#903237: openorienteering-mapper: FTBFS with Qt 5.11.1 in experimental due to tests

2018-07-08 Thread Kai Pastor, DG0YT

Am 08.07.2018 um 06:03 schrieb Simon Quigley:

Source: openorienteering-mapper
Version: 0.8.1.1-1
Severity: important
User: debian-qt-...@lists.debian.org
Usertags: qt5.11.1

Dear Maintainer,

Your package fails to build from source against Qt 5.11.1 in 
Experimental with the following error:


...

16: Test command: /usr/bin/cmake "-P" "transform_t-RUN.cmake"
16: Test timeout computed to be: 1000
16: * Start testing of TransformTest *
16: Config: Using QtTest library 5.11.1, Qt 5.11.1 
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)

16: PASS   : TransformTest::initTestCase()
16: PASS   : TransformTest::testTransformBasics()
16: PASS   : TransformTest::testTransformIdentity()
16: PASS   : TransformTest::testTransformTranslate()
16: PASS   : TransformTest::testTransformProject()
16: PASS   : TransformTest::testTransformRotate(No rotation)
16: PASS   : TransformTest::testTransformRotate(90 deg)
16: PASS   : TransformTest::testTransformRotate(180 deg)
16: PASS   : TransformTest::testTransformRotate(200 deg)
16: PASS   : TransformTest::testTransformRotate(270 deg)
16: PASS   : TransformTest::testTransformCombined(No rotation)
16: PASS   : TransformTest::testTransformCombined(90 deg)
16: PASS   : TransformTest::testTransformCombined(180 deg)
16: PASS   : TransformTest::testTransformCombined(200 deg)
16: PASS   : TransformTest::testTransformCombined(270 deg)
16: PASS   : TransformTest::testTransformRoundTrip(No rotation)
16: PASS   : TransformTest::testTransformRoundTrip(90 deg)
16: PASS   : TransformTest::testTransformRoundTrip(180 deg)
16: PASS   : TransformTest::testTransformRoundTrip(-160 deg)
16: PASS   : TransformTest::testTransformRoundTrip(-90 deg)
16: PASS   : TransformTest::testEstimateNonIsometric()
16: FAIL!  : TransformTest::testEstimateSimilarityTransformation() 
Compared values are not the same
16:    Actual   (QPointF(passpoints[0].calculated_coords)): 
QPointF(1.95943e-15,-32)
16:    Expected (QPointF(passpoints[0].dest_coords))  : 
QPointF(0,-32)

16:    Loc: [/<>/test/transform_t.cpp(368)]
16: PASS   : TransformTest::cleanupTestCase()
16: Totals: 22 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
16: * Finished testing of TransformTest *
16: CMake Error at transform_t-RUN.cmake:35 (message):
16:   Test transform_t failed: 1
16: 
I see this error since a few weeks in our builds for Fedora Rawhide and 
openSUSE Tumbleweed on OBS. What fails is a fuzzy comparison close to 
zero. It is not triggered by a change in openorienteering-mapper: 
1.95943e-15 is the actual value also in builds that succeed.


I was able to track this down to a change in Qt 5.11.1, and left a 
comment there: https://codereview.qt-project.org/#/c/227223/


The Qt bug may trigger more apps to FTBFS.

Kai (upstream)



Bug#903237: openorienteering-mapper: FTBFS with Qt 5.11.1 in experimental due to tests

2018-07-07 Thread Simon Quigley

Source: openorienteering-mapper
Version: 0.8.1.1-1
Severity: important
User: debian-qt-...@lists.debian.org
Usertags: qt5.11.1

Dear Maintainer,

Your package fails to build from source against Qt 5.11.1 in 
Experimental with the following error:


Test project /<>/obj-x86_64-linux-gnu
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
  Start  1: tst_qglobal

1: Test command: /usr/bin/cmake "-P" "tst_qglobal-RUN.cmake"
1: Test timeout computed to be: 1000
1: * Start testing of tst_QGlobal *
1: Config: Using QtTest library 5.11.1, Qt 5.11.1 
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)

1: PASS   : tst_QGlobal::initTestCase()
1: PASS   : tst_QGlobal::testqOverload()
1: PASS   : tst_QGlobal::cleanupTestCase()
1: Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
1: * Finished testing of tst_QGlobal *
 1/17 Test  #1: tst_qglobal ..   Passed0.06 sec
test 2
  Start  2: encoding_t

2: Test command: /usr/bin/cmake "-P" "encoding_t-RUN.cmake"
2: Test timeout computed to be: 1000
2: * Start testing of EncodingTest *
2: Config: Using QtTest library 5.11.1, Qt 5.11.1 
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)

2: PASS   : EncodingTest::initTestCase()
2: PASS   : EncodingTest::testCodepageForLanguage(cs)
2: PASS   : EncodingTest::testCodepageForLanguage(cs_x)
2: PASS   : EncodingTest::testCodepageForLanguage(ru)
2: PASS   : EncodingTest::testCodepageForLanguage(ru_RU)
2: PASS   : EncodingTest::testCodepageForLanguage(de)
2: PASS   : EncodingTest::testCodepageForLanguage(??)
2: PASS   : EncodingTest::testCodecForName()
2: PASS   : EncodingTest::cleanupTestCase()
2: Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 4ms
2: * Finished testing of EncodingTest *
 2/17 Test  #2: encoding_t ...   Passed0.06 sec
test 3
  Start  3: georeferencing_t

3: Test command: /usr/bin/cmake "-P" "georeferencing_t-RUN.cmake"
3: Test timeout computed to be: 1000
3: * Start testing of GeoreferencingTest *
3: Config: Using QtTest library 5.11.1, Qt 5.11.1 
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)

3: PASS   : GeoreferencingTest::initTestCase()
3: PASS   : GeoreferencingTest::testEmptyProjectedCRS()
3: PASS   : GeoreferencingTest::testGridScaleFactor()
3: PASS   : GeoreferencingTest::testCRS(EPSG:4326)
3: PASS   : GeoreferencingTest::testCRS(UTM)
3: PASS   : GeoreferencingTest::testCRSTemplates()
3: PASS   : GeoreferencingTest::testProjection(LVermGeo RLP Koblenz UTM)
3: PASS   : GeoreferencingTest::testProjection(LVermGeo RLP Koblenz GK3)
3: PASS   : GeoreferencingTest::testProjection(LVermGeo RLP Pruem UTM)
3: PASS   : GeoreferencingTest::testProjection(LVermGeo RLP Pruem GK2)
3: PASS   : GeoreferencingTest::testProjection(LVermGeo RLP Landau UTM)
3: PASS   : GeoreferencingTest::testProjection(LVermGeo RLP Landau GK3)
3: PASS   : GeoreferencingTest::testProjection(EPSG 5514 ČÚZK Dolní 
Temenice)

3: PASS   : GeoreferencingTest::cleanupTestCase()
3: Totals: 14 passed, 0 failed, 0 skipped, 0 blacklisted, 8ms
3: * Finished testing of GeoreferencingTest *
 3/17 Test  #3: georeferencing_t .   Passed0.07 sec
test 4
  Start  4: locale_t

4: Test command: /usr/bin/cmake "-P" "locale_t-RUN.cmake"
4: Test timeout computed to be: 1000
4: * Start testing of LocaleTest *
4: Config: Using QtTest library 5.11.1, Qt 5.11.1 
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)

4: PASS   : LocaleTest::initTestCase()
4: XFAIL  : LocaleTest::testEsperantoQLocale() Cannot construct 
Esperanto QLocale from "eo" (issue #792).

4:Loc: [/<>/test/locale_t.cpp(57)]
4: XFAIL  : LocaleTest::testEsperantoQLocale() Cannot construct 
Esperanto QLocale from "eo_C".

4:Loc: [/<>/test/locale_t.cpp(60)]
4: XFAIL  : LocaleTest::testEsperantoQLocale() Cannot construct 
Esperanto QLocale for AnyScript, AnyCountry.

4:Loc: [/<>/test/locale_t.cpp(63)]
4: PASS   : LocaleTest::testEsperantoQLocale()
4: PASS   : LocaleTest::testEsperantoTranslationUtil()
4: PASS   : LocaleTest::cleanupTestCase()
4: Totals: 4 passed, 0 failed, 0 skipped, 0 blacklisted, 1ms
4: * Finished testing of LocaleTest *
 4/17 Test  #4: locale_t .   Passed0.05 sec
test 5
  Start  5: map_color_t

5: Test command: /usr/bin/cmake "-P" "map_color_t-RUN.cmake"
5: Test timeout computed to be: 1000
5: * Start testing of MapColorTest *
5: Config: Using QtTest library 5.11.1, Qt 5.11.1 
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)

5: PASS   : MapColorTest::initTestCase()
5: PASS   : MapColorTest::constructorTest()
5: PASS