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

bootstrap-tools: disable iconv for the hello test #158517

Merged
merged 2 commits into from
Feb 7, 2022
Merged

bootstrap-tools: disable iconv for the hello test #158517

merged 2 commits into from
Feb 7, 2022

Conversation

zowoq
Copy link
Contributor

@zowoq zowoq commented Feb 7, 2022

Motivation for this change
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix-build pkgs/stdenv/darwin/make-bootstrap-tools.nix -A test builds on x86_64-darwin

@veprbl
Copy link
Member

veprbl commented Feb 7, 2022

@NixOS/darwin-maintainers, is anyone available to test on aarch64-darwin?

@siraben
Copy link
Member

siraben commented Feb 7, 2022

Result of nixpkgs-review pr 158517 run on aarch64-darwin 1

1 package built:
  • hello

@siraben siraben merged commit 60c52a7 into NixOS:master Feb 7, 2022
@zowoq
Copy link
Contributor Author

zowoq commented Feb 8, 2022

@siraben Running nixpkgs-review doesn't help, need to test via the command posted above.

@zowoq zowoq deleted the darwin-bootstrap-hello branch February 8, 2022 00:05
@starcraft66
Copy link
Member

starcraft66 commented Feb 8, 2022

You merged a broken commit.

On aarch64-darwin:

Unpacking the bootstrap tools...
610082 blocks
Patching the tools...
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/[
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/ar
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/as
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/b2sum
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/base32
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/base64
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/basename
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/basenc
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/bash
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/bzip2
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/cat
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/chcon
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/chgrp
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/chmod
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/chown
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/chroot
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/cksum
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-11
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-apply-replacements
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-change-namespace
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-check
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-doc
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-extdef-mapping
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-format
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-include-fixer
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-move
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-offload-bundler
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-offload-wrapper
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-query
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-refactor
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-rename
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-reorder-fields
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-scan-deps
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clang-tidy
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/clangd
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/cmp
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/codesign
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/codesign_allocate
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/comm
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/cp
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/csplit
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/curl
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/cut
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/date
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/dd
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/df
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/diff
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/diff3
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/dircolors
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/dirname
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/du
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/echo
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/env
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/expand
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/expr
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/false
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/find
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/fmt
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/fold
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/gawk
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/grep
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/groups
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/gzip
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/head
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/hostid
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/id
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/install
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/install_name_tool
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/join
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68711 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/kill
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68713 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/ld
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68714 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/link
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68715 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/lipo
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68716 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/ln
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68717 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/logname
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68718 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/ls
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68719 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/make
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68720 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/md5sum
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68721 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/mkdir
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68722 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/mkfifo
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68723 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/mknod
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68724 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/mktemp
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68725 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/mv
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68726 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/nice
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68727 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/nl
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68728 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/nm
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68729 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/nohup
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68730 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/nproc
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68731 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/numfmt
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68732 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/od
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68733 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/otool
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68734 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/paste
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68735 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/patch
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68736 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/pbzx
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68737 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/pr
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68738 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/printenv
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68739 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/printf
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68740 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/ptx
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68741 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/pwd
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68742 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/ranlib
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68743 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/readlink
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68744 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/realpath
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68745 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/rewrite-tbd
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68746 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/rm
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68747 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/rmdir
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68748 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sdiff
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68749 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sed
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68750 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/seq
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68751 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sigtool
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68752 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sleep
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68753 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sort
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68754 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/split
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68755 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/stat
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68756 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/stdbuf
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68757 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/strip
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68758 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/stty
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68759 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sum
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68760 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/sync
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68761 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tac
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68762 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tail
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68763 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tar
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68764 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tee
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68765 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/test
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68766 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/timeout
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68767 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/touch
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68768 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tr
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68769 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/true
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68770 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/truncate
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68771 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tsort
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68772 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/tty
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68773 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/uname
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68774 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/unexpand
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68775 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/uniq
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68776 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/unlink
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68777 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/uptime
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68778 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/wc
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68779 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/xargs
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68780 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/xz
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68781 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/yes
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 68782 Killed: 9               install_name_tool -add_rpath $out/lib $i
Patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/lib/libLLVM.dylib
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1348: 68789 Killed: 9               install_name_tool -id "$(dirname $i)/$(basename $id)" $i

@olebedev
Copy link
Member

olebedev commented Feb 8, 2022

The command posted above gave me:

...
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 69519 Killed: 9               install_name_tool -add_rpath $out/lib $i
patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/bin/yes
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1339: 69520 Killed: 9               install_name_tool -add_rpath $out/lib $i
Patching /nix/store/7ghl9k8flichlcjgbi3p7011qz32hqis-unpack/lib/libLLVM.dylib
/nix/store/8i6hvwmrj5cn7gnvnacwdzgz6kmzshxd-stdenv-darwin/setup: line 1348: 69529 Killed: 9               install_name_tool -id "$(dirname $i)/$(basename $id)" $i
builder for '/nix/store/7hqwvbck1bkki936gfinnq3vza93hp0f-unpack.drv' failed with exit code 137
cannot build derivation '/nix/store/waf5z9xpl7nkz5k25m1z2x501yprbhr6-test.drv': 1 dependencies couldn't be built
error: build of '/nix/store/waf5z9xpl7nkz5k25m1z2x501yprbhr6-test.drv' failed

@siraben
Copy link
Member

siraben commented Feb 8, 2022

@zowoq ah, wasn't aware. Apologies for the premature merge!

@zowoq
Copy link
Contributor Author

zowoq commented Feb 8, 2022

wasn't aware

Large parts of nixpkgs aren't tested by nixpkgs-review, maybe just post the review comment and let someone else merge.

@veprbl
Copy link
Member

veprbl commented Feb 8, 2022

You merged a broken commit.

Surprising! Did it build before?

@zowoq
Copy link
Contributor Author

zowoq commented Feb 8, 2022

Could someone on aarch64-darwin please test #158530 and confirm that it does actually build?

@zowoq
Copy link
Contributor Author

zowoq commented Feb 8, 2022

Looks like it failed with the same error anyway: #158530 (comment)

stdenvBootstrapTools.aarch64-darwin.test doesn't seem to be built on hydra, I'm not sure if it's even a valid job on that platform.

I won't bother merging the revert for now but I'll check the aarch64-darwin jobset after the next eval to see if this may have broken anything.


@jonringer @vcunat Can we merge aarch64-darwin into the nixpkgs/trunk jobset? Kind of odd that it's included in the nixpkgs/staging-next jobset but not nixpkgs/trunk, it's rather easy to miss.

@veprbl
Copy link
Member

veprbl commented Feb 8, 2022

Strangely enough, the test job is included for x86_64-darwin:

inherit (bootstrap) dist test;

but not for aarch64-darwin

# Distribution only for now
inherit (bootstrap) dist;

It could be because it still uses cross compilation:

bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; crossSystem = "aarch64-darwin"; };

(notice how https://hydra.nixos.org/eval/1742780?filter=stdenvBootstrapTools&compare=1742696&full= is built on x86_64-darwin)

@veprbl
Copy link
Member

veprbl commented Feb 8, 2022

I'm sure @thefloweringash knows what TODO is left here

@zowoq zowoq mentioned this pull request Feb 8, 2022
@vcunat
Copy link
Member

vcunat commented Feb 8, 2022

There is: https://hydra.nixos.org/job/nixpkgs/nixpkgs-unstable-aarch64-darwin

I agree it's easy to miss. For example once I forgot about it when comparing regressions from master to staging-next (now it needs a separate comparison with a different jobset).

Keeping the platform in a separate jobset (for now) was a decision of the infra team. Based on experience so far (e.g. the staging-next jobset), I believe Hydra+channels will run fine after extending the trunk jobset (and disabling nixpkgs-unstable-aarch64-darwin jobset I guess)... but I'd at least ask @grahamc for confirmation. And it might be better to wait until the usual physical M1 machines finish their move.

@vcunat
Copy link
Member

vcunat commented Feb 8, 2022

Also, I accidentally noticed this package regressing from hello update: https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.spike.x86_64-linux

@thefloweringash
Copy link
Member

I'm sure @thefloweringash knows what TODO is left here

IIRC, when this was added there were few (or no?) aarch64-darwin builders on hydra, and the support for the platform in nixpkgs was still young. I don't think there's any technical reason that aarch64-darwin needs to be special, it's more a question of if aarch64-darwin on hydra and nixpkgs is considered mature enough to be self hosting.

@vcunat
Copy link
Member

vcunat commented Mar 21, 2022

From the hydra.nixos.org point of view, aarch64-darwin seems maybe even better supported than x86_64-darwin, and in future it's unlikely to shift the other way anymore. One issue is that it's apparently difficult to get reasonable Apple x86 HW (in terms of cost- and power- efficiency). Even to the point of using M1 emulation for x86, though some builds do have issues with that.

I'm avoiding darwin stuff; @grahamc would be the one to ask further.

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.

7 participants