Skip to content

julia_{19,110}: fix build with gcc 14 - #375959

Merged
NickCao merged 1 commit into
NixOS:masterfrom
NickCao:julia-fix
Jan 24, 2025
Merged

NickCao merged 1 commit into
NixOS:masterfrom
NickCao:julia-fix

Conversation

@NickCao

@NickCao NickCao commented Jan 23, 2025

Copy link
Copy Markdown
Member

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.

@github-actions github-actions Bot added 6.topic: julia Julia is a high-level, high-performance dynamic language for technical computing. 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. labels Jan 23, 2025
@nix-owners
nix-owners Bot requested a review from thomasjm January 23, 2025 00:25
@NickCao

NickCao commented Jan 23, 2025

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 375959


x86_64-linux

✅ 2 packages built:
  • julia_110
  • julia_19

@NickCao
NickCao merged commit bc4763e into NixOS:master Jan 24, 2025
@NickCao
NickCao deleted the julia-fix branch January 24, 2025 20:16
@Sigmanificient Sigmanificient mentioned this pull request Mar 8, 2025
27 of 28 tasks
tacogips added a commit to tacogips/nix that referenced this pull request Jan 6, 2026
1. Objective:
   Work around julia build failure in nixpkgs caused by gcc 14 incompatibility

2. Primary Changes:
   - Commented out julia package (both 1.12.1 and 1.10.10 are affected)
   - Added comprehensive reference URLs for tracking the issue

3. Key Technical Concepts:
   - nixpkgs julia build broken with gcc 14
   - Upstream fix in progress: NixOS/nixpkgs#375959

4. Files and Code Sections:
   - nixos/shared-home-manager/taco/julia/default.nix: Disabled julia, added Hydra, tracking issue, and fix PR URLs

5. Problem Solving:
   Build failure: make: *** [Makefile:79: julia-deps] Error 2 after OpenBLAS build
   Reproduction: Run `nixos-rebuild switch --flake ~/nix/nixos#taco-main` with julia_110 enabled

6. Impact:
   Allows system rebuild to succeed; Julia temporarily unavailable until upstream fix is merged

7. Related Commits:
   Related: 952b673

8. Unresolved TODOs:
   - [ ] Re-enable julia when NixOS/nixpkgs#375959 is merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: julia Julia is a high-level, high-performance dynamic language for technical computing. 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.

1 participant