Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906079 - 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)
Summary: games-emulation/dolphin-5.0_p20220520-r1 fails to build with >=libfmt-10 (fmt...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 906077
  Show dependency tree
 
Reported: 2023-05-10 16:23 UTC by anna
Modified: 2024-09-24 10:49 UTC (History)
4 users (show)

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


Attachments
build log (dolphinemu_buildlog.txt,282.08 KB, text/plain)
2023-05-10 16:26 UTC, anna
Details
emerge --info '=games-emulation/dolphin-5.0_p20220520-r1::gentoo' (dolphinemu_emergeinfo.txt,9.47 KB, text/plain)
2023-05-10 16:26 UTC, anna
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)