[HELP] Error building aospa

I've never faced these issues before.
They happen at kernel compiling and at the end when it creates the otapackage, can you help me please? I'm stuck with this...

KERNEL (This log is from another pc but it is as the same as mine):

Code:
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500» make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" dtbs make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500» make[3]: No se hace nada para «arch/arm/boot/dtbs». make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500» make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" modules make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500» GEN /home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ/Makefile CHK include/linux/version.h Using /home/t4n017/android/PA/kernel/samsung/u8500 as source for kernel CHK include/generated/utsrelease.h make[3]: «include/generated/mach-types.h» está actualizado. CALL /home/t4n017/android/PA/kernel/samsung/u8500/scripts/checksyscalls.sh .config:7359:warning: symbol value 'm' invalid for KVM make[6]: *** [silentoldconfig] Error 1 make[5]: *** [silentoldconfig] Error 2 Usage: /home/t4n017/android/PA/kernel/samsung/u8500/scripts/setlocalversion [--save-scmversion] [-s srctree] [-t ref_tag] Building modules, stage 2. MODPOST 7 modules make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500» make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" modules_install make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»

OTAPACKAGE:

Code:
using device-specific extensions in device/samsung/u8500-common using custom bootimage makefile device/samsung/u8500-common/shbootimg.mk... using prebuilt recovery.img... using custom bootimage makefile device/samsung/u8500-common/shbootimg.mk... using prebuilt boot.img... Traceback (most recent call last): File "./build/tools/releasetools/ota_from_target_files", line 1117, in <module> main(sys.argv[1:]) File "./build/tools/releasetools/ota_from_target_files", line 1085, in main WriteFullOTAPackage(input_zip, output_zip) File "./build/tools/releasetools/ota_from_target_files", line 538, in WriteFullOTAPackage Item.Get("system").SetPermissions(script) File "./build/tools/releasetools/ota_from_target_files", line 315, in SetPermissions recurse(self, (-1, -1, -1, -1, None, None)) File "./build/tools/releasetools/ota_from_target_files", line 307, in recurse recurse(i, current) File "./build/tools/releasetools/ota_from_target_files", line 307, in recurse recurse(i, current) File "./build/tools/releasetools/ota_from_target_files", line 313, in recurse item.mode, item.selabel, item.capabilities) File "/home/mauro/aospa/build/tools/releasetools/edify_generator.py", line 284, in SetPermissions '"capabilities", %s' % (fn, uid, gid, mode, capabilities) TypeError: %d format: a number is required, not NoneType make: *** [/home/mauro/aospa/out/target/product/janice/pa_janice-ota-eng.mauro-ota-eng.mauro.zip] Errore 1

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by vbogisich
39 minutes ago
Last post by rodolfo27
4 hours ago
Last post by giovanna.lockman
2 hours ago
Last post by joe95
21 minutes ago
Last post by novella.abbott
4 hours ago
Last post by aconn
1 hour ago