-
Notifications
You must be signed in to change notification settings - Fork 431
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
BUG: noarch package in multi-output recipe changes CPU architecture mid-build #5349
Comments
The old logs are lost (so harder to analyze what changed), but it seems that this now works...? 🤔 |
Intriguing. I would have assumed that #5350 was responsible for the fix, but that's not released yet :/ |
aaaaand, it broke again (only difference was inclusion of |
Can confirm that with conda-build installed from |
Closing this as fixed by #5350 |
Spoke too soon it seems; at least installing from the main branch here, conda-forge/pyarrow-feedstock#119 broke again. |
Now confirmed: unfortunately this is still an issue with conda-build 24.7.1 |
Most likely this is simply the confusion between the build and host architectures coming through - I guess that the code paths for building a noarch package in a cross-compiling recipe are pretty much completely untested. Perhaps that was obvious for everyone else already, but I just realized it 😆 |
Checklist
What happened?
We recently split up the
pyarrow
package into more bits and pieces (e.g. distinguish minimal variant for small footprint from full-featured "give me everything"), and now we have a sandwich where the first and last package in a telescopic chain of dependencies are per python, whereas there are two empty metapackages in the middle that could easily be noarch:I've tried doing that in conda-forge/pyarrow-feedstock#119, and it works fine in native builds, but fails with non-sensical errors on aarch/ppc:
When I say non-sensical, I mean that that the
TEST END:
at the top just confirmed the local existence of an artefact that should match the requested pattern. Looking closer, what's happening isi.e. the build switches architecture when getting to the noarch output.
Note that all jobs in that PR want to build:
which is the goal - we need to build it in each job in order to successfully build the per-python
pyarrow-tests
on top, but only one build would be uploaded in the end across all jobs, due to the (intentional!) hash collision.Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: