Skip to content

python3Packages.libarcus: fix build for GCC 15#520442

Closed
samestep wants to merge 1 commit into
NixOS:masterfrom
samestep:libarcus-gcc-15-fix
Closed

python3Packages.libarcus: fix build for GCC 15#520442
samestep wants to merge 1 commit into
NixOS:masterfrom
samestep:libarcus-gcc-15-fix

Conversation

@samestep

@samestep samestep commented May 15, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the python3Packages.libarcus build failure (caused by #471587) via a backport of Ultimaker/libArcus#160 from v5 to the v4 we currently have in Nixpkgs.

ZHF: #516381

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.

@samestep samestep added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label May 15, 2026
@samestep

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review
Commit: ffa2e94355be78122a24e79d4563647c5ce51b00


x86_64-linux

❌ 1 package failed to build:
  • cura
✅ 5 packages built:
  • curaengine
  • python313Packages.libarcus
  • python313Packages.uranium
  • python314Packages.libarcus
  • python314Packages.uranium

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: python Python is a high-level, general-purpose programming language. labels May 15, 2026

@thunze thunze 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.

Commit message should say python3Packages.libarcus instead of libarcus. (There is no libarcus attr, see OfBorg.) Otherwise diff LGTM.

@samestep samestep force-pushed the libarcus-gcc-15-fix branch from ffa2e94 to 0e08569 Compare May 15, 2026 18:30
@samestep samestep changed the title libarcus: fix build for GCC 15 python3Packages.libarcus: fix build for GCC 15 May 15, 2026
@samestep

Copy link
Copy Markdown
Contributor Author

@thunze apologies, had a brain fart there! Fixed now.

@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label May 15, 2026
@thunze

thunze commented May 15, 2026

Copy link
Copy Markdown
Member
ModuleNotFoundError: No module named 'PyQt5'

when trying to import Arcus.

Python packages typically have pythonImportsCheck set as a last resort to catch missing dependencies, especially if they cannot use pythonRuntimeDepsCheck.

The derivation could generally use some cleanup. Just as an example, distutils in propagatedBuildInputs is probably incorrect.

@samestep samestep mentioned this pull request May 15, 2026
13 tasks
@samestep

Copy link
Copy Markdown
Contributor Author

@thunze given that the only maintainer for this package and its transitive dependents was removed almost a year ago in #429059, do you think it may make more sense to just drop them like in #520610?

@thunze

thunze commented May 16, 2026

Copy link
Copy Markdown
Member

@thunze given that the only maintainer for this package and its transitive dependents was removed almost a year ago in #429059, do you think it may make more sense to just drop them like in #520610?

Yeah, that's probably fine. Cura 4.13.1 is from January 2022 and hasn't been updated since, so I'd argue it's effectively unmaintained. All of the relevant packages have been broken for a while. There's cura-appimage as an alternative, which is maintained.

@samestep

Copy link
Copy Markdown
Contributor Author

Closing in favor of #520610.

@samestep samestep closed this May 16, 2026
@samestep samestep deleted the libarcus-gcc-15-fix branch May 16, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants