Skip to content

superlu: fix build with clang21#448396

Merged
NickCao merged 4 commits intoNixOS:masterfrom
qbisi:superlu
Oct 8, 2025
Merged

superlu: fix build with clang21#448396
NickCao merged 4 commits intoNixOS:masterfrom
qbisi:superlu

Conversation

@qbisi
Copy link
Contributor

@qbisi qbisi commented Oct 4, 2025

clang21 crashes when compiling slatms.c from SuperLU’s matgen test code
A temporary fix is to disable the vectorize optimization in test target matgen.

cc #444862

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.

Add a 👍 reaction to pull requests you find important.

@qbisi qbisi requested a review from emilazy October 4, 2025 01:28
@nixpkgs-ci nixpkgs-ci bot added 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. labels Oct 4, 2025
@vcunat vcunat changed the base branch from staging-next to master October 5, 2025 13:34
@nixpkgs-ci nixpkgs-ci bot closed this Oct 5, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Oct 5, 2025
@qbisi
Copy link
Contributor Author

qbisi commented Oct 7, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 448396
Commit: 7c30eb51bcd2012e4fb12a7fc42c16a39ebdfe29


aarch64-darwin

⏩ 1 package marked as broken and skipped:
  • opentoonz
❌ 18 packages failed to build:
  • f3d
  • itk_5_2
  • mapserver
  • merkaartor
  • octavePackages.mapping
  • openorienteering-mapper
  • pcl
  • pflotran
  • python312Packages.f3d
  • python312Packages.geoarrow-pandas
  • python312Packages.geoarrow-pandas.dist
  • python312Packages.geoarrow-pyarrow
  • python312Packages.geoarrow-pyarrow.dist
  • python313Packages.f3d
  • python313Packages.geoarrow-pandas
  • python313Packages.geoarrow-pandas.dist
  • python313Packages.geoarrow-pyarrow
  • python313Packages.geoarrow-pyarrow.dist
✅ 204 packages built:
  • ants
  • apbs
  • armadillo
  • dolfinx
  • elmerfem
  • froide-govplan
  • froide-govplan.dist
  • gdal (python313Packages.gdal)
  • gdcm
  • gmt
  • grass
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • itk (itk_5)
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • octavePackages.dicom
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perlPackages.Tirex (perl540Packages.Tirex)
  • perlPackages.Tirex.devdoc (perl540Packages.Tirex.devdoc)
  • petsc
  • precice
  • 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.fast-simplification
  • python312Packages.fast-simplification.dist
  • python312Packages.fenics-dolfinx
  • python312Packages.fenics-dolfinx.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.firedrake
  • python312Packages.firedrake.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.gdal
  • python312Packages.gdcm
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.gstools
  • python312Packages.gstools.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.mayavi
  • python312Packages.mayavi.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.msticpy
  • python312Packages.msticpy.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.odc-geo
  • python312Packages.odc-geo.dist
  • python312Packages.odc-loader
  • python312Packages.odc-loader.dist
  • python312Packages.odc-stac
  • python312Packages.odc-stac.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.pandera
  • python312Packages.pandera.dist
  • python312Packages.petsc4py
  • python312Packages.petsctools
  • python312Packages.petsctools.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pykrige
  • python312Packages.pykrige.dist
  • python312Packages.pymatgen
  • python312Packages.pymatgen.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.pyprecice
  • python312Packages.pyprecice.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • python312Packages.pyvista
  • python312Packages.pyvista.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rio-stac
  • python312Packages.rio-stac.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.sfepy
  • python312Packages.sfepy.dist
  • python312Packages.slepc4py
  • python312Packages.sumo
  • python312Packages.sumo.dist
  • python312Packages.vtk
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • python313Packages.bsuite
  • python313Packages.bsuite.dist
  • python313Packages.cartopy
  • python313Packages.cartopy.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.fast-simplification
  • python313Packages.fast-simplification.dist
  • python313Packages.fenics-dolfinx
  • python313Packages.fenics-dolfinx.dist
  • python313Packages.fiona
  • python313Packages.fiona.dist
  • python313Packages.firedrake
  • python313Packages.firedrake.dist
  • python313Packages.folium
  • python313Packages.folium.dist
  • python313Packages.gdcm
  • python313Packages.geodatasets
  • python313Packages.geodatasets.dist
  • python313Packages.geopandas
  • python313Packages.geopandas.dist
  • python313Packages.geoparquet
  • python313Packages.geoparquet.dist
  • python313Packages.gstools
  • python313Packages.gstools.dist
  • python313Packages.inequality
  • python313Packages.inequality.dist
  • python313Packages.libpysal
  • python313Packages.libpysal.dist
  • python313Packages.mapclassify
  • python313Packages.mapclassify.dist
  • python313Packages.momepy
  • python313Packages.momepy.dist
  • python313Packages.morecantile
  • python313Packages.morecantile.dist
  • python313Packages.msticpy
  • python313Packages.msticpy.dist
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.odc-geo
  • python313Packages.odc-geo.dist
  • python313Packages.odc-loader
  • python313Packages.odc-loader.dist
  • python313Packages.odc-stac
  • python313Packages.odc-stac.dist
  • python313Packages.osmnx
  • python313Packages.osmnx.dist
  • python313Packages.pandera
  • python313Packages.pandera.dist
  • python313Packages.petsc4py
  • python313Packages.petsctools
  • python313Packages.petsctools.dist
  • python313Packages.plotnine
  • python313Packages.plotnine.dist
  • python313Packages.pygmt
  • python313Packages.pygmt.dist
  • python313Packages.pykrige
  • python313Packages.pykrige.dist
  • python313Packages.pyogrio
  • python313Packages.pyogrio.dist
  • python313Packages.pyprecice
  • python313Packages.pyprecice.dist
  • python313Packages.python-mapnik
  • python313Packages.python-mapnik.dist
  • python313Packages.pyvista
  • python313Packages.pyvista.dist
  • python313Packages.rasterio
  • python313Packages.rasterio.dist
  • python313Packages.rio-stac
  • python313Packages.rio-stac.dist
  • python313Packages.rioxarray
  • python313Packages.rioxarray.dist
  • python313Packages.slepc4py
  • python313Packages.vtk
  • python313Packages.wktutils
  • python313Packages.wktutils.dist
  • saga
  • slepc
  • superlu
  • survex
  • vtk (vtk_9_5)
  • vtk-dicom
  • vtk-full
  • vtkWithQt6

Error logs: `aarch64-darwin`
itk_5_2
-- Enabled ITKVideoCore, requested by ITK_BUILD_DEFAULT_MODULES.
-- Enabled ITKVideoFiltering, requested by ITK_BUILD_DEFAULT_MODULES.
-- Enabled ITKVideoIO, requested by ITK_BUILD_DEFAULT_MODULES.
-- Enabled ITKVoronoi, requested by ITK_BUILD_DEFAULT_MODULES.
-- Enabled ITKVtkGlue, requested by Module_ITKVtkGlue.
-- Enabled ITKWatersheds, requested by ITK_BUILD_DEFAULT_MODULES.
-- Enabled ITKZLIB, requested by ITK_BUILD_DEFAULT_MODULES.
-- Enabled SimpleITKFilters, requested by Module_SimpleITKFilters.
-- Double correction test returned: 89255.0/1e22 = 8.9255e-18
CMake Error at Modules/ThirdParty/KWSys/src/KWSys/CMakeLists.txt:89 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!

mapserver
  File "<string>", line 1, in <lambda>
    import sys; import importlib; list(map(lambda mod: importlib.import_module(mod), sys.argv[1:]))
                                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/nix/store/xjpv7j44jn7mifw8r69p7shrsh1aqmnf-python3-3.13.7/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/nix/store/bcwkqhly11az9h087kb1l6k6gq0fgadj-mapserver-8.4.1/lib/python3.13/site-packages/mapscript/__init__.py", line 32, in <module>
    from .mapscript import *  # NOQA
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/bcwkqhly11az9h087kb1l6k6gq0fgadj-mapserver-8.4.1/lib/python3.13/site-packages/mapscript/mapscript.py", line 10, in <module>
    from . import _mapscript
ImportError: dlopen(/nix/store/bcwkqhly11az9h087kb1l6k6gq0fgadj-mapserver-8.4.1/lib/python3.13/site-packages/mapscript/_mapscript.so, 0x0002): Library not loaded: @rpath/libmapserver.2.dylib
  Referenced from: <FA21D7ED-5310-3E19-A480-667675481971> /nix/store/bcwkqhly11az9h087kb1l6k6gq0fgadj-mapserver-8.4.1/lib/python3.13/site-packages/mapscript/_mapscript.so
  Reason: tried: '/usr/local/lib/libmapserver.2.dylib' (no such file), '/usr/lib/libmapserver.2.dylib' (no such file, not in dyld cache)

@NickCao NickCao added this pull request to the merge queue Oct 8, 2025
Merged via the queue into NixOS:master with commit c22e935 Oct 8, 2025
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants