Summary: | app-arch/zip-3.0-r4: conflicting types for memset when building with clang-15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nvinson234 |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=2143565 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 870412 | ||
Attachments: |
build.log
configure.patch |
Description
nvinson234
2022-09-08 15:29:58 UTC
Created attachment 804016 [details]
build.log
Created attachment 804019 [details, diff]
configure.patch
Error caused by unix/configure failing to properly identify standard functions. The bundled versions are not compatible with the standard definitions.
This patch fixes the unix/configure script.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20ac65e339e8fe52f62aa43b98a60ffd4dc16ed commit e20ac65e339e8fe52f62aa43b98a60ffd4dc16ed Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-10 02:15:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-10 02:15:53 +0000 app-arch/zip: fix build w/ Clang 15 Closes: https://bugs.gentoo.org/869203 Thanks-to: Nicholas Vinson <nvinson234@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../files/zip-3.0-clang-15-configure-tests.patch | 52 ++++++++++++++++ app-arch/zip/zip-3.0-r5.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 123 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4757f8e333a6b23956d6e9a53bac21365e70cc4f commit 4757f8e333a6b23956d6e9a53bac21365e70cc4f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-10 13:27:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-10 13:29:55 +0000 app-arch/zip: add link to openembedded variant of patch Bug: https://bugs.gentoo.org/869203 Signed-off-by: Sam James <sam@gentoo.org> app-arch/zip/files/zip-3.0-clang-15-configure-tests.patch | 1 + 1 file changed, 1 insertion(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6b9dfb87bb0e636b46ff40111252f96196375e7 commit e6b9dfb87bb0e636b46ff40111252f96196375e7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-19 00:35:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-19 01:34:42 +0000 app-arch/zip: further Clang 16 fixes (just in case) I only started looking at this because I saw a clang.diff from toralf which indicated more problems, but it turned out to be for zip-3.0-r4, not -r5/-r6 which had fixes [0][1][2]. -r6 is actually clean wrt clang.diff from the /etc/portage/bashrc hook we're using, but I noticed these additional nits while checking over configure, so may as well apply these just to be safe. [0] 5d06aa4c9b99bd1bcbbd8cedeb0a3ca54335905b [1] 4757f8e333a6b23956d6e9a53bac21365e70cc4f [2] e20ac65e339e8fe52f62aa43b98a60ffd4dc16ed Bug: https://bugs.gentoo.org/869203 Signed-off-by: Sam James <sam@gentoo.org> .../files/zip-3.0-clang-15-configure-tests.patch | 202 +++++++++++++++++++-- .../zip/{zip-3.0-r6.ebuild => zip-3.0-r7.ebuild} | 0 2 files changed, 184 insertions(+), 18 deletions(-) |