Roger,

I could reproduce the jp2metadata.py:44 and osr_basic.py:2027 errors, and I've fixed them with https://github.com/OSGeo/gdal/commit/49ef64108b6875e5b90a4fb6cadd089e84fe53c1

I don't know why you get the other errors. They all seem to be related to setting PROJ data. Isn't there some ghost PROJ_LIB variable set in your environment ?

Even

Le 12/03/2025 à 15:53, Roger Bivand via PROJ a écrit :
With RC2 and GDAL 3.10.2, when running ctest in the GDAL build directory, I'm 
seeing (updated Fedora 41):

The following tests FAILED:
          35 - test-osr-set-proj-search-paths (Failed)
          40 - autotest_gdrivers (Failed)
          43 - autotest_osr (Failed)
Errors while running CTest

RC1 had these problems too, but I waited to try ctest from GDAL 3.10.2 on my 
desktop todat rather than my laptop when RC1 was posted as more tests are 
active on the desktop. Should this cause concern? The failures include:

[ RUN      ] test_osr_set_proj_search_paths.test
/home/rsb/topics/gdal/gdal-3.10.2/autotest/cpp/test_osr_set_proj_search_paths.cpp:35:
 Failure
Expected: (ret) != (0), actual: 0 vs 0

     def test_jp2metadata_1():

         ds = gdal.Open("data/jpeg2000/erdas_foo.jp2")
         wkt = ds.GetProjectionRef()
         gt = ds.GetGeoTransform()
       assert wkt.startswith('PROJCS["ETRS89')
E       assert False
E        +  where False = <built-in method startswith of str object at 
0x55cf18512d90>('PROJCS["ETRS89')
E        +    where <built-in method startswith of str object at 0x55cf18512d90> = 'PROJCS["EUREF-FIN / 
TM35FIN(E,N)",GEOGCS["EUREF-FIN",DATUM["EUREF-FIN",SPHEROID["GRS 
1980",6378137,298.257222101,AUTH...ing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","3067"]]'.startswith

/home/rsb/topics/gdal/gdal-3.10.2/build/autotest/gdrivers/jp2metadata.py:44: 
AssertionError
FAILED gdrivers/jp2metadata.py::test_jp2metadata_1 - assert False

/home/rsb/topics/gdal/gdal-3.10.2/build/autotest/osr/osr_basic.py:1773: 
AssertionError
/home/rsb/topics/gdal/gdal-3.10.2/build/autotest/osr/osr_basic.py:1806: 
AssertionError
/home/rsb/topics/gdal/gdal-3.10.2/build/autotest/osr/osr_basic.py:2027: 
AssertionError
FAILED osr/osr_basic.py::test_SetPROJSearchPath - assert True == False
FAILED osr/osr_basic.py::test_Set_PROJ_DATA_config_option - assert True == False
FAILED 
osr/osr_basic.py::test_Set_PROJ_DATA_config_option_sub_proccess_config_option_ko
FAILED osr/osr_basic.py::test_osr_basic_is_dynamic - AssertionError: assert n...

Please indicate whether the full output of ctest --rerun-failed 
--output-on-failure would be useful.

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no
_______________________________________________
PROJ mailing list
PROJ@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/proj

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
PROJ mailing list
PROJ@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to