Skip to content

fix: libvips build with mise - #33808

Merged
mertalev merged 1 commit into
mainfrom
fix/libvips-pkg-config
Dec 2, 2026
Merged

mertalev merged 1 commit into
mainfrom
fix/libvips-pkg-config

Conversation

@mertalev

@mertalev mertalev commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Description

Installing conda:libvips with mise isn't enough to build OOTB because of a combination of mise's scoping interfering with conda dependencies being able to see each other and conda's libvips dependencies lacking .pc files for pkg-config to work. This isn't an issue in CI since it uses the base image that already has all of these libraries installed. This PR fixes the build with a separate dev profile so local builds work.

@immich-push-o-matic

Copy link
Copy Markdown
Contributor

📖 Documentation deployed to docs.pr-33808.preview.immich.app

@immich-push-o-matic

Copy link
Copy Markdown
Contributor

📱 Android release APK (universal) — c46ce4fa5f24a0031eee5b3d1a95734f6e19e70c

Download: https://github.com/immich-app/immich/actions/runs/46753121484/artifacts/15544379718

QR code QR code

Installs as a separate app (applicationId app.alextran.immich.pr33808), so it coexists with the Play Store version and any other PR builds.

@bo0tzz

bo0tzz commented Dec 2, 2026

Copy link
Copy Markdown
Member

This isn't an issue in CI since it uses the base image that already has all of these libraries installed

Should we shift towards getting all these libs from one place (mise) and no longer bringing them in from the base image?

@mertalev

mertalev commented Dec 2, 2026 •

Copy link
Copy Markdown
Member Author

We could, but mise + conda has not been especially fun to get working and would need more of these kinds of workarounds in the base image instead.

Edit: if you meant literally copying libraries from the base image, we don't do that. CI uses the base image itself, which is better for testing since it's the same environment as what will ship in practice.

@mertalev
mertalev merged commit 9a694df into main Dec 2, 2026
90 of 91 checks passed
@mertalev
mertalev deleted the fix/libvips-pkg-config branch December 2, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants