too long lines were shrinked: ../config.h:421:10: note: previous definition is here # define __EXTENSIONS__ 1 ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-forensics/zzuf-0.15_p20190208/work/zzuf-e598eef77a98d77dc6aec6fd2c845e3cd07dc4fd/src -I.. -DLIBZZUF -I/var/tmp/portage/app-forensics/zzuf-0.15_p20190208/work/zzuf-e598eef77a98d77dc6aec6fd2c845e3cd07dc4fd/src/libzzuf -I/var/tmp/porta /var/tmp/portage/app-forensics/zzuf-0.15_p20190208/work/zzuf-e598eef77a98d77dc6aec6fd2c845e3cd07dc4fd/src/zzat.c:477:26: error: call to undeclared function '__fgets_chk'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] MY_FREAD(s = __fgets_chk(tmp, l1, l1, f), tmp, s ? strlen(tmp) : 0); ^ ------------------------------------------------------------------- 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 7ae0f0c2af645cc04d30025016d9b097e7836ed3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 18:17:00 2022 +0000 2022-09-18 18:16:59 UTC emerge -qpvO app-forensics/zzuf [ebuild N ] app-forensics/zzuf-0.15_p20190208 ABI_X86="(64) -32 (-x32)"
Created attachment 812341 [details] emerge-info.txt
Created attachment 812344 [details] app-forensics:zzuf-0.15_p20190208:20220918-184733.log
Created attachment 812347 [details] clang.tar.bz2
Created attachment 812350 [details] emerge-history.txt
Created attachment 812353 [details] environment
Created attachment 812356 [details] etc.portage.tar.bz2
Created attachment 812359 [details] logs.tar.bz2
Created attachment 812362 [details] temp.tar.bz2
*** Bug 882301 has been marked as a duplicate of this bug. ***
*** Bug 882587 has been marked as a duplicate of this bug. ***
It would appear that some of these errors were clang-15 false positives which do not appear with clang-16, or indeed gcc-12 with the necessary -Werror options added to CFLAGS. I've just tracked down the remaining two, will push a fix shortly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bac9cd799d02dba8269e8699233d93d0b4b699a commit 0bac9cd799d02dba8269e8699233d93d0b4b699a Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2023-08-19 23:02:08 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2023-08-19 23:06:41 +0000 app-forensics/zzuf: add 0.15_p20220529 As far as upstream is concerned this snapshot is identical to _p20190208 apart from some typos in the documentation having been fixed. On the Gentoo side, however, this ebuild adds support for building with -Werror=implicit-function-declaration along with removing the previously hard-coded '-g -O2' from compiler flags. Closes: https://bugs.gentoo.org/871558 Signed-off-by: Marek Szuba <marecki@gentoo.org> app-forensics/zzuf/Manifest | 1 + .../zzuf-0.15_autoconf-hardcoded-cflags.patch | 11 ++++++ .../zzuf/files/zzuf-0.15_implicit_functions.patch | 32 +++++++++++++++ .../zzuf/files/zzuf-0.15_use-after-free.patch | 20 ++++++++++ app-forensics/zzuf/zzuf-0.15_p20220529.ebuild | 45 ++++++++++++++++++++++ 5 files changed, 109 insertions(+)