Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947400 - dev-libs/hyprgraphics: error: no member named 'min' in namespace 'std'; did you mean 'fmin'
Summary: dev-libs/hyprgraphics: error: no member named 'min' in namespace 'std'; did y...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Julien Roy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 17:51 UTC by Markus Probst
Modified: 2025-01-08 04:21 UTC (History)
3 users (show)

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


Attachments
The build.log (build.log,15.67 KB, text/x-log)
2025-01-03 17:51 UTC, Markus Probst
Details
build log & info (combined,22.09 KB, text/plain)
2025-01-04 22:32 UTC, Will
Details
missing header include (algo.patch,268 bytes, patch)
2025-01-08 04:21 UTC, Muffindrake
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Probst 2025-01-03 17:51:38 UTC
Created attachment 915766 [details]
The build.log

Compilation fails with "error: no member named 'min' in namespace 'std'; did you mean 'fmin'".

I am using llvm-runtimes/libcxx-19.1.4::gentoo as my c++ standard library instead of the one, that gcc provides.
Also I do compile using llvm-core/clang-19.1.4::gentoo.
Comment 1 Will 2025-01-04 22:32:22 UTC
Created attachment 915858 [details]
build log & info

I ran into the same build error as OP, attached is my build.log and the output of emerge --info and -pvq for the package. (concatenated)
Comment 2 Muffindrake 2025-01-08 04:20:39 UTC
Missing header inclusion already fixed upstream, but not included in most recent release.

https://github.com/hyprwm/hyprgraphics/commit/0f9b8ca692b319c3cadd10175518805dbdc33ef0
Comment 3 Muffindrake 2025-01-08 04:21:23 UTC
Created attachment 916087 [details, diff]
missing header include