Summary: | app-forensics/zzuf-0.15_p20190208 - /.../zzat.c: error: call to undeclared function _fgets_chk; ISO C99 and later do not support i | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Marek Szuba <marecki> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
app-forensics:zzuf-0.15_p20190208:20220918-184733.log clang.tar.bz2 emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-09-18 18:53:17 UTC
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(+) |