Skip to content

gdal: 3.12.4 -> 3.13.1 - #518799

Merged
vcunat merged 1 commit into
NixOS:staging-nextfrom
dotlambda:gdal
Jul 8, 2026
Merged

vcunat merged 1 commit into
NixOS:staging-nextfrom
dotlambda:gdal

Conversation

@dotlambda

@dotlambda dotlambda commented May 10, 2026 •

Copy link
Copy Markdown
Member

Diff: OSGeo/gdal@v3.12.4...v3.13.1

Changelog: https://github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md

fixes CVE-2026-8084, CVE-2026-8086, CVE-2026-8087, CVE-2026-8088

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@dotlambda dotlambda added 1.severity: security Issues which raise a security issue, or PRs that fix one backport release-25.11 labels May 10, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team May 10, 2026 18:56
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels May 10, 2026
@sikmir sikmir moved this to 👀 In review in Geospatial Team May 11, 2026
@dotlambda

This comment was marked as outdated.

@dotlambda

This comment was marked as outdated.

@dotlambda

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 518799
Commit: 4952c94eca841414ac43b6473d7c17d71441bc11


x86_64-linux

❌ 150 packages failed to build:
  • ants
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • appcsxcad
  • c3d
  • cloudcompare
  • csxcad
  • elastix
  • elmerfem
  • entwine
  • exhibit
  • ezminc
  • f3d
  • freecad
  • froide
  • gdalMinimal
  • gdcm
  • gplates
  • grass
  • howdy
  • itk (itk_5)
  • itk_5_2
  • linux-enable-ir-emitter
  • mirtk
  • mrtrix
  • octavePackages.dicom
  • openems
  • optiland
  • otb
  • overturemaps
  • paraview
  • parmmg
  • pcl
  • pdal
  • postgresql14Packages.postgis
  • postgresql15Packages.postgis
  • postgresql16Packages.postgis
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresql18Packages.postgis
  • pyspread
  • python313Packages.bsuite
  • python313Packages.cartopy
  • python313Packages.dicom2nifti
  • python313Packages.f3d
  • python313Packages.fast-simplification
  • python313Packages.fiona
  • python313Packages.firedrake
  • python313Packages.folium
  • python313Packages.gdcm
  • python313Packages.geoarrow-pyarrow
  • python313Packages.geodatasets
  • python313Packages.geopandas
  • python313Packages.geoparquet
  • python313Packages.gstools
  • python313Packages.inequality
  • python313Packages.itk
  • python313Packages.libpysal
  • python313Packages.lida
  • python313Packages.mapclassify
  • python313Packages.mayavi
  • python313Packages.medpy
  • python313Packages.medvol
  • python313Packages.momepy
  • python313Packages.msticpy
  • python313Packages.multiscale-spatial-image
  • python313Packages.napari-nifti
  • python313Packages.ngff-zarr
  • python313Packages.odc-geo
  • python313Packages.odc-loader
  • python313Packages.odc-stac
  • python313Packages.opencv4Full
  • python313Packages.optiland
  • python313Packages.osmnx
  • python313Packages.pandera
  • python313Packages.plotnine
  • python313Packages.pykrige
  • python313Packages.pymedio
  • python313Packages.pyogrio
  • python313Packages.pyotb
  • python313Packages.pyradiomics
  • python313Packages.python-csxcad
  • python313Packages.pyvista
  • python313Packages.shimmy
  • python313Packages.simpleitk
  • python313Packages.streamlit-folium
  • python313Packages.torchio
  • python313Packages.vmas
  • python313Packages.vtk
  • python313Packages.wktutils
  • python314Packages.bsuite
  • python314Packages.cartopy
  • python314Packages.dicom2nifti
  • python314Packages.f3d
  • python314Packages.fast-simplification
  • python314Packages.fiona
  • python314Packages.firedrake
  • python314Packages.folium
  • python314Packages.gdcm
  • python314Packages.geoarrow-pyarrow
  • python314Packages.geodatasets
  • python314Packages.geopandas
  • python314Packages.geoparquet
  • python314Packages.gstools
  • python314Packages.inequality
  • python314Packages.itk
  • python314Packages.libpysal
  • python314Packages.lida
  • python314Packages.mapclassify
  • python314Packages.mayavi
  • python314Packages.medpy
  • python314Packages.medvol
  • python314Packages.momepy
  • python314Packages.msticpy
  • python314Packages.multiscale-spatial-image
  • python314Packages.napari-nifti
  • python314Packages.ngff-zarr
  • python314Packages.odc-geo
  • python314Packages.odc-loader
  • python314Packages.odc-stac
  • python314Packages.opencv4Full
  • python314Packages.optiland
  • python314Packages.osmnx
  • python314Packages.pandera
  • python314Packages.plotnine
  • python314Packages.pykrige
  • python314Packages.pymedio
  • python314Packages.pyogrio
  • python314Packages.pyotb
  • python314Packages.pyradiomics
  • python314Packages.python-csxcad
  • python314Packages.pyvista
  • python314Packages.simpleitk
  • python314Packages.streamlit-folium
  • python314Packages.torchio
  • python314Packages.vtk
  • python314Packages.wktutils
  • qcsxcad
  • qgis
  • qgis-ltr
  • rtabmap
  • saga
  • simpleitk
  • supercell-wx
  • therion
  • umap
  • vpv
  • vtk (vtk_9_5)
  • vtk-dicom
  • vtk-full
  • vtkWithQt6
  • vtk_9_6
✅ 47 packages built:
  • froide-govplan
  • gdal (python313Packages.gdal)
  • gmt
  • haskellPackages.hgdal
  • mapcache
  • mapnik
  • mapproxy
  • mapserver
  • merkaartor
  • mysql-workbench
  • ocamlPackages.gdal (ocamlPackages_latest.gdal)
  • octavePackages.mapping
  • openorienteering-mapper
  • osmscout-server
  • perlPackages.Tirex (perl5Packages.Tirex)
  • python313Packages.async-geotiff
  • python313Packages.async-tiff
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap5
  • python313Packages.drf-extra-fields
  • python313Packages.morecantile
  • python313Packages.netbox-documents
  • python313Packages.pygmt
  • python313Packages.rasterio
  • python313Packages.rio-stac
  • python313Packages.rio-tiler
  • python313Packages.rioxarray
  • python314Packages.async-geotiff
  • python314Packages.async-tiff
  • python314Packages.django-bootstrap4
  • python314Packages.django-bootstrap5
  • python314Packages.drf-extra-fields
  • python314Packages.gdal
  • python314Packages.morecantile
  • python314Packages.netbox-documents
  • python314Packages.pygmt
  • python314Packages.rasterio
  • python314Packages.rio-stac
  • python314Packages.rio-tiler
  • python314Packages.rioxarray
  • pytrainer
  • qmapshack
  • sumo
  • survex
  • tunnelx
  • udig
  • valhalla

Error logs: `x86_64-linux`
apacheHttpdPackages.mod_tile
        Start 329: bad_httpd_config_22
329/333 Test #329: bad_httpd_config_22 ...................................................   Passed    0.04 sec
        Start 330: bad_httpd_config_23
330/333 Test #330: bad_httpd_config_23 ...................................................   Passed    0.05 sec
        Start 331: bad_httpd_config_24
331/333 Test #331: bad_httpd_config_24 ...................................................   Passed    0.04 sec
        Start 332: bad_httpd_config_25
332/333 Test #332: bad_httpd_config_25 ...................................................   Passed    0.05 sec
        Start 333: bad_httpd_config_26
333/333 Test #333: bad_httpd_config_26 ...................................................   Passed    0.05 sec

99% tests passed, 2 tests failed out of 333

Total Test time (real) = 507.29 sec

The following tests FAILED:
13 - render_expired_sock_file (Timeout)
14 - render_expired_config_sock_file (Timeout)
Errors while running CTest
make: *** [Makefile:91: test] Error 8

gdalMinimal
            gdal.VSIStatL(tmp_path / "simple_sharding.zarr" / "zarr.json.gmac") is not None
        )
E       AssertionError: assert None is not None
E        +  where None = <function VSIStatL at 0x7ffff636e5c0>(((PosixPath('/build/pytest-of-nixbld/pytest-0/test_zarr_read_simple_sharding0') / 'simple_sharding.zarr') / 'zarr.json.gmac'))
E        +    where <function VSIStatL at 0x7ffff636e5c0> = gdal.VSIStatL

