[debian-mysql] Bug#1065289: mysql-8.0: missing build-dep on libtirpc-dev

Aurelien Jarno aurel32 at debian.org
Sat Mar 2 11:14:47 GMT 2024


Source: mysql-8.0
Version: 8.0.36-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-glibc at lists.debian.org
Usertags: libtirpc-dev

Dear maintainer,

Starting with glibc 2.31, support for NIS (libnsl library) has been
moved to a separate libnsl2 package. In order to allow a smooth
transition, a libnsl-dev, which depends on libtirpc-dev, has been added
to the libc6-dev package.

The libnsl-dev dependency has been temporarily dropped in the 2.37-15.1
NMU, as part of the 64-bit time_t transition. This causes mysql-8.0 to
FTBFS in sid with:

| -- MECAB_INCLUDE_DIR = /usr/include
| -- MECAB_LIBRARY = /usr/lib/x86_64-linux-gnu/libmecab.so
| -- Found PkgConfig: /bin/pkg-config (found version "1.8.1")
| -- Checking for module 'libtirpc'
| --   Package 'libtirpc', required by 'virtual:world', not found
| CMake Warning at cmake/rpc.cmake:40 (MESSAGE):
|   Cannot find RPC development libraries.  You need to install the required
|   packages:
| 
|     Debian/Ubuntu:              apt install libtirpc-dev
|     RedHat/Fedora/Oracle Linux: yum install libtirpc-devel
|     SuSE:                       zypper install glibc-devel
| 
| Call Stack (most recent call first):
|   cmake/rpc.cmake:96 (WARN_MISSING_SYSTEM_TIRPC)
|   plugin/group_replication/libmysqlgcs/cmake/configure.cmake:34 (MYSQL_CHECK_RPC)
|   plugin/group_replication/libmysqlgcs/CMakeLists.txt:31 (INCLUDE)
| 
| 
| CMake Error at cmake/rpc.cmake:97 (MESSAGE):
|   Could not find rpc/rpc.h in /usr/include or /usr/include/tirpc
| Call Stack (most recent call first):
|   plugin/group_replication/libmysqlgcs/cmake/configure.cmake:34 (MYSQL_CHECK_RPC)
|   plugin/group_replication/libmysqlgcs/CMakeLists.txt:31 (INCLUDE)
| 
| 
| -- Configuring incomplete, errors occurred!
| make[1]: *** [debian/rules:80: configure-stamp] Error 1
| make[1]: Leaving directory '/home/aurel32/work/glibc/libnsl/packages/mysql-8.0-8.0.36'
| make: *** [debian/rules:230: build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

This can be fixed by adding an explicit Build-Depends on libtirpc-dev.
The glibc change will likely be reverted in the short term, but given
its a change we want to do for Trixie, this will only lower the severity
of the bug.

Regards
Aurelien



More information about the pkg-mysql-maint mailing list