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

google-cloud-sdk: also fix darwin #36576

Merged
merged 1 commit into from Mar 8, 2018
Merged

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Mar 8, 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 GrahamcOfBorg added the 6.topic: darwin Running or building packages on Darwin label Mar 8, 2018
@Mic92
Copy link
Member Author

Mic92 commented Mar 8, 2018

@GrahamcOfBorg build google-cloud-sdk

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘google-cloud-sdk-190.0.1’ in /var/lib/gc-of-borg/nix-test-rs-6/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-6/pkgs/tools/admin/google-cloud-sdk/default.nix:80 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.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/crmf.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/ocspreq.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/ocsprsp.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/pkcs1.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/pkcs10.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/pkcs7.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/pkcs8.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/x509dump.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/rsa/speed.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘google-cloud-sdk-190.0.1’ in /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/tools/admin/google-cloud-sdk/default.nix:80 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.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/bootstrapping/install.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/7b2z0vfbs9539ga4pxx5gmli47rz5y3n-python-2.7.14/bin/python"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/bootstrapping/gsutil.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/7b2z0vfbs9539ga4pxx5gmli47rz5y3n-python-2.7.14/bin/python"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/bootstrapping/bq.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/7b2z0vfbs9539ga4pxx5gmli47rz5y3n-python-2.7.14/bin/python"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/docker-credential-gcloud: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/.gcloud-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/.bq-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/.gsutil-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1/google-cloud-sdk/bin/.git-credential-gcloud.sh-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1...
/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/cmp.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/crmf.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/ocsprsp.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/pkcs8.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/x509dump.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/ocspreq.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/crl.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/gsutil/third_party/pyasn1-modules/test/pkcs1.sh: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1/google-cloud-sdk/platform/bq/bq.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/4llw0i5jbb7p5n0r58w9z0azqgx5wk09-python-2.7.14/bin/python"
/nix/store/lqp0pygfr7dkiff9zcrixl1xjh1mxa3f-google-cloud-sdk-190.0.1

@Mic92 Mic92 merged commit 4acd293 into NixOS:master Mar 8, 2018
@Mic92 Mic92 deleted the google-cloud-sdk branch September 6, 2018 08:48
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