/build/source/build/autotest/gdrivers/zarr_driver.py:6420: AssertionError
=============================== warnings summary ===============================
pyscripts/gdal2tiles/test_logger.py::test_gdal2tiles_logger
pyscripts/gdal2tiles/test_vsimem.py::test_gdal2tiles_vsimem
/nix/store/rp798pm44s2ldw471dbi1afrf0zz5ndm-gdal-minimal-3.13.0/lib/python3.13/site-packages/osgeo_utils/gdal2tiles.py:4749: DeprecationWarning: --legacy mode is deprecated and will be removed in GDAL 3.15. If you find yourself to need legacy mode and cannot find workarounds using 'gdal raster tile', please file a ticket at https://github.com/OSGeo/GDAL
warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED gdrivers/zarr_driver.py::test_zarr_read_simple_sharding - AssertionError: assert None is not None

  • where None = <function VSIStatL at 0x7ffff636e5c0>(((PosixPath('/build/pytest-of-nixbld/pytest-0/test_zarr_read_simple_sharding0') / 'simple_sharding.zarr') / 'zarr.json.gmac'))
  • where <function VSIStatL at 0x7ffff636e5c0> = gdal.VSIStatL
    = 1 failed, 18625 passed, 3708 skipped, 46 deselected, 5 xfailed, 2 warnings in 641.01s (0:10:41) =
    100 - done.
gplates
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /nix/store/w5q9xah926s4ipz0j8v6ll9b81jny7rr-boost-1.89.0-dev/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
Could not find a package configuration file provided by "boost_system"
(requested version 1.89.0) with any of the following names:

boost_systemConfig.cmake
boost_system-config.cmake

Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
"boost_system_DIR" to a directory containing one of the above files. If
"boost_system" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/nix/store/w5q9xah926s4ipz0j8v6ll9b81jny7rr-boost-1.89.0-dev/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/nix/store/v2i1hgv567g3v91im5x4g5bff52143i0-cmake-4.1.2/share/cmake-4.1/Modules/FindBoost.cmake:609 (find_package)
src/CMakeLists.txt:203 (find_package)

-- Configuring incomplete, errors occurred!

pdal
      |                                      CSLConstList {aka const char* const*}
[ 52%] Building CXX object CMakeFiles/pdalcpp.dir/pdal/private/gdal/SpatialRef.cpp.o
[ 52%] Building CXX object CMakeFiles/pdalcpp.dir/pdal/util/private/BacktraceNone.cpp.o
make[2]: *** [CMakeFiles/pdalcpp.dir/build.make:3789: CMakeFiles/pdalcpp.dir/pdal/private/gdal/Raster.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /build/source/vendor/eigen/Eigen/SVD:36,
                 from /build/source/vendor/eigen/Eigen/Dense:5,
                 from /build/source/pdal/private/MathUtils.hpp:45,
                 from /build/source/pdal/private/MathUtils.cpp:46:
In member function 'Eigen::SVDBase<MatrixType>::Index Eigen::SVDBase<MatrixType>::rank() const [with Derived = Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3>, 2>]',
    inlined from 'uint8_t pdal::math::computeRank(const pdal::PointView&, const pdal::PointIdList&, double)' at /build/source/pdal/private/MathUtils.cpp:204:41:
/build/source/vendor/eigen/Eigen/src/SVD/SVDBase.h:154:15: warning: 'svd.Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::<unnamed>.Eigen::SVDBase<Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3>, 2> >::m_nonzeroSingularValues' may be used uninitialized [-Wmaybe-uninitialized]
  154 |     Index i = m_nonzeroSingularValues-1;
      |               ^~~~~~~~~~~~~~~~~~~~~~~
/build/source/pdal/private/MathUtils.cpp: In function 'uint8_t pdal::math::computeRank(const pdal::PointView&, const pdal::PointIdList&, double)':
/build/source/pdal/private/MathUtils.cpp:201:25: note: 'svd' declared here
  201 |     JacobiSVD<Matrix3d> svd(B);
      |                         ^~~
make[1]: *** [CMakeFiles/Makefile2:1052: CMakeFiles/pdalcpp.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
python313Packages.cartopy
FAILED tests/mpl/test_axes.py::test_geoaxes_no_subslice - Failed: Error: Image files did not match.
FAILED tests/mpl/test_axes.py::test_geoaxes_set_boundary_clipping - Failed: Error: Image files did not match.
FAILED tests/mpl/test_contour.py::test_plot_after_contour_doesnt_shrink[contour] - AssertionError: 
FAILED tests/mpl/test_gridliner.py::test_gridliner_labels_zoom - assert [<cartopy.mpl...0240e50>, ...] == [<cartopy.mpl...0240e50>, ...]
FAILED tests/mpl/test_images.py::test_imshow - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_stock_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_pil_Image - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_background_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_mpl_integration.py::test_cursor_values - AssertionError: assert b'-181.5, 50 ... 178.500000E)' == b'-181.5, 50 ... 1...
FAILED tests/mpl/test_pseudo_color.py::test_pcolormesh_datalim - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_extents - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_get_extent - AssertionError: 
FAILED tests/mpl/test_ticker.py::test_LatitudeFormatter_mercator - AssertionError: assert ['79.8166°S',....7746°N', ...] == ['80°S', '60°..., ...
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_y_domain - AssertionError: 
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_xy_domain_corner - AssertionError: 
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[InterruptedGoodeHomolosine] - assert 3148724.315906706 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[Mollweide] - assert 0.0 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_tiny_point_between_boundary_points - AssertionError: Got area 85832.84574015415, expecting ~81336
FAILED tests/test_vector_transform.py::Test_vector_scalar_to_grid::test_with_transform - AssertionError: 
= 39 failed, 625 passed, 7 skipped, 219 deselected, 2 xfailed, 7 warnings in 63.74s (0:01:03) =
python313Packages.fiona
DEBUG    fiona.collection:collection.py:662 Stopped session
=============================== warnings summary ===============================
../../nix/store/knyfkx7w226glp7lv29063mhk39ynpj4-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:161
  /nix/store/knyfkx7w226glp7lv29063mhk39ynpj4-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:161: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
    op = oneOf(" ".join(op_map.keys())).set_parse_action(

../../nix/store/knyfkx7w226glp7lv29063mhk39ynpj4-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:180
/nix/store/knyfkx7w226glp7lv29063mhk39ynpj4-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:180: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_collection.py::test_open_kwargs - assert '"coordinates": [ [ [ -111.74, 42.0 ], [ -111.66, 42.0 ]' in '{\n"ty...
FAILED tests/test_fio_rm.py::test_remove[GeoJSON] - assert 1 == 0
FAILED tests/test_remove.py::test_remove[GeoJSON-path-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-path-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_subtypes.py::test_write_bool_subtype - assert '"bool": true' in '{\n"type": "FeatureCollection",\n"name": "test_wr...
= 7 failed, 1463 passed, 11 skipped, 580 deselected, 1 xfailed, 2 warnings in 53.31s =

python313Packages.pyogrio
        filename = tmp_path / "test.geojson"
    # default nan_as_null=True
    write(filename, geometry, field_data, fields, **meta)
    with open(filename) as f:
        content = f.read()

> assert '{ "col": null }' in content
E assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test",\n"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:O...[0.0,0.0]}},\n{"type":"Feature","properties":{"col":null},"geometry":{"type":"Point","coordinates":[0.0,0.0]}}\n]\n}\n'

pyogrio/tests/test_raw_io.py:1057: AssertionError
=============================== warnings summary ===============================
pyogrio/tests/test_raw_io.py::test_write_gdalclose_error
/build/source/pyogrio/raw.py:733: RuntimeWarning: HTTP response code on https://non-existing-bucket.s3.us-east-1.amazonaws.com/test.geojson: 0
ogr_write(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float32] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float64] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
===== 2 failed, 304 passed, 69 skipped, 6 deselected, 1 warning in 10.54s ======

python314Packages.cartopy
FAILED tests/mpl/test_axes.py::test_geoaxes_no_subslice - Failed: Error: Image files did not match.
FAILED tests/mpl/test_axes.py::test_geoaxes_set_boundary_clipping - Failed: Error: Image files did not match.
FAILED tests/mpl/test_contour.py::test_plot_after_contour_doesnt_shrink[contour] - AssertionError: 
FAILED tests/mpl/test_gridliner.py::test_gridliner_labels_zoom - assert [<cartopy.mpl...b74c0c0>, ...] == [<cartopy.mpl...b74c0c0>, ...]
FAILED tests/mpl/test_images.py::test_imshow - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_stock_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_pil_Image - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_background_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_mpl_integration.py::test_cursor_values - AssertionError: assert b'-181.5, 50 ... 178.500000E)' == b'-181.5, 50 ... 1...
FAILED tests/mpl/test_pseudo_color.py::test_pcolormesh_datalim - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_extents - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_get_extent - AssertionError: 
FAILED tests/mpl/test_ticker.py::test_LatitudeFormatter_mercator - AssertionError: assert ['79.8166°S',....7746°N', ...] == ['80°S', '60°..., ...
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_y_domain - AssertionError: 
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_xy_domain_corner - AssertionError: 
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[InterruptedGoodeHomolosine] - assert 3148724.315906706 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[Mollweide] - assert 0.0 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_tiny_point_between_boundary_points - AssertionError: Got area 85832.84574015415, expecting ~81336
FAILED tests/test_vector_transform.py::Test_vector_scalar_to_grid::test_with_transform - AssertionError: 
= 39 failed, 625 passed, 7 skipped, 219 deselected, 2 xfailed, 7 warnings in 51.30s =
python314Packages.fiona
DEBUG    fiona.collection:collection.py:662 Stopped session
=============================== warnings summary ===============================
../../nix/store/idmajcgdx2s7jr5jwblh2gp2c0f7232v-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:161
  /nix/store/idmajcgdx2s7jr5jwblh2gp2c0f7232v-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:161: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
    op = oneOf(" ".join(op_map.keys())).set_parse_action(

../../nix/store/idmajcgdx2s7jr5jwblh2gp2c0f7232v-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:180
/nix/store/idmajcgdx2s7jr5jwblh2gp2c0f7232v-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:180: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_collection.py::test_open_kwargs - assert '"coordinates": [ [ [ -111.74, 42.0 ], [ -111.66, 42.0 ]' in '{\n"ty...
FAILED tests/test_fio_rm.py::test_remove[GeoJSON] - assert 1 == 0
FAILED tests/test_remove.py::test_remove[GeoJSON-path-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-path-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_subtypes.py::test_write_bool_subtype - assert '"bool": true' in '{\n"type": "FeatureCollection",\n"name": "test_wr...
= 7 failed, 1463 passed, 11 skipped, 580 deselected, 1 xfailed, 2 warnings in 43.40s =

python314Packages.pyogrio
        filename = tmp_path / "test.geojson"
    # default nan_as_null=True
    write(filename, geometry, field_data, fields, **meta)
    with open(filename) as f:
        content = f.read()

> assert '{ "col": null }' in content
E assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test",\n"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:O...[0.0,0.0]}},\n{"type":"Feature","properties":{"col":null},"geometry":{"type":"Point","coordinates":[0.0,0.0]}}\n]\n}\n'

pyogrio/tests/test_raw_io.py:1057: AssertionError
=============================== warnings summary ===============================
pyogrio/tests/test_raw_io.py::test_write_gdalclose_error
/build/source/pyogrio/raw.py:733: RuntimeWarning: HTTP response code on https://non-existing-bucket.s3.us-east-1.amazonaws.com/test.geojson: 0
ogr_write(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float32] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float64] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
===== 2 failed, 304 passed, 69 skipped, 6 deselected, 1 warning in 27.12s ======

vpv
[ 83%] Building CXX object CMakeFiles/libvpv.dir/src/ImageCache.cpp.o
[ 84%] Building CXX object CMakeFiles/libvpv.dir/src/ImageCollection.cpp.o
[ 85%] Building CXX object CMakeFiles/libvpv.dir/src/ImageProvider.cpp.o
[ 85%] Building CXX object CMakeFiles/libvpv.dir/src/LoadingThread.cpp.o
[ 86%] Building CXX object CMakeFiles/libvpv.dir/src/Terminal.cpp.o
[ 87%] Building CXX object CMakeFiles/libvpv.dir/src/EditGUI.cpp.o
[ 88%] Building CXX object CMakeFiles/libvpv.dir/src/icons.cpp.o
[ 89%] Building CXX object CMakeFiles/libvpv.dir/src/OpenGLDebug.cpp.o
[ 89%] Building CXX object CMakeFiles/libvpv.dir/src/collection_expression.cpp.o
[ 90%] Building CXX object CMakeFiles/libvpv.dir/src/strutils.cpp.o
/build/source/src/ImageCollection.cpp: In function 'std::vector<std::filesystem::__cxx11::path> unpack_gdal_subdatasets(const std::string&)':
/build/source/src/ImageCollection.cpp:376:40: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [-fpermissive]
  376 |     char** subdatasets = g->GetMetadata("SUBDATASETS");
      |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
      |                                        |
      |                                        CSLConstList {aka const char* const*}
make[2]: *** [CMakeFiles/libvpv.dir/build.make:359: CMakeFiles/libvpv.dir/src/ImageCollection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1239: CMakeFiles/libvpv.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@dotlambda

This comment was marked as duplicate.

@onny onny added the backport release-26.05 Backport PR automatically label May 26, 2026
@onny

onny commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

Can you add

"-DCMAKE_CROSSCOMPILING_EMULATOR=${stdenv.hostPlatform.emulator buildPackages}"

to cmakeFlags, this fixes the riscv cross-build for me

tested with

nix build -L .#pkgsCross.riscv64.gdal

@dotlambda

Copy link
Copy Markdown
Member Author

Is the cross build also broken on master?

@onny

onny commented May 26, 2026

Copy link
Copy Markdown
Contributor

Is the cross build also broken on master?

yes

@dotlambda

Copy link
Copy Markdown
Member Author

Then let's fix that in a separate PR.

@onny

onny commented May 27, 2026

Copy link
Copy Markdown
Contributor

just tested it again and cross-compilation fails on master and 26.05, also with the cmakeFlags added

@imincik

imincik commented May 29, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 518799
Commit: 4952c94eca841414ac43b6473d7c17d71441bc11


x86_64-linux

❌ 153 packages failed to build:
  • ants
  • appcsxcad
  • c3d
  • cloudcompare
  • csxcad
  • elastix
  • elmerfem
  • entwine
  • exhibit
  • ezminc
  • f3d
  • freecad
  • froide
  • gdalMinimal
  • gdcm
  • gplates
  • grass
  • howdy
  • itk (itk_5)
  • itk_5_2
  • linux-enable-ir-emitter
  • mirtk
  • mrtrix
  • octavePackages.dicom
  • openems
  • optiland
  • otb
  • overturemaps
  • paraview
  • parmmg
  • pcl
  • pdal
  • postgresql14Packages.postgis
  • postgresql15Packages.postgis
  • postgresql16Packages.postgis
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresql18Packages.postgis
  • pyspread
  • python313Packages.bsuite
  • python313Packages.cartopy
  • python313Packages.dicom2nifti
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap5
  • python313Packages.drf-extra-fields
  • python313Packages.f3d
  • python313Packages.fast-simplification
  • python313Packages.fiona
  • python313Packages.firedrake
  • python313Packages.folium
  • python313Packages.gdcm
  • python313Packages.geoarrow-pyarrow
  • python313Packages.geodatasets
  • python313Packages.geopandas
  • python313Packages.geoparquet
  • python313Packages.gstools
  • python313Packages.inequality
  • python313Packages.itk
  • python313Packages.libpysal
  • python313Packages.lida
  • python313Packages.mapclassify
  • python313Packages.mayavi
  • python313Packages.medpy
  • python313Packages.medvol
  • python313Packages.momepy
  • python313Packages.msticpy
  • python313Packages.multiscale-spatial-image
  • python313Packages.napari-nifti
  • python313Packages.netbox-documents
  • python313Packages.ngff-zarr
  • python313Packages.odc-geo
  • python313Packages.odc-loader
  • python313Packages.odc-stac
  • python313Packages.opencv4Full
  • python313Packages.optiland
  • python313Packages.osmnx
  • python313Packages.pandera
  • python313Packages.plotnine
  • python313Packages.pykrige
  • python313Packages.pymedio
  • python313Packages.pyogrio
  • python313Packages.pyotb
  • python313Packages.pyradiomics
  • python313Packages.python-csxcad
  • python313Packages.pyvista
  • python313Packages.shimmy
  • python313Packages.simpleitk
  • python313Packages.streamlit-folium
  • python313Packages.torchio
  • python313Packages.vmas
  • python313Packages.vtk
  • python313Packages.wktutils
  • python314Packages.bsuite
  • python314Packages.cartopy
  • python314Packages.dicom2nifti
  • python314Packages.f3d
  • python314Packages.fast-simplification
  • python314Packages.fiona
  • python314Packages.firedrake
  • python314Packages.folium
  • python314Packages.gdcm
  • python314Packages.geoarrow-pyarrow
  • python314Packages.geodatasets
  • python314Packages.geopandas
  • python314Packages.geoparquet
  • python314Packages.gstools
  • python314Packages.inequality
  • python314Packages.itk
  • python314Packages.libpysal
  • python314Packages.lida
  • python314Packages.mapclassify
  • python314Packages.mayavi
  • python314Packages.medpy
  • python314Packages.medvol
  • python314Packages.momepy
  • python314Packages.msticpy
  • python314Packages.multiscale-spatial-image
  • python314Packages.napari-nifti
  • python314Packages.ngff-zarr
  • python314Packages.odc-geo
  • python314Packages.odc-loader
  • python314Packages.odc-stac
  • python314Packages.opencv4Full
  • python314Packages.optiland
  • python314Packages.osmnx
  • python314Packages.pandera
  • python314Packages.plotnine
  • python314Packages.pykrige
  • python314Packages.pymedio
  • python314Packages.pyogrio
  • python314Packages.pyotb
  • python314Packages.pyradiomics
  • python314Packages.python-csxcad
  • python314Packages.pyvista
  • python314Packages.simpleitk
  • python314Packages.streamlit-folium
  • python314Packages.torchio
  • python314Packages.vtk
  • python314Packages.wktutils
  • qcsxcad
  • qgis
  • qgis-ltr
  • rtabmap
  • saga
  • simpleitk
  • supercell-wx
  • therion
  • umap
  • vpv
  • vtk (vtk_9_5)
  • vtk-dicom
  • vtk-full
  • vtkWithQt6
  • vtk_9_6
✅ 44 packages built:
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • froide-govplan
  • gdal (python313Packages.gdal)
  • gmt
  • haskellPackages.hgdal
  • mapcache
  • mapnik
  • mapproxy
  • mapserver
  • merkaartor
  • mysql-workbench
  • ocamlPackages.gdal (ocamlPackages_latest.gdal)
  • octavePackages.mapping
  • openorienteering-mapper
  • osmscout-server
  • perlPackages.Tirex (perl5Packages.Tirex)
  • python313Packages.async-geotiff
  • python313Packages.async-tiff
  • python313Packages.morecantile
  • python313Packages.pygmt
  • python313Packages.rasterio
  • python313Packages.rio-stac
  • python313Packages.rio-tiler
  • python313Packages.rioxarray
  • python314Packages.async-geotiff
  • python314Packages.async-tiff
  • python314Packages.django-bootstrap4
  • python314Packages.django-bootstrap5
  • python314Packages.drf-extra-fields
  • python314Packages.gdal
  • python314Packages.morecantile
  • python314Packages.netbox-documents
  • python314Packages.pygmt
  • python314Packages.rasterio
  • python314Packages.rio-stac
  • python314Packages.rio-tiler
  • python314Packages.rioxarray
  • pytrainer
  • qmapshack
  • sumo
  • survex
  • tunnelx
  • udig
  • valhalla

Error logs: `x86_64-linux`
gdalMinimal
            gdal.VSIStatL(tmp_path / "simple_sharding.zarr" / "zarr.json.gmac") is not None
        )
E       AssertionError: assert None is not None
E        +  where None = <function VSIStatL at 0x7fffed556840>(((PosixPath('/build/pytest-of-nixbld/pytest-0/test_zarr_read_simple_sharding0') / 'simple_sharding.zarr') / 'zarr.json.gmac'))
E        +    where <function VSIStatL at 0x7fffed556840> = gdal.VSIStatL

/build/source/build/autotest/gdrivers/zarr_driver.py:6420: AssertionError
=============================== warnings summary ===============================
pyscripts/gdal2tiles/test_logger.py::test_gdal2tiles_logger
pyscripts/gdal2tiles/test_vsimem.py::test_gdal2tiles_vsimem
/nix/store/v4yx0mz3vhbby9fkr85rx3wkx6cxb2cm-gdal-minimal-3.13.0/lib/python3.13/site-packages/osgeo_utils/gdal2tiles.py:4749: DeprecationWarning: --legacy mode is deprecated and will be removed in GDAL 3.15. If you find yourself to need legacy mode and cannot find workarounds using 'gdal raster tile', please file a ticket at https://github.com/OSGeo/GDAL
warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED gdrivers/zarr_driver.py::test_zarr_read_simple_sharding - AssertionError: assert None is not None

  • where None = <function VSIStatL at 0x7fffed556840>(((PosixPath('/build/pytest-of-nixbld/pytest-0/test_zarr_read_simple_sharding0') / 'simple_sharding.zarr') / 'zarr.json.gmac'))
  • where <function VSIStatL at 0x7fffed556840> = gdal.VSIStatL
    = 1 failed, 18627 passed, 3706 skipped, 46 deselected, 5 xfailed, 2 warnings in 705.23s (0:11:45) =
    100 - done.
gplates
/build/source/src/file-io/GdalRasterWriter.cc:138:61: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-fpermissive�-fpermissive8;;�]
  138 |                 char **driver_metadata = driver->GetMetadata();
      |                                          ~~~~~~~~~~~~~~~~~~~^~
      |                                                             |
      |                                                             CSLConstList {aka const char* const*}
/build/source/src/file-io/GdalRasterWriter.cc: In constructor 'GPlatesFileIO::GDALRasterWriter::GDALRasterWriter(const QString&, const GPlatesFileIO::RasterWriter::FormatInfo&, unsigned int, unsigned int, unsigned int, GPlatesPropertyValues::RasterType::Type, bool)':
/build/source/src/file-io/GdalRasterWriter.cc:440:65: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-fpermissive�-fpermissive8;;�]
  440 |         char **file_driver_metadata = d_file_driver->GetMetadata();
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                 |
      |                                                                 CSLConstList {aka const char* const*}
[ 26%] Building CXX object src/CMakeFiles/gplates-lib.dir/file-io/GMTFormatResolvedTopologicalGeometryExport.cc.o
[ 26%] Building CXX object src/CMakeFiles/gplates-lib.dir/file-io/GMTFormatWriter.cc.o
[ 26%] Building CXX object src/CMakeFiles/gplates-lib.dir/file-io/GpmlFeatureReaderFactory.cc.o
[ 26%] Building CXX object src/CMakeFiles/gplates-lib.dir/file-io/GpmlFeatureReaderImpl.cc.o
[ 26%] Building CXX object src/CMakeFiles/gplates-lib.dir/file-io/GpmlFeatureReaderInterface.cc.o
make[2]: *** [src/CMakeFiles/gplates-lib.dir/build.make:3507: src/CMakeFiles/gplates-lib.dir/file-io/GdalRasterWriter.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:600: src/CMakeFiles/gplates-lib.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
pdal
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      |                                      |
      |                                      CSLConstList {aka const char* const*}
make[2]: *** [CMakeFiles/pdalcpp.dir/build.make:3789: CMakeFiles/pdalcpp.dir/pdal/private/gdal/Raster.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /build/source/vendor/eigen/Eigen/SVD:36,
                 from /build/source/vendor/eigen/Eigen/Dense:5,
                 from /build/source/pdal/private/MathUtils.hpp:45,
                 from /build/source/pdal/private/MathUtils.cpp:46:
In member function 'Eigen::SVDBase<MatrixType>::Index Eigen::SVDBase<MatrixType>::rank() const [with Derived = Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3>, 2>]',
    inlined from 'uint8_t pdal::math::computeRank(const pdal::PointView&, const pdal::PointIdList&, double)' at /build/source/pdal/private/MathUtils.cpp:204:41:
/build/source/vendor/eigen/Eigen/src/SVD/SVDBase.h:154:15: warning: 'svd.Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::<unnamed>.Eigen::SVDBase<Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3>, 2> >::m_nonzeroSingularValues' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized�-Wmaybe-uninitialized8;;�]
  154 |     Index i = m_nonzeroSingularValues-1;
      |               ^~~~~~~~~~~~~~~~~~~~~~~
/build/source/pdal/private/MathUtils.cpp: In function 'uint8_t pdal::math::computeRank(const pdal::PointView&, const pdal::PointIdList&, double)':
/build/source/pdal/private/MathUtils.cpp:201:25: note: 'svd' declared here
  201 |     JacobiSVD<Matrix3d> svd(B);
      |                         ^~~
make[1]: *** [CMakeFiles/Makefile2:1052: CMakeFiles/pdalcpp.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
python313Packages.cartopy
FAILED tests/mpl/test_axes.py::test_geoaxes_no_subslice - Failed: Error: Image files did not match.
FAILED tests/mpl/test_axes.py::test_geoaxes_set_boundary_clipping - Failed: Error: Image files did not match.
FAILED tests/mpl/test_contour.py::test_plot_after_contour_doesnt_shrink[contour] - AssertionError: 
FAILED tests/mpl/test_gridliner.py::test_gridliner_labels_zoom - assert [<cartopy.mpl...ffe8050>, ...] == [<cartopy.mpl...ffe8050>, ...]
FAILED tests/mpl/test_images.py::test_imshow - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_stock_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_pil_Image - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_background_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_mpl_integration.py::test_cursor_values - AssertionError: assert b'-181.5, 50 ... 178.500000E)' == b'-181.5, 50 ... 1...
FAILED tests/mpl/test_pseudo_color.py::test_pcolormesh_datalim - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_extents - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_get_extent - AssertionError: 
FAILED tests/mpl/test_ticker.py::test_LatitudeFormatter_mercator - AssertionError: assert ['79.8166°S',....7746°N', ...] == ['80°S', '60°..., ...
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_y_domain - AssertionError: 
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_xy_domain_corner - AssertionError: 
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[InterruptedGoodeHomolosine] - assert 3148724.315906706 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[Mollweide] - assert 0.0 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_tiny_point_between_boundary_points - AssertionError: Got area 85832.84574015415, expecting ~81336
FAILED tests/test_vector_transform.py::Test_vector_scalar_to_grid::test_with_transform - AssertionError: 
= 39 failed, 625 passed, 7 skipped, 219 deselected, 2 xfailed, 7 warnings in 140.32s (0:02:20) =
python313Packages.fiona
DEBUG    fiona.collection:collection.py:662 Stopped session
=============================== warnings summary ===============================
../../nix/store/4lmia2lvi148d61hpsnsfmwv58p8swic-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:161
  /nix/store/4lmia2lvi148d61hpsnsfmwv58p8swic-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:161: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
    op = oneOf(" ".join(op_map.keys())).set_parse_action(

../../nix/store/4lmia2lvi148d61hpsnsfmwv58p8swic-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:180
/nix/store/4lmia2lvi148d61hpsnsfmwv58p8swic-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:180: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_collection.py::test_open_kwargs - assert '"coordinates": [ [ [ -111.74, 42.0 ], [ -111.66, 42.0 ]' in '{\n"ty...
FAILED tests/test_fio_rm.py::test_remove[GeoJSON] - assert 1 == 0
FAILED tests/test_remove.py::test_remove[GeoJSON-path-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-path-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_subtypes.py::test_write_bool_subtype - assert '"bool": true' in '{\n"type": "FeatureCollection",\n"name": "test_wr...
= 7 failed, 1463 passed, 11 skipped, 580 deselected, 1 xfailed, 2 warnings in 42.06s =

python313Packages.pyogrio
        filename = tmp_path / "test.geojson"
    # default nan_as_null=True
    write(filename, geometry, field_data, fields, **meta)
    with open(filename) as f:
        content = f.read()

> assert '{ "col": null }' in content
E assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test",\n"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:O...[0.0,0.0]}},\n{"type":"Feature","properties":{"col":null},"geometry":{"type":"Point","coordinates":[0.0,0.0]}}\n]\n}\n'

pyogrio/tests/test_raw_io.py:1057: AssertionError
=============================== warnings summary ===============================
pyogrio/tests/test_raw_io.py::test_write_gdalclose_error
/build/source/pyogrio/raw.py:733: RuntimeWarning: HTTP response code on https://non-existing-bucket.s3.us-east-1.amazonaws.com/test.geojson: 0
ogr_write(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float32] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float64] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
===== 2 failed, 304 passed, 69 skipped, 6 deselected, 1 warning in 13.93s ======

python314Packages.cartopy
FAILED tests/mpl/test_axes.py::test_geoaxes_no_subslice - Failed: Error: Image files did not match.
FAILED tests/mpl/test_axes.py::test_geoaxes_set_boundary_clipping - Failed: Error: Image files did not match.
FAILED tests/mpl/test_contour.py::test_plot_after_contour_doesnt_shrink[contour] - AssertionError: 
FAILED tests/mpl/test_gridliner.py::test_gridliner_labels_zoom - assert [<cartopy.mpl...b65ec80>, ...] == [<cartopy.mpl...b65ec80>, ...]
FAILED tests/mpl/test_images.py::test_imshow - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_stock_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_pil_Image - Failed: Error: Image files did not match.
FAILED tests/mpl/test_images.py::test_background_img - Failed: Error: Image files did not match.
FAILED tests/mpl/test_mpl_integration.py::test_cursor_values - AssertionError: assert b'-181.5, 50 ... 178.500000E)' == b'-181.5, 50 ... 1...
FAILED tests/mpl/test_pseudo_color.py::test_pcolormesh_datalim - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_extents - AssertionError: 
FAILED tests/mpl/test_set_extent.py::test_get_extent - AssertionError: 
FAILED tests/mpl/test_ticker.py::test_LatitudeFormatter_mercator - AssertionError: assert ['79.8166°S',....7746°N', ...] == ['80°S', '60°..., ...
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_y_domain - AssertionError: 
FAILED tests/test_crs_transform_vectors.py::TestTransformVectors::test_invalid_xy_domain_corner - AssertionError: 
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[InterruptedGoodeHomolosine] - assert 3148724.315906706 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_infinite_loop_bounds[Mollweide] - assert 0.0 == nan ± ???
FAILED tests/test_polygon.py::TestMisc::test_tiny_point_between_boundary_points - AssertionError: Got area 85832.84574015415, expecting ~81336
FAILED tests/test_vector_transform.py::Test_vector_scalar_to_grid::test_with_transform - AssertionError: 
= 39 failed, 625 passed, 7 skipped, 219 deselected, 2 xfailed, 7 warnings in 137.47s (0:02:17) =
python314Packages.fiona
DEBUG    fiona.collection:collection.py:662 Stopped session
=============================== warnings summary ===============================
../../nix/store/vh6k64l4wp1gpxvgkybba9dh1zkr1d86-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:161
  /nix/store/vh6k64l4wp1gpxvgkybba9dh1zkr1d86-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:161: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
    op = oneOf(" ".join(op_map.keys())).set_parse_action(

../../nix/store/vh6k64l4wp1gpxvgkybba9dh1zkr1d86-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:180
/nix/store/vh6k64l4wp1gpxvgkybba9dh1zkr1d86-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:180: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_collection.py::test_open_kwargs - assert '"coordinates": [ [ [ -111.74, 42.0 ], [ -111.66, 42.0 ]' in '{\n"ty...
FAILED tests/test_fio_rm.py::test_remove[GeoJSON] - assert 1 == 0
FAILED tests/test_remove.py::test_remove[GeoJSON-path-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-path-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_subtypes.py::test_write_bool_subtype - assert '"bool": true' in '{\n"type": "FeatureCollection",\n"name": "test_wr...
= 7 failed, 1463 passed, 11 skipped, 580 deselected, 1 xfailed, 2 warnings in 66.00s (0:01:06) =

python314Packages.pyogrio
        filename = tmp_path / "test.geojson"
    # default nan_as_null=True
    write(filename, geometry, field_data, fields, **meta)
    with open(filename) as f:
        content = f.read()

> assert '{ "col": null }' in content
E assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test",\n"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:O...[0.0,0.0]}},\n{"type":"Feature","properties":{"col":null},"geometry":{"type":"Point","coordinates":[0.0,0.0]}}\n]\n}\n'

pyogrio/tests/test_raw_io.py:1057: AssertionError
=============================== warnings summary ===============================
pyogrio/tests/test_raw_io.py::test_write_gdalclose_error
/build/source/pyogrio/raw.py:733: RuntimeWarning: HTTP response code on https://non-existing-bucket.s3.us-east-1.amazonaws.com/test.geojson: 0
ogr_write(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float32] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float64] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
===== 2 failed, 304 passed, 69 skipped, 6 deselected, 1 warning in 12.02s ======

vpv
[ 87%] Building CXX object CMakeFiles/libvpv.dir/src/Player.cpp.o
[ 88%] Building CXX object CMakeFiles/libvpv.dir/src/globals.cpp.o
[ 89%] Building CXX object CMakeFiles/libvpv.dir/src/menu.cpp.o
[ 90%] Building CXX object CMakeFiles/libvpv.dir/src/editors.cpp.o
[ 91%] Building CXX object CMakeFiles/libvpv.dir/src/Image.cpp.o
[ 91%] Building C object CMakeFiles/libvpv.dir/external/imgui/examples/libs/gl3w/GL/gl3w.c.o
[ 92%] Building CXX object CMakeFiles/libvpv.dir/src/dragndrop.cpp.o
[ 93%] Building CXX object CMakeFiles/libvpv.dir/luafiles.cpp.o
[ 94%] Building CXX object CMakeFiles/libvpv.dir/src/FuzzyFinder.cpp.o
[ 95%] Building C object CMakeFiles/libvpv.dir/src/wrapplambda.c.o
/build/source/src/ImageCollection.cpp: In function 'std::vector<std::filesystem::__cxx11::path> unpack_gdal_subdatasets(const std::string&)':
/build/source/src/ImageCollection.cpp:376:40: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-fpermissive�-fpermissive8;;�]
  376 |     char** subdatasets = g->GetMetadata("SUBDATASETS");
      |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
      |                                        |
      |                                        CSLConstList {aka const char* const*}
make[2]: *** [CMakeFiles/libvpv.dir/build.make:359: CMakeFiles/libvpv.dir/src/ImageCollection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1239: CMakeFiles/libvpv.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@imincik

imincik commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@b-rodrigues

Copy link
Copy Markdown
Contributor

Tried to build on x86-linux, and some tests fail:

=================================== FAILURES ===================================
_________________________________ test_misc_12 _________________________________

    @pytest.mark.skipif(
        gdaltest.is_travis_branch("build-windows-conda"), reason="fails for unknown reason"
    )
    def test_misc_12():

        import test_cli_utilities

        gdal_translate_path = test_cli_utilities.get_gdal_translate_path()

        for i in range(gdal.GetDriverCount()):
            drv = gdal.GetDriver(i)
            md = drv.GetMetadata()
            if ("DCAP_CREATECOPY" in md or "DCAP_CREATE" in md) and "DCAP_RASTER" in md:

                nbands = 1
                if drv.ShortName == "WEBP" or drv.ShortName == "ADRG":
                    nbands = 3

                datatype = gdal.GDT_UInt8
                if drv.ShortName == "BT" or drv.ShortName == "BLX":
                    datatype = gdal.GDT_Int16
                elif (
                    drv.ShortName == "GTX"
                    or drv.ShortName == "NTv2"
                    or drv.ShortName == "Leveller"
                ):
                    datatype = gdal.GDT_Float32

                size = 1201
                if drv.ShortName == "BLX":
                    size = 128

                src_ds = gdal.GetDriverByName("GTiff").Create(
                    "/vsimem/misc_12_src.tif", size, size, nbands, datatype
                )
                set_gt = (2, 1.0 / size, 0, 49, 0, -1.0 / size)
                src_ds.SetGeoTransform(set_gt)
                src_ds.SetProjection(
                    'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["degree",0.01745329251994328]]'
                )

                # Test to detect crashes
                with gdal.quiet_errors():
                    ds = drv.CreateCopy("/nonexistingpath" + get_filename(drv, ""), src_ds)
                if ds is None and gdal.GetLastErrorMsg() == "":
                    gdal.Unlink("/vsimem/misc_12_src.tif")
>                   pytest.fail(
                        "CreateCopy() into non existing dir fails without error message for driver %s"
                        % drv.ShortName
                    )
E                   Failed: CreateCopy() into non existing dir fails without error message for driver BAG

/build/source/build/autotest/gcore/misc.py:744: Failed
=============================== warnings summary ===============================
pyscripts/gdal2tiles/test_logger.py::test_gdal2tiles_logger
pyscripts/gdal2tiles/test_vsimem.py::test_gdal2tiles_vsimem
  /nix/store/7w00600cq836qg6gkc9d1hij9rlhkj91-gdal-3.13.0/lib/python3.13/site-packages/osgeo_utils/gdal2tiles.py:4749: DeprecationWarning: --legacy mode is deprecated and will be removed in GDAL 3.15. If you find yourself to need legacy mode and cannot find workarounds using 'gdal raster tile', please file a ticket at https://github.com/OSGeo/GDAL
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED gcore/misc.py::test_misc_12 - Failed: CreateCopy() into non existing dir fails without error message for driver BAG
= 1 failed, 20638 passed, 1892 skipped, 41 deselected, 5 xfailed, 2 warnings in 891.73s (0:14:51) =
100 - done.
error: Cannot build '/nix/store/abw3dwz1ikrzljzrp54c5m08n4348kja-gdal-3.13.0.drv'.

@dotlambda dotlambda changed the title gdal: 3.12.4 -> 3.13.0 gdal: 3.12.4 -> 3.13.1 Jun 7, 2026
@onny

onny commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

just tested it again and cross-compilation fails on master and 26.05, also with the cmakeFlags added

@dotlambda could you add the cmakeFlags to fix cross-compilation? this fix only works with your PR

@onny onny added the 6.topic: riscv64 RISC-V is an open standard instruction set architecture label Jun 10, 2026
@dotlambda

Copy link
Copy Markdown
Member Author

I can't build pkgsCross.riscv64.gdal because apache-orc fails with

/nix/store/i27rhb3nr65rkrwz36bchkwmav6ggsmn-bash-5.3p9/bin/bash: line 1: /nix/store/wzxh8z23pcvwhg0icg2nw0kcsg0rlwls-protobuf-riscv64-unknown-linux-gnu-34.1/bin/protoc: cannot execute binary file: Exec format error

and thrift fails with

[ 45%] Generating gen-cpp/Calculator.cpp, gen-cpp/SharedService.cpp, gen-cpp/shared_types.cpp, gen-cpp/tutorial_constants.cpp, gen-cpp/tutorial_types.cpp
/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash: line 1: ../../compiler/cpp/bin/thrift: cannot execute binary file: Exec format error
/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash: line 1: ../../../compiler/cpp/bin/thrift: cannot execute binary file: Exec format error
make[2]: *** [tutorial/cpp/CMakeFiles/tutorialgencpp.dir/build.make:74: tutorial/cpp/gen-cpp/Calculator.cpp] Error 126
/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash: line 1: ../../../compiler/cpp/bin/thrift: cannot execute binary file: Exec format error
make[2]: *** [lib/cpp/test/CMakeFiles/testgencpp.dir/build.make:113: lib/cpp/test/gen-cpp/OptionalRequiredTest_types.cpp] Error 126

@dotlambda

This comment was marked as outdated.

@dotlambda dotlambda removed the 6.topic: riscv64 RISC-V is an open standard instruction set architecture label Jun 15, 2026
@dotlambda

This comment was marked as outdated.

@dotlambda

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 518799
Commit: 959953143a3cf335d81e15da5a631b9f3965a85d


x86_64-linux

❌ 149 packages failed to build:
  • ants
  • appcsxcad
  • c3d
  • cloudcompare
  • csxcad
  • elastix
  • elmerfem
  • entwine
  • exhibit
  • ezminc
  • f3d
  • freecad
  • froide
  • gdalMinimal
  • gdcm
  • gplates
  • grass
  • howdy
  • itk (itk_5)
  • itk_5_2
  • linux-enable-ir-emitter
  • mirtk
  • mrtrix
  • octavePackages.dicom
  • openems
  • optiland
  • otb
  • overturemaps
  • paraview
  • parmmg
  • pcl
  • pdal
  • postgresql14Packages.postgis
  • postgresql15Packages.postgis
  • postgresql16Packages.postgis
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresql18Packages.postgis
  • pyspread
  • python313Packages.bsuite
  • python313Packages.dicom2nifti
  • python313Packages.emmiai-noether
  • python313Packages.f3d
  • python313Packages.fast-simplification
  • python313Packages.fiona
  • python313Packages.firedrake
  • python313Packages.folium
  • python313Packages.gdcm
  • python313Packages.geoarrow-pyarrow
  • python313Packages.geodatasets
  • python313Packages.geopandas
  • python313Packages.geoparquet
  • python313Packages.gstools
  • python313Packages.inequality
  • python313Packages.itk
  • python313Packages.libpysal
  • python313Packages.lida
  • python313Packages.mapclassify
  • python313Packages.mayavi
  • python313Packages.medpy
  • python313Packages.medvol
  • python313Packages.momepy
  • python313Packages.msticpy
  • python313Packages.multiscale-spatial-image
  • python313Packages.napari-nifti
  • python313Packages.ngff-zarr
  • python313Packages.odc-geo
  • python313Packages.odc-loader
  • python313Packages.odc-stac
  • python313Packages.opencv4Full
  • python313Packages.optiland
  • python313Packages.osmnx
  • python313Packages.pandera
  • python313Packages.plotnine
  • python313Packages.pykrige
  • python313Packages.pymedio
  • python313Packages.pyogrio
  • python313Packages.pyotb
  • python313Packages.pyradiomics
  • python313Packages.python-csxcad
  • python313Packages.pyvista
  • python313Packages.shimmy
  • python313Packages.simpleitk
  • python313Packages.streamlit-folium
  • python313Packages.torchio
  • python313Packages.vmas
  • python313Packages.vtk
  • python313Packages.wktutils
  • python314Packages.bsuite
  • python314Packages.dicom2nifti
  • python314Packages.emmiai-noether
  • python314Packages.f3d
  • python314Packages.fast-simplification
  • python314Packages.fiona
  • python314Packages.firedrake
  • python314Packages.folium
  • python314Packages.gdcm
  • python314Packages.geoarrow-pyarrow
  • python314Packages.geodatasets
  • python314Packages.geopandas
  • python314Packages.geoparquet
  • python314Packages.gstools
  • python314Packages.inequality
  • python314Packages.itk
  • python314Packages.libpysal
  • python314Packages.lida
  • python314Packages.mapclassify
  • python314Packages.mayavi
  • python314Packages.medpy
  • python314Packages.medvol
  • python314Packages.momepy
  • python314Packages.msticpy
  • python314Packages.multiscale-spatial-image
  • python314Packages.napari-nifti
  • python314Packages.ngff-zarr
  • python314Packages.odc-geo
  • python314Packages.odc-loader
  • python314Packages.odc-stac
  • python314Packages.opencv4Full
  • python314Packages.optiland
  • python314Packages.osmnx
  • python314Packages.pandera
  • python314Packages.plotnine
  • python314Packages.pykrige
  • python314Packages.pymedio
  • python314Packages.pyogrio
  • python314Packages.pyotb
  • python314Packages.pyradiomics
  • python314Packages.python-csxcad
  • python314Packages.pyvista
  • python314Packages.simpleitk
  • python314Packages.streamlit-folium
  • python314Packages.torchio
  • python314Packages.vtk
  • python314Packages.wktutils
  • qcsxcad
  • qgis
  • qgis-ltr
  • rtabmap
  • saga
  • simpleitk
  • supercell-wx
  • therion
  • umap
  • vpv
  • vtk (vtk_9_5)
  • vtk-dicom
  • vtk-full
  • vtkWithQt6
  • vtk_9_6
✅ 51 packages built:
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • brlcad
  • froide-govplan
  • gdal (python313Packages.gdal)
  • gmt
  • haskellPackages.hgdal
  • mapcache
  • mapnik
  • mapproxy
  • mapserver
  • merkaartor
  • mysql-workbench
  • netboxPlugins.netbox-documents (python313Packages.netbox-documents)
  • ocamlPackages.gdal (ocamlPackages_latest.gdal)
  • octavePackages.mapping
  • openorienteering-mapper
  • osmscout-server
  • perlPackages.Tirex (perl5Packages.Tirex)
  • python313Packages.async-geotiff
  • python313Packages.async-tiff
  • python313Packages.cartopy
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap5
  • python313Packages.drf-extra-fields
  • python313Packages.morecantile
  • python313Packages.pygmt
  • python313Packages.rasterio
  • python313Packages.rio-stac
  • python313Packages.rio-tiler
  • python313Packages.rioxarray
  • python314Packages.async-geotiff
  • python314Packages.async-tiff
  • python314Packages.cartopy
  • python314Packages.django-bootstrap4
  • python314Packages.django-bootstrap5
  • python314Packages.drf-extra-fields
  • python314Packages.gdal
  • python314Packages.morecantile
  • python314Packages.netbox-documents
  • python314Packages.pygmt
  • python314Packages.rasterio
  • python314Packages.rio-stac
  • python314Packages.rio-tiler
  • python314Packages.rioxarray
  • pytrainer
  • qmapshack
  • sumo
  • survex
  • tunnelx
  • udig
  • valhalla

Error logs: `x86_64-linux`
gdalMinimal
            gdal.VSIStatL(tmp_path / "simple_sharding.zarr" / "zarr.json.gmac") is not None
        )
E       AssertionError: assert None is not None
E        +  where None = <function VSIStatL at 0x7ffff6356c00>(((PosixPath('/build/pytest-of-nixbld/pytest-0/test_zarr_read_simple_sharding0') / 'simple_sharding.zarr') / 'zarr.json.gmac'))
E        +    where <function VSIStatL at 0x7ffff6356c00> = gdal.VSIStatL

/build/source/build/autotest/gdrivers/zarr_driver.py:6420: AssertionError
=============================== warnings summary ===============================
pyscripts/gdal2tiles/test_logger.py::test_gdal2tiles_logger
pyscripts/gdal2tiles/test_vsimem.py::test_gdal2tiles_vsimem
/nix/store/6q3pzrvnx9b1r80sz6hqqhrazkkpvqlb-gdal-minimal-3.13.1/lib/python3.13/site-packages/osgeo_utils/gdal2tiles.py:4749: DeprecationWarning: --legacy mode is deprecated and will be removed in GDAL 3.15. If you find yourself to need legacy mode and cannot find workarounds using 'gdal raster tile', please file a ticket at https://github.com/OSGeo/GDAL
warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED gdrivers/zarr_driver.py::test_zarr_read_simple_sharding - AssertionError: assert None is not None

  • where None = <function VSIStatL at 0x7ffff6356c00>(((PosixPath('/build/pytest-of-nixbld/pytest-0/test_zarr_read_simple_sharding0') / 'simple_sharding.zarr') / 'zarr.json.gmac'))
  • where <function VSIStatL at 0x7ffff6356c00> = gdal.VSIStatL
    = 1 failed, 18686 passed, 3714 skipped, 46 deselected, 5 xfailed, 2 warnings in 610.74s (0:10:10) =
    100 - done.
gplates
      |                                          ~~~~~~~~~~~~~~~~~~~^~
      |                                                             |
      |                                                             CSLConstList {aka const char* const*}
/build/source/src/file-io/GdalRasterWriter.cc: In function 'std::vector<GPlatesPropertyValues::RasterType::Type> {anonymous}::get_supported_band_types(const char*)':
/build/source/src/file-io/GdalRasterWriter.cc:138:61: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-fpermissive�-fpermissive8;;�]
  138 |                 char **driver_metadata = driver->GetMetadata();
      |                                          ~~~~~~~~~~~~~~~~~~~^~
      |                                                             |
      |                                                             CSLConstList {aka const char* const*}
/build/source/src/file-io/GdalRasterWriter.cc: In constructor 'GPlatesFileIO::GDALRasterWriter::GDALRasterWriter(const QString&, const GPlatesFileIO::RasterWriter::FormatInfo&, unsigned int, unsigned int, unsigned int, GPlatesPropertyValues::RasterType::Type, bool)':
/build/source/src/file-io/GdalRasterWriter.cc:440:65: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-fpermissive�-fpermissive8;;�]
  440 |         char **file_driver_metadata = d_file_driver->GetMetadata();
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                 |
      |                                                                 CSLConstList {aka const char* const*}
[ 25%] Building CXX object src/CMakeFiles/gplates-lib.dir/file-io/GmapReader.cc.o
make[2]: *** [src/CMakeFiles/gplates-lib.dir/build.make:3507: src/CMakeFiles/gplates-lib.dir/file-io/GdalRasterWriter.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:600: src/CMakeFiles/gplates-lib.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
pdal
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      |                                      |
      |                                      CSLConstList {aka const char* const*}
make[2]: *** [CMakeFiles/pdalcpp.dir/build.make:3789: CMakeFiles/pdalcpp.dir/pdal/private/gdal/Raster.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /build/source/vendor/eigen/Eigen/SVD:36,
                 from /build/source/vendor/eigen/Eigen/Dense:5,
                 from /build/source/pdal/private/MathUtils.hpp:45,
                 from /build/source/pdal/private/MathUtils.cpp:46:
In member function 'Eigen::SVDBase<MatrixType>::Index Eigen::SVDBase<MatrixType>::rank() const [with Derived = Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3>, 2>]',
    inlined from 'uint8_t pdal::math::computeRank(const pdal::PointView&, const pdal::PointIdList&, double)' at /build/source/pdal/private/MathUtils.cpp:204:41:
/build/source/vendor/eigen/Eigen/src/SVD/SVDBase.h:154:15: warning: 'svd.Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::<unnamed>.Eigen::SVDBase<Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3>, 2> >::m_nonzeroSingularValues' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized�-Wmaybe-uninitialized8;;�]
  154 |     Index i = m_nonzeroSingularValues-1;
      |               ^~~~~~~~~~~~~~~~~~~~~~~
/build/source/pdal/private/MathUtils.cpp: In function 'uint8_t pdal::math::computeRank(const pdal::PointView&, const pdal::PointIdList&, double)':
/build/source/pdal/private/MathUtils.cpp:201:25: note: 'svd' declared here
  201 |     JacobiSVD<Matrix3d> svd(B);
      |                         ^~~
make[1]: *** [CMakeFiles/Makefile2:1052: CMakeFiles/pdalcpp.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
python313Packages.fiona
DEBUG    fiona.collection:collection.py:662 Stopped session
=============================== warnings summary ===============================
../../nix/store/5s9zxlkplh4bkr0ldw2d2b27qb4my9rb-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:161
  /nix/store/5s9zxlkplh4bkr0ldw2d2b27qb4my9rb-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:161: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
    op = oneOf(" ".join(op_map.keys())).set_parse_action(

../../nix/store/5s9zxlkplh4bkr0ldw2d2b27qb4my9rb-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:180
/nix/store/5s9zxlkplh4bkr0ldw2d2b27qb4my9rb-python3.13-fiona-1.10.1/lib/python3.13/site-packages/fiona/_vendor/snuggs.py:180: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_collection.py::test_open_kwargs - assert '"coordinates": [ [ [ -111.74, 42.0 ], [ -111.66, 42.0 ]' in '{\n"ty...
FAILED tests/test_fio_rm.py::test_remove[GeoJSON] - assert 1 == 0
FAILED tests/test_remove.py::test_remove[GeoJSON-path-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-path-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_subtypes.py::test_write_bool_subtype - assert '"bool": true' in '{\n"type": "FeatureCollection",\n"name": "test_wr...
= 7 failed, 1463 passed, 11 skipped, 580 deselected, 1 xfailed, 2 warnings in 43.36s =

python313Packages.pyogrio
        filename = tmp_path / "test.geojson"
    # default nan_as_null=True
    write(filename, geometry, field_data, fields, **meta)
    with open(filename) as f:
        content = f.read()

> assert '{ "col": null }' in content
E assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test",\n"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:O...[0.0,0.0]}},\n{"type":"Feature","properties":{"col":null},"geometry":{"type":"Point","coordinates":[0.0,0.0]}}\n]\n}\n'

pyogrio/tests/test_raw_io.py:1057: AssertionError
=============================== warnings summary ===============================
pyogrio/tests/test_raw_io.py::test_write_gdalclose_error
/build/source/pyogrio/raw.py:733: RuntimeWarning: HTTP response code on https://non-existing-bucket.s3.us-east-1.amazonaws.com/test.geojson: 0
ogr_write(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float32] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float64] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
====== 2 failed, 304 passed, 69 skipped, 6 deselected, 1 warning in 6.29s ======

python314Packages.fiona
DEBUG    fiona.collection:collection.py:662 Stopped session
=============================== warnings summary ===============================
../../nix/store/aixmjbcl01s6pw8qcmqi0vd0b7swnk51-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:161
  /nix/store/aixmjbcl01s6pw8qcmqi0vd0b7swnk51-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:161: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
    op = oneOf(" ".join(op_map.keys())).set_parse_action(

../../nix/store/aixmjbcl01s6pw8qcmqi0vd0b7swnk51-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:180
/nix/store/aixmjbcl01s6pw8qcmqi0vd0b7swnk51-python3.14-fiona-1.10.1/lib/python3.14/site-packages/fiona/_vendor/snuggs.py:180: PyparsingDeprecationWarning: 'oneOf' deprecated - use 'one_of'
higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_collection.py::test_open_kwargs - assert '"coordinates": [ [ [ -111.74, 42.0 ], [ -111.66, 42.0 ]' in '{\n"ty...
FAILED tests/test_fio_rm.py::test_remove[GeoJSON] - assert 1 == 0
FAILED tests/test_remove.py::test_remove[GeoJSON-path-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-path-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-True] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_remove.py::test_remove[GeoJSON-collection-False] - fiona.errors.DatasetDeleteError: Driver does not support dataset removal op...
FAILED tests/test_subtypes.py::test_write_bool_subtype - assert '"bool": true' in '{\n"type": "FeatureCollection",\n"name": "test_wr...
= 7 failed, 1463 passed, 11 skipped, 580 deselected, 1 xfailed, 2 warnings in 7.42s =

python314Packages.pyogrio
        filename = tmp_path / "test.geojson"
    # default nan_as_null=True
    write(filename, geometry, field_data, fields, **meta)
    with open(filename) as f:
        content = f.read()

> assert '{ "col": null }' in content
E assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test",\n"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:O...[0.0,0.0]}},\n{"type":"Feature","properties":{"col":null},"geometry":{"type":"Point","coordinates":[0.0,0.0]}}\n]\n}\n'

pyogrio/tests/test_raw_io.py:1057: AssertionError
=============================== warnings summary ===============================
pyogrio/tests/test_raw_io.py::test_write_gdalclose_error
/build/source/pyogrio/raw.py:733: RuntimeWarning: HTTP response code on https://non-existing-bucket.s3.us-east-1.amazonaws.com/test.geojson: 0
ogr_write(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float32] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
FAILED pyogrio/tests/test_raw_io.py::test_write_float_nan_null[float64] - assert '{ "col": null }' in '{\n"type": "FeatureCollection",\n"name": "test...
====== 2 failed, 304 passed, 69 skipped, 6 deselected, 1 warning in 6.13s ======

vpv
[ 88%] Building CXX object CMakeFiles/libvpv.dir/src/icons.cpp.o
[ 89%] Building CXX object CMakeFiles/libvpv.dir/src/OpenGLDebug.cpp.o
[ 89%] Building CXX object CMakeFiles/libvpv.dir/src/collection_expression.cpp.o
[ 90%] Building CXX object CMakeFiles/libvpv.dir/src/strutils.cpp.o
[ 91%] Building CXX object CMakeFiles/libvpv.dir/src/globals.cpp.o
[ 92%] Building CXX object CMakeFiles/libvpv.dir/src/dragndrop.cpp.o
[ 92%] Building C object CMakeFiles/libvpv.dir/external/imgui/examples/libs/gl3w/GL/gl3w.c.o
[ 93%] Building CXX object CMakeFiles/libvpv.dir/luafiles.cpp.o
[ 94%] Building CXX object CMakeFiles/libvpv.dir/src/FuzzyFinder.cpp.o
[ 95%] Building C object CMakeFiles/libvpv.dir/src/wrapplambda.c.o
/build/source/src/ImageCollection.cpp: In function 'std::vector<std::filesystem::__cxx11::path> unpack_gdal_subdatasets(const std::string&)':
/build/source/src/ImageCollection.cpp:376:40: error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 'char**' [8;;https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-fpermissive�-fpermissive8;;�]
  376 |     char** subdatasets = g->GetMetadata("SUBDATASETS");
      |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
      |                                        |
      |                                        CSLConstList {aka const char* const*}
make[2]: *** [CMakeFiles/libvpv.dir/build.make:359: CMakeFiles/libvpv.dir/src/ImageCollection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1239: CMakeFiles/libvpv.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@dotlambda

Copy link
Copy Markdown
Member Author

I'm giving up on this PR. I don't know why that gdalMinimal test fails.
Feel free to merge it as is and fix gdalMinimal later or take it over in your own PR.

@dotlambda dotlambda mentioned this pull request Jun 21, 2026
25 of 36 tasks
@dotlambda

Copy link
Copy Markdown
Member Author

gdal is now broken on staging-next, see #521663

@vcunat
vcunat changed the base branch from master to staging-next July 8, 2026 08:29
@vcunat
vcunat added this pull request to the merge queue Jul 8, 2026
@nixpkgs-ci nixpkgs-ci Bot closed this Jul 8, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a manual request Jul 8, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Jul 8, 2026
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in Geospatial Team Jul 8, 2026
@vcunat

vcunat commented Jul 8, 2026

Copy link
Copy Markdown
Member

In there this does fix gdal build for me, at least. gdalMinimal fails with

FAILED gdrivers/zarr_driver.py::test_zarr_read_simple_sharding - AssertionError: assert None is not None

= 1 failed, 18680 passed, 3720 skipped, 46 deselected, 5 xfailed, 4 warnings in 310.64s (0:05:10) =

(I only tested x86_64-linux now)

@vcunat

vcunat commented Jul 8, 2026

Copy link
Copy Markdown
Member

Maybe we should re-ping the other gdal.meta.maintainers in hope that some of them will follow up and improve: @imincik @autra @l0b0 @nh2 @nialov @sikmir @willcohen

@vcunat
vcunat added this pull request to the merge queue Jul 8, 2026
Merged via the queue into NixOS:staging-next with commit f0f5b87 Jul 8, 2026
53 of 55 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jul 8, 2026
@dotlambda
dotlambda deleted the gdal branch July 8, 2026 23:04
@Soveu Soveu mentioned this pull request Jul 11, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. backport release-26.05 Backport PR automatically

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver …

6 participants