Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906069 - dev-libs/spdlog-1.11.0: fails compile with dev-libs/libfmt-10.0.0
Summary: dev-libs/spdlog-1.11.0: fails compile with dev-libs/libfmt-10.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Roman
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: 906077
  Show dependency tree
 
Reported: 2023-05-10 15:01 UTC by jinqiang zhang
Modified: 2023-07-15 06:07 UTC (History)
3 users (show)

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


Attachments
info.txt (info.txt,6.87 KB, text/plain)
2023-05-10 15:02 UTC, jinqiang zhang
Details
build.log (build.log,20.11 KB, text/plain)
2023-05-10 15:02 UTC, jinqiang zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jinqiang zhang 2023-05-10 15:01:48 UTC
After upgrade to dev-libs/libfmt-10.0.0, dev-libs/spdlog-1.11.0 fails to rebuild.

/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include/spdlog/common.h:168:111: error: ‘basic_runtime’ is not a member of ‘fmt’
/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include/spdlog/common.h:168:125: error: template argument 2 is invalid
/var/tmp/portage/dev-libs/spdlog-1.11.0/work/spdlog-1.11.0/include/spdlog/common.h:168:138: error: expected ‘{’ before ‘>’ token


This issue already fixed on upstream, please add this patch: https://github.com/gabime/spdlog/pull/2694
Comment 1 jinqiang zhang 2023-05-10 15:02:05 UTC
Created attachment 861432 [details]
info.txt

emerge --info
Comment 2 jinqiang zhang 2023-05-10 15:02:07 UTC
Created attachment 861433 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-10 15:10:18 UTC
Can you do a PR to add it in? thanks
Comment 4 Larry the Git Cow gentoo-dev 2023-05-10 15:22:13 UTC
The bug has been closed via the following commit(s):

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

commit 03d7b984817fbf07c4d830f30e34ae20a79af7b4
Author:     jinqiang zhang <peeweep@0x0.ee>
AuthorDate: 2023-05-10 15:15:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 15:21:04 +0000

    dev-libs/spdlog: fix fails compile with libfmt-10.0.0
    
    Closes: https://bugs.gentoo.org/906069
    Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
    Closes: https://github.com/gentoo/gentoo/pull/30974
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch | 30 ++++++++++++++++++++++++
 dev-libs/spdlog/spdlog-1.11.0.ebuild             |  1 +
 2 files changed, 31 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2023-05-10 16:10:03 UTC
The bug has been referenced in the following commit(s):

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

commit c75626a840b049c50a500b3d29a54986ea2372da
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-10 16:09:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 16:09:48 +0000

    Revert "dev-libs/spdlog: fix fails compile with libfmt-10.0.0"
    
    This reverts commit 03d7b984817fbf07c4d830f30e34ae20a79af7b4.
    
    Bug: https://bugs.gentoo.org/906069
    Bug: https://bugs.gentoo.org/906071
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch | 30 ------------------------
 dev-libs/spdlog/spdlog-1.11.0.ebuild             |  1 -
 2 files changed, 31 deletions(-)

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

commit 71f385b11af6bcbf09f59a970c531771650d9c2f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-10 16:09:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 16:09:26 +0000

    Revert "dev-libs/spdlog: add patch metadata"
    
    This reverts commit f6ca1358c59588198f05aa99b61fdac26dfad42b.
    
    Bug: https://bugs.gentoo.org/906069
    Bug: https://bugs.gentoo.org/906071
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

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

commit 5a7f6e70a391191a79c64e0eb95b5c806d7dbb26
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-10 16:08:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 16:08:49 +0000

    profiles: mask =dev-libs/libfmt-10.0.0
    
    Bug: https://bugs.gentoo.org/906077
    Bug: https://bugs.gentoo.org/906068
    Bug: https://bugs.gentoo.org/906071
    Bug: https://bugs.gentoo.org/906074
    Bug: https://bugs.gentoo.org/906075
    Bug: https://bugs.gentoo.org/906076
    Bug: https://bugs.gentoo.org/906069
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-10 16:10:50 UTC
Reopening b/c reverted fix due to bug 906071.
Comment 7 Larry the Git Cow gentoo-dev 2023-05-27 07:49:25 UTC
The bug has been closed via the following commit(s):

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

commit 9cebb80848d9b7f2b3cb78f6f2d97fe15bd40d67
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2023-05-22 14:02:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-05-27 07:49:20 +0000

    dev-libs/spdlog: fix libfmt compatibility issue
    
    Closes: https://bugs.gentoo.org/906069
    Closes: https://bugs.gentoo.org/906083
    Signed-off-by: David Roman <davidroman96@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31127
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/spdlog/spdlog-1.11.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-24 08:09:11 UTC
Reopening as it's not fixed, just version-capped.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-24 08:09:33 UTC
(In reply to Sam James from comment #8)
> Reopening as it's not fixed, just version-capped.

Not sure if https://github.com/gabime/spdlog/commit/62a4b8ce4ee985e7c7f3c2bbce2195634c5d7ae3 and https://github.com/gabime/spdlog/commit/31cf79a70dfa61a4b2b7509eecca6a3b269bfc4a will be enough or..?
Comment 10 David Roman 2023-06-26 22:20:28 UTC
Seems that https://github.com/gabime/spdlog/commit/0ca574ae168820da0268b3ec7607ca7b33024d05 is also needed
Comment 11 Larry the Git Cow gentoo-dev 2023-07-15 06:07:26 UTC
The bug has been closed via the following commit(s):

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

commit 682906906c17c3127b5f9dfd984bbd4ea91902bc
Author:     David Roman <droman@ifae.es>
AuthorDate: 2023-06-26 22:25:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-15 06:02:57 +0000

    dev-libs/spdlog: fix fmt-10.x compatibility
    
    Closes: https://bugs.gentoo.org/906069
    Signed-off-by: David Roman <davidroman96@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/files/spdlog-fmt-10.patch          | 121 +++++++++++++++++++++
 ...og-1.11.0-r2.ebuild => spdlog-1.11.0-r3.ebuild} |   5 +-
 2 files changed, 125 insertions(+), 1 deletion(-)