Skip to content

"rake gitlab:assets:compile" compilation step takes forever at Arch Linux

I am trying to compile gitlab Arch Linux package. You can see its sources here https://github.com/archlinux/svntogit-community/blob/packages/gitlab/trunk/PKGBUILD

Up until 14.5 the build instructions worked fine. With 14.6 and 14.7 I see that the build process is stuck at rake gitlab:assets:compile step.

Here is exact command line that I currently have ruby-2.7 /build/gitlab/src/gitlab-foss/vendor/bundle/ruby/2.7.0/bin/rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096. I see 1 process that takes 1 CPU (100% out of my 800% CPU). And it stays in such condition for more than hour.

I tried to rerun the build couple of times. Tried following compilation flags USE_DB=false SKIP_STORAGE_VALIDATION=true but I still see the same issue.