Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934056 - net-analyzer/nfdump-1.7.2 - [ncurses-6.5] daemon.c: error: implicit declaration of function setresgid
Summary: net-analyzer/nfdump-1.7.2 - [ncurses-6.5] daemon.c: error: implicit declarati...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-06-11 16:25 UTC by Toralf Förster
Modified: 2024-06-11 16:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.00 KB, text/plain)
2024-06-11 16:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.23 KB, text/plain)
2024-06-11 16:25 UTC, Toralf Förster
Details
environment (environment,95.04 KB, text/plain)
2024-06-11 16:25 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-06-11 16:25 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,39.52 KB, application/x-xz)
2024-06-11 16:25 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.71 KB, application/x-xz)
2024-06-11 16:25 UTC, Toralf Förster
Details
net-analyzer:nfdump-1.7.2:20240611-111212.log (net-analyzer:nfdump-1.7.2:20240611-111212.log,26.49 KB, text/plain)
2024-06-11 16:25 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.88 KB, application/x-xz)
2024-06-11 16:25 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.11 KB, application/x-xz)
2024-06-11 16:25 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 2024-06-11 16:25:36 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I../include -I../inline -ggdb -O2 -pipe -march=native -fno-diagnostics-color -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -DNSEL -DJUNOS -pthread 
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../..  -I.. -I../include -I../inline   -ggdb  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict
libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I../include -I../inline -ggdb -O2 -pipe -march=native -fno-diagnostics-color -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -DNSEL -DJUNOS -pthread 
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../..  -I.. -I../include -I../inline   -ggdb  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict
libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I../include -I../inline -ggdb -O2 -pipe -march=native -fno-diagnostics-color -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -DNSEL -DJUNOS -pthread 
daemon.c: In function 'SetPriv':
daemon.c:140:44: error: implicit declaration of function 'setresgid'; did you mean 'setregid'? [-Wimplicit-function-declaration]
  140 |         if (setgroups(1, &newgid) == -1 || setresgid(newgid, newgid, newgid) == -1) {
      |                                            ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240608-075013

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.4 linux/amd64

  HEAD of ::gentoo
commit 66aab384e5ee36f69cf218acfc777a6141c0980b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 11 10:21:08 2024 +0000

    2024-06-11 10:21:07 UTC

emerge -qpvO net-analyzer/nfdump
[ebuild  N    ] net-analyzer/nfdump-1.7.2  USE="jnat nfprofile -debug -doc -ftconv -nfpcapd -nftrack -nsel -readpcap -sflow"
Comment 1 Toralf Förster gentoo-dev 2024-06-11 16:25:37 UTC
Created attachment 895595 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-11 16:25:38 UTC
Created attachment 895596 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-11 16:25:40 UTC
Created attachment 895597 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-11 16:25:41 UTC
Created attachment 895598 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-11 16:25:42 UTC
Created attachment 895599 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-11 16:25:43 UTC
Created attachment 895600 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-11 16:25:44 UTC
Created attachment 895601 [details]
net-analyzer:nfdump-1.7.2:20240611-111212.log
Comment 8 Toralf Förster gentoo-dev 2024-06-11 16:25:45 UTC
Created attachment 895602 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-11 16:25:46 UTC
Created attachment 895603 [details]
temp.tar.xz