Skip to content

Fix glibc related errors around devfile gem

Issue reference: #524856 (comment 2468828022)

Releated error report: !187536 (comment 2472552774)

Gem fix MRs: gitlab-org/ruby/gems/devfile-gem!81 (merged)

gitlab-org/ruby/gems/devfile-gem!82 (merged)

What does this MR do and why?

Systems running glibc version < 2.34 cause devfile gem >= 0.3.0 to fail as it depends on glibc 2.32 and 2.34. This issue was previously fixed by using a build image that fixed the glibc versions on 2.2.5 and 2.3.2, which appears to satisfy all supported Linux versions.

This patched gem gets rid of the dependency on glibc by disabling Cgo in the devile binary builds

References

#524856 (comment 2468828022)

!187536 (comment 2472552774)

gitlab-org/ruby/gems/devfile-gem!81 (merged)

Screenshots or screen recordings

Before After

How to set up and validate locally

Run bundle exec scripts/remote_development/run-smoke-test-suite.sh, all tests should pass without any errors In local dev environment, setup remote development workspaces: https://gitlab.com/gitlab-org/workspaces/gitlab-workspaces-docs/-/blob/main/doc/local-development-environment-setup.md

Navigate to http://gdk.test:3000/-/remote_development/workspaces/new and create a workspace Test that the workspace is created successfully

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Safwan Ahmed

Merge request reports

Loading