Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871003 - net-analyzer/netcat-110.20180111-r1 - fatal error: too many errors emitted, stopping now [-ferror-limit=]
Summary: net-analyzer/netcat-110.20180111-r1 - fatal error: too many errors emitted, s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:41 UTC by Toralf Förster
Modified: 2022-10-05 11:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2022-09-17 19:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.43 KB, text/plain)
2022-09-17 19:41 UTC, Toralf Förster
Details
environment (environment,80.62 KB, text/plain)
2022-09-17 19:41 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.93 KB, application/x-bzip)
2022-09-17 19:41 UTC, Toralf Förster
Details
net-analyzer:netcat-110.20180111-r1:20220917-181354.log (net-analyzer:netcat-110.20180111-r1:20220917-181354.log,20.74 KB, text/plain)
2022-09-17 19:41 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.01 KB, application/x-bzip)
2022-09-17 19:41 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 2022-09-17 19:41:09 UTC
     ^
netcat.c:1621:43: warning: too few arguments in call to 'holler'
    holler ("Preposterous fd value %d", fd);
    ~~~~~~                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
80 warnings and 20 errors generated.
make: *** [Makefile:31: nc] Error 1

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 0ea94cb571143075420d6c7a42d6462b66a5f9e3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 17:16:46 2022 +0000

    2022-09-17 17:16:46 UTC

emerge -qpvO net-analyzer/netcat
[ebuild  N    ] net-analyzer/netcat-110.20180111-r1  USE="ipv6 -static"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:41:11 UTC
Created attachment 809137 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:41:13 UTC
Created attachment 809140 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:41:14 UTC
Created attachment 809143 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:41:16 UTC
Created attachment 809146 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:41:17 UTC
Created attachment 809149 [details]
net-analyzer:netcat-110.20180111-r1:20220917-181354.log
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:41:18 UTC
Created attachment 809152 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-05 11:51:55 UTC
The bug has been closed via the following commit(s):

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

commit b1874260ac537e9747e2b9e79a2542f9998293a7
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-10-05 08:57:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-05 11:51:20 +0000

    net-analyzer/netcat: fix for -Werror=implicit-int
    
    This change patches the issue for clang-16 where -Werror=implicit-int is
    used by default among others. The patch was crafted specifically for us.
    
    Closes: https://bugs.gentoo.org/871003
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/27633
    Signed-off-by: Sam James <sam@gentoo.org>

 .../netcat-110.20180111-variadic-holler.patch      | 88 ++++++++++++++++++++++
 net-analyzer/netcat/netcat-110.20180111-r2.ebuild  | 66 ++++++++++++++++
 2 files changed, 154 insertions(+)