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 for 18.09 #47401

Merged

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Sep 26, 2018

Motivation for this change

Backport of of #47400.

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
@Ericson2314 Ericson2314 changed the title Paxctl darwin no mass rebuild paxctl: Fix darwin and cross without mass-rebuild for 18.09 Sep 26, 2018
@Ericson2314
Copy link
Member Author

@oxij philosoraptor me: if I do the staging cleanup first, then I cannot forget. :D

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: paxctl

Partial log (click to expand)

/nix/store/63j8mi5vjyxfc89rhjknwxaxqg3a2sx2-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/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash DESTDIR=\$\(out\) MANDIR=share/man/man1 install
install -D  --mode a=rx paxctl /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9/sbin/paxctl
install -D  --mode a=r paxctl.1 /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9/share/man/man1/paxctl.1
post-installation fixup
gzipping man pages under /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9/sbin
patching script interpreter paths in /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9
moving /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9/sbin/* to /nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9/bin
/nix/store/a4hsfg96bh7pnkwschcv7r1f8h54iyak-paxctl-0.9

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: paxctl

Partial log (click to expand)

/nix/store/5mkmmv570vcd316zyrl2gjx9fx7diamx-paxctl-0.9

@Ericson2314 Ericson2314 merged commit 3b5c708 into NixOS:release-18.09 Sep 26, 2018
@Ericson2314 Ericson2314 deleted the paxctl-darwin-no-mass-rebuild branch September 26, 2018 19:52
@oxij
Copy link
Member

oxij commented Oct 5, 2018 via email

@Ericson2314
Copy link
Member Author

Ericson2314 commented Oct 6, 2018

It's an old meme...whose name I didn't know until I looked it up to write that so no worries.

@oxij
Copy link
Member

oxij commented Oct 8, 2018 via email

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

3 participants