[GRASS-dev] [GRASS GIS] #3463: Compilation failure with >=glibc-2.14 due to missing rpc

GRASS GIS trac at osgeo.org
Thu Dec 7 09:20:44 PST 2017

#3463: Compilation failure with >=glibc-2.14 due to missing rpc
 Reporter:  marisn     |      Owner:  grass-dev@…
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  7.4.0
Component:  Compiling  |    Version:  svn-trunk
 Keywords:             |        CPU:  Unspecified
 Platform:  Linux      |
 Recent glibc versions do not provide rpc, but GRASS expects it to be
 present. There is no failure during configuration phase if rpc is not

 This issue will manifest itself on any GNU/Linux distro as soon as glibc
 gets upgraded to more recent version. Thus it needs to be fixed before
 upcoming release (unless we want to make fast 7.4.1 with a fix inside).
 Note – some distributions provide workarounds (i.e. on Gentoo rpc got
 removed only in 2.26).

 Affected files:
 grep -nHIirF --exclude-dir=.svn -- '<rpc/'
 lib/raster/open.c:15:#include <rpc/types.h>
 lib/raster/open.c:16:#include <rpc/xdr.h>
 lib/raster/get_row.c:18:#include <rpc/types.h>          /* need this for
 sgi */
 lib/raster/range.c:15:#include <rpc/types.h>            /* need this for
 sgi */

 Things to do:
 * configuration must check for rpc presence and fail if rpc is missing;
 * dependency on rpc should be removed or an alternative should be examined
 (is current state of libtirpc good enough?)

Ticket URL: <https://trac.osgeo.org/grass/ticket/3463>
GRASS GIS <https://grass.osgeo.org>

More information about the grass-dev mailing list