Gitaly master fails to build on Raspberry Pi (armv7)
As seen from https://dev.gitlab.org/gitlab/omnibus-gitlab/-/pipelines/261316
$ 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 MAKE=gmake OMNIBUS_INSTALL_DIR=/opt/gitlab PATH=/opt/gitlab/bin:/opt/gitlab/embedded/bin:/builds/gitlab/omnibus-gitlab/gems/ruby/3.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/opt/gitlab/embedded/lib/pkgconfig gmake install PREFIX=/opt/gitlab/embedded
Output:
(nothing)
Error:
# gitlab.com/gitlab-org/gitaly/v15/internal/command
internal/command/command.go:446:38: cannot use rusage.Maxrss (variable of type int32) as type int64 in argument to stats.RecordMax
internal/command/command.go:447:39: cannot use rusage.Inblock (variable of type int32) as type int64 in argument to stats.RecordSum
internal/command/command.go:448:39: cannot use rusage.Oublock (variable of type int32) as type int64 in argument to stats.RecordSum
internal/command/command.go:449:38: cannot use rusage.Minflt (variable of type int32) as type int64 in argument to stats.RecordSum
internal/command/command.go:450:38: cannot use rusage.Majflt (variable of type int32) as type int64 in argument to stats.RecordSum
gmake: *** [Makefile:622: /var/cache/omnibus/src/gitaly/_build/intermediate/gitaly-debug] Error 2