Skip to content

[staging-next] Reapply "onnxruntime,python3.pkgs.onnxruntime: fix runtime w/ glibc-2.42" - #482435

Merged
vcunat merged 1 commit into
NixOS:staging-nextfrom
GaetanLepage:staging-next
Jan 22, 2026
Merged

vcunat merged 1 commit into
NixOS:staging-nextfrom
GaetanLepage:staging-next

Conversation

@GaetanLepage

@GaetanLepage GaetanLepage commented Jan 21, 2026 •

Copy link
Copy Markdown
Contributor

Things done

This reverts commit a2f2324.

(See #479191).

This fixes python3Packages.onnxruntime.

  • 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.

@GaetanLepage GaetanLepage changed the title Reapply "onnxruntime,python3.pkgs.onnxruntime: fix runtime w/ glibc-2.42" [staging-next] Reapply "onnxruntime,python3.pkgs.onnxruntime: fix runtime w/ glibc-2.42" Jan 21, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from ck3d and puffnfresh January 21, 2026 22:00
@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: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Jan 21, 2026
@GaetanLepage

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 482435
Commit: e50b405461b3e084c972d750c8d2f449934c9d73


x86_64-linux

❌ 26 packages failed to build:
  • exo
  • exo.dist
  • minari (python313Packages.minari)
  • minari.dist (python313Packages.minari.dist)
  • python313Packages.ale-py
  • python313Packages.ale-py.dist
  • python313Packages.brax
  • python313Packages.brax.dist
  • python313Packages.gymnasium
  • python313Packages.gymnasium.dist
  • python313Packages.lerobot
  • python313Packages.lerobot.dist
  • python313Packages.pettingzoo
  • python313Packages.pettingzoo.dist
  • python313Packages.shimmy
  • python313Packages.shimmy.dist
  • python313Packages.skrl
  • python313Packages.skrl.dist
  • python313Packages.stable-baselines3
  • python313Packages.stable-baselines3.dist
  • python313Packages.tianshou
  • python313Packages.tianshou.dist
  • python313Packages.torchrl
  • python313Packages.torchrl.dist
  • python313Packages.vmas
  • python313Packages.vmas.dist
✅ 252 packages built:
  • adoptopenjdk-icedtea-web
  • aider-chat-full
  • aider-chat-full.dist
  • aider-chat-with-help
  • aider-chat-with-help.dist
  • aitrack
  • alpaca
  • babeldoc
  • babeldoc.dist
  • calibre
  • calibre-no-speech
  • crewai (python313Packages.crewai)
  • crewai.dist (python313Packages.crewai.dist)
  • crow-translate
  • deface
  • deface.dist
  • envision
  • firefox-beta-unwrapped
  • firefox-beta-unwrapped.debug
  • firefox-beta-unwrapped.symbols
  • firefox-devedition-unwrapped
  • firefox-devedition-unwrapped.debug
  • firefox-devedition-unwrapped.symbols
  • firefox-unwrapped
  • firefox-unwrapped.debug
  • firefox-unwrapped.symbols
  • firefoxpwa
  • frigate
  • hieroglyphic
  • ieda
  • immich-machine-learning
  • immich-machine-learning.dist
  • kikoplay
  • lacus
  • lacus.dist
  • librewolf-unwrapped
  • librewolf-unwrapped.debug
  • livecaptions
  • maa-assistant-arknights
  • maa-cli
  • magika (python313Packages.magika)
  • magika-cli
  • magika.dist (python313Packages.magika.dist)
  • monado
  • newelle
  • obs-studio-plugins.obs-backgroundremoval
  • onnxruntime
  • onnxruntime.debug
  • onnxruntime.dev
  • onnxruntime.dist
  • open-webui
  • open-webui.dist
  • openseeface
  • opentrack
  • owocr
  • owocr.dist
  • piper-phonemize
  • piper-tts
  • piper-tts.dist
  • python313Packages.arviz
  • python313Packages.arviz.dist
  • python313Packages.bambi
  • python313Packages.bambi.dist
  • python313Packages.chromadb
  • python313Packages.chromadb.dist
  • python313Packages.clu
  • python313Packages.clu.dist
  • python313Packages.corner
  • python313Packages.corner.dist
  • python313Packages.dalle-mini
  • python313Packages.dalle-mini.dist
  • python313Packages.deepface
  • python313Packages.deepface.dist
  • python313Packages.distrax
  • python313Packages.distrax.dist
  • python313Packages.dm-sonnet
  • python313Packages.dm-sonnet.dist
  • python313Packages.edward
  • python313Packages.edward.dist
  • python313Packages.evosax
  • python313Packages.evosax.dist
  • python313Packages.fastembed
  • python313Packages.fastembed.dist
  • python313Packages.faster-whisper
  • python313Packages.faster-whisper.dist
  • python313Packages.flax
  • python313Packages.flax.dist
  • python313Packages.flowjax
  • python313Packages.flowjax.dist
  • python313Packages.gliner
  • python313Packages.gliner.dist
  • python313Packages.insightface
  • python313Packages.insightface.dist
  • python313Packages.keras
  • python313Packages.keras.dist
  • python313Packages.lacuscore
  • python313Packages.lacuscore.dist
  • python313Packages.langchain-chroma
  • python313Packages.langchain-chroma.dist
  • python313Packages.langchain-huggingface
  • python313Packages.langchain-huggingface.dist
  • python313Packages.llama-index
  • python313Packages.llama-index-cli
  • python313Packages.llama-index-cli.dist
  • python313Packages.llama-index-embeddings-huggingface
  • python313Packages.llama-index-embeddings-huggingface.dist
  • python313Packages.llama-index-vector-stores-chroma
  • python313Packages.llama-index-vector-stores-chroma.dist
  • python313Packages.llama-index.dist
  • python313Packages.llm-sentence-transformers
  • python313Packages.llm-sentence-transformers.dist
  • python313Packages.manifest-ml
  • python313Packages.manifest-ml.dist
  • python313Packages.markitdown
  • python313Packages.markitdown.dist
  • python313Packages.mhcflurry
  • python313Packages.mhcflurry.dist
  • python313Packages.mmcv
  • python313Packages.mmcv.dist
  • python313Packages.mtcnn
  • python313Packages.mtcnn.dist
  • python313Packages.numpyro
  • python313Packages.numpyro.dist
  • python313Packages.nutpie
  • python313Packages.nutpie.dist
  • python313Packages.onnx-ir
  • python313Packages.onnx-ir.dist
  • python313Packages.onnxruntime
  • python313Packages.onnxruntime.dist
  • python313Packages.onnxscript
  • python313Packages.onnxscript.dist
  • python313Packages.piper-phonemize
  • python313Packages.piper-phonemize.dist
  • python313Packages.pymc
  • python313Packages.pymc.dist
  • python313Packages.pypasser
  • python313Packages.pypasser.dist
  • python313Packages.pytensor
  • python313Packages.pytensor.dist
  • python313Packages.rapidocr
  • python313Packages.rapidocr-onnxruntime
  • python313Packages.rapidocr-onnxruntime.dist
  • python313Packages.rapidocr.dist
  • python313Packages.rembg
  • python313Packages.rembg.dist
  • python313Packages.retinaface
  • python313Packages.retinaface.dist
  • python313Packages.rlax
  • python313Packages.rlax.dist
  • python313Packages.sentence-transformers
  • python313Packages.sentence-transformers.dist
  • python313Packages.speechrecognition
  • python313Packages.speechrecognition.dist
  • python313Packages.tami4edgeapi
  • python313Packages.tami4edgeapi.dist
  • python313Packages.tensorflow-probability
  • python313Packages.tensorflow-probability.dist
  • python313Packages.tf2onnx
  • python313Packages.tf2onnx.dist
  • python313Packages.tinygrad
  • python313Packages.tinygrad.dist
  • python313Packages.txtai
  • python313Packages.txtai.dist
  • python313Packages.tyro
  • python313Packages.tyro.dist
  • python313Packages.ultralytics
  • python313Packages.ultralytics.dist
  • python313Packages.unsloth
  • python313Packages.unsloth-zoo
  • python313Packages.unsloth-zoo.dist
  • python313Packages.unsloth.dist
  • python313Packages.unstructured-inference
  • python313Packages.unstructured-inference.dist
  • python313Packages.vqgan-jax
  • python313Packages.vqgan-jax.dist
  • python313Packages.waymax
  • python313Packages.waymax.dist
  • whisperx (python313Packages.whisperx)
  • whisperx.dist (python313Packages.whisperx.dist)
  • python314Packages.fastembed
  • python314Packages.fastembed.dist
  • python314Packages.faster-whisper
  • python314Packages.faster-whisper.dist
  • python314Packages.gliner
  • python314Packages.gliner.dist
  • python314Packages.insightface
  • python314Packages.insightface.dist
  • python314Packages.lacuscore
  • python314Packages.lacuscore.dist
  • python314Packages.langchain-huggingface
  • python314Packages.langchain-huggingface.dist
  • python314Packages.llm-sentence-transformers
  • python314Packages.llm-sentence-transformers.dist
  • python314Packages.magika
  • python314Packages.magika.dist
  • python314Packages.manifest-ml
  • python314Packages.manifest-ml.dist
  • python314Packages.markitdown
  • python314Packages.markitdown.dist
  • python314Packages.onnx-ir
  • python314Packages.onnx-ir.dist
  • python314Packages.onnxruntime
  • python314Packages.onnxruntime.dist
  • python314Packages.onnxscript
  • python314Packages.onnxscript.dist
  • python314Packages.piper-phonemize
  • python314Packages.piper-phonemize.dist
  • python314Packages.pypasser
  • python314Packages.pypasser.dist
  • python314Packages.rapidocr
  • python314Packages.rapidocr-onnxruntime
  • python314Packages.rapidocr-onnxruntime.dist
  • python314Packages.rapidocr.dist
  • python314Packages.rembg
  • python314Packages.rembg.dist
  • python314Packages.sentence-transformers
  • python314Packages.sentence-transformers.dist
  • python314Packages.speechrecognition
  • python314Packages.speechrecognition.dist
  • python314Packages.tami4edgeapi
  • python314Packages.tami4edgeapi.dist
  • python314Packages.tinygrad
  • python314Packages.tinygrad.dist
  • python314Packages.txtai
  • python314Packages.txtai.dist
  • python314Packages.ultralytics
  • python314Packages.ultralytics.dist
  • python314Packages.unstructured-inference
  • python314Packages.unstructured-inference.dist
  • rapidraw
  • rembg
  • rembg.dist
  • seagoat
  • seagoat.dist
  • sitespeed-io
  • tests.home-assistant-component-tests.tami4
  • thunderbird-unwrapped (thunderbird-latest-unwrapped, thunderbirdPackages.thunderbird, thunderbirdPackages.thunderbird-latest)
  • thunderbird-unwrapped.debug (thunderbird-latest-unwrapped.debug, thunderbirdPackages.thunderbird-latest.debug, thunderbirdPackages.thunderbird.debug)
  • thunderbird-unwrapped.symbols (thunderbird-latest-unwrapped.symbols, thunderbirdPackages.thunderbird-latest.symbols, thunderbirdPackages.thunderbird.symbols)
  • unbook
  • unstructured-api
  • vcmi
  • vectorcode
  • vectorcode.dist
  • vimPlugins.vectorcode-nvim
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
  • wivrn
  • wyoming-faster-whisper
  • wyoming-faster-whisper.dist
  • wyoming-piper
  • wyoming-piper.dist

@vcunat
vcunat added this pull request to the merge queue Jan 22, 2026

@vcunat vcunat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sounds good, and I checked python3Packages.onnxruntime.

Merged via the queue into NixOS:staging-next with commit 7036be8 Jan 22, 2026
@GaetanLepage
GaetanLepage deleted the staging-next branch January 22, 2026 08:35
NIX_CFLAGS_COMPILE = "-DFLATBUFFERS_LOCALE_INDEPENDENT=0";
GTEST_FILTER = "*:-ContribOpTest.StringNormalizer*";
};
env = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Theoretically this should no longer be necessary in onnxruntime derivation, while it still continues to be necessary in python3.pkgs.onnxruntime?
Is there any other run-time use of onnxruntime we can use to confirm or debunk the need of this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Firefox uses onnxruntime.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Theoretically this should no longer be necessary in onnxruntime derivation, while it still continues to be necessary in python3.pkgs.onnxruntime? Is there any other run-time use of onnxruntime we can use to confirm or debunk the need of this?

I tried applying it only in python3Packages.onnxruntime, but I got the same failure. It seems like it is actually necessary in the onnxruntime derivation to ensure that python3Packages.onnxruntime will build.

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

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 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.

3 participants