from /usr/include/leatherman/vendor/catch.hpp:6450, from /var/tmp/portage/dev-cpp/cpp-hocon-0.3.0/work/cpp-hocon-0.3.0/lib/tests/main.cc:2: /usr/include/leatherman/vendor/catch.hpp:6473:33: error: size of array ‘altStackMem’ is not an integral constant-expression 6473 | static char altStackMem[SIGSTKSZ]; | ^~~~~~~~ /usr/include/leatherman/vendor/catch.hpp:6524:45: error: size of array ‘altStackMem’ is not an integral constant-expression 6524 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {}; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20211110-132532 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.56.1 [2] rust-1.56.1 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit ae0b14d8f0da3c0d42cf318095d2d85d6df2b576 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Nov 12 10:21:55 2021 +0000 2021-11-12 10:21:52 UTC emerge -qpvO dev-cpp/cpp-hocon [ebuild N ] dev-cpp/cpp-hocon-0.3.0 USE="-debug"
Created attachment 750720 [details] emerge-info.txt
Created attachment 750723 [details] dev-cpp:cpp-hocon-0.3.0:20211112-103945.log
Created attachment 750726 [details] emerge-history.txt
Created attachment 750729 [details] environment
Created attachment 750732 [details] etc.portage.tar.bz2
Created attachment 750735 [details] logs.tar.bz2
Created attachment 750738 [details] temp.tar.bz2
There is a mess with dev-libs/leatherman-1.12.6-r1 which downloads the vendor version of catch which needs fixes. FC36 includes catch1-sigstksz.patch for catch: https://koji.fedoraproject.org/koji/rpminfo?rpmID=26904947 which fixes SIGSTKSZ to 32k I was able to compile cpp-hocon by manually fixing /usr/include/leatherman/vendor/catch.hpp
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d0fbda2fdecaddf99a2201214c7ba19926fdb8 commit 28d0fbda2fdecaddf99a2201214c7ba19926fdb8 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-29 00:12:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-29 00:15:40 +0000 dev-cpp/cpp-hocon: fix build with glibc-2.34, conditionally build tests Closes: https://bugs.gentoo.org/823419 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/cpp-hocon/cpp-hocon-0.3.0-r1.ebuild | 40 +++++++++++++++++ .../files/cpp-hocon-0.3.0-use-system-catch.patch | 51 ++++++++++++++++++++++ 2 files changed, 91 insertions(+)