All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14986] New: kodi does not compile with uClibc-ng for raspberrypi4
Date: Fri, 02 Sep 2022 14:10:33 +0000	[thread overview]
Message-ID: <bug-14986-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=14986

            Bug ID: 14986
           Summary: kodi does not compile with uClibc-ng for raspberrypi4
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: wbx@openadk.org
                CC: buildroot@uclibc.org
  Target Milestone: ---

Hi,

I get following build error with next:

[ 76%] Building CXX object build/utils/CMakeFiles/utils.dir/GLUtils.cpp.o
cd
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build/build/utils
&& /home/wbx/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-g++
--sysroot=/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot
-DHAS_NEON -I/home/wbx/buildroot/output/build/kodi-19.4-Matrix
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/lib
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/platform/linux
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/cores/VideoPlayer
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build/build
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build/build/include
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/platform/posix
-I/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/python3.10
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build/build/cores/RetroPlayer/messages
-I/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/freetype2
-I/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fribidi
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/contrib
-I/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build/build/libdvd/include
-I/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/lzo
-I/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/libdrm
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wall 
-DNDEBUG -s -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1
-DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=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 -DHAS_ISO9660PP=1 -DHAS_AIRPLAY=1
-DHAS_PYTHON=1 -DHAVE_LIBUDEV=1 -DFFMPEG_VER_SHA=\"undef\"
-I/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fribidi
-DSPDLOG_FMT_EXTERNAL -DSPDLOG_DEBUG_ON -DSPDLOG_NO_ATOMIC_LEVELS
-DSPDLOG_ENABLE_PATTERN_PADDING -DHAS_EGL=1 -DHAVE_GBM=1 -DHAS_GBM_BO_MAP=1
-DHAS_GBM_MODIFIERS=1 -DHAVE_HDR_OUTPUT_METADATA=1 -DHAS_GLES=3 -DHAS_DVD_DRIVE
-DHAS_CDDA_RIPPER -DBIN_INSTALL_PATH=\"/usr/lib/kodi\"
-DINSTALL_PATH=\"/usr/share/kodi\" -std=c++14 -MD -MT
build/utils/CMakeFiles/utils.dir/GLUtils.cpp.o -MF
CMakeFiles/utils.dir/GLUtils.cpp.o.d -o CMakeFiles/utils.dir/GLUtils.cpp.o -c
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/GLUtils.cpp
In file included from
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/format.h:48,
                 from
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/StringUtils.h:34,
                 from
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:19,
                 from
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/GLUtils.cpp:12:
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:
In instantiation of ‘constexpr fmt::v9::detail::value<Context>
fmt::v9::detail::make_value(T&&) [with Context =
fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const unsigned
char*&]’:
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1777:29:
  required from ‘constexpr fmt::v9::detail::value<Context>
fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context =
fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type
<anonymous> = fmt::v9::detail::type::custom_type; T = const unsigned char*&;
typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1901:77:
  required from ‘constexpr fmt::v9::format_arg_store<Context,
Args>::format_arg_store(T&& ...) [with T = {const unsigned char*&}; Context =
fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const unsigned
char*}]’
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1918:31:
  required from ‘constexpr fmt::v9::format_arg_store<Context, typename
std::remove_cv<typename std::remove_reference<Args>::type>::type ...>
fmt::v9::make_format_args(Args&& ...) [with Context =
fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const unsigned
char*&}]’
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:3206:44:
  required from ‘std::string fmt::v9::format(fmt::v9::format_string<T ...>, T&&
...) [with T = {const unsigned char*&}; std::string =
std::__cxx11::basic_string<char>; fmt::v9::format_string<T ...> =
fmt::v9::basic_format_string<char, const unsigned char*&>]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/StringUtils.h:91:32:
  required from ‘static std::string StringUtils::Format(const string&, Args&&
...) [with Args = {const unsigned char*&}; std::string =
std::__cxx11::basic_string<char>]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:181:41:  
required from ‘void CLog::FormatAndLogInternal(spdlog::level::level_enum, const
Char*, Args&& ...) [with Char = char; Args = {const unsigned char*&}]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:83:39:  
required from ‘static void CLog::Log(spdlog::level::level_enum, const Char*,
Args&& ...) [with Char = char; Args = {const unsigned char*&}]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:68:8:  
required from ‘static void CLog::Log(int, const Char*, Args&& ...) [with Char =
char; Args = {const unsigned char*&}]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/GLUtils.cpp:155:14:
  required from here
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1751:17:
error: static assertion failed: Formatting of non-void pointers is disallowed.
 1751 |   static_assert(formattable_pointer,
      |                 ^~~~~~~~~~~~~~~~~~~
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1751:17:
note: ‘formattable_pointer’ evaluates to false
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:
In instantiation of ‘constexpr fmt::v9::detail::value<Context>
fmt::v9::detail::make_value(T&&) [with Context =
fmt::v9::basic_printf_context<fmt::v9::appender, char>; T = const unsigned
char* const&]’:
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1777:29:
  required from ‘constexpr fmt::v9::detail::value<Context>
fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context =
fmt::v9::basic_printf_context<fmt::v9::appender, char>; fmt::v9::detail::type
<anonymous> = fmt::v9::detail::type::custom_type; T = const unsigned char*
const&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1901:77:
  required from ‘constexpr fmt::v9::format_arg_store<Context,
Args>::format_arg_store(T&& ...) [with T = {const unsigned char* const&};
Context = fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {const
unsigned char*}]’
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1918:31:
  required from ‘constexpr fmt::v9::format_arg_store<Context, typename
std::remove_cv<typename std::remove_reference<Args>::type>::type ...>
fmt::v9::make_format_args(Args&& ...) [with Context =
fmt::v9::basic_printf_context<fmt::v9::appender, char>; Args = {const unsigned
char* const&}]’
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/printf.h:581:49:
  required from ‘std::__cxx11::basic_string<Char> fmt::v9::sprintf(const S&,
const T& ...) [with S = std::__cxx11::basic_string<char>; T = {const unsigned
char*}; Char = char]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/StringUtils.h:93:30:
  required from ‘static std::string StringUtils::Format(const string&, Args&&
...) [with Args = {const unsigned char*&}; std::string =
std::__cxx11::basic_string<char>]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:181:41:  
required from ‘void CLog::FormatAndLogInternal(spdlog::level::level_enum, const
Char*, Args&& ...) [with Char = char; Args = {const unsigned char*&}]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:83:39:  
required from ‘static void CLog::Log(spdlog::level::level_enum, const Char*,
Args&& ...) [with Char = char; Args = {const unsigned char*&}]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/log.h:68:8:  
required from ‘static void CLog::Log(int, const Char*, Args&& ...) [with Char =
char; Args = {const unsigned char*&}]’
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/xbmc/utils/GLUtils.cpp:155:14:
  required from here
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1751:17:
error: static assertion failed: Formatting of non-void pointers is disallowed.
/home/wbx/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/fmt/core.h:1751:17:
note: ‘formattable_pointer’ evaluates to false
make[3]: *** [build/utils/CMakeFiles/utils.dir/build.make:1140:
build/utils/CMakeFiles/utils.dir/GLUtils.cpp.o] Error 1
make[3]: Leaving directory
'/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build'
make[2]: *** [CMakeFiles/Makefile2:7980: build/utils/CMakeFiles/utils.dir/all]
Error 2
make[2]: Leaving directory
'/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory
'/home/wbx/buildroot/output/build/kodi-19.4-Matrix/buildroot-build'
make: *** [package/pkg-generic.mk:293:
/home/wbx/buildroot/output/build/kodi-19.4-Matrix/.stamp_built] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2022-09-02 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-02 14:10 bugzilla [this message]
2024-06-15 15:04 ` [Buildroot] [Bug 14986] kodi does not compile with uClibc-ng for raspberrypi4 bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14986-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.