Omnibus build error in x86 system arch

We are currently building an Omnibus package and encountering errors on the x86 architecture. The following error occurred during the health check:

2025-11-16T20:54:02.261398Z 01O [HealthCheck] W | 2025-11-16T20:54:02+00:00 | Line did not match for /opt/gitlab/embedded/service/gitlab-rails/ee/frontend_islands/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node
2025-11-16T20:54:02.261403Z 01O /opt/gitlab/embedded/service/gitlab-rails/ee/frontend_islands/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node: error while loading shared libraries: /lib64/libc.so: invalid ELF header
...

The health check failed due to unresolved dependencies, including:

  • libc.musl-x86_64.so.1 (not found)
  • Multiple .node files under frontend_islands/node_modules/ that depend on it

We noticed that in the current gitlab-rails project, the compilation output path for the frontend_islands module has changed from:

ee/frontend_islands/apps/duo_next

to:

ee/frontend_islands

To resolve this, we modified omnibus/config/software/gitlab-rails.rb by adding the following line:

delete "#{install_dir}/embedded/service/gitlab-rails/ee/frontend_islands/node_modules" if EE

This change resolved the issue.