Hallo zusammen,
ich versuche die aktuell alpha aus dem GIt gegen die letzten Versionen von fmt (8.0.1) und spdlog (1.9.2) zu bauen. Das klappt aber nicht:
C
[ 140s] cd "/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/build/build/network/httprequesthandler/python" && /usr/bin/g++-10 -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/lib" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/platform/linux" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/cores/VideoPlayer" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/build/build" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/build/build/include" -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/platform/posix" -I/usr/include/libcec -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/p11-kit-1 -I/usr/include/python3.6m -I/usr/include/samba-4.0 -I/usr/include/libxml2 -I/usr/include/wayland -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/ffmpeg -I"/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/build/build/cores/RetroPlayer/messages" -I/usr/include/lzo -I/usr/include/taglib -I/usr/include/libdrm -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wdouble-promotion -Wmissing-field-initializers -O3 -DNDEBUG -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -D__STDC_CONSTANT_MACROS -D_FILE_OFFSET_BITS=64 -DHAS_POSIX_NETWORK -DHAS_LINUX_NETWORK -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -DHAVE_INOTIFY=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_INTTYPES_H=1 -DHAS_ALSA=1 -D_REENTRANT -DHAS_AVAHI=1 -DHAS_ZEROCONF=1 -DHAVE_LIBBLURAY=1 -DHAVE_LIBBLURAY_BDJ=1 -DHAVE_LIBCEC=1 -DHAS_DBUS=1 -DHAVE_LCMS2=1 -DHAS_LIRC=1 -DHAS_WEB_SERVER=1 -DHAS_WEB_INTERFACE=1 -DHAS_FILESYSTEM_NFS=1 -DHAS_AIRPLAY=1 -DHAS_PYTHON=1 -DHAS_FILESYSTEM_SMB=1 -DHAS_SNDIO=1 -DHAVE_LIBUDEV=1 -DHAVE_LIBXSLT=1 -DHAVE_LIBVA=1 -DHAS_GLX=1 -DHAVE_LIBVDPAU=1 -DFFMPEG_VER_SHA=\"\" -DSPDLOG_FMT_EXTERNAL -DSPDLOG_DEBUG_ON -DSPDLOG_NO_ATOMIC_LEVELS -DSPDLOG_ENABLE_PATTERN_PADDING -DHAS_EGL=1 -DHAVE_X11=1 -DHAVE_LIBXRANDR=1 -DHAS_GL=1 -DHAS_MARIADB=1 -DHAS_UPNP=1 -DHAS_DVD_DRIVE -DHAS_CDDA_RIPPER -DBIN_INSTALL_PATH=\"/usr/lib64/kodi\" -DINSTALL_PATH=\"/usr/share/kodi\" -std=c++17 -MD -MT build/network/httprequesthandler/python/CMakeFiles/network_httprequesthandlers_python.dir/HTTPPythonInvoker.cpp.o -MF CMakeFiles/network_httprequesthandlers_python.dir/HTTPPythonInvoker.cpp.o.d -o CMakeFiles/network_httprequesthandlers_python.dir/HTTPPythonInvoker.cpp.o -c "/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.cpp"
[ 140s] In file included from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/interfaces/legacy/Exception.h:12,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/interfaces/legacy/Addon.h:13,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/interfaces/python/PythonInvoker.h:12,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.cpp:9:
[ 140s] /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/utils/[definition='1','0']log[/definition].h:12:89: error: 'constexpr fmt::v8::basic_string_view<Char>::basic_string_view(const Char*) [with Char = char]' called in a constant expression
[ 140s] 12 | #define SPDLOG_LEVEL_NAMES {"TRACE", "DEBUG", "INFO", "WARNING", "ERROR", "FATAL", "OFF"};
[ 140s] | ^
[ 140s] In file included from /usr/include/fmt/format.h:44,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/utils/StringUtils.h:37,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/addons/addoninfo/AddonExtensions.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/addons/addoninfo/AddonType.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/addons/addoninfo/AddonInfo.h:13,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/addons/IAddon.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/interfaces/generic/ILanguageInvoker.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/interfaces/python/PythonInvoker.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.h:11,
[ 140s] from /home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/network/httprequesthandler/python/HTTPPythonInvoker.cpp:9:
[ 140s] /usr/include/fmt/core.h:460:3: note: 'constexpr fmt::v8::basic_string_view<Char>::basic_string_view(const Char*) [with Char = char]' is not usable as a 'constexpr' function because:
[ 140s] 460 | basic_string_view(const Char* s) : data_(s) {
[ 140s] | ^~~~~~~~~~~~~~~~~
[ 140s] /usr/include/fmt/core.h:460:3: error: member 'fmt::v8::basic_string_view<char>::size_' must be initialized by mem-initializer in 'constexpr' constructor
[ 140s] /usr/include/fmt/core.h:439:10: note: declared here
[ 140s] 439 | size_t size_;
[ 140s] | ^~~~~
Alles anzeigen
Hat jemand zufällig eine Idee, wie man das fixt?
C
/home/abuild/rpmbuild/BUILD/kodi-20.0~alpha1.20210823T210717~81c35da5c55/xbmc/utils/[definition='1','0']log[/definition].h:12:89: error: 'constexpr fmt::v8::basic_string_view<Char>::basic_string_view(const Char*) [with Char = char]' called in a constant expression
[ 140s] 12 | #define SPDLOG_LEVEL_NAMES {"TRACE", "DEBUG", "INFO", "WARNING", "ERROR", "FATAL", "OFF"};
Das komplette [definition='1','0']log[/definition] ist hier zu finden: https://build.opensuse.org/public/build/h…86_64/kodi/_log
Danke und schöne Grüße