-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix 'sample' file download network errors in various containerized environments #82
Comments
CA certificate error found, after printfs-debugging within CImg.h
it seems that libcurl is badly packaged by auditwheel repair... maybe the the ssl or nss etc.. libs are not embedded with the the .whl strace of an HTTP attempt by libcurl for a gmic.eu sample:
|
Wheel network libraries are just not found:
|
Wheel contents:
|
WIP commands for a proper repair:
command for rebuilding the RECORD file of a wheel file , except for the RECORD line which must be rewritten by hand: |
Related article on cURL malfunction in a containerized/chrooted environment: https://blog.madrzejewski.com/faire-fonctionner-curl-en-https-dans-un-environnement-php-fpm-chroote/ |
related exclude-list-gmic file, per the manylinux2014 policy:
|
Supposed deep .so dependencies fix auditwheel patch is at: pypa/auditwheel#136 (comment) |
Tested patch, libsqlite is not included and I still get a network error:
The copydeps command in above comment still seems more powerful in terms of depth lookup and copying |
…o build-wheel-time yum packages are absent
:) |
when running
import gmic; gmic.run("sp leno"))
, a curl network error is found. May be due to CImg's download call using a fine-tuned C++ libcurl set of configuration flags, which may be unsufficient or too restrictive for some environments.Fix needed for:
The text was updated successfully, but these errors were encountered: