[Bug 1592664] [python-pymysql/xenial] verification still needed
Ubuntu Foundations Team Bug Bot
1592664 at bugs.launchpad.net
Wed Jan 4 20:30:18 UTC 2017
The fix for this bug has been awaiting testing feedback in the -proposed
repository for xenial for more than 90 days. Please test this fix and
update the bug appropriately with the results. In the event that the
fix for this bug is still not verified 15 days from now, the package
will be removed from the -proposed repository.
** Tags added: removal-candidate
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-pymysql in Ubuntu.
https://bugs.launchpad.net/bugs/1592664
Title:
python-pymysql fails to build on xenial and yakkety
Status in python-pymysql package in Ubuntu:
Fix Released
Status in python-pymysql source package in Xenial:
Fix Committed
Bug description:
Python-pymysql sets up MySQL in a temporary location for running its tests. It runs mysql_install_db and mysqld using options that have been removed in 5.7, causing d/run_tests.sh to fail.
Additionally, there's a test that fails in 5.7; It expects a deprecation warning that 5.7 gives, but only for python >= 3.2. The test failure has been fixed upstream: https://github.com/PyMySQL/PyMySQL/issues/478
[Impact]
Test run fails, causing build to fail
[Test Case]
Build python-pymysql from source
[Regression Potential]
The altered database init will not work with MySQL earlier than 5.7 (even the xenial patch that still uses mysql_install_db)
[Original description]
seen with a test rebuild on xenial:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20160614-xenial.html
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.i5ZAMugsdp
+ whoami
+ ME=buildd
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.i5ZAMugsdp --force --skip-name-resolve --user=buildd
mysql_install_db: [ERROR] unknown option '--force'
2016-06-03 11:03:28 [ERROR] Unrecognized options
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pymysql/+bug/1592664/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list