Summary: | dev-libs/apr-1.7.0-r5: fails to compile with Clang 15 ( misc/unix/errorcodes.c:385:9: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=874417 https://bz.apache.org/bugzilla/show_bug.cgi?id=66408 https://bz.apache.org/bugzilla/show_bug.cgi?id=66396 https://bugs.gentoo.org/show_bug.cgi?id=875167 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 870412 | ||
Attachments: | build.log |
Description
Sam James
2022-09-13 18:12:04 UTC
I have a local patch for this fwiw, just need to tidy it The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1648aa7703597e93e73cbaf801eddbfc3784b6d commit e1648aa7703597e93e73cbaf801eddbfc3784b6d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-16 20:51:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-16 21:47:22 +0000 dev-libs/apr: fix miscompilation w/ Clang 16 I've not sent these upstream unfortunately, for a few reasons: - a bunch of it is already there; - we have a huge backlog of patches we need to rebase/upstream; - upstream are way overdue a release in the 1.7.x branch (and it's a mess atm) Let's revisit this on the next release when it should be much easier. Closes: https://bugs.gentoo.org/870004 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/apr/apr-1.7.0-r6.ebuild | 163 ++++++++++++++++++++++++++ dev-libs/apr/files/apr-1.7.0-clang-16.patch | 174 ++++++++++++++++++++++++++++ 2 files changed, 337 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744897e5c88f5c973e47121320e92427873e52be commit 744897e5c88f5c973e47121320e92427873e52be Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-16 21:46:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-16 21:47:23 +0000 dev-libs/apr-util: depend on newer dev-libs/apr apr-util may be miscompiled or loop forever during build w/ bad apr with >= Clang 16. Bug: https://bugs.gentoo.org/870004 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/apr-util/apr-util-1.6.1-r10.ebuild | 148 ++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b2b9521e8558b0f0d15332839bbdb0e0406c23 commit 75b2b9521e8558b0f0d15332839bbdb0e0406c23 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-13 06:47:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-13 06:54:53 +0000 dev-libs/apr-util: add 1.6.3 Bug: https://bugs.gentoo.org/811765 Bug: https://bugs.gentoo.org/870004 Bug: https://bugs.gentoo.org/893406 Closes: https://bugs.gentoo.org/875167 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/apr-util/Manifest | 1 + dev-libs/apr-util/apr-util-1.6.3.ebuild | 147 +++++++++++++++++++++ .../files/apr-util-1.6.3-fix-pkgconfig-libs.patch | 29 ++++ 3 files changed, 177 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8fe2b7fedf4372a89b3a11865c04a645a84c88 commit 7f8fe2b7fedf4372a89b3a11865c04a645a84c88 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-13 06:28:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-13 06:54:07 +0000 dev-libs/apr: add 1.7.2 Bug: https://bugs.gentoo.org/870004 Bug: https://bugs.gentoo.org/875167 Bug: https://bugs.gentoo.org/893406 Closes: https://bugs.gentoo.org/811765 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/apr/Manifest | 1 + dev-libs/apr/apr-1.7.2.ebuild | 167 +++++++++++++++++++++ .../apr/files/apr-1.7.2-fix-pkgconfig-libs.patch | 35 +++++ dev-libs/apr/files/apr-1.7.2-libtool.patch | 16 ++ dev-libs/apr/files/apr-1.7.2-respect-flags.patch | 22 +++ dev-libs/apr/files/apr-1.7.2-sysroot.patch | 37 +++++ dev-libs/apr/metadata.xml | 1 + 7 files changed, 279 insertions(+) |