Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637354 - net-fs/nfs-utils-2.1.1-r1 : rpc.c:469:13: error: UINT16_MAX undeclared (first use in this function)
Summary: net-fs/nfs-utils-2.1.1-r1 : rpc.c:469:13: error: UINT16_MAX undeclared (first...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://git.linux-nfs.org/?p=steved/nf...
Whiteboard:
Keywords:
: 640122 (view as bug list)
Depends on: 615396
Blocks:
  Show dependency tree
 
Reported: 2017-11-13 18:50 UTC by Toralf Förster
Modified: 2018-07-16 15:17 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2017-11-13 18:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.17 KB, text/plain)
2017-11-13 18:50 UTC, Toralf Förster
Details
environment (environment,110.50 KB, text/plain)
2017-11-13 18:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.78 KB, application/x-bzip)
2017-11-13 18:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.74 KB, application/x-bzip)
2017-11-13 18:50 UTC, Toralf Förster
Details
net-fs:nfs-utils-2.1.1-r1:20171113-055638.log (net-fs:nfs-utils-2.1.1-r1:20171113-055638.log,49.47 KB, text/plain)
2017-11-13 18:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.66 KB, application/x-bzip)
2017-11-13 18:50 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-11-13 18:50:01 UTC
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)"
Comment 1 Toralf Förster gentoo-dev 2017-11-13 18:50:04 UTC
Created attachment 503920 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-13 18:50:07 UTC
Created attachment 503922 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-13 18:50:10 UTC
Created attachment 503924 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-13 18:50:13 UTC
Created attachment 503926 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-13 18:50:17 UTC
Created attachment 503928 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-13 18:50:20 UTC
Created attachment 503930 [details]
net-fs:nfs-utils-2.1.1-r1:20171113-055638.log
Comment 7 Toralf Förster gentoo-dev 2017-11-13 18:50:23 UTC
Created attachment 503932 [details]
temp.tbz2
Comment 8 Marco Schinkel 2017-12-02 17:02:16 UTC
missing 

#include <stdint.h>

in support/nsm/rpc.c
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-07 05:42:32 UTC
(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.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-08 10:14:06 UTC
*** Bug 640122 has been marked as a duplicate of this bug. ***
Comment 11 Matt Whitlock 2018-02-15 05:31:02 UTC
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.
Comment 12 Mike Gilbert gentoo-dev 2018-02-15 18:00:02 UTC
This was fixed upstream in nfs-utils-2.1.2_rc5. We should probably just stabilize a newer version.