Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 947400

Summary: dev-libs/hyprgraphics: error: no member named 'min' in namespace 'std'; did you mean 'fmin'
Product: Gentoo Linux Reporter: Markus Probst <markustieger>
Component: Current packagesAssignee: Julien Roy <julien>
Status: RESOLVED FIXED    
Severity: normal CC: johu, muffindrake, proxy-maint, wreed
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/42057
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The build.log
build log & info
missing header include

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
Comment 4 Larry the Git Cow gentoo-dev 2025-05-13 22:21:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6498c57651d9eb6db413730f4bbd153740e6c50e

commit 6498c57651d9eb6db413730f4bbd153740e6c50e
Author:     Johannes Huber <johu@gmx.de>
AuthorDate: 2025-05-12 15:10:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-13 22:20:37 +0000

    dev-libs/hyprgraphics: add 0.1.3
    
    Closes: https://bugs.gentoo.org/947400
    Signed-off-by: Johannes Huber <johu@gmx.de>
    Part-of: https://github.com/gentoo/gentoo/pull/42057
    Closes: https://github.com/gentoo/gentoo/pull/42057
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/hyprgraphics/Manifest                  |  1 +
 dev-libs/hyprgraphics/hyprgraphics-0.1.3.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)