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
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(+)