Public bug reported:

Hi,
just FYI I've seen this while looking at proposed migration for other things.
Currently glusterfs is FTFBS in hirsute

libtool: link: gcc -Wall -I/usr/include/uuid -I/usr/include/tirpc -Wformat 
-Werror=format-security -Werror=implicit-function-declaration -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z 
-Wl,now -o .libs/gf_attach gf_attach.o  
../../libglusterfs/src/.libs/libglusterfs.so ../../api/src/.libs/libgfapi.so 
../../rpc/rpc-lib/src/.libs/libgfrpc.so ../../rpc/xdr/src/.libs/libgfxdr.so 
-lrt -ldl -lpthread -lcrypto
/usr/bin/ld: gf_attach.o: undefined reference to symbol 
'xdr_sizeof@@TIRPC_0.3.3'
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: error adding symbols: DSO 
missing from command line
collect2: error: ld returned 1 exit status


It is not a problem in Debian [1] yet as this is a known common case around 
glibc 2.32.
We had for years xdr handling in libtirpc (that is where it was moved) but also 
a fallback in glibc (where it originally was). But glibc 2.32 finally removed 
the fallback to libtirpc.

Common issues of this type are either:
- rpc.h not found -> include libtirpc-dev (not the case here)
- fail to link to xdr* -> use to work as glibc had a fallback, but now needs 
linker flags (see pkg-config for libtirpc-dev)

P.S. I'm just filing this to avoid someone loosing time re-debugging
this as I have seen it for libvirt. I'm - right now - not intending to
work on it but hope it can give someone a head start.

[1]: https://buildd.debian.org/status/package.php?p=glusterfs

** Affects: glusterfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1905360

Title:
  FTBFS in Hirsute due to glibc2.32

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/1905360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to