[PKG-Openstack-devel] Bug#841593: python-pymysql: FTBFS: Tests failures

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:23:24 UTC 2016

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


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

Relevant part (hopefully):
> copying pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py -> build/lib.linux-x86_64-2.7/pymysql/tests/thirdparty/test_MySQLdb
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
> pyversions: missing debian/pyversions file, fall back to supported versions
> py3versions: no X-Python3-Version in control file, using supported versions
> chmod +x debian/run_tests.sh
> ./debian/run_tests.sh
> + mktemp -d
> + MYTEMP_DIR=/tmp/tmp.QHz9trtz1v
> + whoami
> + ME=user42
> + mysql_install_db --no-defaults --datadir=/tmp/tmp.QHz9trtz1v --force --skip-name-resolve --user=user42
> mysql_install_db: [ERROR] unknown option '--force'
> 2016-10-21 01:11:21 [ERROR]   Unrecognized options
> debian/rules:14: recipe for target 'override_dh_auto_test' failed

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

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 Openstack-devel mailing list