[Galaxy Ace II Q&A, Help & Troubleshooting] snyfear:
Hi Flo0008,

Interesting compilation tutorial indeed, thank you.

I removed packages openjdk-7-jre openjdk-7-jdk and followed the 4 first point, and even the fifth.

Error is different now, but compilation still failed with brunch codinap command :

root@debian ~/cyanogenmod/system $ brunch codinap
including vendor/cm/vendorsetup.sh
Looking for dependencies

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140504-UNOFFICIAL-codinap
TARGET_PRODUCT=cm_codinap
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-4-amd64-x86_64-with-debian-7.5
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/root/cyanogenmod/system/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140504-UNOFFICIAL-codinap
TARGET_PRODUCT=cm_codinap
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-4-amd64-x86_64-with-debian-7.5
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/root/cyanogenmod/system/out
============================================
/root/cyanogenmod/system/out/target/product/codinap/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES hardware/broadcom/wlan/bcmdhd/config/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf ignored.
PRODUCT_COPY_FILES hardware/broadcom/wlan/bcmdhd/config/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf ignored.
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/obj/lib/libril.so'
build/core/dynamic_binary.mk:117: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/obj/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libFFTEm.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libFFTEm.so'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libexpat.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libexpat.so'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libpower.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libpower.so'
build/core/Makefile:44: warning: overriding commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libstlport.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/root/cyanogenmod/system/out/target/product/codinap/system/lib/libstlport.so'
No private recovery resources for TARGET_DEVICE codinap
build/core/tasks/kernel.mk:175: warning: overriding commands for target `TARGET_KERNEL_BINARIES'
device/samsung/u8500-common/shbootimg.mk:26: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES'
make -C kernel/samsung/u8500 O=/root/cyanogenmod/system/out/target/product/codinap/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/root/cyanogenmod/system/prebuilts/misc/linux-x86/ccache/ccache /root/cyanogenmod/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_i8160P_defconfig
make[1]: Entering directory `/root/cyanogenmod/system/kernel/samsung/u8500'
GEN /root/cyanogenmod/system/out/target/product/codinap/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory `/root/cyanogenmod/system/kernel/samsung/u8500'
make -C kernel/samsung/u8500 O=/root/cyanogenmod/system/out/target/product/codinap/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/root/cyanogenmod/system/prebuilts/misc/linux-x86/ccache/ccache /root/cyanogenmod/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
make[1]: Entering directory `/root/cyanogenmod/system/kernel/samsung/u8500'
CHK include/linux/version.h
make[1]: Leaving directory `/root/cyanogenmod/system/kernel/samsung/u8500'
Header: /root/cyanogenmod/system/out/host/linux-x86/obj/include/libpng/png.h
Header: /root/cyanogenmod/system/out/host/linux-x86/obj/include/libpng/pngconf.h
Header: /root/cyanogenmod/system/out/target/product/codinap/obj/include/libpng/png.h
Header: /root/cyanogenmod/system/out/target/product/codinap/obj/include/libpng/pngconf.h
host C++: libclangFrontend <= external/clang/lib/Frontend/CacheTokens.cpp
host C++: libclangFrontend <= external/clang/lib/Frontend/ChainedDiagnosticConsumer.cpp
host C++: libclangFrontend <= external/clang/lib/Frontend/ChainedIncludesSource.cpp
make: *** [/root/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangFrontend_intermediates/ChainedIncludesSource.o] Killed
root@debian ~/cyanogenmod/system $

Here is the result of lunch cm_codinap-userdebug :

root@debian ~/cyanogenmod/system $ lunch cm_codinap-userdebug
Looking for dependencies

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140504-UNOFFICIAL-codinap
TARGET_PRODUCT=cm_codinap
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-4-amd64-x86_64-with-debian-7.5
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/root/cyanogenmod/system/out
============================================

root@debian ~/cyanogenmod/system $

Next step will probably (if I don't find any new clue) to restart everything from scratch by installing this time a Ubuntu 12.04 instead of Debian 7.

Anyway thanks you for your help. :good: