Comment 0 for bug 323755

Revision history for this message
Andreas Olsson (andol) wrote : non-trivial building mysql source package, build test keeps failing, (open)ssl related

For some reasons it seems if not impossible then atleast non-trivial to build binary packages from the source provided by mysql-dfsg-5.0 in Hardy (5.0 5.0.51a-3ubuntu5.4), Intrepid (5.0.67-0ubuntu6) and Jaunty (5.1.30really5.0.75-0ubuntu3).

While I believe I have a memory of actually succeeding somewhat recently I has been completely impossible these rescent days when I have looked closer at it. No matter if I try to use debuild och pbuilder the I always get the same failure during the build test.

----------
Failed 7/494 tests, 98.58% were successful.

The log files in var/log may give you some hint
of what went wrong.
If you want to report this error, please read first the documentation at
http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
The servers were restarted 121 times
Spent 808.385 of 3127 seconds executing testcases

mysql-test-run in default mode: *** Failing the test(s): openssl_1 rpl_openssl rpl_ssl ssl ssl_8k_key ssl_compress ssl_connect
mysql-test-run: *** ERROR: there were failing test cases
----------

It does by the way seems strange to be testing openssl considering debian/rules includes "--without-openssl".

I've been testing on i386 and amd64 as well as physical and virtual machines.

When I've tested using debuild I've taken a clean install, upgraded it fully, then running these steps
$ sudo apt-get install build-essential fakeroot devscripts
$ sudo apt-get build-dep mysql-server-5.0
$ apt-get source mysql-server-5.0
$ cd mysql-dfsg-5.0-5.0.67/
$ debuild -uc -us

The (few) tests I've ran pbuilder has been in environments created by this command
$ sudo pbuilder create --debootstrapopts --variant=buildd