Raspberry PI build logs missing output
Debugging gitaly#1726 (closed), it was necessary to log into the scaleway builder, and tail the logs to get the actual error.
Failed job: https://dev.gitlab.org/gitlab/omnibus-gitlab/-/jobs/4585287
The actual error from the container logs
"log":"\u001b[31mThe following shell command exited with status 2:\n","stream":"stderr","time":"2019-06-11T19:11:24.802365183Z"}
{"log":"\n","stream":"stderr","time":"2019-06-11T19:11:24.802557947Z"}
{"log":" $ CFLAGS=-I/opt/gitlab/embedded/include -O2 CPPFLAGS=-I/opt/gitlab/embedded/include -O2 CXXFLAGS=-I/opt/gitlab/embedded/include -O2 LDFLAGS=-Wl,-r
path,/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.5.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/opt/gitlab/embed
ded/lib/pkgconfig make install PREFIX=/opt/gitlab/embedded\n","stream":"stderr","time":"2019-06-11T19:11:24.80268475Z"}
{"log":"\n","stream":"stderr","time":"2019-06-11T19:11:24.802891475Z"}
{"log":"Output:\n","stream":"stderr","time":"2019-06-11T19:11:24.802982436Z"}
{"log":"\n","stream":"stderr","time":"2019-06-11T19:11:24.803068158Z"}
{"log":" cd _build \u0026\u0026 ./makegen \u003e Makefile\n","stream":"stderr","time":"2019-06-11T19:11:24.803193321Z"}
{"log":"cd _build \u0026\u0026 make install\n","stream":"stderr","time":"2019-06-11T19:11:24.803294043Z"}
{"log":"make[1]: Entering directory '/var/cache/omnibus/src/gitaly/_build'\n","stream":"stderr","time":"2019-06-11T19:11:24.803432606Z"} {"log":"# go install\n","stream":"stderr","time":"2019-06-11T19:11:24.803529408Z"}
{"log":"Makefile:53: recipe for target 'build' failed\n","stream":"stderr","time":"2019-06-11T19:11:24.80363433Z"}
{"log":"make[1]: Leaving directory '/var/cache/omnibus/src/gitaly/_build'\n","stream":"stderr","time":"2019-06-11T19:11:24.803730292Z"}
{"log":"Makefile:37: recipe for target 'install' failed\n","stream":"stderr","time":"2019-06-11T19:11:24.803846255Z"}
{"log":"\n","stream":"stderr","time":"2019-06-11T19:11:24.803956537Z"}
{"log":"Error:\n","stream":"stderr","time":"2019-06-11T19:11:24.804059459Z"}
{"log":"\n","stream":"stderr","time":"2019-06-11T19:11:24.804164541Z"}
{"log":" # gitlab.com/gitlab-org/gitaly/internal/helper/fstype\n","stream":"stderr","time":"2019-06-11T19:11:24.804278504Z"}
{"log":"internal/helper/fstype/detect_linux.go:11:13: cannot use stat.Type (type int32) as type int64 in return argument\n","stream":"stderr","time":"2019-06-
11T19:11:24.804378426Z"}
{"log":"make[1]: *** [build] Error 2\n","stream":"stderr","time":"2019-06-11T19:11:24.804481588Z"}
{"log":"make: *** [install] Error 2\n","stream":"stderr","time":"2019-06-11T19:11:24.80457859Z"}
{"log":"\u001b[0m\n","stream":"stderr","time":"2019-06-11T19:11:24.804674832Z"}
{"log":"\u001b[31m\n","stream":"stderr","time":"2019-06-11T19:11:24.804771514Z"}
{"log":"/builds/gitlab/omnibus-gitlab/gems/ruby/2.5.0/bundler/gems/omnibus-8c83c9dffaa4/lib/omnibus/util.rb:139:in `rescue in shellout!'\n","stream":"stderr",
"time":"2019-06-11T19:11:24.804867356Z"}
{"log":" /builds/gitlab/omnibus-gitlab/gems/ruby/2.5.0/bundler/gems/omnibus-8c83c9dffaa4/lib/omnibus/util.rb:134:in `shellout!'\n","stream":"stderr","time":"
2019-06-11T19:11:24.804967558Z"}
{"log":" /builds/gitlab/omnibus-gitlab/gems/ruby/2.5.0/bundler/gems/omnibus-8c83c9dffaa4/lib/omnibus/builder.rb:868:in `shellout!'\n","stream":"stderr","time
":"2019-06-11T19:11:24.805069361Z"}
{"log":" /builds/gitlab/omnibus-gitlab/gems/ruby/2.5.0/bundler/gems/omnibus-8c83c9dffaa4/lib/omnibus/builder.rb:85:in `block in command'\n","stream":"stderr"
,"time":"2019-06-11T19:11:24.805208644Z"}
{"log":" /builds/gitlab/omnibus-gitlab/gems/ruby/2.5.0/bundler/gems/omnibus-8c83c9dffaa4/lib/omnibus/builder.rb:1058:in `instance_eval'\n","stream":"stderr",
"time":"2019-06-11T19:11:24.805310406Z"}
...