Bug#671115: [debian-mysql] Bug#671115: Bug#671115: transition: mysql-5.5
On Tue, May 22, 2012 at 3:04 AM, Clint Byrum cl...@ubuntu.com wrote: You will also need to fold /etc/mysql/my.cnf into libmysqlclient16 as the library needs that file for default settings, and then you need to make it conflict with mysql-commont = 5.5 so as to not pick up the broken config options. What (new) (client) options are problematic for libmysqlclient? I thought it was only an issue for server. Olaf -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#671115: [debian-mysql] Bug#671115: Bug#671115: transition: mysql-5.5
On Mon, May 21, 2012 at 18:04:17 -0700, Clint Byrum wrote: You will also need to fold /etc/mysql/my.cnf into libmysqlclient16 as the library needs that file for default settings, and then you need to make it conflict with mysql-commont = 5.5 so as to not pick up the broken config options. Sigh. This is so hopelessly broken. (Don't do that.) Also, broken how? Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#671115: [debian-mysql] Bug#671115: Bug#671115: transition: mysql-5.5
That should be trivial. We need only remove all the other binary stanzas, right? On 21/05/12 20:21, Julien Cristau wrote: On Mon, May 21, 2012 at 11:34:16 -0700, Clint Byrum wrote: mysql-common 5.5 will break 5.1 because there are new configuration options used in /etc/mysql/my.cnf that will *break* mysql 5.1, as in, it will refuse to run, libmysqlclient will throw errors, etc. This is an unfortunate, but necessary evil. We can upload a version of 5.1 that has no mysql-server, mysql-client, or mysql-testsuite packages, and also that depends on a mysql-common-5.1 which breaks/replaces mysql-common ${binary:Version}, and conflicts with mysql-common ${binary:Version}, so that everything remains installable during the transition. mysql-common in 5.5 would also then need a Breaks/Replaces of that package to handle upgrades properly. I'd rather see a new mysql-5.1 upload that builds *only* libmysqlclient16. Cheers, Julien ___ pkg-mysql-maint mailing list pkg-mysql-ma...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#671115: [debian-mysql] Bug#671115: Bug#671115: transition: mysql-5.5
Excerpts from Nicholas Bamber's message of Mon May 21 12:47:19 -0700 2012: On 21/05/12 20:21, Julien Cristau wrote: On Mon, May 21, 2012 at 11:34:16 -0700, Clint Byrum wrote: mysql-common 5.5 will break 5.1 because there are new configuration options used in /etc/mysql/my.cnf that will *break* mysql 5.1, as in, it will refuse to run, libmysqlclient will throw errors, etc. This is an unfortunate, but necessary evil. We can upload a version of 5.1 that has no mysql-server, mysql-client, or mysql-testsuite packages, and also that depends on a mysql-common-5.1 which breaks/replaces mysql-common ${binary:Version}, and conflicts with mysql-common ${binary:Version}, so that everything remains installable during the transition. mysql-common in 5.5 would also then need a Breaks/Replaces of that package to handle upgrades properly. I'd rather see a new mysql-5.1 upload that builds *only* libmysqlclient16. fixed top post That should be trivial. We need only remove all the other binary stanzas, right? You will also need to fold /etc/mysql/my.cnf into libmysqlclient16 as the library needs that file for default settings, and then you need to make it conflict with mysql-commont = 5.5 so as to not pick up the broken config options. Either way, basically nothing that depends on libmysqlclient16 will be able to be co-installed with anything that depends on libmysqlclient18. Welcome the to the crack that is libmysqlclient. :) I will do some tests, maybe we can get the two libs to share a common transitional library only my.cnf. But, I think really we just have to finish the transition ASAP. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#671115: [debian-mysql] Bug#671115: Bug#671115: transition: mysql-5.5
Adam, I have long been wondering what the point of all the versioning is (apart from the shared library of course). I would vote for getting rid of it post-freeze. I think there have been two differences between the ubuntu and Debian transitions. The first is adding libssl-dev as a build dependency. It not being a build dependency caused a FTBS in some circumstances. Fixing put -lssl and -lcrypto in the mysq_config output with adjusting the dependencies accordingly. This caused a number of otehr packages to fail and I am working on removing -lssl and -lcrypto from the mysql_config output. The second difference is not I believe substantive. I changed Conflicts clauses to Breaks/Replaces as suggested by lintian. Apart from the file clashes these clauses are there purely, AFAICS, because we version the binary packages. For example in ubuntu amarok had to change build dependencies from 5.1 to 5.5 and needs to do so in Debian. On 19/05/12 16:51, Adam D. Barratt wrote: On Tue, 2012-05-08 at 06:18 -0700, Clint Byrum wrote: On May 8, 2012, at 2:04, Julien Cristaujcris...@debian.org wrote: On Tue, May 1, 2012 at 22:52:22 +0100, Nicholas Bamber wrote: At some point we need to transition from mysql-5.1 to mysql-5.5. We would like to do this before the freeze though we appreciate that time is now short. We arrived at this position as the Debian MySQL Team became increasingly understaffed. It is better now but not ideal. [...] To be fair, this transition was already completed in Ubuntu and I filed bugs against all packages that failed with patches. Most if not all of these patches have been applied. I would expect this transition to go quite smoothly and just to require rebuilds given the experience we had in Ubuntu. The problem is that the recent set of php5 security updates are currently stuck in unstable, because they picked up a dependency on libmysqlclient18. For most library transitions, this wouldn't be such a big problem as we could push the new version of the source in and have britney keep the old library around in testing for as long as there were reverse-dependencies; indeed there was some hope that with mysql-5.5 being a separate source package, this would be even easier as the two source packages could co-exist. However, it turns out that won't work - the 5.5 packages have: Breaks: mysql-client-5.1 ( 5.5), mysql-server-5.1 ( 5.5), mysql-server-core-5.1 ( 5.5) and there are no versions of those packages with versions= 5.5 (so I'm not entirely sure what the logic behind the version constraints is). Various -5.1 packages have versioned dependencies on other binaries from that source, which means we can't even mitigate the problem by adding Provides from the 5.5 packages. Providing them as real transitional packages from the 5.5 source would probably work, unless there's some reason that's a crazy suggestion? (There's also a mysql-5.1 upload which can't migrate to testing, as britney is convinced that it needs mysql-5.5 to migrate first; presumably because the latter now provides the mysql-{client,common,server} binary packages in unstable.) Regards, Adam ___ pkg-mysql-maint mailing list pkg-mysql-ma...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org