migrate ftbfs in eoan

Bug #1843752 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
migrate (Ubuntu)
Confirmed
High
Unassigned

Bug Description

https://launchpadlibrarian.net/441261833/buildlog_ubuntu-eoan-amd64.migrate_0.12.0-3_BUILDING.txt.gz

   debian/rules override_dh_auto_build
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:32: warning: overriding recipe for target 'override_dh_installchangelogs'
/usr/share/openstack-pkg-tools/pkgos.make:58: warning: ignoring old recipe for target 'override_dh_installchangelogs'
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   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:32: warning: overriding recipe for target 'override_dh_installchangelogs'
/usr/share/openstack-pkg-tools/pkgos.make:58: 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.12.0.egg-info
echo "Metadata-Version: 1.1" >sqlalchemy_migrate-0.12.0.egg-info/PKG-INFO
echo "Name: sqlalchemy-migrate" >>sqlalchemy_migrate-0.12.0.egg-info/PKG-INFO
echo "Version: 0.12.0" >>sqlalchemy_migrate-0.12.0.egg-info/PKG-INFO
# Launch the actual tests
/<<PKGBUILDDIR>>/debian/test.sh
+ mktemp -d
+ MYTEMP_DIR=/tmp/tmp.VaSMgO85dJ
+ whoami
+ ME=buildd
+ /usr/sbin/mysqld --version
+ grep Ver
+ awk {print $3}
+ cut -d- -f1
+ MYSQL_VERSION=8.0.16
+ echo 8.0.16
+ cut -d. -f1
+ MYSQL_VERSION_MAJ=8
+ echo 8.0.16
+ cut -d. -f2
+ MYSQL_VERSION_MID=0
+ echo 8.0.16
+ cut -d. -f3
+ MYSQL_VERSION_MIN=16
+ [ 8 -le 5 ]
+ MYSQL_INSTALL_DB_OPT=--basedir=/usr
+ echo ===> Preparing MySQL temp folder
===> Preparing MySQL temp folder
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.VaSMgO85dJ --basedir=/usr --user=buildd
/<<PKGBUILDDIR>>/debian/test.sh: 22: mysql_install_db: not found
make[1]: *** [debian/rules:52: override_dh_auto_test] Error 127

Matthias Klose (doko)
Changed in migrate (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-ee-incoming
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.