-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post-link scripts in a noarch package are not properly included #5115
Comments
|
conda-forge forbids post-links for noarch: https://conda-forge.org/docs/maintainer/knowledge_base.html#noarch-python to work around this, packages will have a multi-output recipe where the package itself would be noarch but the post-links are an arch specific package: https://github.com/conda-forge/bladerf-feedstock/blob/7deba2ef18fd1a9ba69239c61f018f67c24eba97/recipe/meta.yaml#L93 |
Oh wow. Having an extra output seems like overkill if I just want to emit a message to users (i.e., echo into xref: conda-forge/r-tinytex-feedstock#53 Right now, thinking I'm just going to drop it. |
Hmm...but checking the |
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
We cannot remove these kinds of scripts and so this issue should be kept open only if there is still a bug. Otherwise it should be closed. |
What happened?
When packaging a noarch package with post-link scripts only the post-link script cooresponding to the host machine is included in the output package and so in other words it isn't properly noarch.
The issue comes from how post-link (and pre-link and pre-unlink) scripts are detected:
conda-build/conda_build/build.py
Lines 154 to 178 in ca9de60
Xref conda/conda#13389
The text was updated successfully, but these errors were encountered: