Builds failing on raspberry pi
The raspberry pi builds have begun failing for master. https://dev.gitlab.org/gitlab/omnibus-gitlab/-/jobs/5585246 The error occurs while running bundle-install and the error is as follows:
Fetching bcrypt 3.1.13
Installing bcrypt 3.1.13 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /gitlab-foss/.bundle/ruby/2.6.0/gems/bcrypt-3.1.13/ext/mri
/usr/local/bin/ruby -r ./siteconf20191018-21442-15qo5za.rb extconf.rb
creating Makefile
current directory: /gitlab-foss/.bundle/ruby/2.6.0/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR=" clean
current directory: /gitlab-foss/.bundle/ruby/2.6.0/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR="
compiling bcrypt_ext.c
compiling crypt_blowfish.c
gcc -D__SKIP_GNU -D_FILE_OFFSET_BITS=64 -c -o x86.o x86.S
x86.S: Assembler messages:
x86.S:202: Error: junk at end of line, first unrecognized character is `,'
<builtin>: recipe for target 'x86.o' failed
make: *** [x86.o] Error 1
make failed, exit code 2
Gem files will remain installed in /gitlab-foss/.bundle/ruby/2.6.0/gems/bcrypt-3.1.13 for inspection.
Results logged to /gitlab-foss/.bundle/ruby/2.6.0/extensions/armv6l-linux/2.6.0-static/bcrypt-3.1.13/gem_make.out
An error occurred while installing bcrypt (3.1.13), and Bundler cannot continue.
Make sure that `gem install bcrypt -v '3.1.13' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
devise-two-factor was resolved to 3.0.0, which depends on
devise was resolved to 4.7.1, which depends on
bcrypt
This appears to have been caused by the bcrypt update in gitlab!18225 (merged)
There is an existing upgream bcrypt issue: https://github.com/codahale/bcrypt-ruby/issues/201
Edited by DJ Mountney