[Android Q&A, Help & Troubleshooting] Araca:
Hi i have searched the whole forum for this but i dont find a fix that helped me....

I'm trying to build CM11 on Ubuntu 14.04 for the Huawei P7, this device is not official but surdu_petru has made a device tree for this on github.

the build fails every time on busybox.

here is a short log:

Export includes file: external/pigz/Android.mk -- /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/pigz_intermediates/export_includes
Import includes file: /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/unrar_intermediates/import_includes
Export includes file: external/unrar/Android.mk -- /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/unrar_intermediates/export_includes
Notice file: external/unrar/NOTICE -- /home/sebastian/android/cm11/out/target/product/hwp7/obj/NOTICE_FILES/src//system/xbin/unrar.txt
Import includes file: /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/vim_intermediates/import_includes
Export includes file: external/vim/Android.mk -- /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/vim_intermediates/export_includes
Import includes file: /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/zip_intermediates/import_includes
Export includes file: external/zip/Android.mk -- /home/sebastian/android/cm11/out/target/product/hwp7/obj/EXECUTABLES/zip_intermediates/export_includes
Notice file: external/zip/NOTICE -- /home/sebastian/android/cm11/out/target/product/hwp7/obj/NOTICE_FILES/src//system/xbin/zip.txt
make: *** Keine Regel vorhanden, um das Target »vendor/huawei/hwp7/proprietary/lib/hw/gps.default.so«,
benötigt von »/home/sebastian/android/cm11/out/target/product/hwp7/system/lib/hw/gps.hwp7.so«, zu erstellen. Schluss.
make: *** Auf noch nicht beendete Prozesse wird gewartet …
GEN include/applets.h
GEN include/usage.h
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN applets/Kbuild
GEN scripts/Kbuild
GEN libpwdgrp/Kbuild
GEN modutils/Kbuild
GEN modutils/Config.in
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN selinux/Kbuild
GEN selinux/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/Kbuild
GEN e2fsprogs/old_e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
GEN editors/Kbuild
GEN editors/Config.in
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN printutils/Kbuild
GEN printutils/Config.in
GEN runit/Kbuild
GEN runit/Config.in
GEN shell/Kbuild
GEN shell/Config.in
GEN libbb/Kbuild
GEN libbb/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN init/Kbuild
GEN init/Config.in
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
Using /home/sebastian/android/cm11/external/busybox as source for busybox
GEN /home/sebastian/android/cm11/out/target/product/hwp7/obj/busybox/full/Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
/home/sebastian/android/cm11/external/busybox/scripts/basic/split-include.c: In function ‘main’:
/home/sebastian/android/cm11/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
HOSTCC scripts/kconfig/conf.o
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/conf.c: In function ‘conf_choice’:
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/sebastian/android/cm11/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
HOSTCC applets/applet_tables
GEN include/bbconfigopts.h
/home/sebastian/android/cm11/external/busybox/applets/usage.c: In function ‘main’:
/home/sebastian/android/cm11/external/busybox/applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1);
^
/home/sebastian/android/cm11/external/busybox/applets/applet_tables.c: In function ‘main’:
/home/sebastian/android/cm11/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line_old, sizeof(line_old), fp);
^
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
CC applets/applets.o
LD applets/built-in.o
make[1]: Verzeichnis »/home/sebastian/android/cm11/external/busybox« wird verlassen
sebastian@sebastian-GE60-0NC-GE60-0ND:~/android/cm11$