x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -pipe -O2 -pipe -march=native -Wall -c -o rpc.o rpc.c rpc.c: In function ‘nsm_recv_getport’: rpc.c:469:13: error: ‘UINT16_MAX’ undeclared (first use in this function) if (port > UINT16_MAX) { ^~~~~~~~~~ rpc.c:469:13: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_libressl_20171106-195719 ------------------------------------------------------------------- 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] pypy (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv net-fs/nfs-utils [ebuild N ] net-fs/nfs-utils-2.1.1-r1 USE="ipv6 libmount nfsidmap nfsv4 tcpd uuid -caps -kerberos -nfsdcld -nfsv41 (-selinux)"
Created attachment 503920 [details] emerge-info.txt
Created attachment 503922 [details] emerge-history.txt
Created attachment 503924 [details] environment
Created attachment 503926 [details] etc.portage.tbz2
Created attachment 503928 [details] logs.tbz2
Created attachment 503930 [details] net-fs:nfs-utils-2.1.1-r1:20171113-055638.log
Created attachment 503932 [details] temp.tbz2
missing #include <stdint.h> in support/nsm/rpc.c
(In reply to Marco Schinkel from comment #8) > missing > > #include <stdint.h> > > in support/nsm/rpc.c Correct. But weirdly we do not have a "stdint" tracker and we do have a "glibc-rpc" tracker.
*** Bug 640122 has been marked as a duplicate of this bug. ***
Also affects net-fs/nfs-utils-1.3.4-r1 (the current stable version at the time of this comment). Adding #include <stdint.h> to support/nsm/rpc.c fixes it.
This was fixed upstream in nfs-utils-2.1.2_rc5. We should probably just stabilize a newer version.