Skip to content

Add GLib/GIO to Linux sysroots - #63

Merged
Dmitriy Vasyura (dmitrivMS) merged 6 commits into
mainfrom
dev/dmitriv/add-glib-to-sysroot
Sep 7, 2026
Merged

Dmitriy Vasyura (dmitrivMS) merged 6 commits into
mainfrom
dev/dmitriv/add-glib-to-sysroot

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add GLib/GIO development files to the AMD64, ARM64, and ARMHF GNU sysroots
  • include the runtime dependency closure needed by libgio-2.0.so.0
  • update the committed Bullseye package lists for all three architectures
  • use Curl retries and the direct GNU mirror for transient musl toolchain source-download failures

This enables sysrooted native modules such as @vscode/metered to compile and link against GIO without using host libraries.

Related to microsoft/vscode#331897.

Validation

  • validated sysroot-creator.sh with bash -n
  • verified all generated package-list URLs against the pinned Debian Bullseye snapshot
  • verified no duplicate package-list entries
  • Azure validation passed for all six modified GNU sysroots: AMD64, ARM64, and ARMHF with GCC 10.5 and GCC 8.5
  • all sanity-test container builds passed

The Snapcraft container failures are pre-existing on main and unrelated to this change. The previous musl failure came from transient GNU source-download failures; the download command now uses supported Curl retries against ftp.gnu.org.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The VS Code Alpine pipeline builds root dependencies on the Ubuntu host, so GLib belongs in that pipeline rather than the remote dependency images.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Build Snapcraft images only for explicit container releases and replace end-of-life Debian 11 sanity images with Debian 13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) merged commit 9651a21 into main Sep 7, 2026
41 checks passed
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) deleted the dev/dmitriv/add-glib-to-sysroot branch September 7, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants