Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823419 - dev-cpp/cpp-hocon-0.3.0 - /.../catch.hpp: error: size of array altStackMem is not an integral constant-expression
Summary: dev-cpp/cpp-hocon-0.3.0 - /.../catch.hpp: error: size of array altStackMem is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://github.com/puppetlabs/cpp-hoc...
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-11-12 15:16 UTC by Toralf Förster
Modified: 2021-12-29 00:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.84 KB, text/plain)
2021-11-12 15:16 UTC, Toralf Förster
Details
dev-cpp:cpp-hocon-0.3.0:20211112-103945.log (dev-cpp:cpp-hocon-0.3.0:20211112-103945.log,90.08 KB, text/plain)
2021-11-12 15:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,224.29 KB, text/plain)
2021-11-12 15:16 UTC, Toralf Förster
Details
environment (environment,90.65 KB, text/plain)
2021-11-12 15:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.85 KB, application/x-bzip)
2021-11-12 15:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.32 KB, application/x-bzip)
2021-11-12 15:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.69 KB, application/x-bzip)
2021-11-12 15:17 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-11-12 15:16:53 UTC
                 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"
Comment 1 Toralf Förster gentoo-dev 2021-11-12 15:16:54 UTC
Created attachment 750720 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-12 15:16:56 UTC
Created attachment 750723 [details]
dev-cpp:cpp-hocon-0.3.0:20211112-103945.log
Comment 3 Toralf Förster gentoo-dev 2021-11-12 15:16:57 UTC
Created attachment 750726 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-12 15:16:59 UTC
Created attachment 750729 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-12 15:17:00 UTC
Created attachment 750732 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-12 15:17:01 UTC
Created attachment 750735 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-12 15:17:02 UTC
Created attachment 750738 [details]
temp.tar.bz2
Comment 8 Andrej Filipcic 2021-12-15 05:59:00 UTC
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
Comment 9 Larry the Git Cow gentoo-dev 2021-12-29 00:15:50 UTC
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(+)