我正在使用LineageOS的官方消息源为锤头运行LineageOS 15.1的构建,但是由于某种原因它失败了。完整的构建日志在这里: https://pastebin.com/jwMkeurA
我在这里做错了什么?之前有一些警告,但构建仍在继续。具体说:
1 error generated.
[ 20% 15655/76262] //external/one-true-awk:libawk_main clang main.c
FAILED: /home/yagya/lineage/out/soong/.intermediates/external/one-true-awk/libawk_main/android_arm_armv7-a-neon_krait_static_core/obj/external/one-true-awk/main.o
PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4053586/bin/clang -c -Iexternal/one-true-awk -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=krait -mfpu=neon-vfpv4 -D__ARM_FEATURE_LPAE=1 -I/home/yagya/lineage/out/soong/.intermediates/external/one-true-awk/libawk_main/android_arm_armv7-a-neon_krait_static_core/gen/yacc/external/one-true-awk -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_deprecated -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-self-assign -Wno-unused-parameter -Dmain=awk_main -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fPIC -D_USING_LIBCXX -std=gnu99 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/yagya/lineage/out/soong/.intermediates/external/one-true-awk/libawk_main/android_arm_armv7-a-neon_krait_static_core/obj/external/one-true-awk/main.o.d -o /home/yagya/lineage/out/soong/.intermediates/external/one-true-awk/libawk_main/android_arm_armv7-a-neon_krait_static_core/obj/external/one-true-awk/main.o external/one-true-awk/main.c
In file included from external/one-true-awk/main.c:35:
external/one-true-awk/ytab.h:1:10: fatal error: 'awkgram.h' file not found
#include "awkgram.h"