build(arch): provide OSMesa via mesa-amber extraction#624
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #623
Arch's modern
mesano longer ships classiclibOSMesa, which BambuStudio links against (-lOSMesa), so the Arch build failed at link time.linux.d/arch: extractlibOSMesa.so.8(+ itslibglapi.so.0dependency) from themesa-amberpackage 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_64is green and producedbambustudio-02.08.00.50-1-x86_64.pkg.tar.zst.