[Xiaomi Redmi 1S] JPT223:
Hi,

I am trying to build this image because I want to make a build for the S3 Neo I9301 from it.

But build fails, could you please have a look?

What I did until now is: (from http://wiki.lineageos.org/armani_build.html)

repo init -u https://github.com/LineageOS/android.git -b cm-14.1
repo sync
breakfast armani

I did not touch the source yet. I think before I modify anything, the original build process should work.

brunch fails. Do I need some blobs from the device?

$ brunch armani
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/xiaomi/armani
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170223-UNOFFICIAL-armani
TARGET_PRODUCT=lineage_armani
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-38-generic-x86_64-with-Ubuntu-16.10-yakkety
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/media/DATEN/nhome/jan/src/android/neo-cm14.1/out
============================================
make: Entering directory '/media/DATEN/nhome/jan/src/android/neo-cm14.1'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170223-UNOFFICIAL-armani
TARGET_PRODUCT=lineage_armani
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-38-generic-x86_64-with-Ubuntu-16.10-yakkety
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/media/DATEN/nhome/jan/src/android/neo-cm14.1/out
============================================
Running kati to generate build-lineage_armani.ninja...
./packages/apps/LockClock/Android.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170223-UNOFFICIAL-armani
TARGET_PRODUCT=lineage_armani
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-38-generic-x86_64-with-Ubuntu-16.10-yakkety
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26V
OUT_DIR=/media/DATEN/nhome/jan/src/android/neo-cm14.1/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE armani
build/core/java.mk:334: warning: overriding commands for target `/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/product/armani/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/product/armani/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/product/armani/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by '/media/DATEN/nhome/jan/src/android/neo-cm14.1/out/target/product/armani/obj/EXECUTABLES/bdaddr_xiaomi_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/media/DATEN/nhome/jan/src/android/neo-cm14.1'

#### make failed to build some targets (29 seconds) ####

Thank you very much.