Skip to content

Instantly share code, notes, and snippets.

@giggs-lynx
Created September 18, 2019 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giggs-lynx/3f1ce453c368dd1eff7c9a32b37fb741 to your computer and use it in GitHub Desktop.
Save giggs-lynx/3f1ce453c368dd1eff7c9a32b37fb741 to your computer and use it in GitHub Desktop.
$ make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=spurv
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.2.9-200.fc30.x86_64-x86_64-Fedora-30-(Workstation-Edition)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
[ 0% 1/42947] build out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation_constant.h
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation_constant.h
/bin/bash -c "python external/mesa3d/src/compiler/glsl/ir_expression_operation.py constant > out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation_constant.h"
Traceback (most recent call last):
File "external/mesa3d/src/compiler/glsl/ir_expression_operation.py", line 23, in <module>
import mako.template
ImportError: No module named mako.template
[ 0% 2/42947] build out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation.h
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation.h
/bin/bash -c "python external/mesa3d/src/compiler/glsl/ir_expression_operation.py enum > out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation.h"
Traceback (most recent call last):
File "external/mesa3d/src/compiler/glsl/ir_expression_operation.py", line 23, in <module>
import mako.template
ImportError: No module named mako.template
[ 0% 3/42947] build out/target/product/spurv/system/usr/share/alsa/alsa-conf
alsa.conf
pcm/dsnoop.conf
pcm/modem.conf
pcm/dpl.conf
pcm/default.conf
pcm/surround51.conf
pcm/surround41.conf
pcm/surround50.conf
pcm/dmix.conf
pcm/center_lfe.conf
pcm/surround40.conf
pcm/side.conf
pcm/iec958.conf
pcm/rear.conf
pcm/surround71.conf
pcm/front.conf
cards/aliases.conf
[ 0% 4/42947] build out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h
/bin/bash -c "python external/mesa3d/src/compiler/nir/nir_opcodes_h.py external/mesa3d/src/compiler/nir/nir_opcodes.py > out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h"
Traceback (most recent call last):
File "external/mesa3d/src/compiler/nir/nir_opcodes_h.py", line 45, in <module>
from mako.template import Template
ImportError: No module named mako.template
[ 0% 5/42947] build out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation_strings.h
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation_strings.h
/bin/bash -c "python external/mesa3d/src/compiler/glsl/ir_expression_operation.py strings > out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/ir_expression_operation_strings.h"
Traceback (most recent call last):
File "external/mesa3d/src/compiler/glsl/ir_expression_operation.py", line 23, in <module>
import mako.template
ImportError: No module named mako.template
[ 0% 6/42947] Gen ES: libmesa_st_mesa <= format_unpack.c
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_st_mesa_intermediates/main/format_unpack.c
/bin/bash -c "python external/mesa3d/src/mesa/main/format_unpack.py external/mesa3d/src/mesa/main/formats.csv > out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_st_mesa_intermediates/main/format_unpack.c"
Traceback (most recent call last):
File "external/mesa3d/src/mesa/main/format_unpack.py", line 3, in <module>
from mako.template import Template
ImportError: No module named mako.template
[ 0% 7/42947] build out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_intrinsics.h
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_intrinsics.h
/bin/bash -c "python external/mesa3d/src/compiler/nir/nir_intrinsics_h.py --outdir out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/ || ( out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_intrinsics.h; false)"
Traceback (most recent call last):
File "external/mesa3d/src/compiler/nir/nir_intrinsics_h.py", line 42, in <module>
from mako.template import Template
ImportError: No module named mako.template
/bin/bash: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_intrinsics.h: No such file or directory
[ 0% 8/42947] build out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_builder_opcodes.h
FAILED: out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_builder_opcodes.h
/bin/bash -c "python external/mesa3d/src/compiler/nir/nir_builder_opcodes_h.py external/mesa3d/src/compiler/nir/nir_opcodes.py > out/target/product/spurv/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_builder_opcodes.h"
Traceback (most recent call last):
File "external/mesa3d/src/compiler/nir/nir_builder_opcodes_h.py", line 70, in <module>
from mako.template import Template
ImportError: No module named mako.template
[ 0% 9/42947] target thumb C: activity <= external/iio-sensors-hal/activity.c
FAILED: out/target/product/spurv/obj/EXECUTABLES/activity_intermediates/activity.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4691093/bin/clang -I external/iio-sensors-hal -I out/target/product/spurv/obj/EXECUTABLES/activity_intermediates -I out/target/product/spurv/gen/EXECUTABLES/activity_intermediates -I libnativehelper/include_jni \$(cat out/target/product/spurv/obj/EXECUTABLES/activity_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem out/target/product/spurv/obj/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 -c -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -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 -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv7-a -mfloat-abi=softfp -mfpu=neon -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -mthumb -Os -Wall -Werror -DLOG_TAG=\\\"Activity\\\" -fvisibility=hidden -fPIE -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/target/product/spurv/obj/EXECUTABLES/activity_intermediates/activity.d -o out/target/product/spurv/obj/EXECUTABLES/activity_intermediates/activity.o external/iio-sensors-hal/activity.c"
external/iio-sensors-hal/activity.c:314:48: error: use of undeclared identifier 'errno'
ALOGE("Error %s creating socket\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:320:47: error: use of undeclared identifier 'errno'
ALOGE("Error %s binding socket\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:326:66: error: use of undeclared identifier 'errno'
ALOGW("Error %s setting socket to listening state\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:349:54: error: use of undeclared identifier 'errno'
ALOGE("Error %s accepting connection\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:355:65: error: use of undeclared identifier 'errno'
ALOGE("Error %s in receiving message, conn = %d\n", strerror(errno), conn);
^
external/iio-sensors-hal/activity.c:508:62: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" creating socket\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:509:10: error: use of undeclared identifier 'errno'
return errno;
^
external/iio-sensors-hal/activity.c:514:67: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" connecting to server\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:515:10: error: use of undeclared identifier 'errno'
return errno;
^
external/iio-sensors-hal/activity.c:520:72: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" sending message to server\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:521:10: error: use of undeclared identifier 'errno'
return errno;
^
external/iio-sensors-hal/activity.c:526:73: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" getting answer from server\n", strerror(errno));
^
external/iio-sensors-hal/activity.c:527:10: error: use of undeclared identifier 'errno'
return errno;
^
13 errors generated.
[ 0% 10/42947] target thumb C: sens <= external/iio-sensors-hal/sens.c
FAILED: out/target/product/spurv/obj/EXECUTABLES/sens_intermediates/sens.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4691093/bin/clang -I external/iio-sensors-hal -I out/target/product/spurv/obj/EXECUTABLES/sens_intermediates -I out/target/product/spurv/gen/EXECUTABLES/sens_intermediates -I libnativehelper/include_jni \$(cat out/target/product/spurv/obj/EXECUTABLES/sens_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem out/target/product/spurv/obj/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 -c -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -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 -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv7-a -mfloat-abi=softfp -mfpu=neon -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -mthumb -Os -Wall -Werror -DLOG_TAG=\\\"Sensors\\\" -fvisibility=hidden -fPIE -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/target/product/spurv/obj/EXECUTABLES/sens_intermediates/sens.d -o out/target/product/spurv/obj/EXECUTABLES/sens_intermediates/sens.o external/iio-sensors-hal/sens.c"
external/iio-sensors-hal/sens.c:252:26: error: unused parameter 'sig' [-Werror,-Wunused-parameter]
static void sig_pipe(int sig)
^
1 error generated.
ninja: build stopped: subcommand failed.
23:41:12 ninja failed with: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment