Summary: | media-libs/libheif-1.12.0-r3 fails to compile: catch.hpp:10376:58: error: call to non-constexpr function long int sysconf(int) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Jakov Smolić <jsmolic> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | sam, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 799837 [details]
build.log
build log and emerge --info
It seems is fixed in upstream [1] after libheif-1.13.0 release: Update catch to the latest 2.x version ...which currently is 2.13.9. This allows building with glibc >= 2.34, which otherwise produces: "catch.hpp:10376:58: error: call to non-'constexpr' function 'long int sysconf(int)' 10376 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; | ^~~~~~~~~~~" [1] https://github.com/strukturag/libheif/commit/e7d41416c189fcc88e18bca17d6dbba173cd0c84 Or it just update bundled catch.hpp that is removed anyway on test phase :( (In reply to Sergey Torokhov from comment #3) > Or it just update bundled catch.hpp that is removed anyway on test phase :( Doh. (In reply to Sam James from comment #4) > (In reply to Sergey Torokhov from comment #3) > > Or it just update bundled catch.hpp that is removed anyway on test phase :( > > Doh. actually, no, I don't get it -- it drops the bundled one, replaces with ours, why doe sit fail? *** Bug 915681 has been marked as a duplicate of this bug. *** It appears to be fine now, I can't reproduce it with 1.15.2 version so I'll close the bug. |