Master branch fails to build git
As seen from https://dev.gitlab.org/gitlab/omnibus-gitlab/-/pipelines/219022
The following shell command exited with status 2:
$ CFLAGS=-I/opt/gitlab/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector CPPFLAGS=-I/opt/gitlab/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector CXXFLAGS=-I/opt/gitlab/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector LDFLAGS=-Wl,-rpath,/opt/gitlab/embedded/lib -L/opt/gitlab/embedded/lib LD_RUN_PATH=/opt/gitlab/embedded/lib OMNIBUS_INSTALL_DIR=/opt/gitlab PATH=/opt/gitlab/bin:/opt/gitlab/embedded/bin:/builds/gitlab/omnibus-gitlab/gems/ruby/2.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/opt/gitlab/embedded/lib/pkgconfig make git GIT_PREFIX=/opt/gitlab/embedded
Output:
make[1]: Entering directory '/var/cache/omnibus/src/git/_build/deps/git/source'
make[2]: Entering directory '/var/cache/omnibus/src/git/_build/deps/git/source/templates'
make[2]: Leaving directory '/var/cache/omnibus/src/git/_build/deps/git/source/templates'
install -d -m 755 '/opt/gitlab/embedded/bin'
install -d -m 755 '/opt/gitlab/embedded/libexec/git-core'
install git-daemon git-http-backend git-imap-send git-sh-i18n--envsubst git-shell git-http-fetch git-remote-http git-remote-https git-remote-ftp git-remote-ftps git-bisect git-difftool--helper git-filter-branch git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-quiltimport git-request-pull git-submodule git-web--browse git-add--interactive git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-send-email git-svn git-p4 git-instaweb '/opt/gitlab/embedded/libexec/git-core'
install -m 644 git-mergetool--lib git-rebase--preserve-merges git-sh-i18n git-sh-setup '/opt/gitlab/embedded/libexec/git-core'
install git git-receive-pack git-shell git-upload-archive git-upload-pack git-cvsserver '/opt/gitlab/embedded/bin'
make -C templates DESTDIR='' install
make[2]: Entering directory '/var/cache/omnibus/src/git/_build/deps/git/source/templates'
install -d -m 755 '/opt/gitlab/embedded/share/git-core/templates'
(cd blt && tar cf - .) | \
(cd '/opt/gitlab/embedded/share/git-core/templates' && umask 022 && tar xof -)
make[2]: Leaving directory '/var/cache/omnibus/src/git/_build/deps/git/source/templates'
install -d -m 755 '/opt/gitlab/embedded/libexec/git-core/mergetools'
install -m 644 mergetools/* '/opt/gitlab/embedded/libexec/git-core/mergetools'
bindir=$(cd '/opt/gitlab/embedded/bin' && pwd) && \
execdir=$(cd '/opt/gitlab/embedded/libexec/git-core' && pwd) && \
destdir_from_execdir_SQ=$(echo 'libexec/git-core' | sed -e 's|[^/][^/]*|..|g') && \
{ test "$bindir/" = "$execdir/" || \
for p in git git-shell git-cvsserver; do \
rm -f "$execdir/$p" && \
test -n "" && \
ln -s "$destdir_from_execdir_SQ/bin/$p" "$execdir/$p" || \
{ test -z "YesPlease" && \
ln "$bindir/$p" "$execdir/$p" 2>/dev/null || \
cp "$bindir/$p" "$execdir/$p" || exit; } \
done; \
} && \
for p in git-receive-pack git-upload-archive git-upload-pack; do \
rm -f "$bindir/$p" && \
test -n "" && \
ln -s "git" "$bindir/$p" || \
{ test -z "YesPlease" && \
ln "$bindir/git" "$bindir/$p" 2>/dev/null || \
ln -s "git" "$bindir/$p" 2>/dev/null || \
cp "$bindir/git" "$bindir/$p" || exit; }; \
done && \
for p in git-add git-am git-annotate git-apply git-archive git-bisect--helper git-blame git-branch git-bugreport git-bundle git-cat-file git-check-attr git-check-ignore git-check-mailmap git-check-ref-format git-checkout--worker git-checkout-index git-checkout git-clean git-clone git-column git-commit-graph git-commit-tree git-commit git-config git-count-objects git-credential-cache--daemon git-credential-cache git-credential-store git-credential git-describe git-diff-files git-diff-index git-diff-tree git-diff git-difftool git-env--helper git-fast-export git-fast-import git-fetch-pack git-fetch git-fmt-merge-msg git-for-each-ref git-for-each-repo git-fsck git-gc git-get-tar-commit-id git-grep git-hash-object git-help git-index-pack git-init-db git-interpret-trailers git-log git-ls-files git-ls-remote git-ls-tree git-mailinfo git-mailsplit git-merge-base git-merge-file git-merge-index git-merge-ours git-merge-recursive git-merge-tree git-merge git-mktag git-mktree git-multi-pack-index git-mv git-name-rev git-notes git-pack-objects git-pack-redundant git-pack-refs git-patch-id git-prune-packed git-prune git-pull git-push git-range-diff git-read-tree git-rebase git-receive-pack git-reflog git-remote-ext git-remote-fd git-remote git-repack git-replace git-rerere git-reset git-rev-list git-rev-parse git-revert git-rm git-send-pack git-shortlog git-show-branch git-show-index git-show-ref git-sparse-checkout git-stash git-stripspace git-submodule--helper git-symbolic-ref git-tag git-unpack-file git-unpack-objects git-update-index git-update-ref git-update-server-info git-upload-archive git-upload-pack git-var git-verify-commit git-verify-pack git-verify-tag git-worktree git-write-tree git-cherry git-cherry-pick git-format-patch git-fsck-objects git-init git-maintenance git-merge-subtree git-restore git-show git-stage git-status git-switch git-whatchanged; do \
rm -f "$execdir/$p" && \
if test -z ""; \
then \
test -n "" && \
ln -s "$destdir_from_execdir_SQ/bin/git" "$execdir/$p" || \
{ test -z "YesPlease" && \
ln "$execdir/git" "$execdir/$p" 2>/dev/null || \
ln -s "git" "$execdir/$p" 2>/dev/null || \
cp "$execdir/git" "$execdir/$p" || exit; }; \
fi \
done && \
remote_curl_aliases="git-remote-https git-remote-ftp git-remote-ftps" && \
for p in $remote_curl_aliases; do \
rm -f "$execdir/$p" && \
test -n "" && \
ln -s "git-remote-http" "$execdir/$p" || \
{ test -z "YesPlease" && \
ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \
ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \
cp "$execdir/git-remote-http" "$execdir/$p" || exit; } \
done
make[1]: Leaving directory '/var/cache/omnibus/src/git/_build/deps/git/source'
Makefile:579: recipe for target '/var/cache/omnibus/src/git/_build/deps/git/install/bin/git' failed
Error:
touch: cannot touch '/var/cache/omnibus/src/git/_build/deps/git/install/bin/git': No such file or directory
make: *** [/var/cache/omnibus/src/git/_build/deps/git/install/bin/git] Error 1