[gdal-dev] GDAL 2.3.3 rc2 available
Even Rouault
even.rouault at spatialys.com
Sat Dec 15 00:44:24 PST 2018
Marco,
A few remarks:
1) Please build with ./configure --with-proj[=/path/to/proj/prefix]
so that classic linking is done, and GDAL doesn't have to guess the exact name
of the shared object. The dlopen() loading of it is deprecated and will be
completely removed in GDAL 2.5.0
2) the absence of PROJ during the tests is known to break many tests
3) Some of the messages you get are expected. Some tests emit warnings /
errors on purposs and miss silencing them (or sometimes it is not possible to
silence). With GDAL 2.4 and the refactoring of the autotest suite with pytest,
such verbosity is eliminated
4) cygwin is not really "supported", that is we don't have any continuous
integration for it, and anything not tested doesn't work (that's my mantra).
5) For the ogr_index errors you get, looking a bit at the case I see code like
the following in ogr/ogrsf_frmts/mitab/mitab_miffile.cpp
#ifndef _WIN32
/*-----------------------------------------------------------------
* On Unix, make sure extension uses the right cases
* We do it even for write access because if a file with the same
* extension already exists we want to overwrite it.
*----------------------------------------------------------------*/
TABAdjustFilenameExtension(pszTmpFname);
#endif
I suspect that the _WIN32 macro is defined for Cygwin, so the case adjustement
is not done, whereas it should since Cygwin is probably case sensitive.
I guess the ogr_mitab_6 crash you get is related since the ogr_index involves
mapinfo indexes.
Thanks for your testing,
Even
> Am 14.12.2018 um 16:54 schrieb Even Rouault:
> > Hi,
> >
> > Just fixing the issue that Bas noted.
> >
> > The source is available at:
> > http://download.osgeo.org/gdal/2.3.3/gdal-2.3.3rc2.tar.xz
>
> builds fine as usual on cygwin but the autotest has some problems.
> It always had, I never completed them, but this time I decided to look
> in more depth.
>
> Extract of output:
>
> ----------------------------------------------------
> $ grep TEST run_all.log | grep -v "success" | grep -v skip
> TEST: ogr_carto_vsimem ... Warning 1: Cannot register table in
> dashboard with cdb_cartodbfytable() since its SRS is not EPSG:4326
> TEST: ogr_couchdb_init ... HTTP service for http://127.0.0.1:5984 is
> down (HTTP Error: [Errno 111] Connection refused)
> TEST: ogr_csv_18 ... WKT,foo,bar
> TEST: ogr_dxf_43 ... Warning 1: Dangerous block recursion detected.
> Some blocks have not been inserted.
> TEST: ogr_gxt_3 ... ERROR 1: Line 9, Missing fields (at least 5 are
> expected, 1 found).
> TEST: ogr_geojson_13 ... {
> TEST: ogr_geom_polyhedral_surface ... ERROR 6: SFCGAL support not
> enabled.
> TEST: ogr_geom_tin ... ERROR 6: SFCGAL support not enabled.
> TEST: ogr_gft_read ... ERROR 1: HTTP error code : 401
> TEST: ogr_gml_11 ... Touching .gfs file
> TEST: ogr_gml_59 ... Touching .gfs file
> TEST: ogr_gml_60 ... ERROR 1: Could not resolve host: not_existing_host
> TEST: ogr_gml_61 ... Touching .gfs file
> TEST: ogr_gpkg_15 ... cannot load libproj.so, proj.dll, proj-9.dll,
> libproj-0.dll, libproj-10.dll, cygproj-10.dll or libproj.dylib
> TEST: ogr_gpkg_18 ... fail
> TEST: ogr_gpkg_cleanup ... ['ogr_gpkg_18.gpkg']
> TEST: ogr_gpsbabel_init ... Cannot access GPSBabel utility
> TEST: ogr_index_1 ... ERROR 3: Failed to parse field definition in
> file index_p.mif
> TEST: ogr_index_3 ... Traceback (most recent call last):
> TEST: ogr_index_8 ... Traceback (most recent call last):
> TEST: ogr_index_cleanup ... ERROR 3: Failed to parse field definition
> in file index_p.mif
> TEST: ogr_mitab_3 ... ERROR 3: Failed to parse field definition at
> line 14 in file tmp/tpoly.tab
> TEST: ogr_mitab_6 ... Segmentation fault (core dumped)
> --------------------------------------------------------
>
> ogr_mitab_6
> the SEG Fault makes the test sequence to stop at all so
> nothing is available after. This is a weakness of using python
> to recorsive run the tests.
>
>
> ogr_gpkg_15
> is not aware that last shared lib is cygproj-13.dll
> for proj-5.x but the final result is "success" so I am puzzled,
> it passed or failed ?
> When I added the proper cygproj-13.dll to osr/osr_proj4.py
> than it is fine. The funny thing is that there were never a
> "libproj-10.dll", "cygproj-10.dll" as the API sequences was 9, 12, 13
> so a different method should be used
>
>
> In most of the other cases the test results is in rows below,
> that makes wondering if a test polishing is needed to avoid
> the extra output or if the "success" is misleading
>
> ----------------------------------------------------------
> TEST: ogr_carto_vsimem ... Warning 1: Cannot register table in
> dashboard with cdb_cartodbfytable() since its SRS is not EPSG:4326
> success
>
> TEST: ogr_couchdb_init ... HTTP service for http://127.0.0.1:5984 is
> down (HTTP Error: [Errno 111] Connection refused)
> cannot open http://127.0.0.1:5984
> skip
>
> TEST: ogr_csv_18 ... WKT,foo,bar
> "POINT (0 1)",bar,baz
> success
>
> TEST: ogr_dxf_43 ... Warning 1: Dangerous block recursion detected.
> Some blocks have not been inserted.
> Warning 1: Dangerous block recursion detected. Some blocks have not been
> inserted.
> success
>
> TEST: ogr_gxt_3 ... ERROR 1: Line 9, Missing fields (at least 5 are
> expected, 1 found).
> ERROR 1: Line 9, Missing fields (at least 5 are expected, 1 found).
> ERROR 1: Line 9, Missing fields (at least 5 are expected, 1 found).
> success
>
> TEST: ogr_geojson_13 ... {
> "type": "FeatureCollection",
> "name": "gjpoint",
> "features": [
> { "type": "Feature", "properties": { "FID": 1.0, "NAME": "Point 1" },
> "geometry": { "type": "Point", "coordinates": [ 100.0, 0.0 ] } }
> ]
> }
> success
>
> TEST: ogr_geom_polyhedral_surface ... ERROR 6: SFCGAL support not
> enabled.
> success
>
> TEST: ogr_geom_tin ... ERROR 6: SFCGAL support not enabled.
> success
>
> TEST: ogr_gml_11 ... Touching .gfs file
> success
>
> TEST: ogr_gml_59 ... Touching .gfs file
> success
>
> TEST: ogr_gml_60 ... ERROR 1: Could not resolve host: not_existing_host
> success
>
> TEST: ogr_gml_61 ... Touching .gfs file
> success
>
> TEST: ogr_index_cleanup ... ERROR 3: Failed to parse field definition
> in file index_p.mif
> ERROR 6: COLUMNS keyword not found or invalid number of columns read in
> index_p.mif. File may be corrupt.
> success
> ------------------------------------------------------------
>
>
> The real errors seem
>
> TEST: ogr_index_1 ... ERROR 3: Failed to parse field definition in
> file index_p.mif
> ERROR 6: COLUMNS keyword not found or invalid number of columns read in
> index_p.mif. File may be corrupt.
> Traceback (most recent call last):
> File "pymod/gdaltest_python2.py", line 43, in run_func
> result = func()
> File "./ogr_index_test.py", line 80, in ogr_index_1
> gdaltest.p_lyr = gdaltest.p_ds.GetLayerByName('index_p')
> AttributeError: 'NoneType' object has no attribute 'GetLayerByName'
> fail (blowup)
>
> TEST: ogr_index_3 ... Traceback (most recent call last):
> File "pymod/gdaltest_python2.py", line 43, in run_func
> result = func()
> File "./ogr_index_test.py", line 124, in ogr_index_3
> sql_lyr = gdaltest.p_ds.ExecuteSQL(
> AttributeError: 'NoneType' object has no attribute 'ExecuteSQL'
> fail (blowup)
>
> TEST: ogr_index_8 ... Traceback (most recent call last):
> File "pymod/gdaltest_python2.py", line 43, in run_func
> result = func()
> File "./ogr_index_test.py", line 213, in ogr_index_8
> sql_lyr = gdaltest.p_ds.ExecuteSQL(
> AttributeError: 'NoneType' object has no attribute 'ExecuteSQL'
> fail (blowup)
>
> TEST: ogr_mitab_3 ... ERROR 3: Failed to parse field definition at
> line 14 in file tmp/tpoly.tab
> Traceback (most recent call last):
> File "pymod/gdaltest_python2.py", line 43, in run_func
> result = func()
> File "./ogr_mitab.py", line 124, in ogr_mitab_3
> gdaltest.mapinfo_lyr = gdaltest.mapinfo_ds.GetLayer(0)
> AttributeError: 'NoneType' object has no attribute 'GetLayer'
> fail (blowup)
>
> TEST: ogr_mitab_6 ... Segmentation fault (core dumped)
> --------------------------------------------------
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list