[PKG-Openstack-devel] Bug#841591: migrate: FTBFS: Tests failures

Thomas Goirand zigo at debian.org
Fri Oct 21 16:28:16 UTC 2016


On 10/21/2016 03:19 PM, Lucas Nussbaum wrote:
> Source: migrate
> Version: 0.10.0-5
> Severity: serious
> Tags: stretch sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20161021 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
>> # work even without python-migrate being installed
>> mkdir -p debian/bin
>> cp debian/migrate-for-tests debian/bin/migrate
>> sed -i "s#REPLACE_THIS_PATH#/<<PKGBUILDDIR>>#" debian/bin/migrate
>> # Create a minimalist egg-info, so that "import migrate"
>> # works and gets the correct version
>> mkdir -p sqlalchemy_migrate-0.10.0.egg-info
>> echo "Metadata-Version: 1.1" >sqlalchemy_migrate-0.10.0.egg-info/PKG-INFO
>> echo "Name: sqlalchemy-migrate" >>sqlalchemy_migrate-0.10.0.egg-info/PKG-INFO
>> echo "Version: 0.10.0" >>sqlalchemy_migrate-0.10.0.egg-info/PKG-INFO
>> # Launch the actual tests
>> /<<PKGBUILDDIR>>/debian/test.sh
>> ===> Preparing MySQL temp folder
>> mysql_install_db: [ERROR] unknown option '--force'
>> 2016-10-21 01:06:35 [ERROR]   Unrecognized options
>> debian/rules:58: recipe for target 'override_dh_auto_test' failed

FYI, I already know about this issue. This is related to MySQL 5.7,
which has different options for initializing the db. This patch fixes
the problem:

https://review.openstack.org/389570

and it will be uploaded soon.

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list