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
xcbuild: platform version #34088
xcbuild: platform version #34088
Conversation
Without this xcbuild can detect an incorrect version for store paths that have a sequence of digits in their hash. ld: malformed 32-bit x.y.z version number: 85294 /nix/store/yz966rdvw1blblvzs15pxpcd85294isw-MacOSX.platform/Developer/SDKs/MacOSX.sdk
Lgtm |
@GrahamcOfBorg build xcbuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-darwin
building '/nix/store/wiv8kf5cxs61fzzcrlwxyjw2661c1f5d-MacOSX10.10.sdk.drv'...
copying path '/nix/store/1v0bkq8l6nkpgj4znilvrav27pk3ha7q-nixpkgs.xctoolchain' from 'https://cache.nixos.org'...
building '/nix/store/gr5g6j3hlzrqny8dkaibz01pdqix8bbq-MacOSX.platform.drv'...
building '/nix/store/3nsbyb7mii2p49x2yixwz4mqg8ppnxzr-xcbuild-wrapper-0.1.2-pre.drv'...
installing
post-installation fixup
strip is /nix/store/i1zz228nl3bljcbb83fq0rq7lr7nvv4y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/a96ipc80y5c2m3f56f7jccyfdyf858cq-xcbuild-wrapper-0.1.2-pre/bin
patching script interpreter paths in /nix/store/a96ipc80y5c2m3f56f7jccyfdyf858cq-xcbuild-wrapper-0.1.2-pre
/nix/store/a96ipc80y5c2m3f56f7jccyfdyf858cq-xcbuild-wrapper-0.1.2-pre
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-linux
building path(s) ‘/nix/store/192smwqr46q5h1pxc5jnalz4lyr9b6c3-xcbuild-wrapper-0.1.2-pre’
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/192smwqr46q5h1pxc5jnalz4lyr9b6c3-xcbuild-wrapper-0.1.2-pre
strip is /nix/store/mdyy001q67hiks0g24ra53z7ckm4jfr4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/192smwqr46q5h1pxc5jnalz4lyr9b6c3-xcbuild-wrapper-0.1.2-pre/bin
patching script interpreter paths in /nix/store/192smwqr46q5h1pxc5jnalz4lyr9b6c3-xcbuild-wrapper-0.1.2-pre
checking for references to /tmp/nix-build-xcbuild-wrapper-0.1.2-pre.drv-0 in /nix/store/192smwqr46q5h1pxc5jnalz4lyr9b6c3-xcbuild-wrapper-0.1.2-pre...
/nix/store/192smwqr46q5h1pxc5jnalz4lyr9b6c3-xcbuild-wrapper-0.1.2-pre
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: aarch64-linux
copying path '/nix/store/kd1d7b7jhlc015fsjw9s0frhia3ybmcl-stdenv' from 'https://cache.nixos.org'...
building '/nix/store/s7mml3m80mwafmyrznvkaxcgqmlhmj89-xcbuild-wrapper-0.1.2-pre.drv'...
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/76bck6yqg8sk53aw8vybax9w94nwsl4a-xcbuild-wrapper-0.1.2-pre
strip is /nix/store/jwz859pxqj7sl2dbwvmxkx68jp774izb-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/76bck6yqg8sk53aw8vybax9w94nwsl4a-xcbuild-wrapper-0.1.2-pre/bin
patching script interpreter paths in /nix/store/76bck6yqg8sk53aw8vybax9w94nwsl4a-xcbuild-wrapper-0.1.2-pre
checking for references to /build in /nix/store/76bck6yqg8sk53aw8vybax9w94nwsl4a-xcbuild-wrapper-0.1.2-pre...
/nix/store/76bck6yqg8sk53aw8vybax9w94nwsl4a-xcbuild-wrapper-0.1.2-pre
@GrahamcOfBorg build pinentry_mac |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-linux
Package ‘pinentry-mac-0.9.4’ in /home/borg/borg-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/7c6f434c-buildbox/pkgs/tools/security/pinentry-mac/default.nix:27 is not supported on ‘x86_64-linux’, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: aarch64-linux
Package ‘pinentry-mac-0.9.4’ in /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/tools/security/pinentry-mac/default.nix:27 is not supported on ‘aarch64-linux’, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-darwin
/nix/store/vrwap9xrxcrpllm40ska759kikb8zidq-pinentry-mac-0.9.4
Motivation for this change
Without this xcbuild can detect an incorrect version for store paths
that have a sequence of digits in their hash. See https://hydra.nixos.org/build/67632952.
/cc @copumpkin @matthewbauer
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)