Skip to content

build(arch): provide OSMesa via mesa-amber extraction#624

Merged
BenJule merged 1 commit into
developfrom
fix/arch-osmesa
Jul 18, 2026
Merged

build(arch): provide OSMesa via mesa-amber extraction#624
BenJule merged 1 commit into
developfrom
fix/arch-osmesa

Conversation

@BenJule

@BenJule BenJule commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Closes #623

Arch's modern mesa no longer ships classic libOSMesa, which BambuStudio links against (-lOSMesa), so the Arch build failed at link time.

  • linux.d/arch: extract libOSMesa.so.8 (+ its libglapi.so.0 dependency) from the mesa-amber package during the dependency step, without installing it (mesa-amber conflicts with mesa). This lets the link succeed while keeping modern mesa.
  • scripts/build_pkg_arch.sh: bundle both libs into the package so it also runs on a stock Arch system whose mesa no longer provides them.

Verified: Arch single-distro build #14 on ci/develop/linux-x86_64 is green and produced bambustudio-02.08.00.50-1-x86_64.pkg.tar.zst.

Arch's modern mesa dropped classic libOSMesa, which BambuStudio links
against (-lOSMesa). Extract libOSMesa.so.8 (+ its libglapi.so.0
dependency) from the mesa-amber package during the dependency step so
the link succeeds, and bundle both into the package so it also runs on a
stock Arch system whose mesa no longer ships them.
@BenJule BenJule added this to the v02.07.01-dev milestone Jul 18, 2026
@BenJule BenJule self-assigned this Jul 18, 2026
@github-actions github-actions Bot added platform: linux Linux-specific issue area: build Build system, CMake, scripts area: packaging AppImage, .deb, .rpm, Flatpak area: ci GitHub Actions, CI/CD labels Jul 18, 2026
@BenJule
BenJule merged commit 2bc905e into develop Jul 18, 2026
3 checks passed
@BenJule
BenJule deleted the fix/arch-osmesa branch July 18, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build system, CMake, scripts area: ci GitHub Actions, CI/CD area: packaging AppImage, .deb, .rpm, Flatpak platform: linux Linux-specific issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant