Open ratzupaltuff opened 1 year ago
I tried your updated AUR file on Arch Linux. The results were:;
The license problem is the subject of PR #2089, which has been merged to the master branch on GitHub as commit 72ea2139 Licensing: Find GDAL license on Arch Linux
The
A change in PROJ 8.2 led to this problem.
Mapper 0.9.5 is the latest release and does not have these fixes.
Mapper 0.9.5 is the latest release and does not have these fixes.
AUR packages built on OBS:
Thank you @pkturner.
I checked OBS when you opened the issue, but I had to learn that the Arch build fails there, too. I will try to fix this.
Steps to reproduce
build() { cd ${_pkgname}-${pkgver}
rm -rf build mkdir -p build cd build
cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLICENSING_PROVIDER=arch \ -DMapper_PACKAGE_NAME=${pkgname} \ -Wno-dev cmake --build . }
check() { cd ${_pkgname}-${pkgver}/build
cmake --build . --target test }
package() { cd ${_pkgname}-${pkgver}/build
DESTDIR=${pkgdir}/ cmake --build . --target install }
23/28 Testing: template_t 23/28 Test: template_t Command: "/usr/bin/cmake" "-P" "template_t-RUN.cmake" Directory: /home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/build/test "template_t" start time: Nov 08 00:25 CET Output:
Start testing of TemplateTest Config: Using QtTest library 5.15.7, Qt 5.15.7 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 12.2.0), arch unknown PASS : TemplateTest::initTestCase() PASS : TemplateTest::gdalUtilTest() PASS : TemplateTest::worldFilePathTest() PASS : TemplateTest::worldFileUnitTest() PASS : TemplateTest::worldFileTemplateTest() PASS : TemplateTest::templatePathTest() PASS : TemplateTest::templateImageDrawableTest() ERROR 4: гео.tiff: No such file or directory PASS : TemplateTest::geoTiffTemplateTest() PASS : TemplateTest::geoTiffSRSTest() PASS : TemplateTest::templateTrackTest(TemplateTrack georef) PASS : TemplateTest::templateTrackTest(TemplateTrack non-georef) PASS : TemplateTest::templateTrackTest(TemplateTrack OGR georef) PASS : TemplateTest::templateTrackTest(TemplateTrack OGR non-georef) FAIL! : TemplateTest::templateTrackTest(TemplateTrack NAD83) Compared values are not the same Actual (center(temp)) : QPointF(-154.599,172.28) Expected (expected_center): QPointF(-154.274,172.377) Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(456)] FAIL! : TemplateTest::templateTrackTest(OgrTemplate NAD83) Compared values are not the same Actual (center(temp)) : QPointF(-154.599,172.28) Expected (expected_center): QPointF(-154.274,172.377) Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(456)] XPASS : TemplateTest::templateTrackTest(TemplateTrack from v0.8.4) 'true' returned TRUE unexpectedly. (Centers do match) Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(458)] FAIL! : TemplateTest::templateTrackTest(TemplateTrack from v0.9.3) Compared values are not the same Actual (center(temp)) : QPointF(-154.599,172.28) Expected (expected_center): QPointF(-154.36,172.429) Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(456)] Warning 1: +init=epsg:XXXX syntax is deprecated. It might return a CRS with a non-EPSG compliant axis order. PASS : TemplateTest::ogrTemplateTest(TemplateTrack georef) PASS : TemplateTest::ogrTemplateTest(TemplateTrack non-georef) PASS : TemplateTest::ogrTemplateTest(TemplateTrack OGR georef) PASS : TemplateTest::ogrTemplateTest(TemplateTrack OGR non-georef) PASS : TemplateTest::ogrTemplateTest(OgrTemplate basic) PASS : TemplateTest::ogrTemplateTest(OgrTemplate compatibility) XFAIL : TemplateTest::ogrTemplateTest(TemplateTrack NAD83) Unsupported WGS 84 -> NAD 83 transformation Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(501)] PASS : TemplateTest::ogrTemplateTest(TemplateTrack NAD83) XFAIL : TemplateTest::ogrTemplateTest(OgrTemplate NAD83) Unsupported WGS 84 -> NAD 83 transformation Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(501)] PASS : TemplateTest::ogrTemplateTest(OgrTemplate NAD83) ERROR 4: template-track-NA-2019.gpx: No such file or directory PASS : TemplateTest::ogrTemplateTest(TemplateTrack from v0.8.4) PASS : TemplateTest::ogrTemplateTest(OGRTemplate from v0.9.3) PASS : TemplateTest::ogrTemplateGeoreferencingTest() PASS : TemplateTest::templateTypesConsistentTest(TemplateTrack georef) PASS : TemplateTest::templateTypesConsistentTest(OgrTemplate georef) XPASS : TemplateTest::templateTypesConsistentTest(TemplateTrack NAD83) 'true' returned TRUE unexpectedly. (Centers do match) Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(577)] XPASS : TemplateTest::templateTypesConsistentTest(OgrTemplate NAD83) 'true' returned TRUE unexpectedly. (Centers do match) Loc: [/home/tuff/.cache/yay/openorienteering-mapper/src/mapper-0.9.5/test/template_t.cpp(577)] PASS : TemplateTest::templateRotationTest(TemplateImage world file) PASS : TemplateTest::templateRotationTest(TemplateTrack georef) PASS : TemplateTest::templateRotationTest(TemplateTrack non-georef) ERROR 4: гео.tiff: No such file or directory PASS : TemplateTest::templateRotationTest(GdalImage geotiff) PASS : TemplateTest::templateRotationTest(OgrTemplate basic) PASS : TemplateTest::templateRotationTest(OgrTemplate compatibility) PASS : TemplateTest::asyncLoadingTest(TemplateImage) PASS : TemplateTest::asyncLoadingTest(TemplateTrack georef) PASS : TemplateTest::asyncLoadingTest(TemplateTrack non-georef) PASS : TemplateTest::asyncLoadingTest(OgrTemplate basic) PASS : TemplateTest::asyncLoadingTest(OgrTemplate compatibility) PASS : TemplateTest::templateTableModelTest() PASS : TemplateTest::cleanupTestCase() Totals: 39 passed, 6 failed, 0 skipped, 0 blacklisted, 7115ms Finished testing of TemplateTest CMake Error at template_t-RUN.cmake:35 (message): Test template_t failed: 6