-
Notifications
You must be signed in to change notification settings - Fork 215
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
Tests failing on Alpine Linux #583
Comments
@russkel, all the failing tests are expected. Currently the tests are based on proj-datumgrid-1.8 as that is the last grid set that works with PROJ 6: pyproj/ci/travis/proj-dl-and-compile Line 12 in 57eeaf5
The failing tests are because the behavior is different with the new grids. I don't see any incorrect behavior from pyproj, so I think you are okay to proceed. This will likely be addressed in #530, however the tests could also check for the existence of the new grids in the data directory for the tests. |
Hi @snowman2, thanks for your reply! I just checked the proj build recipe (https://gitlab.alpinelinux.org/alpine/aports/blob/master/community/proj/APKBUILD) and it looks like it's still using the 1.8 datum grids as pyproj does. Am I misunderstanding? |
@russkel, that is interesting. I assumed you were using the latest grids. What is inside the |
Grids in the wheel:
|
Alpine linux package: https://pkgs.alpinelinux.org/contents?branch=edge&name=proj-datumgrid&arch=x86_64&repo=community
Unless I am missing something (which is definitely possible), it looks like the alpine linux package is missing grids. |
Mind checking what is in your |
This is a CI build, so it will be a fresh install. I will modify the build script to temporarily list the contents of that folder:
I compared the edge and 3.11 (https://gitlab.alpinelinux.org/alpine/aports/blob/3.11-stable/community/proj/APKBUILD) build files for the datum grid package and they both use the same tar.gz with the same sha. It's possible I broke something when I 'fixed' the build script to build on all platforms, yiikes. To answer your question, that package is built by moving I will investigate further, thanks. |
The only difference between proj in 3.11 and edge in this case is I switched to using CMake instead of autoconf. It's possible it's not installing all the gridfiles? |
Yes, I have had issues with missing grids using cmake in the past. |
Right. I will look into it. I thought CMake would have been the more relevant one to use 🤦♂️ |
Tests pass fine once I fixed the proj-datumgrid package. Sorry for wasting your time @snowman2 and thanks for your help! pyproj should be merged into alpine edge soon. |
Hi, I am trying to compile the pyproj library on Alpine Linux. I filed a few bug fixes with the proj project (and musl libc) that were all fixed enabling the proj library to compile and pass tests on Alpine Linux 32/64b on a number of architectures. I am not having similar luck with pyproj though.
Problem description
Please see the attached build and test log, there are a number of failures:
job.log
Failures
Expected Output
All tests passing =)
Environment Information
Shown in build log. Errors also occur on other architectures.
Installation method
From source
The text was updated successfully, but these errors were encountered: