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

swig4: 4.0.2 -> 4.2.1 #277049

Merged
merged 2 commits into from
Jul 27, 2024
Merged

swig4: 4.0.2 -> 4.2.1 #277049

merged 2 commits into from
Jul 27, 2024

Conversation

afh
Copy link
Member

@afh afh commented Dec 27, 2023

Description of changes

👉 NOTA BENE: This PR depends on the relaxed gpytorch version requirement for botorch changes from #328732 in order to successfully run ``nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"onaarch64-darwin`.

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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 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.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3220

@pbsds
Copy link
Member

pbsds commented Jan 23, 2024

Result of nixpkgs-review pr 277049 run on x86_64-linux 1

30 packages failed to build:
  • faissWithCuda
  • faissWithCuda.demos
  • kicad-unstable
  • kicad-unstable-small
  • obs-studio-plugins.obs-backgroundremoval
  • openroad
  • or-tools
  • or-tools.python (python311Packages.ortools ,python311Packages.ortools.python)
  • python310Packages.dicom2nifti
  • python310Packages.dicom2nifti.dist
  • python310Packages.gdcm
  • python310Packages.intensity-normalization
  • python310Packages.intensity-normalization.dist
  • python310Packages.kicad
  • python310Packages.ortools (python310Packages.ortools.python)
  • python310Packages.pcbnew-transition
  • python310Packages.pcbnew-transition.dist
  • python310Packages.pdbfixer
  • python310Packages.pdbfixer.dist
  • python310Packages.pytorch-metric-learning
  • python310Packages.pytorch-metric-learning.dist
  • python310Packages.torchio
  • python310Packages.torchio.dist
  • python310Packages.txtai
  • python310Packages.txtai.dist
  • python311Packages.dicom2nifti
  • python311Packages.dicom2nifti.dist
  • python311Packages.gdcm
  • python311Packages.pdbfixer
  • python311Packages.pdbfixer.dist
91 packages built:
  • faiss (python311Packages.faiss)
  • faiss.demos (python311Packages.faiss.demos)
  • grap
  • inkcut
  • inkcut.dist
  • inkscape-extensions.inkcut
  • intensity-normalization (python311Packages.intensity-normalization)
  • intensity-normalization.dist (python311Packages.intensity-normalization.dist)
  • kicad
  • kicad-small
  • kicadAddons.kikit
  • kicadAddons.kikit-library
  • kikit
  • kikit.dist
  • obs-studio
  • obs-studio-plugins.advanced-scene-switcher
  • obs-studio-plugins.droidcam-obs
  • obs-studio-plugins.input-overlay
  • obs-studio-plugins.looking-glass-obs
  • obs-studio-plugins.obs-3d-effect
  • obs-studio-plugins.obs-command-source
  • obs-studio-plugins.obs-freeze-filter
  • obs-studio-plugins.obs-gradient-source
  • obs-studio-plugins.obs-gstreamer
  • obs-studio-plugins.obs-hyperion
  • obs-studio-plugins.obs-livesplit-one
  • obs-studio-plugins.obs-move-transition
  • obs-studio-plugins.obs-multi-rtmp
  • obs-studio-plugins.obs-mute-filter
  • obs-studio-plugins.obs-nvfbc
  • obs-studio-plugins.obs-pipewire-audio-capture
  • obs-studio-plugins.obs-replay-source
  • obs-studio-plugins.obs-rgb-levels-filter
  • obs-studio-plugins.obs-scale-to-sound
  • obs-studio-plugins.obs-shaderfilter
  • obs-studio-plugins.obs-source-clone
  • obs-studio-plugins.obs-source-record
  • obs-studio-plugins.obs-source-switcher
  • obs-studio-plugins.obs-teleport
  • obs-studio-plugins.obs-text-pthread
  • obs-studio-plugins.obs-transition-table
  • obs-studio-plugins.obs-tuna
  • obs-studio-plugins.obs-vaapi
  • obs-studio-plugins.obs-vertical-canvas
  • obs-studio-plugins.obs-vintage-filter
  • obs-studio-plugins.obs-vkcapture
  • obs-studio-plugins.obs-websocket
  • obs-studio-plugins.waveform
  • obs-studio-plugins.wlrobs
  • openmm
  • python310Packages.autofaiss
  • python310Packages.autofaiss.dist
  • python310Packages.enamlx
  • python310Packages.enamlx.dist
  • python310Packages.faiss
  • python310Packages.faiss.demos
  • python310Packages.openmm
  • python310Packages.pydicom-seg
  • python310Packages.pydicom-seg.dist
  • python310Packages.pymedio
  • python310Packages.pymedio.dist
  • python310Packages.pyradiomics
  • python310Packages.pyradiomics.dist
  • python310Packages.pythonocc-core
  • python310Packages.simpleitk
  • python310Packages.simpleitk.dist
  • python311Packages.autofaiss
  • python311Packages.autofaiss.dist
  • python311Packages.enamlx
  • python311Packages.enamlx.dist
  • python311Packages.kicad
  • python311Packages.openmm
  • python311Packages.pcbnew-transition
  • python311Packages.pcbnew-transition.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.pythonocc-core
  • python311Packages.pytorch-metric-learning
  • python311Packages.pytorch-metric-learning.dist
  • python311Packages.simpleitk
  • python311Packages.simpleitk.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python311Packages.txtai
  • python311Packages.txtai.dist
  • simpleitk
  • swig4

non-empty logs https://gist.github.com/pbsds/b5a614c1cd6f8431899b837a2b94d704

@wegank wegank marked this pull request as draft January 28, 2024 07:53
@wegank wegank force-pushed the update-swig4 branch 2 times, most recently from 79e5051 to 9728175 Compare February 4, 2024 16:43
@afh
Copy link
Member Author

afh commented Feb 9, 2024

Thanks @wegank, for the updates on this PR. What's a good strategy to move forward with this? 30 failed packages are a bit much for me to try and fix, especially as I can only build on my local workstation. Should I look out for updates on the failed packages? Contact those maintainers? Any ideas and suggestions are most welcome.

@wegank
Copy link
Member

wegank commented Feb 9, 2024

I think it's necessary to open separate PRs to fix the packages before merging this (I've made 14 for the bump to exiv2 0.28, for example). But it would indeed be a good idea to ping the maintainers first to see if they can fix them.

@wegank wegank mentioned this pull request Feb 9, 2024
13 tasks
@afh afh changed the title swig4: 4.0.2 -> 4.1.1 swig4: 4.0.2 -> 4.2.0 Feb 10, 2024
@afh
Copy link
Member Author

afh commented Feb 10, 2024

@pbsds would you be willing to do another nixpkgs-review pr 277049 to see whether the same packages fail now that this PR has been changed to update to Swig 4.2.0

@afh
Copy link
Member Author

afh commented Feb 10, 2024

Thanks for the recommendation @wegank, I'll work through the build failures and will open Issues or PRs and ask the package maintainers for help.

@pbsds
Copy link
Member

pbsds commented Feb 12, 2024

Result of nixpkgs-review pr 277049 run on x86_64-linux 1

13 packages marked as broken and skipped:
  • python312Packages.autofaiss
  • python312Packages.autofaiss.dist
  • python312Packages.faiss
  • python312Packages.faiss.demos
  • python312Packages.kicad
  • python312Packages.ortools
  • python312Packages.ortools.python
  • python312Packages.pcbnew-transition
  • python312Packages.pcbnew-transition.dist
  • python312Packages.pydicom-seg
  • python312Packages.pydicom-seg.dist
  • python312Packages.pyradiomics
  • python312Packages.pyradiomics.dist
25 packages failed to build:
  • faiss (python311Packages.faiss)
  • faiss.demos (python311Packages.faiss.demos)
  • faissWithCuda
  • faissWithCuda.demos
  • kicad-unstable
  • kicad-unstable-small
  • obs-studio-plugins.advanced-scene-switcher
  • openroad
  • or-tools
  • or-tools.python (python311Packages.ortools ,python311Packages.ortools.python)
  • python311Packages.autofaiss
  • python311Packages.autofaiss.dist
  • python311Packages.dicom2nifti
  • python311Packages.dicom2nifti.dist
  • python311Packages.gdcm
  • python311Packages.pdbfixer
  • python311Packages.pdbfixer.dist
  • python311Packages.pytorch-metric-learning
  • python311Packages.pytorch-metric-learning.dist
  • python311Packages.txtai
  • python311Packages.txtai.dist
  • python312Packages.gdcm
  • python312Packages.pdbfixer
  • python312Packages.pdbfixer.dist
  • sqlite-vss
75 packages built:
  • grap
  • inkcut
  • inkcut.dist
  • inkscape-extensions.inkcut
  • intensity-normalization (python311Packages.intensity-normalization)
  • intensity-normalization.dist (python311Packages.intensity-normalization.dist)
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicadAddons.kikit
  • kicadAddons.kikit-library
  • kikit
  • kikit.dist
  • obs-studio
  • obs-studio-plugins.droidcam-obs
  • obs-studio-plugins.input-overlay
  • obs-studio-plugins.looking-glass-obs
  • obs-studio-plugins.obs-3d-effect
  • obs-studio-plugins.obs-backgroundremoval
  • obs-studio-plugins.obs-command-source
  • obs-studio-plugins.obs-composite-blur
  • obs-studio-plugins.obs-freeze-filter
  • obs-studio-plugins.obs-gradient-source
  • obs-studio-plugins.obs-gstreamer
  • obs-studio-plugins.obs-hyperion
  • obs-studio-plugins.obs-livesplit-one
  • obs-studio-plugins.obs-move-transition
  • obs-studio-plugins.obs-multi-rtmp
  • obs-studio-plugins.obs-mute-filter
  • obs-studio-plugins.obs-nvfbc
  • obs-studio-plugins.obs-pipewire-audio-capture
  • obs-studio-plugins.obs-replay-source
  • obs-studio-plugins.obs-rgb-levels-filter
  • obs-studio-plugins.obs-scale-to-sound
  • obs-studio-plugins.obs-shaderfilter
  • obs-studio-plugins.obs-source-clone
  • obs-studio-plugins.obs-source-record
  • obs-studio-plugins.obs-source-switcher
  • obs-studio-plugins.obs-teleport
  • obs-studio-plugins.obs-text-pthread
  • obs-studio-plugins.obs-transition-table
  • obs-studio-plugins.obs-tuna
  • obs-studio-plugins.obs-vaapi
  • obs-studio-plugins.obs-vertical-canvas
  • obs-studio-plugins.obs-vintage-filter
  • obs-studio-plugins.obs-vkcapture
  • obs-studio-plugins.obs-webkitgtk
  • obs-studio-plugins.obs-websocket
  • obs-studio-plugins.waveform
  • obs-studio-plugins.wlrobs
  • openmm
  • python311Packages.enamlx
  • python311Packages.enamlx.dist
  • python311Packages.kicad
  • python311Packages.openmm
  • python311Packages.pcbnew-transition
  • python311Packages.pcbnew-transition.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.pythonocc-core
  • python311Packages.simpleitk
  • python311Packages.simpleitk.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python312Packages.openmm
  • python312Packages.pythonocc-core
  • python312Packages.simpleitk
  • python312Packages.simpleitk.dist
  • simpleitk
  • swig4

Hydra 502s atm, so can't check if the failures are expected

EDIT: i built the build.nix from nixpkgs-review after reverting the changes by this pr on the local checkout. These don't build on master:

  • /nix/store/wnkffghw59zy8jv5fnn95lhy0rp1h76k-kicad-unstable-e0d4cf2d5b.drv
  • /nix/store/vdvsvgs402pkyv0ixnk46xfi8m0w8hrl-kicad-unstable-small-e0d4cf2d5b.drv
  • /nix/store/sg2jfx3fk2hbhw5a0rmsd15wjmhnpzpp-kicad-base-e0d4cf2d5b.drv
  • /nix/store/qmkjj6rdmbf5l73p3m0k8h2f083hp6xi-python3.12-pdbfixer-1.9.drv
  • /nix/store/vy1pza24sb5pqf8pwva0xa8mbsccfy86-python3.11-pdbfixer-1.9.drv
  • /nix/store/22ijm0q75sns416nfnsd3yj7s2wi5ly8-libremidi-4.2.4.drv
  • /nix/store/22ijm0q75sns416nfnsd3yj7s2wi5ly8-libremidi-4.2.4.drv

@afh
Copy link
Member Author

afh commented Jun 7, 2024

With the availability of the 24.05 release and this PRs branch having rebased on the current master branch, would you have time and interest in nixpgs-reviwing this again for x86_64-linux, @pbsds?

@afh
Copy link
Member Author

afh commented Jun 7, 2024

Result of nixpkgs-review pr 277049 run on aarch64-darwin 1

38 packages marked as broken and skipped:
  • faissWithCuda
  • faissWithCuda.demos
  • intensity-normalization
  • intensity-normalization.dist
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicad-unstable
  • kicad-unstable-small
  • python311Packages.intensity-normalization
  • python311Packages.intensity-normalization.dist
  • python311Packages.medpy
  • python311Packages.medpy.dist
  • python311Packages.pdbfixer
  • python311Packages.pdbfixer.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python312Packages.enamlx
  • python312Packages.enamlx.dist
  • python312Packages.medpy
  • python312Packages.medpy.dist
  • python312Packages.pdbfixer
  • python312Packages.pdbfixer.dist
  • python312Packages.pydicom-seg
  • python312Packages.pydicom-seg.dist
  • python312Packages.pymedio
  • python312Packages.pymedio.dist
  • python312Packages.pyradiomics
  • python312Packages.pyradiomics.dist
  • python312Packages.torchio
  • python312Packages.torchio.dist
22 packages failed to build:
  • kicadAddons.kikit
  • kicadAddons.kikit-library
  • kikit
  • kikit.dist
  • or-tools
  • or-tools.python (python311Packages.ortools ,python311Packages.ortools.python)
  • python311Packages.dicom2nifti
  • python311Packages.dicom2nifti.dist
  • python311Packages.gdcm
  • python311Packages.kicad
  • python311Packages.pcbnewtransition
  • python311Packages.pcbnewtransition.dist
  • python312Packages.autofaiss
  • python312Packages.autofaiss.dist
  • python312Packages.dicom2nifti
  • python312Packages.dicom2nifti.dist
  • python312Packages.gdcm
  • python312Packages.ortools (python312Packages.ortools.python)
  • python312Packages.pytorch-metric-learning
  • python312Packages.pytorch-metric-learning.dist
  • python312Packages.txtai
  • python312Packages.txtai.dist
24 packages built:
  • faiss (python311Packages.faiss)
  • faiss.demos (python311Packages.faiss.demos)
  • inkcut
  • inkcut.dist
  • lldb_18 (llvmPackages_18.lldb)
  • lldb_18.dev (llvmPackages_18.lldb.dev)
  • lldb_18.lib (llvmPackages_18.lldb.lib)
  • llvmPackages_18.lldb-manpages
  • python311Packages.autofaiss
  • python311Packages.autofaiss.dist
  • python311Packages.enamlx
  • python311Packages.enamlx.dist
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python311Packages.pythonocc-core
  • python311Packages.pytorch-metric-learning
  • python311Packages.pytorch-metric-learning.dist
  • python311Packages.txtai
  • python311Packages.txtai.dist
  • python312Packages.faiss
  • python312Packages.faiss.demos
  • python312Packages.pythonocc-core
  • sqlite-vss
  • swig4

@afh
Copy link
Member Author

afh commented Jun 7, 2024

Find below a few findings, thoughts, questions related to the build failures posted above:

  • kicad-base fails with Could NOT find ngspice (missing: NGSPICE_INCLUDE_DIR NGSPICE_LIBRARY NGSPICE_DLL). The package provides a withNgspice option. Has ngspice become a non-optional requirement or is different way to en- or disable support during build needed?
  • or-tools fails with Error: Syntax error in input(3). Would or-tools need an update to work with the updated swig?
     [  5%] Generate C++ protocol buffer for ortools/scheduling/rcpsp.proto
