Re-add gettext
to emscripten_emscripten-wasm32
recipe
#1353
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.
Common entrypoints for building packages for
emscripten-forge
are:In both of these, the workflow is described as:
git clone https://github.com/emscripten-forge/recipes && cd recipes
pixi run setup
(referenced in the docs but not blog post).pixi run build-emscripten-wasm32-pkg recipes/recipes_emscripten/regex
Right now, this fails on Macs (at least Apple Silicon?) because
rattler-build
fails to buildemscripten_emscripten-wasm32
in step 3 above (pixi run setup
). Any subsequent build commands will also fail.This is discussed in #1246.
The source error is actually this:
Full logs
This is because Macs don't ship with
envsubst
.A previous PR (#451) had added
gettext
as a build dep foremscripten_emscripten-wasm32
so this works on Macs, but it was removed in #1064.This PR adds it back in, which allows
pixi run setup
to work on Macs.