Skip to content

Instantly share code, notes, and snippets.

@Nokius

Nokius/make fails Secret

Created Jan 21, 2017
Embed
What would you like to do?
[SFOS] porridge
HABUILD_SDK [porridge] user@build-box-porridge:~/hadk$ make hybris-boot
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=13.0-20170117-UNOFFICIAL-porridge
TARGET_PRODUCT=cm_porridge
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-27-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MOB31K
OUT_DIR=/home/user/hadk/out
============================================
device/cyanogen/mt6735-common/wpa_supplicant_8_lib/Android.mk:20: build BASIC wpa_supplicant
external/speex/Android.mk:55: TODOArm64: enable neon in libspeex
hybris/hybris-boot/Android.mk:68: ********************* FSTAB device/cyanogen/mt6735-common/rootdir/fstab.mt6735
hybris/hybris-boot/Android.mk:69: ********************* /boot appears to live on /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot
hybris/hybris-boot/Android.mk:70: ********************* /data appears to live on /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata
build/core/base_rules.mk:559: warning: overriding commands for target `/home/user/hadk/out/target/product/porridge/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/user/hadk/out/target/product/porridge/root/res/images/charger/battery_fail.png'
find: `dummy': No such file or directory
PRODUCT_COPY_FILES device/wileyfox/porridge/configs/ecc_list.xml:system/etc/ecc_list.xml ignored.
PRODUCT_COPY_FILES device/cyanogen/mt6735-common/configs/WMT_SOC.cfg:system/etc/firmware/WMT_SOC.cfg ignored.
No private recovery resources for TARGET_DEVICE porridge
Building Kernel
make CFLAGS_MODULE="-fno-pic" -C kernel/cyanogen/mt6735 O=/home/user/hadk/out/target/product/porridge/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/home/user/hadk/prebuilts/misc/linux-x86/ccache/ccache aarch64-linux-android-" Image.gz-dtb
make[1]: Entering directory `/home/user/hadk/kernel/cyanogen/mt6735'
make[2]: Entering directory `/home/user/hadk/out/target/product/porridge/obj/KERNEL_OBJ'
CHK include/config/kernel.release
Using /home/user/hadk/kernel/cyanogen/mt6735 as source for kernel
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL /home/user/hadk/kernel/cyanogen/mt6735/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC kernel/power/tuxonice_userui.o
In file included from ../../../../../../kernel/cyanogen/mt6735/include/linux/printk.h:297:0,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/kernel.h:13,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/list.h:8,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/preempt.h:10,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/spinlock.h:50,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/swap.h:4,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/suspend.h:4,
from ../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c:25:
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c: In function 'userui_prepare_status':
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c:321:33: error: expected ')' before 'lastheader'
toi_message(0, TOI_STATUS, 1, lastheader, NULL);
^
../../../../../../kernel/cyanogen/mt6735/include/linux/dynamic_debug.h:69:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
.format = (fmt), \
^
../../../../../../kernel/cyanogen/mt6735/include/linux/printk.h:303:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug("[name:"KBUILD_MODNAME"&]"fmt, ##__VA_ARGS__)
^
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_ui.h:96:4: note: in expansion of macro 'pr_debug'
pr_debug(fmt, ##a); \
^
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c:321:3: note: in expansion of macro 'toi_message'
toi_message(0, TOI_STATUS, 1, lastheader, NULL);
^
In file included from ../../../../../../kernel/cyanogen/mt6735/include/linux/kernel.h:13:0,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/list.h:8,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/preempt.h:10,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/spinlock.h:50,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/swap.h:4,
from ../../../../../../kernel/cyanogen/mt6735/include/linux/suspend.h:4,
from ../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c:25:
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c:321:33: error: expected ')' before 'lastheader'
toi_message(0, TOI_STATUS, 1, lastheader, NULL);
^
../../../../../../kernel/cyanogen/mt6735/include/linux/printk.h:258:21: note: in definition of macro 'pr_fmt'
#define pr_fmt(fmt) fmt
^
../../../../../../kernel/cyanogen/mt6735/include/linux/printk.h:303:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug("[name:"KBUILD_MODNAME"&]"fmt, ##__VA_ARGS__)
^
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_ui.h:96:4: note: in expansion of macro 'pr_debug'
pr_debug(fmt, ##a); \
^
../../../../../../kernel/cyanogen/mt6735/kernel/power/tuxonice_userui.c:321:3: note: in expansion of macro 'toi_message'
toi_message(0, TOI_STATUS, 1, lastheader, NULL);
^
make[4]: *** [kernel/power/tuxonice_userui.o] Error 1
make[3]: *** [kernel/power] Error 2
make[2]: *** [kernel] Error 2
make[2]: Leaving directory `/home/user/hadk/out/target/product/porridge/obj/KERNEL_OBJ'
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/user/hadk/kernel/cyanogen/mt6735'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:09 (mm:ss)) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.