Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865351 - media-libs/libheif-1.12.0-r3 fails to compile: catch.hpp:10376:58: error: call to non-constexpr function long int sysconf(int)
Summary: media-libs/libheif-1.12.0-r3 fails to compile: catch.hpp:10376:58: error: cal...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-16 06:39 UTC by Agostino Sarubbo
Modified: 2022-09-06 03:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,98.58 KB, text/plain)
2022-08-16 06:39 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-16 06:39:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libheif-1.12.0-r3 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-16 06:39:18 UTC
Created attachment 799837 [details]
build.log

build log and emerge --info
Comment 2 Sergey Torokhov 2022-09-05 11:41:37 UTC
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
Comment 3 Sergey Torokhov 2022-09-05 11:53:04 UTC
Or it just update bundled catch.hpp that is removed anyway on test phase :(
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-06 03:53:03 UTC
(In reply to Sergey Torokhov from comment #3)
> Or it just update bundled catch.hpp that is removed anyway on test phase :(

Doh.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-06 03:54:19 UTC
(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?