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: RESOLVED FIXED    
Severity: normal CC: chall0+gentoo, games, gentoo.qxrin, ionen
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/38105
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
Comment 8 Larry the Git Cow gentoo-dev 2024-08-11 18:31:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505490d90b0eedef96cdb40fe4f92c3bcce67cfb

commit 505490d90b0eedef96cdb40fe4f92c3bcce67cfb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-08-11 18:31:18 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-08-11 18:31:36 +0000

    games-emulation/dolphin: Require <dev-libs/libfmt-10
    
    Bug: https://bugs.gentoo.org/906079
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...{dolphin-5.0_p20220520-r2.ebuild => dolphin-5.0_p20220520-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2024-08-17 19:24:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261d61f1693a662bae830afcf504b008d85cc4db

commit 261d61f1693a662bae830afcf504b008d85cc4db
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-08-11 18:33:41 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-08-17 19:16:21 +0000

    games-emulation/dolphin: add 2407
    
    Bug: https://bugs.gentoo.org/906079
    Closes: https://bugs.gentoo.org/935348
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 games-emulation/dolphin/Manifest                   |   8 +
 games-emulation/dolphin/dolphin-2407.ebuild        | 306 +++++++++++++++++++++
 .../files/dolphin-2407-fix-llvm-build.patch        |  27 ++
 .../dolphin/files/dolphin-2407-libfmt-11-fix.patch | 103 +++++++
 .../dolphin/files/dolphin-2407-minizip.patch       |  18 ++
 games-emulation/dolphin/metadata.xml               |   1 +
 licenses/FatFs                                     |  24 ++
 profiles/package.mask                              |   1 +
 8 files changed, 488 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2024-12-02 06:54:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222727baa80232a0d56a1735270d0933afeab894

commit 222727baa80232a0d56a1735270d0933afeab894
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-12-02 06:36:11 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-12-02 06:54:39 +0000

    package.mask: Unmask dev-libs/libfmt & games-emulation/dolphin
    
    Closes: https://bugs.gentoo.org/906079
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 6 ------
 1 file changed, 6 deletions(-)