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

Bug 906079

Summary: games-emulation/dolphin-5.0_p20220520-r1 fails to build with >=libfmt-10 (fmt/core.h:1691:7: error: static assertion failed: Cannot format an argument)
Product: Gentoo Linux Reporter: anna
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: normal CC: games, gentoo.qxrin, ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906077    
Attachments: build log
emerge --info '=games-emulation/dolphin-5.0_p20220520-r1::gentoo'

Description anna 2023-05-10 16:23:59 UTC
Compilation error when emerging games-emulation/dolphin-5.0_p20220520-r1

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-10 16:25:07 UTC
Please always include the full build.log & emerge --info
Comment 2 anna 2023-05-10 16:25:25 UTC
$ emerge -pqv '=games-emulation/dolphin-5.0_p20220520-r1::gentoo'
[ebuild   R   ] games-emulation/dolphin-5.0_p20220520-r1  USE="alsa bluetooth evdev gui pulseaudio -discord-presence -doc -ffmpeg -log -mgba -profile -systemd -upnp -vulkan"
Comment 3 anna 2023-05-10 16:26:22 UTC
Created attachment 861443 [details]
build log
Comment 4 anna 2023-05-10 16:26:48 UTC
Created attachment 861444 [details]
emerge --info '=games-emulation/dolphin-5.0_p20220520-r1::gentoo'
Comment 5 Ionen Wolkens gentoo-dev 2023-05-10 18:06:27 UTC
-- Using shared fmt 10.0.0
...
/usr/include/fmt/core.h:1691:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1691 |       formattable,

libfmt-10 is masked for now, so you can just emerge --sync and let it downgrade until this is fixed
Comment 6 anna 2023-05-10 19:52:15 UTC
Confirming it works for now due to that change, but this is related to the libfmt issue
Comment 7 Michael Cook 2023-09-24 15:38:14 UTC
Dolphin head now requires libfmt-10 https://github.com/dolphin-emu/dolphin/pull/12198