-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Pin Ninja checkout to v1.11.1 #72989
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ninja 1.12 just released and seems to be dying silently while building the Swift stdlib. Lets go ahead and pin it to the old tag. Pinned dependencies are better from a security standpoint anyway. I'm leaving `next` on the ninja release branch so that we still have some signal from it, but folks aren't generally living on `next`, so it should have less impact.
@swift-ci please test |
compnerd
approved these changes
Apr 11, 2024
shahmishal
approved these changes
Apr 11, 2024
13 tasks
azuwis
added a commit
to azuwis/nixpkgs
that referenced
this pull request
Nov 8, 2024
Fail to build with ninja 1.12 when NIX_BUILD_CORES is low (Hydra or Github Actions): ``` ld: warning: directory not found for option '-L/nix/store/g9rbp9m6vs1xj4jl6b6vjb6bm8kgr107-SDKs/MacOSX10.15.sdk/usr/lib/swift' ... ld: warning: Could not find or use auto-linked library 'swiftCompatibility56' Undefined symbols for architecture arm64: "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from: __swift_FORCE_LOAD_$_swiftCompatibility56_$_Optimizer in libswiftCompilerModules-bootstrapping1.a(Optimizer.o) ... ``` Can reproduce using `nix --option cores 2 build -f . swiftPackages.swift-unwrapped`. Until we find out the exact cause, follow [swift upstream][1], pin ninja to version 1.11.1. [1]: swiftlang/swift#72989
azuwis
added a commit
to azuwis/nixpkgs
that referenced
this pull request
Nov 8, 2024
Fail to build with ninja 1.12 when NIX_BUILD_CORES is low (Hydra or Github Actions): ``` ld: warning: directory not found for option '-L/nix/store/g9rbp9m6vs1xj4jl6b6vjb6bm8kgr107-SDKs/MacOSX10.15.sdk/usr/lib/swift' ... ld: warning: Could not find or use auto-linked library 'swiftCompatibility56' Undefined symbols for architecture arm64: "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from: __swift_FORCE_LOAD_$_swiftCompatibility56_$_Optimizer in libswiftCompilerModules-bootstrapping1.a(Optimizer.o) ... ``` Can reproduce using `nix --option cores 2 build -f . swiftPackages.swift-unwrapped`. Until we find out the exact cause, follow [swift upstream][1], pin ninja to version 1.11.1. [1]: swiftlang/swift#72989
TheRedstoneDEV-DE
pushed a commit
to TheRedstoneDEV-DE/nixpkgs
that referenced
this pull request
Nov 9, 2024
Fail to build with ninja 1.12 when NIX_BUILD_CORES is low (Hydra or Github Actions): ``` ld: warning: directory not found for option '-L/nix/store/g9rbp9m6vs1xj4jl6b6vjb6bm8kgr107-SDKs/MacOSX10.15.sdk/usr/lib/swift' ... ld: warning: Could not find or use auto-linked library 'swiftCompatibility56' Undefined symbols for architecture arm64: "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from: __swift_FORCE_LOAD_$_swiftCompatibility56_$_Optimizer in libswiftCompilerModules-bootstrapping1.a(Optimizer.o) ... ``` Can reproduce using `nix --option cores 2 build -f . swiftPackages.swift-unwrapped`. Until we find out the exact cause, follow [swift upstream][1], pin ninja to version 1.11.1. [1]: swiftlang/swift#72989
yadokani389
pushed a commit
to yadokani389/nixpkgs
that referenced
this pull request
Nov 10, 2024
Fail to build with ninja 1.12 when NIX_BUILD_CORES is low (Hydra or Github Actions): ``` ld: warning: directory not found for option '-L/nix/store/g9rbp9m6vs1xj4jl6b6vjb6bm8kgr107-SDKs/MacOSX10.15.sdk/usr/lib/swift' ... ld: warning: Could not find or use auto-linked library 'swiftCompatibility56' Undefined symbols for architecture arm64: "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from: __swift_FORCE_LOAD_$_swiftCompatibility56_$_Optimizer in libswiftCompilerModules-bootstrapping1.a(Optimizer.o) ... ``` Can reproduce using `nix --option cores 2 build -f . swiftPackages.swift-unwrapped`. Until we find out the exact cause, follow [swift upstream][1], pin ninja to version 1.11.1. [1]: swiftlang/swift#72989
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ninja 1.12 just released and seems to be dying silently while building the Swift stdlib. Lets go ahead and pin it to the old tag. Pinned dependencies are better from a security standpoint anyway.
I'm leaving
next
on the ninja release branch so that we still have some signal from it, but folks aren't generally living onnext
, so it should have less impact.