【问题标题】:Error when bitbake on meta-browser layer, gn-native package for Yocto zeus在元浏览器层上进行 bitbake 时出错,Yocto zeus 的 gn-native 包
【发布时间】:2021-03-16 07:29:30
【问题描述】:

我正在尝试从 Ubuntu 18.04 生成 Yocto Linux,但在元浏览器层内从 chromium 编译 gn-native 时遇到错误。因为我只是添加了这一层而不修改它,所以我有点迷茫,而且错误对我来说没什么意义...... *

ERROR: gn-native-80.0.3987.132-r0 do_compile: Execution of '/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/temp/run.do_compile.13120'

退出代码 1 失败: 忍者:进入目录`/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/chromium-80.0.3987.132/out/Release/gn_build' [1/182] CXX 基础/callback_internal.o 失败:base/callback_internal.o clang++ -MMD -MF base/callback_internal.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/callback_internal.cc -o 基础/callback_internal.o 在 ../../../tools/gn/base/callback_internal.cc:5 包含的文件中: 在 ../../../tools/gn/base/callback_internal.h:13 包含的文件中: ../../../tools/gn/base/memory/ref_counted.h:10:10:致命错误:找不到“实用程序”文件 #包括 ^~~~~~~~~ 产生 1 个错误。 [2/182] CXX 基地/command_line.o 失败:base/command_line.o clang++ -MMD -MF base/command_line.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/command_line.cc -o 基础/command_line.o 在 ../../../tools/gn/base/command_line.cc:5 包含的文件中: ../../../tools/gn/base/command_line.h:19:10:致命错误:找不到“地图”文件 #包括 ^~~~~ 产生 1 个错误。 [3/182] CXX 基地/环境.o 失败:基础/环境.o clang++ -MMD -MF base/environment.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/环境.cc -o 基础/环境.o 在 ../../../tools/gn/base/environment.cc:5 包含的文件中: ../../../tools/gn/base/environment.h:8:10:致命错误:找不到“地图”文件 #包括 ^~~~~ 产生 1 个错误。 [4/182] CXX 基础/文件/file_path_constants.o 失败:base/files/file_path_constants.o clang++ -MMD -MF base/files/file_path_constants.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/文件/file_path_constants.cc -o 基础/文件/file_path_constants.o 在 ../../../tools/gn/base/files/file_path_constants.cc:7 包含的文件中: ../../../tools/gn/base/files/file_path.h:107:10:致命错误:找不到“iosfwd”文件 #包括 ^~~~~~~~ 产生 1 个错误。 [5/182] CXX 基地/文件/file.o 失败:base/files/file.o clang++ -MMD -MF base/files/file.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/文件/file.cc -o 基础/文件/file.o 在 ../../../tools/gn/base/files/file.cc:5 包含的文件中: ../../../tools/gn/base/files/file.h:10:10:致命错误:找不到“字符串”文件 #包括 ^~~~~~~~ 产生 1 个错误。 [6/182] CXX 基础/文件/file_path.o 失败:base/files/file_path.o clang++ -MMD -MF base/files/file_path.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/文件/file_path.cc -o 基础/文件/file_path.o 在 ../../../tools/gn/base/files/file_path.cc:5 包含的文件中: ../../../tools/gn/base/files/file_path.h:107:10:致命错误:找不到“iosfwd”文件 #包括 ^~~~~~~~ 产生 1 个错误。 [7/182] CXX base/files/file_enumerator.o 失败:base/files/file_enumerator.o clang++ -MMD -MF base/files/file_enumerator.o.d -I../../../tools/gn -I. -isystem/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -isystem/home/tux/yocto-freescale-zeus/build/tmp/work /x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/include -O2 -pipe -std=c++17 -c ../../../tools/gn/基础/文件/file_enumerator.cc -o 基础/文件/file_enumerator.o 在 ../../../tools/gn/base/files/file_enumerator.cc:5 包含的文件中: ../../../tools/gn/base/files/file_enumerator.h:11:10:致命错误:找不到“向量”文件 #包括 ^~~~~~~~ 产生 1 个错误。 忍者:构建停止:子命令失败。 回溯(最近一次通话最后): 文件“/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/chromium-80.0.3987.132/tools/gn/bootstrap/bootstrap.py”,第 138 行,在 sys.exit(main(sys.argv[1:])) 文件“/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/chromium-80.0.3987.132/tools/gn/bootstrap/bootstrap.py”,第 124 行,主要 ['ninja', '-C', gn_build_dir, 'gn', '-w', 'dupbuild=err']) 文件“/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py ", 第 190 行,在 check_call 中 引发 CalledProcessError(retcode, cmd) subprocess.CalledProcessError:命令'['ninja','-C','/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/chromium- 80.0.3987.132/out/Release/gn_build', 'gn', '-w', 'dupbuild=err']' 返回非零退出状态 1 警告:从 shell 命令退出代码 1。 错误:失败日志文件存储在:/home/tux/yocto-freescale-zeus/build/tmp/work/x86_64-linux/gn-native/80.0.3987.132-r0/temp/log.do_compile.13120

我依靠你的帮助! 谢谢!

【问题讨论】:

    标签: browser chromium yocto


    【解决方案1】:

    我的错... 我必须安装未安装的 g++-multilib,因此基本库不存在...

    sudo apt install g++-multilib

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-08-04
      • 2021-11-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-04
      • 2018-04-03
      相关资源
      最近更新 更多