Source: mysql-8.0 Version: 8.0.45-1 Severity: important User: [email protected] Usertags: rpcsvc-proto
Dear maintainer(s), Historically, the rpcgen has been provided by glibc. It was split out into the rpcsvc-proto package starting with glibc 2.31 (released in bookworm), anid libc6-dev gained a dependency on it as part of the transition. It now makes sense to finish this transition by using an explicit Build-Depends on rpcsvc-proto instead of relying on the dependency pulled in via libc6-dev. mysql-8.0 is one of the packages requiring this Build-Depends on rpcsvc-proto. Indeed it FTBFS with a modified glibc that no longer depends on it. From my build log: | -- Performing Test HAVE_PEERCRED - Success | -- MECAB_INCLUDE_DIR = /usr/include | -- MECAB_LIBRARY = /usr/lib/x86_64-linux-gnu/libmecab.so | -- Performing Test HAVE_XDR_OPS_X_PUTINT32 | -- Performing Test HAVE_XDR_OPS_X_PUTINT32 - Failed | -- Performing Test HAVE_XDR_OPS_X_GETINT32 | -- Performing Test HAVE_XDR_OPS_X_GETINT32 - Failed | -- Performing Test HAVE_RPC_INLINE_T | -- Performing Test HAVE_RPC_INLINE_T - Success | -- Performing Test OLD_XDR | -- Performing Test OLD_XDR - Failed | -- Performing Test HAS_INCOMPATIBLE_POINTER_TYPES | -- Performing Test HAS_INCOMPATIBLE_POINTER_TYPES - Success | -- Performing Test X_PUTLONG_NOT_USE_CONST | -- Performing Test X_PUTLONG_NOT_USE_CONST - Failed | CMake Warning at cmake/rpc.cmake:30 (MESSAGE): | Cannot find rpcgen executable. You need to install the required packages: | | Debian/Ubuntu: apt install rpcsvc-proto | RedHat/Fedora/Oracle Linux: yum install rpcgen | SuSE: zypper install glibc-devel | | Call Stack (most recent call first): | plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake:113 (WARN_MISSING_RPCGEN_EXECUTABLE) | plugin/group_replication/libmysqlgcs/CMakeLists.txt:51 (INCLUDE) | | | CMake Error at plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake:114 (MESSAGE): | Could not find rpcgen | Call Stack (most recent call first): | plugin/group_replication/libmysqlgcs/CMakeLists.txt:51 (INCLUDE) | | | -- Configuring incomplete, errors occurred! | make[1]: *** [debian/rules:80: configure-stamp] Error 1 | make[1]: Leaving directory '/build/reproducible-path/mysql-8.0-8.0.45' | make: *** [debian/rules:226: build] Error 2 | dpkg-buildpackage: error: debian/rules build subprocess failed with exit status 2 Therefore could you please add a Build-Depends on rpcsvc-proto for the next mysql-8.0 upload? Regards Aurelien

