Source: ruby-mysql2 Version: 0.3.16-2 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu vivid
Hi, I'm wearing both my Ubuntu developer hat and my Debian MySQL packaging team hat for this report. This bug will impact Debian when we update to MySQL 5.6 in stretch. In the transition for MySQL 5.6 in Ubuntu, I found that the ruby-mysql2 package failed to build due to failing tests. This seems to be because debian/start_mysqld_and_auto_install.sh attempts to create a database called "test", except that the previous call to mysql_install_db already created it. In 5.6, we are no longer patching mysql_install_db to not create the test database, since we aren't using this path to create the default database. Downstream bug: https://launchpad.net/bugs/1423026 The workaround I applied was just to comment out the CREATE DATABASE line: http://launchpadlibrarian.net/197980584/ruby-mysql2_0.3.16-2_0.3.16-2ubuntu1.diff.gz Norvald's suggestion to use IF NOT EXISTS seems to be the best one to me, since I don't particularly want to continue patching mysql_install_db. Robie
signature.asc
Description: Digital signature