Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945956 - games-strategy/0ad fails to compile with recent dev-libs/libfmt
Summary: games-strategy/0ad fails to compile with recent dev-libs/libfmt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 906077
  Show dependency tree
 
Reported: 2024-12-06 10:50 UTC by Arve Barsnes
Modified: 2025-03-10 02:21 UTC (History)
6 users (show)

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


Attachments
build.log (build.log.gz,565.17 KB, application/gzip)
2024-12-06 12:50 UTC, Arve Barsnes
Details
emerge --info (emerge.info,7.16 KB, text/plain)
2024-12-06 12:50 UTC, Arve Barsnes
Details
patch (7c07083724.patch,1.94 KB, patch)
2025-01-05 20:27 UTC, Christophe PEREZ
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arve Barsnes 2024-12-06 10:50:43 UTC
After upgrading dev-libs/libfmt to version 10, 0ad failed to compile.

Solved by upstream patch at https://gitea.wildfiregames.com/0ad/0ad/commit/7c07083724980af73f299c079f9040166120b1e4
Comment 1 Petr Vaněk gentoo-dev 2024-12-06 11:01:49 UTC
Could you please attach build.log and emerge --info
Comment 2 Arve Barsnes 2024-12-06 12:50:25 UTC
Created attachment 913432 [details]
build.log
Comment 3 Arve Barsnes 2024-12-06 12:50:45 UTC
Created attachment 913433 [details]
emerge --info
Comment 4 Marcin Deranek 2024-12-14 13:30:02 UTC
Patch also allows to successfully compile with dev-libs/libfmt-11
Comment 5 Christophe PEREZ 2025-01-05 20:27:46 UTC
Created attachment 915955 [details, diff]
patch

Error confirmed here after update dev-libs/libfmt-11.0.2
And this patch works for me too.

From https://gitea.wildfiregames.com/0ad/0ad/commit/7c07083724980af73f299c079f9040166120b1e4
Comment 6 Vasilis Lourdas 2025-01-06 12:12:28 UTC
(In reply to Christophe PEREZ from comment #5)
> Created attachment 915955 [details, diff] [details, diff]
> patch
> 
> Error confirmed here after update dev-libs/libfmt-11.0.2
> And this patch works for me too.
> 
> From
> https://gitea.wildfiregames.com/0ad/0ad/commit/
> 7c07083724980af73f299c079f9040166120b1e4

Same here. The emerge completes fine after applying the patch.
Comment 7 Larry the Git Cow gentoo-dev 2025-03-10 02:21:32 UTC
The bug has been closed via the following commit(s):

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

commit c08ce8c1e9d5c04878738f6ca9f12dccd5bfda52
Author:     Ralph Sennhauser <ralph.sennhauser@gmail.com>
AuthorDate: 2025-01-22 12:32:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 02:19:19 +0000

    games-strategy/0ad: bump to version 0.27.0
    
    Bump to version 0.27.0 and add support for rc builds.
    
    Use system spidermonkey as the minor version restriction was dropped
    upstream, unlike in the early days of spidermonkey it's unlikely that
    version differences lead to different results. Update checkreqs as the
    needed space is reduced quite a bit by using system spidermonkey.
    
    Use verify-sig eclass and drop custom unpack.
    
    Use wxgtk 3.2, there is no reason not to and move wx-setup to
    src_configure.
    
    Install libCollada.so, fixes pyrogenesis so it can actually generate
    models from collada files if mods require it. Don't install various
    unused files on the other hand.
    
    Fix building and running tests. Also replace perl dep with python as
    cxxtestgen was rewitten in python long time ago.
    
    With the move to git and gitea the github repo was archived, so drop it
    from metadata.xml
    
    LTO still doen't work but not for the original reason
    
    Address some qa items, like http to https, line length or outdated
    blocker and remove no longer needed QA_PRESTRIPPED.
    
    Closes: https://bugs.gentoo.org/774153
    Closes: https://bugs.gentoo.org/873058
    Closes: https://bugs.gentoo.org/896964
    Closes: https://bugs.gentoo.org/909509
    Closes: https://bugs.gentoo.org/912838
    Closes: https://bugs.gentoo.org/917626
    Closes: https://bugs.gentoo.org/921324
    Closes: https://bugs.gentoo.org/935474
    Closes: https://bugs.gentoo.org/945956
    Closes: https://bugs.gentoo.org/946468
    Closes: https://bugs.gentoo.org/949122
    Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40383
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/0ad/0ad-0.27.0.ebuild               | 235 +++++++++++++++++++++
 games-strategy/0ad/Manifest                        |   4 +
 .../0ad/files/0ad-0.27.0-fix-tests.patch           |  78 +++++++
 games-strategy/0ad/files/0ad-minisign.pub          |   1 +
 games-strategy/0ad/metadata.xml                    |   1 -
 5 files changed, 318 insertions(+), 1 deletion(-)