[Python-modules-team] Bug#844863: python-mysqldb: FTBFS: x86_64-linux-gnu-gcc: error: .specs: No such file or directory

Lucas Nussbaum lucas at debian.org
Sat Nov 19 06:49:30 UTC 2016

Source: python-mysqldb
Version: 1.3.7-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64


During a rebuild of all packages in sid, your package failed to build on

Relevant part (hopefully):
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,3,7,'final',1) -D__version__=1.3.7 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -fdebug-prefix-map=/build/mysql-5.7-lG4h93/mysql-5.7-5.7.16=. .specs -fabi-version=2 -fno-omit-frame-pointer
> x86_64-linux-gnu-gcc: error: .specs: No such file or directory
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> E: pybuild pybuild:276: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 
> dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
> debian/rules:15: recipe for target 'build' failed
> make: *** [build] Error 25

The full build log is available from:

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

More information about the Python-modules-team mailing list