migrate fails to build in xenial

Bug #1592663 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
migrate (Ubuntu)
Fix Released
High
James Page
Xenial
New
High
Unassigned
Yakkety
Fix Released
High
James Page

Bug Description

https://launchpadlibrarian.net/265375029/buildlog_ubuntu-xenial-amd64.migrate_0.10.0-3ubuntu2_BUILDING.txt.gz

   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
debian/rules:50: warning: overriding recipe for target 'override_dh_installchangelogs'
/usr/share/openstack-pkg-tools/pkgos.make:65: warning: ignoring old recipe for target 'override_dh_installchangelogs'
chmod +x debian/test.sh
# Create a working "migrate" binary, so that shell calls continue to
# 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-06-15 05:11:11 [ERROR] Unrecognized options
debian/rules:57: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:17: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Tags: ftbfs
James Page (james-page)
Changed in migrate (Ubuntu Yakkety):
assignee: Ubuntu Server Team (ubuntu-server) → James Page (james-page)
status: Confirmed → In Progress
Changed in migrate (Ubuntu Xenial):
milestone: none → xenial-updates
Changed in migrate (Ubuntu Yakkety):
milestone: xenial-updates → ubuntu-16.05
milestone: ubuntu-16.05 → ubuntu-16.06
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package migrate - 0.10.0-4ubuntu1

---------------
migrate (0.10.0-4ubuntu1) yakkety; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - d/control: Switch python{3}-mysqldb -> python{3}-pymysql.
  * Dropped changes, BD only so OK in universe:
    - d/control: Drop BD on python-ibm-db-sa, not in Ubuntu main.
    - d/p/skip-ibm-tests.patch: Skip IBM DB tests if import fails.
  * d/test.sh: Update for use with MySQL 5.7 (LP: #1592663).
  * d/source/options: Ignore any changes to .egg-info.

migrate (0.10.0-4) unstable; urgency=medium

  * Fixed VCS URLs (https).
  * d/rules: Changed UPSTREAM_GIT to new URL
  * d/copyright
    - Changed source URL to new one
    - Reordered
  * Added suggests python-migrate-doc (Closes: #820656)
  * Standards-Version is 3.9.8 not (no change needed)

 -- James Page <email address hidden> Mon, 27 Jun 2016 11:46:51 +0100

Changed in migrate (Ubuntu Yakkety):
status: In Progress → Fix Released
Mathew Hodson (mhodson)
Changed in migrate (Ubuntu Xenial):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.