Test failures on non-amd64 architectures
sebastic opened this issue · 4 comments
The libgeotiff 1.5.1 Debian package failed to build on most non-amd64 architectures due to test failures, see:
https://buildd.debian.org/status/package.php?p=libgeotiff&suite=experimental
arm64, armel, armhf, mips, mips64el, mipsel, ppc64el, s390x, hppa, ppc64, riscv64, sparc64:
============================================
Running ../test/testlistgeo using ../bin/listgeo:
============================================
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
diff testlistgeo_out with testlistgeo_out.dist
--- testlistgeo_out 2019-04-01 19:17:58.480341513 +0000
+++ ../test/testlistgeo_out.dist 2019-03-25 15:31:36.000000000 +0000
@@ -221,11 +221,11 @@
Projection Linear Units: 9036/kilometre (1000.000000m)
Corner Coordinates:
-Upper Left ( 440720.000, 3751320.000) (2147483647d2147483647' inf"E,2147483647d2147483647' inf"N)
-Lower Left ( 440720.000, 3751260.000) (2147483647d2147483647' inf"E,2147483647d2147483647' inf"N)
-Upper Right ( 440780.000, 3751320.000) (2147483647d2147483647' inf"E,2147483647d2147483647' inf"N)
-Lower Right ( 440780.000, 3751260.000) (2147483647d2147483647' inf"E,2147483647d2147483647' inf"N)
-Center ( 440750.000, 3751290.000) (2147483647d2147483647' inf"E,2147483647d2147483647' inf"N)
+Upper Left ( 440720.000, 3751320.000) (-2147483648d-2147483648' inf"E,-2147483648d-2147483648' inf"N)
+Lower Left ( 440720.000, 3751260.000) (-2147483648d-2147483648' inf"E,-2147483648d-2147483648' inf"N)
+Upper Right ( 440780.000, 3751320.000) (-2147483648d-2147483648' inf"E,-2147483648d-2147483648' inf"N)
+Lower Right ( 440780.000, 3751260.000) (-2147483648d-2147483648' inf"E,-2147483648d-2147483648' inf"N)
+Center ( 440750.000, 3751290.000) (-2147483648d-2147483648' inf"E,-2147483648d-2147483648' inf"N)
Testing listgeo ../test/data/ProjectedCSTypeGeoKey_28191_cassini_soldner.tif
Geotiff_Information:
PROBLEMS HAVE OCCURRED
test file testlistgeo_out saved
i386:
============================================
Running ../test/testlistgeo using ../bin/listgeo:
============================================
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
diff testlistgeo_out with testlistgeo_out.dist
--- testlistgeo_out 2019-04-01 19:45:33.009738947 +0000
+++ ../test/testlistgeo_out.dist 2019-03-25 15:31:36.000000000 +0000
@@ -1429,7 +1429,7 @@
Projection = 17515 (South African Survey Grid zone 15)
Projection Method: CT_TransvMercator_SouthOrientated
ProjNatOriginLatGeoKey: 0.000000 ( 0d 0' 0.00"N)
- ProjNatOriginLongGeoKey: 15.000000 ( 15d 0' 0.00"E)
+ ProjNatOriginLongGeoKey: 15.000000 ( 14d60' 0.00"E)
ProjScaleAtNatOriginGeoKey: 1.000000
ProjFalseEastingGeoKey: 0.000000 m
ProjFalseNorthingGeoKey: 0.000000 m
@@ -1791,7 +1791,7 @@
PCS = 3410 (NSIDC EASE-Grid Global)
Projection = 19869 (US NSIDC Equal Area global projection)
Projection Method: CT_CylindricalEqualArea
- ProjStdParallel1GeoKey: 30.000000 ( 30d 0' 0.00"N)
+ ProjStdParallel1GeoKey: 30.000000 ( 29d60' 0.00"N)
ProjNatOriginLongGeoKey: 0.000000 ( 0d 0' 0.00"E)
ProjFalseEastingGeoKey: 0.000000 m
ProjFalseNorthingGeoKey: 0.000000 m
PROBLEMS HAVE OCCURRED
test file testlistgeo_out saved
I applied the patches created from those 2 commits, but I still seem to be having problems getting the unit tests to pass. Can you take a look?
If this is an unrelated issue, let me know and I can open another issue. This issue occurred for me on macOS:
$ uname -a
Darwin Vesuvius 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
I still seem to be having problems getting the unit tests to pass
Those are definitely not alarming. Not sure why in your build you got absolute file paths. Anyway, I've committed a76c686 which should avoid that issue.
@rouault Thanks, that solved the issue for me! All tests pass with flying colors on macOS 10.14.5.