This repository is for -base and -builder containers for building derivative containers (such as poky-container) for containerized Yocto Project builds.
GNU General Public License v2.0
145
stars
57
forks
source link
crops/yocto:ubuntu-22.04-base fails on clang when building the yocto project #76
and fails to build. This seems to me to be when meta-clang is building the c, c++ compiler. I do not know why this issue is happening. I have already checked if my layers are up to date and they are. This builds on my computer but I am running this on a gitlab pipeline and then it fails.
I am using the crops/yocto:ubuntu-22.04-base docker image when building the yocto project and it fails with the following error:
FAILED: tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o | /builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/hosttools/g++ -D_GNU_SOURCE -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/build/tools/clang/lib/ASTMatchers/Dynamic -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/clang/lib/ASTMatchers/Dynamic -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/clang/include -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/build/tools/clang/include -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/build/include -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/llvm/include -isystem/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -isystem/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -g0 -std=c++14 -MD -MT tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -MF tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o.d -o tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -c /builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/clang/lib/ASTMatchers/Dynamic/Registry.cpp
ERROR: Task (virtual:native:/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile) failed with exit code '1' | [2830/5596] /builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/hosttools/g++ -D_GNU_SOURCE -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/build/tools/clang/lib/CrossTU -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/clang/lib/CrossTU -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/clang/include -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/build/tools/clang/include -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/build/include -I/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/llvm/include -isystem/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -isystem/builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work/x86_64-linux/clang-native/14.0.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -g0 -std=c++14 -MD -MT tools/clang/lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -MF tools/clang/lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o.d -o tools/clang/lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -c /builds/seascann/value-pump/514c19edabcdcb32a40fd17d2debe277e3979665/mamba/build/tmp/work-shared/llvm-project-source-14.0.3-r0/git/clang/lib/CrossTU/CrossTranslationUnit.cpp | ninja: build stopped: subcommand failed.
and fails to build. This seems to me to be when meta-clang is building the c, c++ compiler. I do not know why this issue is happening. I have already checked if my layers are up to date and they are. This builds on my computer but I am running this on a gitlab pipeline and then it fails.