======================================== = Tool Versions ======================================== Bash.........GNU bash, version 5.0.0(1)-release (x86_64-apple-darwin17.7.0) Bundler......Bundler version 2.1.4 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 GCC..........Apple clang version 12.0.0 (clang-1200.0.32.28) platform........mac_os_x-11-arm64 Git..........git version 2.31.1 Make.........GNU Make 4.2.1 Ruby.........ruby 2.7.3 RubyGems.....3.1.4 ========================================
When building chef-workstation via omnibus on MacOS 11.0 / m1 macs, I'm running into the following error _NOTE: This doesn't doesn't seem to be a problem with building 10.15 or 10.14._ [Builder: git-custom-bindir] I \| 2021-06-01T11:37:45-07:00 \| Build git-custom-bindir: 7.0445s -- | The following shell command exited with status 2: | | $ CFLAGS=-I/opt/chef-workstation/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector CPPFLAGS=-I/opt/chef-workstation/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector CXXFLAGS=-I/opt/chef-workstation/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector LDFLAGS=-Wl,-rpath,/opt/chef-workstation/embedded/lib -L/opt/chef-workstation/embedded/lib LD_RUN_PATH=/opt/chef-workstation/embedded/lib MAKE=gmake OMNIBUS_INSTALL_DIR=/opt/chef-workstation PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bin:/opt/angry-omnibus-toolchain/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin PKG_CONFIG_PATH=/opt/chef-workstation/embedded/lib/pkgconfig gmake prefix=/opt/chef-workstation/embedded bindir=/opt/chef-workstation/gitbin -j 10 | | Output: | | CC fuzz-commit-graph.o | CC fuzz-pack-headers.o | CC fuzz-pack-idx.o | CC daemon.o | CC common-main.o | CC add-interactive.o | CC abspath.o | CC alias.o | CC add-patch.o | CC alloc.o | CC advice.o | CC apply.o | CC archive-tar.o | CC archive-zip.o | CC archive.o | CC base85.o | CC bisect.o | CC blame.o | CC blob.o | CC bloom.o | CC branch.o | CC bulk-checkin.o | CC bundle.o | CC cache-tree.o | CC chdir-notify.o | CC checkout.o | CC chunk-format.o | CC color.o | CC column.o | CC combine-diff.o | CC commit-graph.o | CC commit-reach.o | CC commit.o | CC compat/obstack.o | CC compat/terminal.o | CC config.o | CC connect.o | CC connected.o | CC convert.o | CC copy.o | CC credential.o | CC csum-file.o | CC ctype.o | CC date.o | CC decorate.o | CC delta-islands.o | CC diff-delta.o | CC diff-merges.o | CC diff-lib.o | CC diff-no-index.o | CC diff.o | CC diffcore-break.o | CC diffcore-delta.o | CC diffcore-order.o | CC diffcore-pickaxe.o | CC diffcore-rename.o | CC diffcore-rotate.o | CC dir-iterator.o | CC dir.o | CC editor.o | CC entry.o | CC environment.o | CC ewah/bitmap.o | CC ewah/ewah_bitmap.o | CC ewah/ewah_io.o | CC ewah/ewah_rlw.o | CC exec-cmd.o | CC fetch-negotiator.o | CC fetch-pack.o | CC fmt-merge-msg.o | CC fsck.o | CC fsmonitor.o | CC gettext.o | CC gpg-interface.o | CC graph.o | CC grep.o | CC hash-lookup.o | CC hashmap.o | GEN command-list.h | CC hex.o | CC ident.o | CC json-writer.o | CC kwset.o | CC levenshtein.o | CC line-log.o | CC line-range.o | CC linear-assignment.o | CC list-objects-filter-options.o | CC list-objects-filter.o | CC list-objects.o | CC ll-merge.o | CC lockfile.o | CC log-tree.o | CC ls-refs.o | CC mailinfo.o | CC mailmap.o | CC match-trees.o | CC mem-pool.o | CC merge-blobs.o | CC merge-ort.o | CC merge-ort-wrappers.o | CC merge-recursive.o | CC merge.o | CC mergesort.o | CC midx.o | CC name-hash.o | CC negotiator/default.o | CC negotiator/noop.o | CC negotiator/skipping.o | CC notes-cache.o | CC notes-merge.o | CC notes-utils.o | CC notes.o | CC object-file.o | CC object-name.o | CC object.o | CC oid-array.o | CC oidmap.o | CC oidset.o | CC pack-bitmap-write.o | CC pack-bitmap.o | CC pack-check.o | CC pack-objects.o | CC pack-revindex.o | CC pack-write.o | CC packfile.o | CC pager.o | CC parse-options-cb.o | CC parse-options.o | CC patch-delta.o | CC patch-ids.o | CC path.o | CC pathspec.o | CC pkt-line.o | CC preload-index.o | CC pretty.o | CC prio-queue.o | CC progress.o | CC promisor-remote.o | CC prompt.o | CC protocol.o | CC prune-packed.o | CC quote.o | CC range-diff.o | CC reachable.o | CC read-cache.o | CC rebase-interactive.o | CC rebase.o | CC ref-filter.o | CC reflog-walk.o | CC refs.o | CC refs/debug.o | CC refs/files-backend.o | CC refs/iterator.o | CC refs/packed-backend.o | CC refs/ref-cache.o | CC refspec.o | CC remote.o | CC replace-object.o | CC repo-settings.o | CC repository.o | CC rerere.o | CC reset.o | CC resolve-undo.o | CC revision.o | CC run-command.o | CC send-pack.o | CC sequencer.o | CC serve.o | CC server-info.o | CC setup.o | CC shallow.o | CC sideband.o | CC sigchain.o | CC split-index.o | CC stable-qsort.o | CC strbuf.o | CC streaming.o | CC string-list.o | CC strmap.o | CC strvec.o | CC sub-process.o | CC submodule-config.o | CC submodule.o | CC symlinks.o | CC tag.o | CC tempfile.o | CC thread-utils.o | CC tmp-objdir.o | CC trace.o | CC trace2.o | CC trace2/tr2_cfg.o | CC trace2/tr2_cmd_name.o | CC trace2/tr2_dst.o | CC trace2/tr2_sid.o | CC trace2/tr2_sysenv.o | CC trace2/tr2_tbuf.o | CC trace2/tr2_tgt_event.o | CC trace2/tr2_tgt_normal.o | CC trace2/tr2_tgt_perf.o | CC trace2/tr2_tls.o | CC trailer.o | CC transport-helper.o | CC transport.o | CC tree-diff.o | CC tree-walk.o | CC tree.o | CC unpack-trees.o | CC upload-pack.o | CC url.o | CC usage.o | CC urlmatch.o | CC userdiff.o | CC utf8.o | CC varint.o | CC versioncmp.o | CC walker.o | CC wildmatch.o | CC worktree.o | CC wrapper.o | CC write-or-die.o | CC ws.o | CC wt-status.o | CC xdiff-interface.o | CC zlib.o | CC unix-socket.o | CC compat/sha1-chunked.o | CC sha256/block/sha256.o | CC compat/precompose_utf8.o | CC compat/fopen.o | CC compat/open.o | CC compat/memmem.o | CC compat/qsort_s.o | CC compat/regex/regex.o | CC xdiff/xdiffi.o | CC xdiff/xemit.o | CC xdiff/xhistogram.o | CC xdiff/xpatience.o | CC xdiff/xmerge.o | CC xdiff/xprepare.o | CC xdiff/xutils.o | CC http-backend.o | CC imap-send.o | CC http.o | CC sh-i18n--envsubst.o | CC shell.o | CC http-walker.o | CC http-fetch.o | CC http-push.o | CC remote-curl.o | GEN git-instaweb | CC git.o | CC builtin/add.o | CC builtin/am.o | CC builtin/annotate.o | CC builtin/apply.o | CC builtin/archive.o | CC builtin/bisect--helper.o | CC builtin/blame.o | CC builtin/branch.o | CC builtin/bugreport.o | | Error: | | GIT_VERSION = 2.31.1 | * new build flags | * new link flags | * new prefix flags | * new script parameters | builtin/archive.c:48:24: error: implicit declaration of function 'archive_format_from_filename' is invalid in C99 [-Werror,-Wimplicit-function-declaration] | const char *format = archive_format_from_filename(name_hint); | ^ | builtin/archive.c:48:24: note: did you mean 'archive_read_open_filename'? | /opt/chef-workstation/embedded/include/archive.h:527:15: note: 'archive_read_open_filename' declared here | __LA_DECL int archive_read_open_filename(struct archive *, | ^ | builtin/archive.c:48:15: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion] | const char *format = archive_format_from_filename(name_hint); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | builtin/archive.c:101:2: error: implicit declaration of function 'init_archivers' is invalid in C99 [-Werror,-Wimplicit-function-declaration] | init_archivers(); | ^ | builtin/archive.c:111:9: error: implicit declaration of function 'write_archive' is invalid in C99 [-Werror,-Wimplicit-function-declaration] | return write_archive(argc, argv, prefix, the_repository, output, 0); | ^ | builtin/archive.c:111:9: note: did you mean 'write_or_die'? | ./cache.h:1737:6: note: 'write_or_die' declared here | void write_or_die(int fd, const void *buf, size_t count); | ^ | 1 warning and 3 errors generated. | gmake: *** [Makefile:2431: builtin/archive.o] Error 1 | gmake: *** Waiting for unfinished jobs.... | | | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/util.rb:139:in `rescue in shellout!' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/util.rb:134:in `shellout!' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:871:in `shellout!' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:85:in `block in command' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:1061:in `instance_eval' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:1061:in `run' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:889:in `block (3 levels) in execute' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:911:in `with_retries' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:888:in `block (2 levels) in execute' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/instrumentation.rb:23:in `measure' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:887:in `block in execute' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:962:in `with_clean_env' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:886:in `execute' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:778:in `block (2 levels) in build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:777:in `each' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:777:in `block in build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/instrumentation.rb:23:in `measure' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/builder.rb:776:in `build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/software.rb:1224:in `execute_build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/software.rb:1102:in `build_me' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/project.rb:1078:in `block (2 levels) in build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/project.rb:1077:in `each' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/project.rb:1077:in `block in build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/licensing.rb:62:in `block in create_incrementally' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/licensing.rb:57:in `tap' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/licensing.rb:57:in `create_incrementally' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/project.rb:1076:in `build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/cli.rb:89:in `build' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/cli/base.rb:33:in `dispatch' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/lib/omnibus/cli.rb:42:in `execute!' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bundler/gems/omnibus-87db446ee0b9/bin/omnibus:16:in `<top (required)>' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bin/omnibus:23:in `load' | /Users/administrator/.buildkite-agent/builds/MM009-local-1/chef/chef-chef-workstation-master-omnibus-adhoc/omnibus/vendor/bundle/ruby/2.7.0/bin/omnibus:23:in `<top (required)>' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/cli/exec.rb:63:in `load' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/cli/exec.rb:63:in `kernel_load' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/cli/exec.rb:28:in `run' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/cli.rb:494:in `exec' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/cli.rb:30:in `dispatch' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/cli.rb:24:in `start' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/gems/2.7.0/gems/bundler-2.2.12/exe/bundle:49:in `block in <top (required)>' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/site_ruby/2.7.0/bundler/friendly_errors.rb:130:in `with_friendly_errors' | /opt/angry-omnibus-toolchain/embedded/lib/ruby/gems/2.7.0/gems/bundler-2.2.12/exe/bundle:37:in `<top (required)>' | /opt/angry-omnibus-toolchain/bin/bundle:23:in `load' | /opt/angry-omnibus-toolchain/bin/bundle:23:in `<main>' | 🚨 Error: The command exited with status 1 -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/565e887f-f1cb-4720-b368-a18b15f8d6bdn%40googlegroups.com.