[Galaxy S 4 Mini General] csendre:
AICP build problems

[MENTION=4344511]SilviuMik[/MENTION], [MENTION=943196]k2wl[/MENTION] or others,

Following the logic of CM builds, I tried to build AICP 11 (nothing wrong with your builds Silviu, just wanted to practice :)) but the build failed and would like to understand what am I doing wrong. Here is what I have done:

- Initialized AICP repo

- Created local manifest for serranodsdd, based on dependencies found for serrano3gxx . Here is the manifest I used:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="AICP/device_samsung_msm8930-common" path="device/samsung/msm8930-common" remote="github" revision="mm6.0" />
<project name="AICP/device_samsung_serrano-common" path="device/samsung/serrano-common" remote="github" revision="mm6.0" />
<project name="CyanogenMod/android_kernel_samsung_msm8930-common" path="kernel/samsung/msm8930-common" remote="github" revision="cm-13.0" />
<project name="k2wl/android_device_samsung_serranodsdd" path="device/samsung/serranodsdd" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-13.0" />
<project name="AICP/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="mm6.0" />
<project name="CyanogenMod/android_external_stlport" path="external/stlport" revision="cm-13.0" remote="github" />
</manifest>

- Synced repo, seem to have worked.

- Applied patch by k2wl, which seems to have worked although I got a strange CD error. Here is the output:

user@ubuntu:~/aicp11/device/samsung/serranodsdd/patches$ ./install-all.sh
./install-all.sh: 3: cd: can't cd to device/samsung/serranodsdd/patches/
applying device_samsung_serrano-common to device/samsung/serrano-common
Applying: Remove SerranoRIL Prop
applying frameworks_base to frameworks/base
Applying: add writeString16 with uint16_t for ABI compatibility 2/2
applying frameworks_native to frameworks/native
Applying: add writeString16 with uint16_t for ABI compatibility 1/2
applying frameworks_opt_telephony to frameworks/opt/telephony
Applying: initial support for i9192 ril
applying system_core to system/core
Applying: HACK: temporarily change SELinux to permissive
applying vendor_samsung_serrano-common to vendor/samsung/serrano-common
Applying: add s4 mini dual sim ril blobs

- After this I tried building and failed with the following message:

endre@ubuntu:~/aicp11$ . build/envsetup.sh && brunch serranodsdd
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/samsung/serranodsdd/vendorsetup.sh
including vendor/aicp/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/aicp/vendorsetup.sh
ls: cannot access vendor/aicp/products/serranodsdd.mk: No such file or directory
build/core/product_config.mk:246: *** Can not locate config makefile for product "aicp_serranodsdd". Stop.
Device serranodsdd not found. Attempting to retrieve device repository from AICP Github (http://github.com/AICP).
Repository for serranodsdd not found in the AICP Github repository list. If this is in error, you may need to manually add it to your local_manifests/aicp_manifest.xml.
ls: cannot access vendor/aicp/products/serranodsdd.mk: No such file or directory
build/core/product_config.mk:246: *** Can not locate config makefile for product "aicp_serranodsdd". Stop.

** Don't have a product spec for: 'aicp_serranodsdd'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

Any idea what went wrong?