py-crcmod package not installing C extension?
While trying to use Gsutil I encounter an error with CRC32c.
CommandException:
Downloading this composite object requires integrity checking with CRC32c, but your crcmod installation isn't using the module's C extension, so the hash computation will likely throttle download performance. For help installing the extension, please see "gsutil help crcmod".
To download regardless of crcmod performance or to skip slow integrity checks, see the "check_hashes" option in your boto config file.
NOTE: It is strongly recommended that you not disable integrity checks.
Doing so could allow data corruption to go undetected during uploading/downloading.
CommandException: 1 file/object could not be transferred.
Since Google doesn’t provide Alpine instructions on how to install it, i tried the following without success.
apk add --update --no-cache python py-pip gcc python-dev
pip install -U crcmod
Same error was displayed. I would expect the previous command to install the C extension and gsutil not to fail.
An answer to my SO question suggested that it might be an issue with this package, hence opening this issue.
You can see the original question and work around here:
And the docker image that i’m using here:
https://github.com/alvr/alpine-android
PS: this is my first bug report on alpine, so I apologize in advance for the out-of-standard report.
(from redmine: issue id 7343, created on 2017-05-29)