Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

valhalla: 3.4.0 -> 3.5.1 #375449

Merged
merged 2 commits into from
Feb 5, 2025
Merged

valhalla: 3.4.0 -> 3.5.1 #375449

merged 2 commits into from
Feb 5, 2025

Conversation

tobim
Copy link
Contributor

@tobim tobim commented Jan 21, 2025

Also:

  • libspatialite: fix pkg-config file

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@imincik
Copy link
Contributor

imincik commented Jan 23, 2025

Running nixpkgs-review right now and I already see python-branca build failing (because of broken selenium update which will be fixed in next python-updates round).

@imincik
Copy link
Contributor

imincik commented Jan 23, 2025

You can move libspatialite changes to separate PR to get it merged sooner.

@imincik
Copy link
Contributor

imincik commented Jan 23, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 375449


x86_64-linux

⏩ 19 packages marked as broken and skipped:
  • froide
  • froide.dist
  • python312Packages.froide
  • python312Packages.froide.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.shimmy
  • python312Packages.shimmy.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
  • python313Packages.python-mapnik
  • python313Packages.python-mapnik.dist
  • python313Packages.worldengine
  • python313Packages.worldengine.dist
  • t-rex
  • worldengine-cli
  • worldengine-cli.dist
❌ 37 packages failed to build:
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • cloudcompare
  • osmscout-server
  • otb
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geoarrow-pandas
  • python312Packages.geoarrow-pandas.dist
  • python312Packages.geoarrow-pyarrow
  • python312Packages.geoarrow-pyarrow.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.msticpy
  • python312Packages.msticpy.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.pandera
  • python312Packages.pandera.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • spatialite_tools
✅ 95 packages built:
  • entwine
  • gdal (python312Packages.gdal)
  • gdalMinimal
  • gmt
  • gplates
  • grass
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • librasterlite2
  • libspatialite
  • libspatialite.dev
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • mysql-workbench
  • octavePackages.mapping
  • openorienteering-mapper
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresql15JitPackages.postgis
  • postgresql15JitPackages.postgis.doc
  • postgresql15Packages.postgis
  • postgresql15Packages.postgis.doc
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql17JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql17JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql17Packages.postgis.doc)
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap4.dist
  • python313Packages.django-bootstrap5
  • python313Packages.django-bootstrap5.dist
  • python313Packages.drf-extra-fields
  • python313Packages.drf-extra-fields.dist
  • python313Packages.gdal
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.pygmt
  • python313Packages.pygmt.dist
  • python313Packages.pyogrio
  • python313Packages.pyogrio.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • saga
  • spatialite-gui
  • sumo
  • survex
  • therion
  • tunnelx
  • udig
  • valhalla
  • vpv

@tobim
Copy link
Contributor Author

tobim commented Jan 23, 2025

You can move libspatialite changes to separate PR to get it merged sooner.

I'm not in a hurry.

@Thra11
Copy link
Member

Thra11 commented Feb 2, 2025

Does osmscout-server work with valhalla 3.5.1? There's no valhalla.json-3.5.1 here: https://github.com/rinigus/osmscout-server/tree/master/data, so it probably won't work (There are no unit-tests, so you'd need to run osmscout-server manually and test it with e.g. pure-maps to see if routing still works correctly). Since osmscout-server is currently the only package in nixpkgs that depends on valhalla, either we need to keep a copy of valhalla 3.4 around for osmscout-server to use, or we need to wait until osmscout-server is able to use valhalla 3.5 before updating the main valhalla package.

@tobim
Copy link
Contributor Author

tobim commented Feb 2, 2025

@Thra11 we can't even test that because other dependencies of osmscout-server are also broken (you could review #375451 btw).

@GaetanLepage
Copy link
Contributor

you could review #375451 btw).

Merged :)

@Thra11
Copy link
Member

Thra11 commented Feb 2, 2025

In testing #375451, I see valhalla is also broken in a similar-but-different way. I assume the easiest way to fix valhalla is to update it to 3.5.1? In which case, we presumably have two options to get osmscout-server building and working:

  1. Identify the valhalla commits since which allow it to build with gcc14, keep nixpkgs' valhalla on 3.4 for now, with the commits applied as patches
  2. Update valhalla to 3.5.1, adapt osmscout-server's valhalla.json-3.4.0 to make valhalla.json-3.5.1 and submit it to osmscout-server (this is basically what I ended up doing for the valhalla 3.4 update).

If it was just the valhalla update that was breaking osmscout-server, I would probably go with option 1 to start with. However, as osmscout-server is already broken, I don't really mind which route we take, as long as we try not to leave it buildable-but-broken for too long.

Co-authored-by: Gaétan Lepage <[email protected]>
@tobim tobim force-pushed the pkgs/valhalla-3.5.1 branch from 3b6c0e6 to afc3d4a Compare February 3, 2025 05:40
@tobim
Copy link
Contributor Author

tobim commented Feb 3, 2025

I assume the easiest way to fix valhalla is to update it to 3.5.1?

That was at least the first thing I tried and it worked. It is also the reason I'd prefer to go with your option 2 for osmscout-server. Since you already added support for 3.4.0, may I ask you to do this update? I myself don't know what would be needed for that.

I don't really mind which route we take, as long as we try not to leave it buildable-but-broken for too long.

Maybe you could add a post installation test to make it not buildable when broken?

@imincik
Copy link
Contributor

imincik commented Feb 5, 2025

Running nixpkgs-review right now and I already see python-branca build failing (because of broken selenium update which will be fixed in next python-updates round).

This issue is solved now. All linux builds are green in nixpkgs-unstable https://github.com/imincik/nix-utils/actions/runs/13151221904 .

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 375449


x86_64-linux

⏩ 15 packages marked as broken and skipped:
  • froide
  • froide.dist
  • python312Packages.froide
  • python312Packages.froide.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.shimmy
  • python312Packages.shimmy.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
  • python313Packages.worldengine
  • python313Packages.worldengine.dist
  • t-rex
  • worldengine-cli
  • worldengine-cli.dist
❌ 3 packages failed to build:
  • cloudcompare
  • otb
  • spatialite_tools
✅ 133 packages built:
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • entwine
  • gdal (python312Packages.gdal)
  • gdalMinimal
  • gmt
  • gplates
  • grass
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • librasterlite2
  • libspatialite
  • libspatialite.dev
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • mysql-workbench
  • octavePackages.mapping
  • openorienteering-mapper
  • osmscout-server
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresql15JitPackages.postgis
  • postgresql15JitPackages.postgis.doc
  • postgresql15Packages.postgis
  • postgresql15Packages.postgis.doc
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql17JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql17JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql17Packages.postgis.doc)
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geoarrow-pandas
  • python312Packages.geoarrow-pandas.dist
  • python312Packages.geoarrow-pyarrow
  • python312Packages.geoarrow-pyarrow.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.msticpy
  • python312Packages.msticpy.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.pandera
  • python312Packages.pandera.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap4.dist
  • python313Packages.django-bootstrap5
  • python313Packages.django-bootstrap5.dist
  • python313Packages.drf-extra-fields
  • python313Packages.drf-extra-fields.dist
  • python313Packages.gdal
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.pygmt
  • python313Packages.pygmt.dist
  • python313Packages.pyogrio
  • python313Packages.pyogrio.dist
  • python313Packages.python-mapnik
  • python313Packages.python-mapnik.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • saga
  • spatialite-gui
  • sumo
  • survex
  • therion
  • tunnelx
  • udig
  • valhalla
  • vpv

aarch64-linux

⏩ 15 packages marked as broken and skipped:
  • froide
  • froide.dist
  • python312Packages.froide
  • python312Packages.froide.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.shimmy
  • python312Packages.shimmy.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
  • python313Packages.worldengine
  • python313Packages.worldengine.dist
  • t-rex
  • worldengine-cli
  • worldengine-cli.dist
❌ 3 packages failed to build:
  • cloudcompare
  • otb
  • spatialite_tools
✅ 132 packages built:
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • entwine
  • gdal (python312Packages.gdal)
  • gdalMinimal
  • gmt
  • gplates
  • grass
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • librasterlite2
  • libspatialite
  • libspatialite.dev
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • mysql-workbench
  • octavePackages.mapping
  • openorienteering-mapper
  • osmscout-server
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresql15JitPackages.postgis
  • postgresql15JitPackages.postgis.doc
  • postgresql15Packages.postgis
  • postgresql15Packages.postgis.doc
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql17JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql17JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql17Packages.postgis.doc)
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geoarrow-pandas
  • python312Packages.geoarrow-pandas.dist
  • python312Packages.geoarrow-pyarrow
  • python312Packages.geoarrow-pyarrow.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.msticpy
  • python312Packages.msticpy.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.pandera
  • python312Packages.pandera.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap4.dist
  • python313Packages.django-bootstrap5
  • python313Packages.django-bootstrap5.dist
  • python313Packages.drf-extra-fields
  • python313Packages.drf-extra-fields.dist
  • python313Packages.gdal
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.pygmt
  • python313Packages.pygmt.dist
  • python313Packages.pyogrio
  • python313Packages.pyogrio.dist
  • python313Packages.python-mapnik
  • python313Packages.python-mapnik.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • saga
  • spatialite-gui
  • sumo
  • survex
  • therion
  • tunnelx
  • valhalla
  • vpv

x86_64-darwin

⏩ 18 packages marked as broken and skipped:
  • froide
  • froide.dist
  • gplates
  • python312Packages.froide
  • python312Packages.froide.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.shimmy
  • python312Packages.shimmy.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
  • python313Packages.worldengine
  • python313Packages.worldengine.dist
  • sumo
  • t-rex
  • vpv
  • worldengine-cli
  • worldengine-cli.dist
❌ 28 packages failed to build:
  • grass
  • mapcache
  • mapnik
  • merkaartor
  • octavePackages.mapping
  • openorienteering-mapper
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • postgresql15Packages.postgis
  • postgresql15Packages.postgis.doc
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • python313Packages.python-mapnik
  • python313Packages.python-mapnik.dist
  • saga
  • spatialite_tools
  • therion
✅ 91 packages built:
  • gdal (python312Packages.gdal)
  • gdalMinimal
  • gmt
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • librasterlite2
  • libspatialite
  • libspatialite.dev
  • mapproxy
  • mapproxy.dist
  • mapserver
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresql15JitPackages.postgis
  • postgresql15JitPackages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql17JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql17JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql17Packages.postgis.doc)
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geoarrow-pandas
  • python312Packages.geoarrow-pandas.dist
  • python312Packages.geoarrow-pyarrow
  • python312Packages.geoarrow-pyarrow.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.msticpy
  • python312Packages.msticpy.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.pandera
  • python312Packages.pandera.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap4.dist
  • python313Packages.django-bootstrap5
  • python313Packages.django-bootstrap5.dist
  • python313Packages.drf-extra-fields
  • python313Packages.drf-extra-fields.dist
  • python313Packages.gdal
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.pygmt
  • python313Packages.pygmt.dist
  • python313Packages.pyogrio
  • python313Packages.pyogrio.dist
  • spatialite-gui
  • survex
  • udig

aarch64-darwin

⏩ 18 packages marked as broken and skipped:
  • froide
  • froide.dist
  • gplates
  • python312Packages.froide
  • python312Packages.froide.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.shimmy
  • python312Packages.shimmy.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
  • python313Packages.worldengine
  • python313Packages.worldengine.dist
  • sumo
  • t-rex
  • vpv
  • worldengine-cli
  • worldengine-cli.dist
❌ 22 packages failed to build:
  • grass
  • mapcache
  • mapnik
  • merkaartor
  • octavePackages.mapping
  • openorienteering-mapper
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • python313Packages.python-mapnik
  • python313Packages.python-mapnik.dist
  • saga
  • spatialite_tools
  • therion
✅ 96 packages built:
  • gdal (python312Packages.gdal)
  • gdalMinimal
  • gmt
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • librasterlite2
  • libspatialite
  • libspatialite.dev
  • mapproxy
  • mapproxy.dist
  • mapserver
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresql15JitPackages.postgis
  • postgresql15JitPackages.postgis.doc
  • postgresql15Packages.postgis
  • postgresql15Packages.postgis.doc
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql17JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql17JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql17Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql17Packages.postgis.doc)
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geoarrow-pandas
  • python312Packages.geoarrow-pandas.dist
  • python312Packages.geoarrow-pyarrow
  • python312Packages.geoarrow-pyarrow.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.msticpy
  • python312Packages.msticpy.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.pandera
  • python312Packages.pandera.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • python313Packages.django-bootstrap4
  • python313Packages.django-bootstrap4.dist
  • python313Packages.django-bootstrap5
  • python313Packages.django-bootstrap5.dist
  • python313Packages.drf-extra-fields
  • python313Packages.drf-extra-fields.dist
  • python313Packages.gdal
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.pygmt
  • python313Packages.pygmt.dist
  • python313Packages.pyogrio
  • python313Packages.pyogrio.dist
  • spatialite-gui
  • survex

Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Feb 5, 2025
@GaetanLepage GaetanLepage merged commit 1da52dd into NixOS:master Feb 5, 2025
26 of 28 checks passed
@imincik
Copy link
Contributor

imincik commented Feb 6, 2025

Unfortunately, this PR is breaking spatialite_tools

make[1]: Leaving directory '/build/spatialite-tools-5.1.0a'
make: *** [Makefile:525: all] Error 2
error: build of '/nix/store/qhwg2l5nzdaagdfrnyvz9ipiiyiva4a2-spatialite-tools-5.1.0a.drv' on 'ssh-ng://im-builder.tail6adb8.ts.net' failed: builder for '/nix/store/qhwg2l5nzdaagdfrnyvz9ipiiyiva4a2-spatialite-tools-5.1.0a.drv' failed with exit code 2;
       last 25 log lines:
       >     inlined from 'openShpWrite' at shp_sanitize.c:1921:4,
       >     inlined from 'do_repair_shapefile' at shp_sanitize.c:3725:5:
       > /nix/store/6aci60gk5wj4bjj1rygzbkc6ximmsm17-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024
       >    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
       >       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       >    31 |                                   __glibc_objsize (__s), __fmt,
       >       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       >    32 |                                   __va_arg_pack ());
       >       |                                   ~~~~~~~~~~~~~~~~~
       > shp_sanitize.c: In function 'do_repair_shapefile':
       > shp_sanitize.c:1912:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 []
       >  1912 |           sprintf (errMsg, "unable to open '%s' for writing: %s", xpath,
       >       |                                             ^~                    ~~~~~
       > In function 'sprintf',
       >     inlined from 'openShpWrite' at shp_sanitize.c:1912:4,
       >     inlined from 'do_repair_shapefile' at shp_sanitize.c:3725:5:
       > /nix/store/6aci60gk5wj4bjj1rygzbkc6ximmsm17-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024
       >    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
       >       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       >    31 |                                   __glibc_objsize (__s), __fmt,
       >       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       >    32 |                                   __va_arg_pack ());
       >       |                                   ~~~~~~~~~~~~~~~~~
       > make[1]: Leaving directory '/build/spatialite-tools-5.1.0a'
       > make: *** [Makefile:525: all] Error 2
       For full logs, run 'nix log /nix/store/qhwg2l5nzdaagdfrnyvz9ipiiyiva4a2-spatialite-tools-5.1.0a.drv'.
error: builder for '/nix/store/qhwg2l5nzdaagdfrnyvz9ipiiyiva4a2-spatialite-tools-5.1.0a.drv' failed with exit code 1

and possibly breaking otb as well.

Also, I see many packages broken on darwin . @GaetanLepage , did you broken packages reported by your nixpkgs-review properly ? Look to me that we should consider to revert this PR

@GaetanLepage
Copy link
Contributor

Unfortunately, this PR is breaking spatialite_tools

This is unfortunate indeed. I did not assume those three failures on Linux to be regressions, my bad.
@tobim, do you think you can fix those downstream packages? Otherwise sure, we should revert this PR.

@imincik
Copy link
Contributor

imincik commented Feb 6, 2025

Just checked on Hydra,

otb was already broken before this PR, but spatialite_tools was broken by THIS PR.

@tobim
Copy link
Contributor Author

tobim commented Feb 6, 2025

otb has a dependency on shark, which is broken.
spatialite_tools is now broken because its build system is not linking to xml2, which it directly depends on. It should not rely on spatialite.pc to add this flag, because libspatialite.so itself doesn't need it.

@tobim tobim mentioned this pull request Feb 6, 2025
13 tasks
@tobim tobim deleted the pkgs/valhalla-3.5.1 branch February 6, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants