OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.89k stars 2.54k forks source link

3.2.0: perl module test suite is failing #3144

Closed kloczek closed 4 years ago

kloczek commented 4 years ago
+ LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILDROOT/gdal-3.2.0-2.fc34.x86_64/usr/lib64
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C swig/perl test
/usr/bin/make -f Makefile_Geo__GDAL
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GDAL.bs blib/arch/auto/Geo/GDAL/GDAL.bs 644
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
Manifying 1 pod document
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
/usr/bin/make -f Makefile_Geo__GDAL__Const
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Const.bs blib/arch/auto/Geo/GDAL/Const/Const.bs 644
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
Manifying 1 pod document
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
/usr/bin/make -f Makefile_Geo__OSR
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- OSR.bs blib/arch/auto/Geo/OSR/OSR.bs 644
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
Manifying 1 pod document
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
if [ -f Makefile_Geo__OGR ]; then /usr/bin/make -f Makefile_Geo__OGR; fi
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- OGR.bs blib/arch/auto/Geo/OGR/OGR.bs 644
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
Manifying 1 pod document
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
if [ -f Makefile_Geo__GNM ]; then /usr/bin/make -f Makefile_Geo__GNM; fi
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GNM.bs blib/arch/auto/Geo/GNM/GNM.bs 644
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
Manifying 1 pod document
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
/usr/bin/make -f Makefile_Geo__GDAL test
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GDAL.bs blib/arch/auto/Geo/GDAL/GDAL.bs 644
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-measures-00.t .. ok
t/00-measures-01.t .. ok
t/00-measures-02.t .. ok
t/00-measures-03.t .. ok
t/00-measures-04.t .. ok
t/00.t .............. ok
t/01.t .............. ok
t/02.t .............. ok
t/03.t .............. ok
t/alg.t ............. ok
t/band.t ............ ok
t/callback.t ........ ok
t/dataset.t ......... ok
t/error.t ........... ok
t/extent.t .......... ok
t/feature.t ......... ok
t/gcp.t ............. ok
t/gdal.t ............ ok
t/geom.t ............ ok
t/geotransform.t .... ok
t/layer.t ........... ok
t/nodata.t .......... ok
t/ogr.t ............. ok
t/open.t ............ ok

#   Failed test 'new EPSG, Text, Proj4'
#   at t/osr.t line 9.
# Looks like you failed 1 test of 6.
t/osr.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
t/parenting.t ....... ok
t/pdl.t ............. ok
t/utf8.t ............ ok
t/util.t ............ ok

Test Summary Report
-------------------
t/osr.t           (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=29, Tests=3467,  6 wallclock secs ( 0.40 usr  0.06 sys +  5.18 cusr  0.78 csys =  6.42 CPU)
Result: FAIL
Failed 1/29 test programs. 1/3467 subtests failed.
make[1]: *** [Makefile_Geo__GDAL:1002: test_dynamic] Error 255
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.2.0/swig/perl'
make: *** [GNUmakefile:34: test] Error 2
ajolma commented 4 years ago

Proj4 seems to indicate that the test may be outdated.

Anyway, the Perl bindings should slowly retire in favor of https://metacpan.org/release/Geo-GDAL-FFI

kloczek commented 4 years ago

Just in case summary output of the configure script:

GDAL is now configured for x86_64-redhat-linux-gnu

  Installation directory:    /usr
  C compiler:                gcc -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fvisibility=hidden
  C++ compiler:              g++ -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fvisibility=hidden
  C++14 support:             no

  LIBTOOL support:           yes

  LIBZ support:              external
  libdeflate support:        no
  LIBLZMA support:           yes
  ZSTD support:              yes
  cryptopp support:          no
  crypto/openssl support:    yes
  GRASS support:             no
  CFITSIO support:           external
  PCRaster support:          internal
  LIBPNG support:            external
  DDS support:               no
  GTA support:               yes
  LIBTIFF support:           external (BigTIFF=yes)
  LIBGEOTIFF support:        external
  LIBJPEG support:           external
  12 bit JPEG:               no
  12 bit JPEG-in-TIFF:       no
  LIBGIF support:            external
  JPEG-Lossless/CharLS:      yes
  OGDI support:              yes
  HDF4 support:              no
  HDF5 support:              yes
  Kea support:               no
  NetCDF support:            no
  Kakadu support:            no
  JasPer support:            yes (GeoJP2=no)
  OpenJPEG support:          yes
  ECW support:               no
  MrSID support:             no
  MrSID/MG4 Lidar support:   no
  JP2Lura support:           no
  MSG support:               no
  EPSILON support:           no
  WebP support:              yes
  cURL support (wms/wcs/...):yes
  PostgreSQL support:        yes
  LERC support:              yes
  MySQL support:             yes
  Ingres support:            no
  Xerces-C support:          yes
  Expat support:             yes
  libxml2 support:           yes
  Google libkml support:     yes
  ODBC support:              yes
  FGDB support:              no
  MDB support:               no
  PCIDSK support:            internal
  OCI support:               no
  GEORASTER support:         no
  Rasdaman support:          no
  RDB support:               no
  DODS support:              yes
  SQLite support:            yes
  PCRE support:              yes
  SpatiaLite support:        yes
  RasterLite2 support:       no
  Teigha (DWG and DGNv8):    no
  INFORMIX DataBlade support:no
  GEOS support:              yes
  SFCGAL support:            no
  QHull support:             external
  Poppler support:           yes
  Podofo support:            no
  PDFium support:            no
  OpenCL support:            no
  Armadillo support:         yes
  FreeXL support:            yes
  SOSI support:              no
  MongoDB support:           no
  MongoCXX v3 support:       no
  HDFS support:              no
  TileDB support:            no
  EXR support:               yes
  HEIF support:              no
  userfaultfd support:       yes
  misc. gdal formats:        aaigrid adrg aigrid airsar arg blx bmp bsb cals ceos ceos2 coasp cosar ctg dimap dted e00grid elas envisat ers esric fit gff gsg gxf hf2 idrisi ignfheightasciigrid ilwis ingr iris iso8211 jaxapalsar jdem kmlsuperoverlay l1b leveller map mrf msgn ngsgeoid nitf northwood pds prf r raw rmf rs2 safe saga sdts sentinel2 sgi sigdem srtmhgt terragen tga til tsx usgsdem xpm xyz zmap rik ozi eeda plmosaic rda wcs wms wmts daas ogcapi rasterlite mbtiles grib pdf
  disabled gdal formats:
  misc. ogr formats:         aeronavfaa arcgen avc bna cad csv dgn dxf edigeo flatgeobuf geoconcept georss gml gmt gpsbabel gpx gtm htf jml mapml mvt ntf openair openfilegdb pgdump rec s57 segukooa segy selafin shape sua svg sxf tiger vdv wasp xplane idrisi pds sdts amigocloud carto cloudant couchdb csw elastic ngw plscenes wfs gpkg vfk osm nas ili gmlas ods xlsx lvbag odbc pgeo mssqlspatial geomedia walk
  disabled ogr formats:

  SWIG Bindings:             no

  PROJ >= 6:                 yes
  enable GNM building:       yes
  enable pthread support:    yes
  enable POSIX iconv support:yes
  hide internal symbols:     yes