-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
DLL load failed on Appveyor Windows #241
Comments
Are you activating your environment? |
Yes, it is done automatically by Edit: Also, I haven't changed anything in my build scripts or CI environment files. |
Given we see: /~https://github.com/astropy/ci-helpers/blob/6ac17697e48002ec74bd8ef98bf6376a475a5059/appveyor/install-miniconda.ps1#L288 I suspect activation doesn't work right here. I don't know anything about powershell though so can't be of much more help. |
Hm interesting. There is the |
BTW we no longer support Python 2.7 on Windows ( |
Thanks @gillins. As long as there are older versions available on conda-forge until the end of 2019 I shouldn't be too affected. |
I went back to astropy/ci-helpers@4de3957#diff-567199671add953f07327d2790dbb56a And still have the error. I compared the conda package versions from the last successful run from a day ago and the biggest difference I noticed is krb5 going from 1.14.6 to 1.16.2. Trying to force the version now and see if that changes anything. |
krb5 didn't change anything. The other big change that I don't have much control over is the old working build is showing vc9 for a ton of packages and the new ones aren't. Trying to revert |
I found some other earlier failing builds and it seems like the biggest change is the @gillins I also wanted to mention that even though I made this issue about python 2.7, this linking issue is also on our 3.6 environment. |
FYI I was able to reproduce this on a Windows 7 VM with Python 3.6. Now to track down exactly what library/link is causing the issue. @ocefpaf I know you've helped me with linux linking issues with gdal/rasterio in the past. Do you have any ideas on this one? |
Progress! I copied |
@gillins @ocefpaf I've figured out the issue for my environments. For the last couple builds of python -c "from osgeo import gdal, osr" I'll file a bug with the libtiff feedstock with further details unless you can quickly reply to this letting me know that this is an expected change for libtiff. |
I can reproduce it in #243 but the odd thing is that |
Thanks for the info @ocefpaf. See conda-forge/libtiff-feedstock#35 for some things I've been looking at and some wild guesses I have. |
@kmuehlbauer The conda-forge recipe at least has depended on Also note that older versions of gdal (not just the new builds/versions) like v2.2.4 also fail with the most recent builds of libtiff (non-vc9/vc14). |
The question is, is the libtiff.dll -> tiff.dll desired by libtiff? Is that a bug or unexpected result from a change in conda-build? If gdal was built against the new builds of libtiff (tiff.dll), would it have picked up |
Another discovery, |
Never say never of course but I think it very unlikely that anything in conda-build would have any bearing on this issue. |
BTW, @djhoese already found the issue and it is from when I moved the recipe to be more like AR and removed a workaround we had in place for it. B/c of that believe the right "fix" is in |
I have a project that is using astropy's ci-helpers to build a conda environment on appveyor. Nothing has been changed by us in our build setup, but we are now getting a DLL load failed error message:
You can see the full job and environment here: https://ci.appveyor.com/project/pytroll/satpy/builds/20702760/job/x0mo4l3940ff4n9h?fullLog=true
As far as I can tell both libgdal, gdal, and kealib are all coming from conda-forge. Any other ideas to what has changed recently that would cause this?
The text was updated successfully, but these errors were encountered: