Summary: | net-misc/whois-5.5.19 fails to build with LLVM/Clang | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | asdfg <andrschwarz> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | contyk, leio |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/termux/termux-packages/issues/18208 | ||
See Also: |
https://github.com/rfc1036/whois/issues/155 https://github.com/rfc1036/whois/pull/156 https://bugs.gentoo.org/show_bug.cgi?id=917507 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
emerge --info
Complete build log |
Created attachment 872590 [details]
Complete build log
Clang doesn't support the malloc attribute with multiple arguments, see https://github.com/llvm/llvm-project/issues/51607. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023f317a9630dc99e8a2da3190c3beb3e615208a commit 023f317a9630dc99e8a2da3190c3beb3e615208a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-11-12 04:05:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-12 04:05:37 +0000 net-misc/whois: add 5.5.20 Closes: https://bugs.gentoo.org/915603 Signed-off-by: Sam James <sam@gentoo.org> net-misc/whois/Manifest | 1 + net-misc/whois/whois-5.5.20.ebuild | 81 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) |
Created attachment 872589 [details] emerge --info In file included from utils.c:34: ./utils.h:62:7: error: 'malloc' attribute takes no arguments 62 | void *MALLOC_FREE NONNULL do_nofail(void *ptr, const char *fil... | ^ ./utils.h:20:37: note: expanded from macro 'MALLOC_FREE' 20 | # define MALLOC_FREE __attribute__((malloc(free))) | ^ In file included from simple_recode.c:29: ./utils.h:62:7: error: 'malloc' attribute takes no arguments 62 | void *MALLOC_FREE NONNULL do_nofail(void *ptr, const char *fil... | ^ ./utils.h:20:37: note: expanded from macro 'MALLOC_FREE' 20 | # define MALLOC_FREE __attribute__((malloc(free))) | ^ 1 error generated. 1 error generated. make: *** [Makefile:71: utils.o] Error 1 make: *** Waiting for unfinished jobs.... msgfmt --statistics --check --verbose --output-file=cs.mo cs.po make: *** [Makefile:71: simple_recode.o] Error 1 emerge -pv1 whois: These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 2.83 s (backtrack: 0/10). [ebuild U ] net-misc/whois-5.5.19::gentoo [5.5.18-r1::gentoo] USE="iconv nls -idn -xcrypt" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB