[packman] Kodi Tumbleweed symbol not found error - Kodi won't start!

Masaru Nomiya nomiya at lake.dti.ne.jp
Sun May 21 09:08:03 CEST 2023


Hello,

In the Message; 

  Subject    : Re: [packman] Kodi Tumbleweed symbol not found error - Kodi won't start!
  Message-ID : <CALtYYozjD=8+2rRZBPNO=v7ZcLZ-J+cd+LhNWBuk0nhb4e0=kg at mail.gmail.com>
  Date & Time: Sat, 20 May 2023 18:30:15 +0200

[SS] == Steven Swart <steven.swart at gmail.com> has written:

SS>  Greetings, Packmans!

SS>  Just a quick report back. Installing the new Packman version of the
SS>  ProjectM music visualiser addon still didn't solve my problem. I was still
SS>  getting this:

[...]
SS>  Information for package libspdlog1_11:
SS>  --------------------------------------
SS>  Repository     : openSUSE:Factory
SS>  Name           : libspdlog1_11
SS>  Version        : 1.11.0-1.2
SS>  Arch           : x86_64
SS>  Vendor         : openSUSE
SS>  Installed Size : 418.4 KiB
SS>  Installed      : Yes
SS>  Status         : up-to-date
SS>  Source package : spdlog-1.11.0-1.2.src
SS>  Upstream URL   : https://github.com/gabime/spdlog
SS>  Summary        : C++ logging library
SS>  Description    :
SS>      A header-only/compiled, C++ logging library.

SS>      * Asynchronous mode (optional)
SS>      * Multi/Single threaded loggers.
SS>      * Various log targets (rotating/daily files, console, with colors,
SS>        syslog, custom target)

SS>  Tested Kodi, and all now working properly! Also, this version of the addon
SS>  seems a lot faster and more responsive on my system than the older Flatpak
SS>  version I had been using previously!

SS>  So, it would seem to me that if libfmt10 is installed, Kodi will use it,
SS>  regardless of whether libfmt9 is available.

You are mistaken.

That is, spdlog-1.11.0-1.2.src contains a patch for fmt-10.0.0, but it
is not a patch for kodi, which itself does not require fmt-related
libraries to run.

In the Message; 

  Subject    : Re: [packman] Kodi Tumbleweed symbol not found error - Kodi won't start!
  Message-ID : <ZGkZmfQVJ2JLyKR5 at saturn.hollstein.homelinux.org>
  Date & Time: Sat, 20 May 2023 21:03:53 +0200

[MH] == Manfred Hollstein <manfred.h at gmx.net> has written:

[...]
MH>  Just checked if the newly built packages have a direct dependency on
MH>  libfmt9 - they don't :(

You haven't checked the file FMT-VERSION.

LIBNAME=fmt
VERSION=9.1.0
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
SHA512=a18442042722dd48e20714ec034a12fcc0576c9af7be5188586970e2edf47529825bdc99af366b1d5891630c8dbf6f63bfa9f012e77ab3d3ed80d1a118e3b2be
BYPRODUCT=libfmt.a
BYPRODUCT_WIN=fmt.lib

That is, kodi needs libfmt.a for building.

Specifically, when I install the patched spdlog 1.11.0 and fmt 10.0.0
and try to build kodi, it stops with the following fmt-related error.

[...]
/usr/src/packages/BUILD/20.1-Nexus/build/build/include/fmt/core.h:2817:44:   in ‘constexpr’ expansion of ‘fmt::v10::make_format_args<>(args#0)’
/usr/src/packages/BUILD/20.1-Nexus/build/build/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,
      |       ^~~~~~~~~~~
make[2]: *** [build/games/addons/streams/CMakeFiles/game_addon_streams.dir/build.make:121: build/games/addons/streams/CMakeFiles/game_addon_streams.dir/GameClientStreamVideo.cpp.o] Error 1
make[2]: Leaving directory '/usr/src/packages/BUILD/20.1-Nexus/build'
make[1]: *** [CMakeFiles/Makefile2:7411: build/games/addons/streams/CMakeFiles/game_addon_streams.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[...]

Regards.

---
┏━━┓彡 野宮  賢                         mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛               "Bill!
	               You married with Computer.
                       Not with Me!"
                      "No....., with money."



More information about the Packman mailing list