Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806607 - dev-libs/leatherman-1.12.6 - /.../catch.hpp: error: size of array altStackMem is not an integral constant-expression
Summary: dev-libs/leatherman-1.12.6 - /.../catch.hpp: error: size of array altStackMem...
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:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-08-05 20:19 UTC by Toralf Förster
Modified: 2021-11-12 04:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.46 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
dev-libs:leatherman-1.12.6:20210805-192949.log (dev-libs:leatherman-1.12.6:20210805-192949.log,134.27 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.00 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
environment (environment,89.28 KB, text/plain)
2021-08-05 20:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.77 KB, application/x-bzip)
2021-08-05 20:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.22 KB, application/x-bzip)
2021-08-05 20:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.78 KB, application/x-bzip)
2021-08-05 20:19 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-08-05 20:19:19 UTC
                 from /var/tmp/portage/dev-libs/leatherman-1.12.6/work/leatherman-1.12.6_build/src/Catch-1.10.0/single_include/catch.hpp:6450,
                 from /var/tmp/portage/dev-libs/leatherman-1.12.6/work/leatherman-1.12.6/tests/main.cc:2:
/var/tmp/portage/dev-libs/leatherman-1.12.6/work/leatherman-1.12.6_build/src/Catch-1.10.0/single_include/catch.hpp:6473:33: error: size of array ‘altStackMem’ is not an integral constant-expression
 6473 |         static char altStackMem[SIGSTKSZ];
      |                                 ^~~~~~~~
/var/tmp/portage/dev-libs/leatherman-1.12.6/work/leatherman-1.12.6_build/src/Catch-1.10.0/single_include/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_systemd-j3-20210804-091539

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit ddf17f6cc70e62e69b07bf442ba9c5ad5aa8bfc8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 5 18:21:00 2021 +0000

    2021-08-05 18:20:57 UTC

emerge -qpvO dev-libs/leatherman
[ebuild  N    ] dev-libs/leatherman-1.12.6  USE="-debug -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2021-08-05 20:19:20 UTC
Created attachment 730512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-05 20:19:21 UTC
Created attachment 730515 [details]
dev-libs:leatherman-1.12.6:20210805-192949.log
Comment 3 Toralf Förster gentoo-dev 2021-08-05 20:19:23 UTC
Created attachment 730518 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-05 20:19:25 UTC
Created attachment 730521 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-05 20:19:26 UTC
Created attachment 730524 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-05 20:19:27 UTC
Created attachment 730527 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-05 20:19:28 UTC
Created attachment 730530 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 09:28:37 UTC
Ping
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-12 04:45:18 UTC Comment hidden (obsolete)
Comment 10 Larry the Git Cow gentoo-dev 2021-11-12 04:46:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c005f8433101d021451beb522404bbc0bac8399d

commit c005f8433101d021451beb522404bbc0bac8399d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-12 04:45:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-12 04:45:59 +0000

    dev-libs/leatherman: conditionally build tests (workaround/fix build with glibc-2.34)
    
    Tests are already restricted but now we can always build leatherman w/
    glibc-2.34 at least.
    
    Tweak some other bits while we're here (missing die in src_test, use
    some CMake options from CMakeLists.txt).
    
    Closes: https://bugs.gentoo.org/806607
    Signed-off-by: Sam James <sam@gentoo.org>

 ...n-1.12.6.ebuild => leatherman-1.12.6-r1.ebuild} | 37 +++++++++++-----------
 1 file changed, 18 insertions(+), 19 deletions(-)