gitaly build failure at dh_golang stage
Hi,
gitaly 15.2.2 is failing at dh_golang stage. gitaly 15.1.4 was built
fine a few days back and I don't understand why this is failing here.
dh_installdeb -O--buildsystem=golang
-O--package=golang-gitlab-gitlab-org-gitaly-dev
-O--builddirectory=_build
dh_golang -O--buildsystem=golang
-O--package=golang-gitlab-gitlab-org-gitaly-dev
-O--builddirectory=_build
_build/src/gitlab.com/gitlab-org/gitaly/v15/packed_binaries.go:14:58:
pattern _build/bin/gitaly-git2go-v15: no matching files found
packed_binaries.go:14:12: pattern _build/bin/gitaly-hooks: no matching
files found
dh_golang: error: go list -f '{{ range .Deps }}{{.}}
{{ end }}' returned exit code 1
make: *** [debian/rules:21: binary] Error 25
as an obvious things to check, I tried commenting out the RM line in
debian/rules under override_dh_auto_install, but it failed the same way.
override_dh_auto_install:
dh_auto_install -O--buildsystem=golang
-O--package=golang-gitlab-gitlab-org-gitaly-dev \
-O--no-binaries --builddirectory=_build
--destdir=debian/golang-gitlab-gitlab-org-gitaly-dev
dh_auto_install -O--buildsystem=ruby -O--package=ruby-gitaly
--destdir=debian/ruby-gitaly
$(RM) -rv debian/golang-gitlab-gitlab-org-gitaly-dev/usr/bin
Can anyone help me move forward here?
from manpage,
dh_golang - Generates Static-Built-Using substvar for Go programs
and packed_binaries.go seems to be newly introduced in 15.2.2
Reply to: