checking for rpc/types.h... no checking for rpc/xdr.h... no configure: error: your system is missing the Sun RPC (ONC/RPC) libraries !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-cluster/ganglia-3.7.1-r1/work/ganglia-3.7.1/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_20170905-225247 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.5.1 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv sys-cluster/ganglia [ebuild N ] sys-cluster/ganglia-3.7.1-r1 USE="pcre -examples -minimal -python" PYTHON_TARGETS="python2_7"
Created attachment 495100 [details] emerge-info.txt
Created attachment 495102 [details] emerge-history.txt
Created attachment 495104 [details] environment
Created attachment 495106 [details] etc.portage.tbz2
Created attachment 495108 [details] logs.tbz2
Created attachment 495110 [details] sys-cluster:ganglia-3.7.1-r1:20170917-154607.log
Created attachment 495112 [details] temp.tbz2
Quick fix: 1) Install (if not installed) libtirpc 2) LDFLAGS="-ltirpc" CPPFLAGS="-I/usr/include/tirpc" emerge ganglia
(In reply to Michael Uleysky from comment #8) > Quick fix: > 1) Install (if not installed) libtirpc > 2) LDFLAGS="-ltirpc" CPPFLAGS="-I/usr/include/tirpc" emerge ganglia Thanks. It seems with Sun RPC deprecated in glibc 2.26 and Gentoo (rightfully) not utilizing the --enable-obsolete-rpc option then depending on net-libs/libtirpc is the best path forward. A (newer) ebuild depending libtirpc is available in the junkdrawer overlay.
(In reply to Daniel M. Weeks from comment #9) > (In reply to Michael Uleysky from comment #8) > > Quick fix: > > 1) Install (if not installed) libtirpc > > 2) LDFLAGS="-ltirpc" CPPFLAGS="-I/usr/include/tirpc" emerge ganglia > > Thanks. It seems with Sun RPC deprecated in glibc 2.26 and Gentoo > (rightfully) not utilizing the --enable-obsolete-rpc option then depending > on net-libs/libtirpc is the best path forward. > > A (newer) ebuild depending libtirpc is available in the junkdrawer overlay. The ganglia-3.7.2-r1.ebuild from the junkdrawer overlay worked for me.
Had this on arm64 too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347d199477828add364aa1a6849b9efe60d78d42 commit 347d199477828add364aa1a6849b9efe60d78d42 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-09-25 11:06:05 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-09-25 11:14:26 +0000 sys-cluster/ganglia: Fix build failure with recent glibc. Depend on net-libs/libtirpc and append necessary flags and libs. Ebuild ported to EAPI 7. Closes: https://bugs.gentoo.org/631270 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Ulrich Müller <ulm@gentoo.org> sys-cluster/ganglia/ganglia-3.7.1-r2.ebuild | 134 ++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+)