[Sony Xperia T, TL, TX, V] LeonardK:
[MENTION=5122093]WhiteNeo[/MENTION]

Just some questions about how to build your ROM again :D

Does this mean you are one the architoolchain-4.9-arm-linux-gnueabihf-cortex_a9_neon and not on the generic architoolchain?

This confuses me as the S4 afaik is a A5 and not A9 O.o

Anyway, my build fails with this:

No private recovery resources for TARGET_DEVICE mint
make -C kernel/sony/msm8x60 O=/home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/leonard/android/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cm_blue_mint_defconfig
make[1]: Entering directory '/home/leonard/android/kernel/sony/msm8x60'
[33mhost Executable:[0m acp (/home/leonard/android/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/acp)
[33mhost C:[0m checkpolicy <= external/checkpolicy/module_compiler.c
[33mhost C:[0m checkpolicy <= external/checkpolicy/parse_util.c
GEN /home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ/Makefile
[33mhost C:[0m checkpolicy <= external/checkpolicy/policy_define.c
/home/leonard/android/kernel/sony/msm8x60/Makefile:520: recipe for target 'cm_blue_mint_defconfig' failed
Makefile:130: recipe for target 'sub-make' failed
make[1]: Leaving directory '/home/leonard/android/kernel/sony/msm8x60'
build/core/tasks/kernel.mk:218: recipe for target '/home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ/.config' failed

I'm especially wondering about:

CROSS_COMPILE="/home/leonard/android/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-"

it seems that somehow $targetgccversion get's unset at this point as this should be arm-eabi-4.8 right?

My local manifest is this one:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- use proprietary files from updateing -->
<project path="vendor/sony" name="updateing/proprietary_vendor_sony" remote="github" revision="lollipop"/>

<!-- use NeoKernel instead of default one -->
<remove-project name="CyanogenMod/android_kernel_sony_msm8x60" />
<project path="kernel/sony/msm8x60" name="WhiteNeo-/NeoKernel-L" remote="github" revision="LA.AF.1.1_rb1.5"/>

<!-- use JustArchi's optimizations instead of default build dir -->
<remove-project name="CyanogenMod/android_build" />
<project path="build" name="LeonardKoenig/android_build" remote="github"/>

<!-- use JustArchi's toolchain instead of default one -->
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" />
<project name="ArchiDroid/Toolchain" path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" remote="github" revision="sabermod-4.8-arm-linux-androideabi" />
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" />
<project name="ArchiDroid/Toolchain" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" remote="github" revision="architoolchain-4.9-arm-linux-gnueabihf-cortex_a9_neon" />

</manifest>

My GitHub android_build repo is just the CM-12.1 one with the cherry-picked JustArchi's optimizations commit.

Do you have any suggestions on what is failing?

EDIT:

The log posted above is after a failed build but without doing make clean+clobber and cleaning .ccache. After doing this it looks like this:

make -C kernel/sony/msm8x60 O=/home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/leonard/android/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cm_blue_mint_defconfig
make[1]: Entering directory '/home/leonard/android/kernel/sony/msm8x60'
HOSTCC scripts/basic/fixdep
GEN /home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ/Makefile
make[3]: *** No rule to make target 'scripts/kconfig/zconf.tab.c', needed by 'scripts/kconfig/zconf.tab.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
HOSTCC scripts/kconfig/conf.o
/home/leonard/android/kernel/sony/msm8x60/Makefile:520: recipe for target 'cm_blue_mint_defconfig' failed
make[2]: *** [cm_blue_mint_defconfig] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/leonard/android/kernel/sony/msm8x60'
build/core/tasks/kernel.mk:218: recipe for target '/home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ/.config' failed
make: *** [/home/leonard/android/out/target/product/mint/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
# In case value of PACKAGES is empty.

Building again now would result in a log like above.

I did another bit of research and found out that another one experiencing:

"No rule to make target 'scripts/kconfig/zconf.tab.c'" also had the "arm-eabi- " issue. Sadly I do not know where this gets reset :/

Another question if I may :P?:

The line

No private recovery resources for TARGET_DEVICE mint

from the first log – what does it mean? For most people it meant that they were using the OpenJDK instead of OraclesJDK in the times where the former was not supported; but it is by now.