Source: glusterfs
Version: 11.2-2
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: rpcsvc-proto

Dear maintainer,

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.

glusterfs has been identified as one of the package requiring this
Build-Depends on rpcsvc-proto. Indeed it FTBFS with a modified glibc
that no longer depends on it. From my build log:

| checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) 
supports shared libraries... yes
| checking whether -lc should be explicitly linked in... no
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... no
| checking for rpcgen... no
| configure: error: `rpcgen` not found, glusterfs needs `rpcgen` exiting..
|       tail -v -n \+0 config.log
 
...
 
| configure: exit 1
| dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking 
--disable-linux-io_uring --enable-firewalld 
--libexecdir=/usr/lib/x86_64-linux-gnu --with-mountutildir=/usr/sbin 
--without-tcmalloc returned exit code 1
| make[1]: *** [debian/rules:51: override_dh_auto_configure] Error 25
| make[1]: Leaving directory '/build/reproducible-path/glusterfs-11.2'
| make: *** [debian/rules:20: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2

Therefore could you please add a Build-Depends on rpcsvc-proto in the
next glusterfs upload?

Regards
Aurelien

Reply via email to