Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833288 - media-gfx/pencil-0.6.6 - src/catch.hpp: error: call to non-constexpr function long int sysconf(int)
Summary: media-gfx/pencil-0.6.6 - src/catch.hpp: error: call to non-constexpr function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2022-02-13 20:13 UTC by Toralf Förster
Modified: 2022-02-18 15:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2022-02-13 20:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.05 KB, text/plain)
2022-02-13 20:13 UTC, Toralf Förster
Details
environment (environment,58.78 KB, text/plain)
2022-02-13 20:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.08 KB, application/x-bzip)
2022-02-13 20:13 UTC, Toralf Förster
Details
media-gfx:pencil-0.6.5:20220213-194501.log.bz2 (media-gfx:pencil-0.6.5:20220213-194501.log.bz2,7.00 KB, application/x-bzip)
2022-02-13 20:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.33 KB, application/x-bzip)
2022-02-13 20:13 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 2022-02-13 20:13:48 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -Og -g -std=c++11 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DAPP_VERSION=\"0.6.5\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB 
In file included from /usr/include/signal.h:328,
                 from src/catch.hpp:5549,
                 from src/main.cpp:18:
src/catch.hpp:8164:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
 8164 |     constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                          ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4_test_debug-20220211-232930

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JRE 11.0.14_p9 [openjdk-jre-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-11 

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

  HEAD of ::gentoo
commit 802e2589da64e1899f4cb9157d8f8d7c22982666
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 13 19:21:59 2022 +0000

    2022-02-13 19:21:58 UTC

emerge -qpvO media-gfx/pencil
[ebuild  N    ] media-gfx/pencil-0.6.5  USE="test"
Comment 1 Toralf Förster gentoo-dev 2022-02-13 20:13:49 UTC
Created attachment 765026 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-13 20:13:51 UTC
Created attachment 765027 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-02-13 20:13:52 UTC
Created attachment 765028 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-13 20:13:53 UTC
Created attachment 765029 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-13 20:13:55 UTC
Created attachment 765030 [details]
media-gfx:pencil-0.6.5:20220213-194501.log.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-13 20:13:56 UTC
Created attachment 765031 [details]
temp.tar.bz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-02-18 07:28:31 UTC
ci has reproduced this issue with version 0.6.6 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2022-02-18 15:00:31 UTC
The bug has been closed via the following commit(s):

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

commit 8e42c67dc7f8f9923bbd8750a0cbb1b9d7b07ec5
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-02-18 14:56:42 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-02-18 14:56:59 +0000

    media-gfx/pencil: bump bundled catch.hpp header to fix tests
    
    Per upstream's recommendation:
    https://github.com/pencil2d/pencil/issues/1695#issuecomment-1043440984
    
    Closes: https://bugs.gentoo.org/833288
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 media-gfx/pencil/Manifest                                        | 1 +
 media-gfx/pencil/{pencil-0.6.6.ebuild => pencil-0.6.6-r1.ebuild} | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)