[Galaxy S III Q&A, Help & Troubleshooting] Darktitor:
Hi everyone !

I'm tryning to build CM12.1 from source for i9300

I'm am facing this error and can't figure out why ...

alexs-imac:system Alex$ brunch i9300 user j-2
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150628-UNOFFICIAL-i9300
TARGET_PRODUCT=cm_i9300
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-14.3.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/Volumes/android/system/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150628-UNOFFICIAL-i9300
TARGET_PRODUCT=cm_i9300
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-14.3.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/Volumes/android/system/out
============================================
"ebtables is disabled on this build"
external/openssl/Crypto-config-host.mk:712: Unknown host OS darwin
external/openssl/Crypto-config-host.mk:712: Unknown host OS darwin
external/openssl/Ssl-config-host.mk:111: Unknown host OS darwin
external/openssl/Ssl-config-host.mk:111: Unknown host OS darwin
external/openssl/Apps-config-host.mk:117: Unknown host OS darwin
find: dummy: No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
PRODUCT_COPY_FILES device/samsung/smdk4412-common/rootdir/init.trace.rc:root/init.trace.rc ignored.
PRODUCT_COPY_FILES device/samsung/smdk4412-common/configs/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:46: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/system/etc/media_codecs_ffmpeg.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/system/etc/media_codecs_ffmpeg.xml'
build/core/Makefile:46: warning: overriding commands for target `/Volumes/android/system/out/target/product/i9300/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/Volumes/android/system/out/target/product/i9300/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:149: *** BUILD_FINGERPRINT cannot contain spaces: "samsung/cm_i9300/i9300:5.1.1/LMY48B/(stdin)= f:user/test-keys". Stop.

#### make failed to build some targets (02:12 (mm:ss)) ####

alexs-imac:system Alex$

Thanks in advance