Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631270 - sys-cluster/ganglia-3.7.1-r1 : configure: error: your system is missing the Sun RPC (ONC/RPC) libraries
Summary: sys-cluster/ganglia-3.7.1-r1 : configure: error: your system is missing the S...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 691468 735496
  Show dependency tree
 
Reported: 2017-09-17 19:43 UTC by Toralf Förster
Modified: 2020-09-25 11:44 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.30 KB, text/plain)
2017-09-17 19:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,392.38 KB, text/plain)
2017-09-17 19:43 UTC, Toralf Förster
Details
environment (environment,144.52 KB, text/plain)
2017-09-17 19:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.58 KB, application/x-bzip)
2017-09-17 19:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.23 KB, application/x-bzip)
2017-09-17 19:43 UTC, Toralf Förster
Details
sys-cluster:ganglia-3.7.1-r1:20170917-154607.log (sys-cluster:ganglia-3.7.1-r1:20170917-154607.log,12.20 KB, text/plain)
2017-09-17 19:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.14 KB, application/x-bzip)
2017-09-17 19:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-17 19:43:11 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2017-09-17 19:43:14 UTC
Created attachment 495100 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-17 19:43:17 UTC
Created attachment 495102 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-17 19:43:21 UTC
Created attachment 495104 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-17 19:43:24 UTC
Created attachment 495106 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-17 19:43:27 UTC
Created attachment 495108 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-17 19:43:30 UTC
Created attachment 495110 [details]
sys-cluster:ganglia-3.7.1-r1:20170917-154607.log
Comment 7 Toralf Förster gentoo-dev 2017-09-17 19:43:33 UTC
Created attachment 495112 [details]
temp.tbz2
Comment 8 Michael Uleysky 2017-11-22 03:21:01 UTC
Quick fix:
1) Install (if not installed) libtirpc
2) LDFLAGS="-ltirpc" CPPFLAGS="-I/usr/include/tirpc" emerge ganglia
Comment 9 Daniel M. Weeks 2017-11-22 06:06:50 UTC
(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.
Comment 10 Juergen Rose 2017-12-09 10:19:15 UTC
(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.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-09 09:08:24 UTC
Had this on arm64 too.
Comment 12 Larry the Git Cow gentoo-dev 2020-09-25 11:14:33 UTC
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(+)