Skip to content

gitaly-hooks binary is missing

After updating to www-apps/gitlabhq-12.4.1 and dev-vcs/gitlab-gitaly-1.67.0 I got this error on pushing a commit:

remote: /var/lib/gitlab-gitaly/ruby/git-hooks/pre-receive: line 5: /usr/bin/gitaly-hooks: No such file or directory

Examining the log of the gitlab-gitaly build I found the line:

cd bin && install gitaly gitaly-debug gitaly-hooks gitaly-ssh gitaly-wrapper praefect /var/tmp/portage/dev-vcs/gitlab-gitaly-1.67.0/work/gitlab-gitaly-1.67.0

So for a quick fix I added only dobin "gitaly-hooks" to the src_install() function in gitlab-gitaly-1.67.0.ebuild, but may be one should add all the other binaries gitaly-debug gitaly-ssh gitaly-wrapper praefect, too?