Comment 1 for bug 1947141

Revision history for this message
Paride Legovini (paride) wrote :

Hello Bernd and thanks for this bug report. Your are right: check_mysql is missing from Hirsute but present in Focal and Impish. The Hirsute build log [1] shows the following at the configure stage:

checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmariadbclient... no

while for the versions in Focal and Impish we have:

checking for mysql_init in -lmysqlclient... yes

Interestingly if src:monitoring-plugins is rebuilt today in an up-to-date Hirsute chroot, then mysql_init is found and check_mysql is built and installed. What changed is the version of the libmysqlclient-dev build-dep (or, better, of src:mysql-8.0). The buggy version of the package has been built against version 8.0.23-1, which interestingly never left hirsute-proposed. Hirsute at the moment ships version 8.0.26-0ubuntu0.21.04.3.

I believe we simply need a no-change rebuild to fix this.

[1] https://launchpadlibrarian.net/520824312/buildlog_ubuntu-hirsute-amd64.monitoring-plugins_2.3-1ubuntu1_BUILDING.txt.gz