Cook: python-mysql 1.2.5 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): python-dev-2.7.15-i486 Installing (pkg/local): libmysqlclient-5.5.59-i486 Installing (pkg/local): libaio-0.3.111-i486 Installing (pkg/local): mysql-client-5.5.59-i486 Installing (pkg/local): mysql-5.5.59-i486 Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): mysql-test-5.5.59-i486 Installing (pkg/local): mysql-dev-5.5.59-i486 Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Collecting MySQL-python==1.2.5 Downloading https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip (108kB) Installing collected packages: MySQL-python Running setup.py install for MySQL-python: started Running setup.py install for MySQL-python: finished with status 'error' Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-eWteaC/MySQL-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-OLU3n0/install-record.txt --single-version-externally-managed --root /home/slitaz/wok/python-mysql/install --no-compile: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/MySQLdb copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb creating build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants running build_ext building '_mysql' extension creating build/temp.linux-x86_64-2.7 i486-slitaz-linux-gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -fPIC -Os -pipe -mindirect-branch=thunk -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -g -DNDEBUG In file included from _mysql.c:44: /usr/include/mysql/my_config.h:423: warning: "HAVE_WCSCOLL" redefined #define HAVE_WCSCOLL In file included from /usr/include/python2.7/Python.h:8, from _mysql.c:29: /usr/include/python2.7/pyconfig.h:949: note: this is the location of the previous definition #define HAVE_WCSCOLL 1 i486-slitaz-linux-gcc -pthread -shared -Wl,-Os,--as-needed -Wl,-Os,--as-needed -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 build/temp.linux-x86_64-2.7/_mysql.o -L/usr/lib -L/usr/lib -lmysqlclient_r -lpthread -lz -lm -ldl -lpython2.7 -o build/lib.linux-x86_64-2.7/_mysql.so /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status error: command 'i486-slitaz-linux-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-eWteaC/MySQL-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-OLU3n0/install-record.txt --single-version-externally-managed --root /home/slitaz/wok/python-mysql/install --no-compile" failed with error code 1 in /tmp/pip-install-eWteaC/MySQL-python/ Build dependencies to remove: 10 Removing: libaio libgdbm libmysqlclient mysql mysql-client mysql-dev mysql-test perl perl-core python-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 01:43 Wasted time : 24s 65: collect2: error: ld returned 1 exit status 66: error: command 'i486-slitaz-linux-gcc' failed with exit status 1 ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================