* /tmp/nix-build-or-tools-9.4.drv-0/source/ortools/linear_solver/linear_solver.h:802: Error: Syntax error in input(3).
  make[2]: *** [ortools/linear_solver/python/CMakeFiles/pywraplp_swig_compilation.dir/build.make:76: ortools/linear_solver/python/CMakeFiles/* pywraplp.dir/linear_solverPYTHON.stamp] Error 
  • txtai and pytorch-metric-learning dependency faiss fails with ModuleNotFoundError: No module named 'distutils'. Would a substituteInPlace for "distutils" "setuptools._distutils" fix this?

@pbsds
Copy link
Member

pbsds commented Jun 7, 2024

I wouldn't worry about packages that are already broken on hydra, like kicad, txtai and pytorch-metric-learning. You can check so by inserting the attribute path into urls like

https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.kicad-unstable.x86_64-linux

For new breakages you need to determine whether the failure is due to flakyness/impurity or due to the change in swig4

I'm running nixpkgs-review on x86_64-linux now

@wegank
Copy link
Member

wegank commented Jun 7, 2024

  • kicad-base fails with Could NOT find ngspice (missing: NGSPICE_INCLUDE_DIR NGSPICE_LIBRARY NGSPICE_DLL). The package provides a withNgspice option. Has ngspice become a non-optional requirement or is different way to en- or disable support during build needed?

I'm sure it is non-optional now. In particular, python311Packages.kicad builds fine on Linux, but not on Darwin for the same error.

  • or-tools fails with Error: Syntax error in input(3). Would or-tools need an update to work with the updated swig?
     [  5%] Generate C++ protocol buffer for ortools/scheduling/rcpsp.proto
* /tmp/nix-build-or-tools-9.4.drv-0/source/ortools/linear_solver/linear_solver.h:802: Error: Syntax error in input(3).
  make[2]: *** [ortools/linear_solver/python/CMakeFiles/pywraplp_swig_compilation.dir/build.make:76: ortools/linear_solver/python/CMakeFiles/* pywraplp.dir/linear_solverPYTHON.stamp] Error 

Yes, but I think my #272425 is no longer working from a certain date this year, I'll try to bump the package again in that PR this weekend.

@afh
Copy link
Member Author

afh commented Jun 7, 2024

I wasn't aware about the or-tools update in #272425, happy to help test on aarch64-darwin if helpful…

@siraben
Copy link
Member

siraben commented Jun 10, 2024

Result of nixpkgs-review pr 277049 run on aarch64-darwin 1

38 packages marked as broken and skipped:
  • faissWithCuda
  • faissWithCuda.demos
  • intensity-normalization
  • intensity-normalization.dist
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicad-unstable
  • kicad-unstable-small
  • python311Packages.intensity-normalization
  • python311Packages.intensity-normalization.dist
  • python311Packages.medpy
  • python311Packages.medpy.dist
  • python311Packages.pdbfixer
  • python311Packages.pdbfixer.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python312Packages.enamlx
  • python312Packages.enamlx.dist
  • python312Packages.medpy
  • python312Packages.medpy.dist
  • python312Packages.pdbfixer
  • python312Packages.pdbfixer.dist
  • python312Packages.pydicom-seg
  • python312Packages.pydicom-seg.dist
  • python312Packages.pymedio
  • python312Packages.pymedio.dist
  • python312Packages.pyradiomics
  • python312Packages.pyradiomics.dist
  • python312Packages.torchio
  • python312Packages.torchio.dist
22 packages failed to build:
  • kicadAddons.kikit
  • kicadAddons.kikit-library
  • kikit
  • kikit.dist
  • or-tools
  • or-tools.python (python311Packages.ortools ,python311Packages.ortools.python)
  • python311Packages.dicom2nifti
  • python311Packages.dicom2nifti.dist
  • python311Packages.gdcm
  • python311Packages.kicad
  • python311Packages.pcbnewtransition
  • python311Packages.pcbnewtransition.dist
  • python312Packages.autofaiss
  • python312Packages.autofaiss.dist
  • python312Packages.dicom2nifti
  • python312Packages.dicom2nifti.dist
  • python312Packages.gdcm
  • python312Packages.ortools (python312Packages.ortools.python)
  • python312Packages.pytorch-metric-learning
  • python312Packages.pytorch-metric-learning.dist
  • python312Packages.txtai
  • python312Packages.txtai.dist
24 packages built:
  • faiss (python311Packages.faiss)
  • faiss.demos (python311Packages.faiss.demos)
  • inkcut
  • inkcut.dist
  • lldb_18 (llvmPackages_18.lldb)
  • lldb_18.dev (llvmPackages_18.lldb.dev)
  • lldb_18.lib (llvmPackages_18.lldb.lib)
  • llvmPackages_18.lldb-manpages
  • python311Packages.autofaiss
  • python311Packages.autofaiss.dist
  • python311Packages.enamlx
  • python311Packages.enamlx.dist
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python311Packages.pythonocc-core
  • python311Packages.pytorch-metric-learning
  • python311Packages.pytorch-metric-learning.dist
  • python311Packages.txtai
  • python311Packages.txtai.dist
  • python312Packages.faiss
  • python312Packages.faiss.demos
  • python312Packages.pythonocc-core
  • sqlite-vss
  • swig4

@afh afh marked this pull request as ready for review July 26, 2024 08:28
@afh
Copy link
Member Author

afh commented Jul 26, 2024

Result of nixpkgs-review pr 277049 run on x86_64-linux 1

9 packages failed to build:
  • faiss
  • faiss.demos
  • faissWithCuda
  • faissWithCuda.demos
  • grap
  • openroad
  • sqlite-vss
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
55 packages built:
  • inkcut
  • inkcut.dist
  • inkscape-extensions.inkcut
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicad-unstable
  • kicad-unstable-small
  • lldb_18
  • lldb_18.dev
  • lldb_18.lib
  • obs-studio
  • obs-studio-plugins.advanced-scene-switcher
  • obs-studio-plugins.droidcam-obs
  • obs-studio-plugins.input-overlay
  • obs-studio-plugins.looking-glass-obs
  • obs-studio-plugins.obs-3d-effect
  • obs-studio-plugins.obs-backgroundremoval
  • obs-studio-plugins.obs-command-source
  • obs-studio-plugins.obs-composite-blur
  • obs-studio-plugins.obs-freeze-filter
  • obs-studio-plugins.obs-gradient-source
  • obs-studio-plugins.obs-gstreamer
  • obs-studio-plugins.obs-hyperion
  • obs-studio-plugins.obs-livesplit-one
  • obs-studio-plugins.obs-move-transition
  • obs-studio-plugins.obs-multi-rtmp
  • obs-studio-plugins.obs-mute-filter
  • obs-studio-plugins.obs-nvfbc
  • obs-studio-plugins.obs-pipewire-audio-capture
  • obs-studio-plugins.obs-replay-source
  • obs-studio-plugins.obs-rgb-levels-filter
  • obs-studio-plugins.obs-scale-to-sound
  • obs-studio-plugins.obs-shaderfilter
  • obs-studio-plugins.obs-source-clone
  • obs-studio-plugins.obs-source-record
  • obs-studio-plugins.obs-source-switcher
  • obs-studio-plugins.obs-teleport
  • obs-studio-plugins.obs-text-pthread
  • obs-studio-plugins.obs-transition-table
  • obs-studio-plugins.obs-tuna
  • obs-studio-plugins.obs-vaapi
  • obs-studio-plugins.obs-vertical-canvas
  • obs-studio-plugins.obs-vintage-filter
  • obs-studio-plugins.obs-vkcapture
  • obs-studio-plugins.obs-webkitgtk
  • obs-studio-plugins.obs-websocket
  • obs-studio-plugins.waveform
  • obs-studio-plugins.wlrobs
  • openmm
  • or-tools
  • or-tools.python
  • simpleitk
  • swig4

@afh
Copy link
Member Author

afh commented Jul 26, 2024

Result of nixpkgs-review pr 277049 run on aarch64-darwin 1

8 packages marked as broken and skipped:
  • faissWithCuda
  • faissWithCuda.demos
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicad-unstable
  • kicad-unstable-small
12 packages built:
  • faiss
  • faiss.demos
  • inkcut
  • inkcut.dist
  • lldb_18
  • lldb_18.dev
  • or-tools
  • or-tools.python
  • sqlite-vss
  • swig4
  • whisper-ctranslate2
  • whisper-ctranslate2.dist

@ofborg ofborg bot requested a review from SomeoneSerge July 26, 2024 14:41
@afh afh mentioned this pull request Jul 26, 2024
13 tasks
@afh
Copy link
Member Author

afh commented Jul 26, 2024

Mind having another look at this, @siraben, @quantenzitrone, @wegank, @SomeoneSerge?

Checking the failed linux builds the following packages also fail on a recent commit (d3cb976) on master and are likely unrelated to the changes proposed in this PR:

The build failure of faiss is known (see facebookresearch/faiss#3239), related to the changes in this PR, and addressed by 3cdf3ed also included in this PR.

The other failures are very likely failures related to the faiss build-failure as they seem to have faiss as a dependency.

@afh
Copy link
Member Author

afh commented Jul 26, 2024

Result of nixpkgs-review pr 277049 run on x86_64-linux 1

2 packages failed to build:
  • grap
  • openroad
62 packages built:
  • faiss
  • faiss.demos
  • faissWithCuda
  • faissWithCuda.demos
  • inkcut
  • inkcut.dist
  • inkscape-extensions.inkcut
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicad-unstable
  • kicad-unstable-small
  • lldb_18
  • lldb_18.dev
  • lldb_18.lib
  • obs-studio
  • obs-studio-plugins.advanced-scene-switcher
  • obs-studio-plugins.droidcam-obs
  • obs-studio-plugins.input-overlay
  • obs-studio-plugins.looking-glass-obs
  • obs-studio-plugins.obs-3d-effect
  • obs-studio-plugins.obs-backgroundremoval
  • obs-studio-plugins.obs-command-source
  • obs-studio-plugins.obs-composite-blur
  • obs-studio-plugins.obs-freeze-filter
  • obs-studio-plugins.obs-gradient-source
  • obs-studio-plugins.obs-gstreamer
  • obs-studio-plugins.obs-hyperion
  • obs-studio-plugins.obs-livesplit-one
  • obs-studio-plugins.obs-move-transition
  • obs-studio-plugins.obs-multi-rtmp
  • obs-studio-plugins.obs-mute-filter
  • obs-studio-plugins.obs-nvfbc
  • obs-studio-plugins.obs-pipewire-audio-capture
  • obs-studio-plugins.obs-replay-source
  • obs-studio-plugins.obs-rgb-levels-filter
  • obs-studio-plugins.obs-scale-to-sound
  • obs-studio-plugins.obs-shaderfilter
  • obs-studio-plugins.obs-source-clone
  • obs-studio-plugins.obs-source-record
  • obs-studio-plugins.obs-source-switcher
  • obs-studio-plugins.obs-teleport
  • obs-studio-plugins.obs-text-pthread
  • obs-studio-plugins.obs-transition-table
  • obs-studio-plugins.obs-tuna
  • obs-studio-plugins.obs-vaapi
  • obs-studio-plugins.obs-vertical-canvas
  • obs-studio-plugins.obs-vintage-filter
  • obs-studio-plugins.obs-vkcapture
  • obs-studio-plugins.obs-webkitgtk
  • obs-studio-plugins.obs-websocket
  • obs-studio-plugins.waveform
  • obs-studio-plugins.wlrobs
  • openmm
  • or-tools
  • or-tools.python
  • simpleitk
  • sqlite-vss
  • swig4
  • whisper-ctranslate2
  • whisper-ctranslate2.dist

Co-authored-by: quantenzitrone <74491719+quantenzitrone@users.noreply.github.com>
@pbsbot
Copy link

pbsbot commented Jul 27, 2024

Result of nixpkgs-review pr 277049 run on x86_64-linux 1

2 packages marked as broken and skipped:
  • python312Packages.txtai
  • python312Packages.txtai.dist
18 packages failed to build:
  • grap
  • openroad
  • python311Packages.dicom2nifti
  • python311Packages.dicom2nifti.dist
  • python311Packages.gdcm
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python312Packages.dicom2nifti
  • python312Packages.dicom2nifti.dist
  • python312Packages.gdcm
  • python312Packages.pyannote-audio
  • python312Packages.pyannote-audio.dist
  • python312Packages.pydicom-seg
  • python312Packages.pydicom-seg.dist
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
110 packages built:
  • faiss (python312Packages.faiss)
  • faiss.demos (python312Packages.faiss.demos)
  • faissWithCuda
  • faissWithCuda.demos
  • inkcut
  • inkcut.dist
  • inkscape-extensions.inkcut
  • kicad
  • kicad-small
  • kicad-testing
  • kicad-testing-small
  • kicad-unstable
  • kicad-unstable-small
  • lldb_18
  • lldb_18.dev
  • lldb_18.lib
  • obs-studio
  • obs-studio-plugins.advanced-scene-switcher
  • obs-studio-plugins.droidcam-obs
  • obs-studio-plugins.input-overlay
  • obs-studio-plugins.looking-glass-obs
  • obs-studio-plugins.obs-3d-effect
  • obs-studio-plugins.obs-backgroundremoval
  • obs-studio-plugins.obs-command-source
  • obs-studio-plugins.obs-composite-blur
  • obs-studio-plugins.obs-freeze-filter
  • obs-studio-plugins.obs-gradient-source
  • obs-studio-plugins.obs-gstreamer
  • obs-studio-plugins.obs-hyperion
  • obs-studio-plugins.obs-livesplit-one
  • obs-studio-plugins.obs-move-transition
  • obs-studio-plugins.obs-multi-rtmp
  • obs-studio-plugins.obs-mute-filter
  • obs-studio-plugins.obs-nvfbc
  • obs-studio-plugins.obs-pipewire-audio-capture
  • obs-studio-plugins.obs-replay-source
  • obs-studio-plugins.obs-rgb-levels-filter
  • obs-studio-plugins.obs-scale-to-sound
  • obs-studio-plugins.obs-shaderfilter
  • obs-studio-plugins.obs-source-clone
  • obs-studio-plugins.obs-source-record
  • obs-studio-plugins.obs-source-switcher
  • obs-studio-plugins.obs-teleport
  • obs-studio-plugins.obs-text-pthread
  • obs-studio-plugins.obs-transition-table
  • obs-studio-plugins.obs-tuna
  • obs-studio-plugins.obs-vaapi
  • obs-studio-plugins.obs-vertical-canvas
  • obs-studio-plugins.obs-vintage-filter
  • obs-studio-plugins.obs-vkcapture
  • obs-studio-plugins.obs-webkitgtk
  • obs-studio-plugins.obs-websocket
  • obs-studio-plugins.waveform
  • obs-studio-plugins.wlrobs
  • openmm
  • or-tools
  • or-tools.python (python312Packages.ortools ,python312Packages.ortools.python)
  • python311Packages.autofaiss
  • python311Packages.autofaiss.dist
  • python311Packages.enamlx
  • python311Packages.enamlx.dist
  • python311Packages.faiss
  • python311Packages.faiss.demos
  • python311Packages.intensity-normalization
  • python311Packages.intensity-normalization.dist
  • python311Packages.kicad
  • python311Packages.medpy
  • python311Packages.medpy.dist
  • python311Packages.openmm
  • python311Packages.ortools (python311Packages.ortools.python)
  • python311Packages.pcbnewtransition
  • python311Packages.pcbnewtransition.dist
  • python311Packages.pdbfixer
  • python311Packages.pdbfixer.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.pythonocc-core
  • python311Packages.pytorch-metric-learning
  • python311Packages.pytorch-metric-learning.dist
  • python311Packages.simpleitk
  • python311Packages.simpleitk.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python311Packages.txtai
  • python311Packages.txtai.dist
  • python312Packages.autofaiss
  • python312Packages.autofaiss.dist
  • python312Packages.enamlx
  • python312Packages.enamlx.dist
  • python312Packages.medpy
  • python312Packages.medpy.dist
  • python312Packages.openmm
  • python312Packages.pdbfixer
  • python312Packages.pdbfixer.dist
  • python312Packages.pymedio
  • python312Packages.pymedio.dist
  • python312Packages.pyradiomics
  • python312Packages.pyradiomics.dist
  • python312Packages.pythonocc-core
  • python312Packages.pytorch-metric-learning
  • python312Packages.pytorch-metric-learning.dist
  • python312Packages.simpleitk
  • python312Packages.simpleitk.dist
  • python312Packages.torchio
  • python312Packages.torchio.dist
  • simpleitk
  • sqlite-vss
  • swig4

@pbsds
Copy link
Member

pbsds commented Jul 27, 2024

only new failure is described in #287880, LGTM

@pbsds pbsds merged commit 1fad921 into NixOS:master Jul 27, 2024
27 of 29 checks passed
@pbsds
Copy link
Member

pbsds commented Jul 27, 2024

Thank you for your contribution @afh, this one took a while to get merged

@afh afh deleted the update-swig4 branch July 27, 2024 13:12
@afh
Copy link
Member Author

afh commented Jul 27, 2024

Thanks @pbsds and everyone involved for your feedback and helping getting this merged, very much appreciated!! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants