In file included from /usr/include/c++/v1/algorithm:1810: In file included from /usr/include/c++/v1/__algorithm/for_each.h:16: In file included from /usr/include/c++/v1/__ranges/movable_box.h:23: In file included from /usr/include/c++/v1/optional:1289: In file included from /usr/include/c++/v1/atomic:591: In file included from /usr/include/c++/v1/__atomic/aliases.h:12: /usr/include/c++/v1/__atomic/atomic.h:50:22: error: too few arguments provided to function-like macro invocation 50 | __base::store(__d); | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_llvm-20240402-180030 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.2+libcxx Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.2+libcxx Python 3.11.8 php cli (if any): HEAD of ::gentoo commit a5159b30237ccfd37016c13a47f54da1362a597c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Apr 2 23:19:13 2024 +0000 2024-04-02 23:19:13 UTC emerge -qpvO sys-libs/db [ebuild N ] sys-libs/db-6.0.35-r5 USE="cxx -doc -examples -tcl -test" ABI_X86="(64) -32 (-x32)"
Created attachment 889332 [details] emerge-info.txt
Created attachment 889333 [details] emerge-history.txt
Created attachment 889334 [details] environment
Created attachment 889335 [details] etc.clang.tar.xz
Created attachment 889336 [details] etc.portage.tar.xz
Created attachment 889337 [details] logs.tar.xz
Created attachment 889338 [details] qlist-info.txt
Created attachment 889339 [details] sys-libs:db-6.0.35-r5:20240403-043842.log.xz
https://forums.oracle.com/ords/apexds/post/bug-build-failure-on-linux-with-clang-libc-atomic-issues-4237 I'll attach a slighty modfied patch from https://gist.github.com/LnL7/5153b251fd525fe15de69b67e63a6075. Regarding the error with store, see the second last comment. It can be "fixed" by not setting the --enable-dbm configure option. But I have no idea wether this historic DBM interface is still needed. I have modified the ebuild and removed the "--enable-dbm" ine and it seems everything is still working fine. Haven't encountered any issues so far.
Created attachment 917712 [details, diff] rename atomic_init