[Buildroot] need help with adding python-mysqldb

Anatoly Asviyan aanatoly at gmail.com
Mon Apr 4 22:28:22 UTC 2016


Hi
I am trying to add python-mysqldb package. I 've patched buildroot (the
patch is here
https://gist.githubusercontent.com/aanatoly/997d7ced70aaf9e13d57b5cc85751862/raw/3d71a992e748d9c40ca1961b0dd951fb300184d0/python-mysqldb.patch
)

but make fails with this error

>>> python-mysqldb 1.2.5 Downloading
--2016-04-05 00:55:28--
http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
Resolving pypi.python.org (pypi.python.org)... 185.31.17.223
Connecting to pypi.python.org (pypi.python.org)|185.31.17.223|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
[following]
--2016-04-05 00:55:29--
https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip
Connecting to pypi.python.org (pypi.python.org)|185.31.17.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108935 (106K) [application/octet-stream]
Saving to: `/home/me/work/buildroot-x86_64/output/build/.MySQL-python-1.2.5.zip.ip6WvS/output'

100%[=====================================================================================================================>]
108,935     --.-K/s   in 0.1s

2016-04-05 00:55:29 (946 KB/s) -
`/home/me/work/buildroot-x86_64/output/build/.MySQL-python-1.2.5.zip.ip6WvS/output'
saved [108935/108935]

WARNING: no hash file for MySQL-python-1.2.5.zip
>>> python-mysqldb 1.2.5 Extracting
/home/me/work/buildroot-x86_64/dl/MySQL-python-1.2.5.zip | tar
--strip-components=1 -C
/home/me/work/buildroot-x86_64/output/build/python-mysqldb-1.2.5   -xf
-
/bin/bash: /home/me/work/buildroot-x86_64/dl/MySQL-python-1.2.5.zip:
Permission denied
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[1]: *** [/home/me/work/buildroot-x86_64/output/build/python-mysqldb-1.2.5/.stamp_extracted]
Error 2
make: *** [_all] Error 2


It looks like it runs "foo.zip | tar ..." instead of "unzip foo.zip | tar
...". I can't figure why. Other zip'ed packages are built ok, for example
python-keyring.

-- 
Regards, Anatoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160405/611a6e72/attachment.html>


More information about the buildroot mailing list