I did some updates this morning, Kodi wasn't updated, everything went fine, no errors, did a reboot. There was maybe 10 packages, nothing spectacular. However, I wasn't able to start Kodi anymore, starting it from terminal gives this error : /usr/lib64/kodi/kodi-x11: symbol lookup error: /usr/lib64/kodi/kodi-x11: undefined symbol: _ZN3fmt2v68internal14sprintf_formatIdEEPcT_RNS1_6bufferIcEENS1_13sprintf_specsE so I thought ok, maybe I need to rebuild Kodi, but Kodi can't compile anymore, it aborts with this error : /var/tmp/portage/media-tv/kodi-18.5/work/xbmc-18.5-Leia/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp:174:5: error: ‘assert’ was not declared in this scope 174 | assert(profile); | ^~~~~~ /var/tmp/portage/media-tv/kodi-18.5/work/xbmc-18.5-Leia/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp:33:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 32 | #include "utils/URIUtils.h" +++ |+#include <cassert> 33 | #include "utils/Variant.h" ninja: build stopped: subcommand failed. * ERROR: media-tv/kodi-18.5::gentoo failed (compile phase): * ninja -v -j5 -l4 all failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4773: Called cmake-utils_src_compile 'all' * environment, line 1708: Called cmake-utils_src_make 'all' * environment, line 1889: Called _cmake_ninja_src_make 'all' * environment, line 865: Called eninja 'all' * environment, line 2360: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" Reproducible: Always
Created attachment 598580 [details] emerge.info
Created attachment 598582 [details] build.log
Caused by >=dev-libs/libfmt-6.1.0 I've submitted a PR to Kodi: https://github.com/xbmc/xbmc/pull/17000 When I hear back from upstream, I'll include the patch in Gentoo.
Yeah, downgrading libfmt to 6.0.0 and Kodi starts. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d809e892a10f4ad04312db32d98e32421c367d9a commit d809e892a10f4ad04312db32d98e32421c367d9a Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2019-12-06 17:04:57 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2019-12-06 17:07:51 +0000 media-tv/kodi: Fix compiling with >=dev-libs/libfmt-6.1.0 Closes: https://bugs.gentoo.org/702104 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org> media-tv/kodi/files/kodi-18.5-cassert.patch | 42 +++++++++++++++++++++++++++++ media-tv/kodi/kodi-18.5.ebuild | 3 +++ media-tv/kodi/kodi-9999.ebuild | 4 ++- 3 files changed, 48 insertions(+), 1 deletion(-)
*** Bug 702186 has been marked as a duplicate of this bug. ***
*** Bug 702184 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14e8d6688ca9ed702bece312b95d1fc172d22e8 commit d14e8d6688ca9ed702bece312b95d1fc172d22e8 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2019-12-11 02:05:26 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2019-12-11 02:05:51 +0000 media-tv/kodi: Fix compiling with >=dev-libs/libfmt-6.1.0 Bug: https://bugs.gentoo.org/702104 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org> media-tv/kodi/kodi-18.4.ebuild | 3 +++ 1 file changed, 3 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c31aee54110235efeb70e15857bceb868e22bcd commit 9c31aee54110235efeb70e15857bceb868e22bcd Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2019-12-13 04:14:49 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2019-12-13 04:15:17 +0000 media-tv/kodi: Remove patch from -9999 as upstream now includes it See https://github.com/xbmc/xbmc/pull/17000 Bug: https://bugs.gentoo.org/702104 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org> media-tv/kodi/kodi-9999.ebuild | 3 --- 1 file changed, 3 deletions(-)