Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 822711

Summary: app-misc/carbon-c-relay-3.7.2-r1 - router.c: error: UINT16_MAX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 803482    
Attachments: emerge-info.txt
app-misc:carbon-c-relay-3.7.2-r1:20211109-155628.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-11-09 16:14:20 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DGIT_VERSION=\"2020-07-10\" -pthread -c -o router.o router.c
router.c: In function ‘router_validate_address’:
router.c:419:42: error: ‘UINT16_MAX’ undeclared (first use in this function)
  419 |                 if (lport < 1 || lport > UINT16_MAX || endp != p) {
      |                                          ^~~~~~~~~~
router.c:44:1: note: ‘UINT16_MAX’ is defined in header ‘<stdint.h>’; did you forget to ‘#include <stdint.h>’?
   43 | #include "conffile.tab.h"

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20211104-230250

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.8
Available Rust versions:
  [1]   rust-bin-1.56.1
  [2]   rust-1.56.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.302_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 33fc5d3f108c772c0af4aae5395828595057e6d1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 9 14:46:15 2021 +0000

    2021-11-09 14:46:01 UTC

emerge -qpvO app-misc/carbon-c-relay
[ebuild  N    ] app-misc/carbon-c-relay-3.7.2-r1  USE="oniguruma pcre zlib -lz4 -pcre2 -snappy -ssl"
Comment 1 Toralf Förster gentoo-dev 2021-11-09 16:14:21 UTC
Created attachment 749934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-09 16:14:22 UTC
Created attachment 749937 [details]
app-misc:carbon-c-relay-3.7.2-r1:20211109-155628.log
Comment 3 Toralf Förster gentoo-dev 2021-11-09 16:14:24 UTC
Created attachment 749940 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-09 16:14:25 UTC
Created attachment 749943 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-09 16:14:26 UTC
Created attachment 749946 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-09 16:14:27 UTC
Created attachment 749949 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-09 16:14:28 UTC
Created attachment 749952 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-11-09 20:02:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf0bfb4bc964558e3fe5c1534e23f7f53308b97c

commit bf0bfb4bc964558e3fe5c1534e23f7f53308b97c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2021-11-09 20:01:38 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2021-11-09 20:01:38 +0000

    app-misc/carbon-c-relay-3.7.3: version bump, fix #822711
    
    Closes: https://bugs.gentoo.org/822711
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 app-misc/carbon-c-relay/Manifest                   |  1 +
 .../carbon-c-relay/carbon-c-relay-3.7.3.ebuild     | 58 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)