-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
prefix in text files not detected in most recent build on Windows #19
Comments
This might be a slightly different problem than conda/conda-build#3899 and friends. If I'm remembering correctly, I think that the prefix detection in conda-build on Windows works with Windows-style paths — C:\foo\bar — but not mixed-style ones — C:/foo/bar . I have some fuzzy memories of running into an issue with Unix-y software on Windows before. If that's right, one can discuss whether conda-build should do prefix rewriting for both, but I bet that implementing that would be a fairly substantial undertaking. If my fuzzy memories are correct, I think I figured out some ways to get the relevant files to have Windows-style paths so that the prefix detection started succeeding. |
I also have hazy memories about prefix detection on Windows only working for paths of a certain style, so that might be it. However, I also know that building |
OK, that's a pretty good piece of evidence. |
Well now, I tried just building this locally with |
Hmm. Maybe it's more of an issue of personal machine vs. cloud, rather than conda-build version? From my reading of the logs it looks like the latest builds of g-i were built with 3.19.1 on Windows. |
I'm thinking that conda/conda-build#3903 did actually fix a prefix issue on Windows, so 3.18.12 and 3.19.0 are actually broken but 3.19.1 is fixed (at least locally). I did run into this locally with 3.19.0. It definitely could be that 3.19.1 is still broken on the cloud, or maybe there was a weird caching issue (3.19.1 was built and released through conda-forge shortly before the |
Downstream builds using meson locate g-ir-scanner in this way by querying pkg-config for the path, so we want to make sure it works. If build prefix detection and replacement fails then downstream builds will fail (as has happened here: conda-forge#19).
Also seeing this here: conda-forge/ipykernel-feedstock#55 have pinned to |
This should allow a successful build on Windows and get valid packages out while we await a real fix for conda-forge#19.
The most recent build is missing the
info/has_prefix
file with contents like:This is causing builds relying on
gobject-introspection
to fail because they try to call Python to rung-ir-scanner
from a non-existent path. For example:is called for the new
gdk-pixbuf
Windows build (conda-forge/gdk-pixbuf-feedstock#19) but fails because the Python path points to the non-existent build directory fromgobject-introspection
.This is clearly a bug with
conda-build
, but I'm putting this here for documentation purposes and as a reminder thatgobject-introspection
will need to be rebuilt to fix the prefix issue.Likely related to conda/conda-build#3899.
The text was updated successfully, but these errors were encountered: