Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830346 - dev-ruby/facter-3.14.21 - /.../catch.hpp: error: size of array altStackMem is not an integral constant-expression
Summary: dev-ruby/facter-3.14.21 - /.../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:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-12-31 09:28 UTC by Toralf Förster
Modified: 2022-05-02 02:00 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.46 KB, text/plain)
2021-12-31 09:28 UTC, Toralf Förster
Details
dev-ruby:facter-3.14.21:20211231-005439.log (dev-ruby:facter-3.14.21:20211231-005439.log,261.40 KB, text/plain)
2021-12-31 09:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.81 KB, text/plain)
2021-12-31 09:28 UTC, Toralf Förster
Details
environment (environment,109.63 KB, text/plain)
2021-12-31 09:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,4.51 KB, application/x-bzip)
2021-12-31 09:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.55 KB, application/x-bzip)
2021-12-31 09:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.75 KB, application/x-bzip)
2021-12-31 09:28 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-12-31 09:28:33 UTC
too long lines were shrinked:

/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -D
In file included from /usr/include/signal.h:328,
                 from /usr/include/leatherman/vendor/catch.hpp:6450,
                 from /var/tmp/portage/dev-ruby/facter-3.14.21/work/facter-3.14.21/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];
      |                                 ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20211229-134605

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
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.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit 99499c65b88aa06bdc4d0e541061fcbb0dd866e8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 30 23:51:46 2021 +0000

    2021-12-30 23:51:45 UTC

emerge -qpvO dev-ruby/facter
[ebuild  N    ] dev-ruby/facter-3.14.21  USE="-test" RUBY_TARGETS="ruby26 ruby27"
Comment 1 Toralf Förster gentoo-dev 2021-12-31 09:28:34 UTC
Created attachment 760901 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-31 09:28:35 UTC
Created attachment 760902 [details]
dev-ruby:facter-3.14.21:20211231-005439.log
Comment 3 Toralf Förster gentoo-dev 2021-12-31 09:28:37 UTC
Created attachment 760903 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-31 09:28:38 UTC
Created attachment 760904 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-31 09:28:39 UTC
Created attachment 760905 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-31 09:28:40 UTC
Created attachment 760906 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-31 09:28:41 UTC
Created attachment 760907 [details]
temp.tar.bz2
Comment 8 Rolf Eike Beer archtester 2021-12-31 10:40:09 UTC
Isn't this an error in leatherman instead of facter?
Comment 9 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2021-12-31 19:24:13 UTC
looks like upstream has a 'fix' (in leatherman)

https://github.com/puppetlabs/leatherman/commit/1051ca7ce857be19629b9296af391c1815cd7795
Comment 10 Larry the Git Cow gentoo-dev 2021-12-31 20:08:51 UTC
The bug has been closed via the following commit(s):

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

commit 3b8e554a80837cc26ddb9f6915d03664f569911f
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2021-12-31 20:08:33 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2021-12-31 20:08:47 +0000

    dev-libs/leatherman: fix builds with >=glibc-2.33
    
    fixes upstream bug LTH-172
    Closes: https://bugs.gentoo.org/830346
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 .../files/leatherman-1.12.6-SIGSTKSZ.patch         | 45 ++++++++++++++++
 dev-libs/leatherman/leatherman-1.12.6-r2.ebuild    | 62 ++++++++++++++++++++++
 2 files changed, 107 insertions(+)