-
Notifications
You must be signed in to change notification settings - Fork 37
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
Alpine Linux: libssl.a: file format not recognized; treating as linker script #31
Comments
Just realised this is an issue with git-lfs rather than nassl specifically. So is it possible that you could provide a complete package for 1.1.0 on pypi containing the appropriate files (rather than references to lfs)? |
Hello, I just pushed the 1.1.0 source package to pypi; should solve this problem. |
This seems to be still an issue.
|
On alpine:
|
Beside the download issue, the |
@waja The syntax error is due to Git LFS not being installed on your host. |
@nabla-c0d3 thanks for the info. But even with git lfs installed same problem. The syntax error is caused by a problem one line before:
This can be found in the build.log beside some more interesting part earlier. |
It looks like alpine based images (even python:alpin) are not able to grab the correct nassl package (query is working fine). See also nabla-c0d3/nassl#31 (comment)
Could it be that pypa/pip#3969 is the source of the issue that nassl isn't downloaded on alpine? |
After working around the issue with the fix used in https://github.com/xemuliam/docker-python/blob/9a0154a07a8c2499eff0ed1f83f9fe857369b82b/Dockerfile#L24 the installation of the binaries works, but there is a (new) runtime issue:
I guess this is related to the fact, that the nassl package is prebuild on a glibc system. Anyway ... it is still failing with the official Docker python image with the alpine tag (python:alpine and even python:alpine3.7). My build process there is just:
|
Based on your link, the manylinux wheels will not work with alpine linux by default. I think the way to go is to build everything from scratch (#35). |
Following on from #30 when trying to build nassl 1.1.0 on Alpine Linux I get the following error:
As a side-note pip is unable to get
1.1.0
from pypi becausenassl-1.1.0.tar.gz
is not available from https://pypi.python.org/simple/nassl/, so I had to provide the URL to github instead.The text was updated successfully, but these errors were encountered: