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

pinentry_mac: enable xcbuild on darwin #38876

Merged
merged 1 commit into from Apr 12, 2018
Merged

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Apr 12, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: pinentry_mac

Partial log (click to expand)


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.


@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: pinentry_mac

Partial log (click to expand)


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.


@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: pinentry_mac

Partial log (click to expand)


Touch /private/tmp/nix-build-pinentry-mac-0.9.4.drv-0/source/Products/Release/pinentry-mac.app
    cd /private/tmp/nix-build-pinentry-mac-0.9.4.drv-0/source
    /usr/bin/touch -c /private/tmp/nix-build-pinentry-mac-0.9.4.drv-0/source/Products/Release/pinentry-mac.app

** BUILD SUCCEEDED **
installing
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/kmq75d1jrisrq8gi0d035l7apnm9w304-pinentry-mac-0.9.4

@LnL7
Copy link
Member Author

LnL7 commented Apr 12, 2018

@GrahamcOfBorg build gnupg

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gnupg

Partial log (click to expand)

/nix/store/rqx2jzcylcl46p0agibzqfr1awikzmr6-gnupg-2.2.5

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gnupg

Partial log (click to expand)

copying path '/nix/store/yh1249v82jg95f7z1j08k680pckl268l-libassuan-2.5.1' from 'https://cache.nixos.org'...
copying path '/nix/store/qlv3j06x2nnfvwqqxka97f4zzzbckm6y-libksba-1.3.5' from 'https://cache.nixos.org'...
copying path '/nix/store/j3x36mba7315zpcx8lm9k4xikqr97a4f-npth-1.5' from 'https://cache.nixos.org'...
copying path '/nix/store/lvplyayjbcpw40bg6bwgdpfxpr8i9dd7-pcsclite-1.8.23' from 'https://cache.nixos.org'...
copying path '/nix/store/11jkn8f137qccf7bgh6jygcyv1bqzy4h-cyrus-sasl-2.1.26' from 'https://cache.nixos.org'...
copying path '/nix/store/d3dxwqjncj429ql2jpqx796klhbpc0r6-libsecret-0.18.5' from 'https://cache.nixos.org'...
copying path '/nix/store/haq0rk04x756nv1y87zwcfiqqg54fss2-openldap-2.4.45' from 'https://cache.nixos.org'...
copying path '/nix/store/2ks78q5xy6j37r3xqznqc0glyqdrlg0x-pinentry-1.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/52yyaki6cd70k476ngyqrkcwpppmmjdv-gnupg-2.2.5' from 'https://cache.nixos.org'...
/nix/store/52yyaki6cd70k476ngyqrkcwpppmmjdv-gnupg-2.2.5

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: gnupg

Partial log (click to expand)

make[1]: Leaving directory '/private/tmp/nix-build-gnupg-2.2.5.drv-0/gnupg-2.2.5'
post-installation fixup
gzipping man pages under /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/lib  /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/libexec  /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/bin  /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/sbin
patching script interpreter paths in /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5
/nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/sbin/applygnupgdefaults: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"
/nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/sbin/addgnupghome: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"
moving /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/sbin/* to /nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5/bin
/nix/store/174zbf3xqm7l5lwrsvg2m5zy1iri3966-gnupg-2.2.5

@LnL7 LnL7 merged commit 30fc4b4 into NixOS:master Apr 12, 2018
@LnL7 LnL7 deleted the darwin-pinentry branch April 12, 2018 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants