Skip to content
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

paxctl: Fix darwin and cross without mass-rebuild #47400

Merged

Conversation

Ericson2314
Copy link
Member

Motivation for this change

See #47395 (and #47399). This is a stop-gap until those hit master (and release-18.09).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added the 6.topic: darwin Running or building packages on Darwin label Sep 26, 2018
@GrahamcOfBorg GrahamcOfBorg added the 6.topic: stdenv Standard environment label Sep 26, 2018
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: paxctl

Partial log (click to expand)

/nix/store/5mkmmv570vcd316zyrl2gjx9fx7diamx-paxctl-0.9

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: paxctl

Partial log (click to expand)

install flags: SHELL=/nix/store/z2pc6bbx9d1mwwahnds31a7nlvjbi9zr-bash-4.4-p23/bin/bash DESTDIR=\$\(out\) MANDIR=share/man/man1 install
install -D  --mode a=rx paxctl /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9/sbin/paxctl
install -D  --mode a=r paxctl.1 /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9/share/man/man1/paxctl.1
post-installation fixup
gzipping man pages under /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9/share/man/
strip is /nix/store/4w56qihlrddav67p7d1vy5qkyayaqw11-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9/sbin
patching script interpreter paths in /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9
moving /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9/sbin/* to /nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9/bin
/nix/store/80mi7mc9dvgf3ba3f95fqnmmrfyzf4p2-paxctl-0.9

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: paxctl

Partial log (click to expand)

/nix/store/63j8mi5vjyxfc89rhjknwxaxqg3a2sx2-paxctl-0.9

@Ericson2314 Ericson2314 merged commit e59a2ef into NixOS:master Sep 26, 2018
@Ericson2314 Ericson2314 deleted the paxctl-darwin-no-mass-rebuild branch September 26, 2018 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants