did you mean to compare to NULL? [-Wpointer-compare] if (optarg == NULL || optarg == '\0') { ^~~~ (void *)0 netstat-nat.c:530:9: error: call to undeclared function 'string_search'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20221004-070004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Rust versions: [1] rust-bin-1.64.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 9c436606561532c31ac45c8b107e8f4ba4756a56 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Oct 4 09:48:53 2022 +0000 2022-10-04 09:48:52 UTC emerge -qpvO net-misc/netstat-nat [ebuild N ] net-misc/netstat-nat-1.4.10
Created attachment 820201 [details] emerge-info.txt
Created attachment 820204 [details] clang.tar.bz2
Created attachment 820207 [details] emerge-history.txt
Created attachment 820210 [details] environment
Created attachment 820213 [details] etc.portage.tar.bz2
Created attachment 820216 [details] logs.tar.bz2
Created attachment 820219 [details] net-misc:netstat-nat-1.4.10:20221004-100508.log
Created attachment 820222 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ed427a245eaf0b0d1649cb7cf4bd927e37c706 commit e4ed427a245eaf0b0d1649cb7cf4bd927e37c706 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-11 03:14:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-11 03:15:48 +0000 net-misc/netstat-nat: fix modern C issues Closes: https://bugs.gentoo.org/875149 Signed-off-by: Sam James <sam@gentoo.org> net-misc/netstat-nat/files/netstat-nat-1.4.10-docdir.patch | 9 +++++++++ .../netstat-nat/files/netstat-nat-1.4.10-modern-c.patch | 13 +++++++++++++ ...tstat-nat-1.4.10.ebuild => netstat-nat-1.4.10-r1.ebuild} | 6 ++++-- 3 files changed, 26 insertions(+), 2 deletions(-)