-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kirkstone Branch Build Fails Due to fmt library #27
Comments
Hi @Hassin10760 ! I've tried to reproduce but I didn't have success. These were the steps I've followed:
Could you try those steps? |
Dear @bonaldig thanks for the prompt reply on this issue. The only difference is that I am using ubuntu 22.04 container version .. could that be an issue ? Thanks for you kind attention |
Hi @bonaldig After running the build with Ubuntu 20.04 container I am facing the following problem. I would be glad if you kindly have a look into it `Build Configuration: NOTE: Writing buildhistory Summary: There was 1 ERROR message, returning a non-zero exit code. Build Configuration: Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:09 Summary: 2 tasks failed: |
Hi @Hassin10760, Unfortunately, we were unable to reproduce the issue you reported. Could you kindly follow the steps outlined in my previous message and let us know the results? Best regards, |
I am Building the Kirkstone branch for var-som-mx8mp SOM version 2.0
the Build fails with the following error
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:1581:7: note: 'formattable' evaluates to false
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h: In instantiation of 'constexpr fmt::v10::detail::value fmt::v10::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = Fsl::VirtualMouseButton::Enum; typename std::enable_if<PACKED, int>::type = 0]':
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:1810:51: required from 'constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T& ...) [with T = {Fsl::VirtualMouseButton::Enum, bool, Fsl::PxPoint2}; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; Args = {Fsl::VirtualMouseButton::Enum, bool, Fsl::PxPoint2}]'
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:1828:18: required from 'constexpr fmt::v10::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference::type>::type ...> fmt::v10::make_format_args(T& ...) [with Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = {Fsl::VirtualMouseButton::Enum, bool, Fsl::PxPoint2}]'
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:2790:44: required from 'std::string fmt::v10::format(fmt::v10::format_string<T ...>, T&& ...) [with T = {Fsl::VirtualMouseButton::Enum, bool, Fsl::PxPoint2}; std::string = std::__cxx11::basic_string; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, Fsl::VirtualMouseButton::Enum, bool, Fsl::PxPoint2>]'
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/DemoApps/Shared/System/InputEvents/source/Shared/System/InputEvents/InputLogger.cpp:71:27: required from here
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:1577:63: error: 'fmt::v10::detail::type_is_unformattable_for<Fsl::VirtualMouseButton::Enum, char> _' has incomplete type
| 1577 | type_is_unformattable_for<T, typename Context::char_type> _;
| | ^
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:1581:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt
| 1581 | formattable,
| | ^~~~~~~~~~~
| /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/recipe-sysroot/usr/include/fmt/core.h:1581:7: note: 'formattable' evaluates to false
| [101/2889] Building CXX object DemoApps/Shared/System/DFGraphicsBasic2D/CMakeFiles/Shared.System.DFGraphicsBasic2D.dir/workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/DemoApps/Shared/System/DFGraphicsBasic2D/source/Shared/System/DFGraphicsBasic2D/Shared.cpp.o
| [102/2889] Building CXX object DemoApps/Shared/System/OnDemandRendering/CMakeFiles/Shared.System.OnDemandRendering.dir/workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/DemoApps/Shared/System/OnDemandRendering/source/Shared/System/OnDemandRendering/Chart/CustomChartGridLines.cpp.o
| [103/2889] Building CXX object DemoApps/Shared/System/OnDemandRendering/CMakeFiles/Shared.System.OnDemandRendering.dir/workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/DemoApps/Shared/System/OnDemandRendering/source/Shared/System/OnDemandRendering/JankDetector.cpp.o
| [104/2889] Building CXX object DemoApps/Shared/System/DFNativeBatch2D/CMakeFiles/Shared.System.DFNativeBatch2D.dir/workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/DemoApps/Shared/System/DFNativeBatch2D/source/Shared/System/DFNativeBatch2D/TextureAtlasScene.cpp.o
| [105/2889] Building CXX object DemoApps/Shared/System/DevNativeTexture2D/CMakeFiles/Shared.System.DevNativeTexture2D.dir/workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/DemoApps/Shared/System/DevNativeTexture2D/source/Shared/System/DevNativeTexture2D/Shared.cpp.o
| ninja: build stopped: subcommand failed.
| WARNING: The build command 'cmake --build . --target install -- -j 6' failed with '1'. It was run with CWD: '/workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git/build/Yocto/Ninja/release'
| WARNING: /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/temp/run.do_compile.1726185:144 exit 1 from 'FslBuild.py -vvvvv -t sdk --UseFeatures [EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,G2D,OpenGLES2,OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.1] --UseExtensions [OpenGLES3:GL_EXT_color_buffer_float] --Variants [WindowSystem=Wayland] --BuildThreads 6 -c install --CMakeInstallPrefix /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/git'
| WARNING: Backtrace (BB generated script):
| #1: do_compile, /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/temp/run.do_compile.1726185, line 144
| #2: main, /workdir/build_xwayland/tmp/work/armv8a-mx8mp-fslc-linux/imx-gpu-sdk/6.0.2-r0/temp/run.do_compile.1726185, line 148
ERROR: Task (/workdir/sources/meta-freescale-distro/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.0.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2618 tasks of which 2087 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 8 seconds
Attached is the local.conf
The text was updated successfully, but these errors were encountered: