make: *** [out/target/product/p3113/full_p3113-ota-eng.charles.zip] Error 1

256 views
Skip to first unread message

Charles-Eugène Loubao

unread,
Sep 30, 2013, 5:09:05 PM9/30/13
to android-...@googlegroups.com
Hi . It's me again ...
Now i got a error when the builder try to create the zip file .
Here is my full log (I don't know where s the problem)/

[charles@archlinux android4.3]$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/samsung/p3113/vendorsetup.sh
including sdk/bash_completion/adb.bash
[charles@archlinux android4.3]$ lunch

You're building on Linux

Lunch menu... pick a combo:
     1. aosp_arm-eng
     2. aosp_x86-eng
     3. aosp_mips-eng
     4. vbox_x86-eng
     5. mini_armv7a_neon-userdebug
     6. mini_mips-userdebug
     7. mini_x86-userdebug
     8. full_p3113-userdebug

Which would you like? [aosp_arm-eng] 8

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_p3113
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.1-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=out
============================================

[charles@archlinux android4.3]$ make otapackage -j2
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_p3113
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.1-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=out
============================================
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/bin/hostapd'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/bin/hostapd'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libdomx.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libdomx.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libI420colorconvert.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libI420colorconvert.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libmm_osal.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libmm_osal.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX_Core.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX_Core.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE p3113
Package OTA: out/target/product/p3113/full_p3113-ota-eng.charles.zip
unzipping target target-files...
  running:  unzip -o -q out/target/product/p3113/obj/PACKAGING/target_files_intermediates/full_p3113-target_files-eng.charles.zip -d /tmp/targetfiles-aIUpBm
--- target info ---
blocksize                 = (int) 4096
boot_size                 = (int) 8388608
build.prop                = (dict) {'dalvik.vm.heapsize': '256m', 'ro.build.display.id': 'full_p3113-userdebug 4.3 JLS36G eng.charles.20130930.081902 test-keys', 'ro.wifi.channels': '', 'ro.config.ringtone': 'Ring_Synth_04.ogg', 'ro.build.characteristics': 'default', 'dalvik.vm.heaptargetutilization': '0.75', 'ro.build.product': 'p3113', 'dalvik.vm.heapstartsize': '5m', 'ro.build.host': 'archlinux', 'ro.product.name': 'full_p3113', 'ro.build.id': 'JLS36G', 'telephony.lteOnCdmaDevice': '0', 'ro.com.android.dateformat': 'MM-dd-yyyy', 'ro.carrier': 'unknown', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'ro.build.version.incremental': 'eng.charles.20130930.081902', 'ro.product.board': 'piranha', 'ro.build.tags': 'test-keys', 'dalvik.vm.heapminfree': '512k', 'ro.sf.lcd_density': '160', 'ro.build.version.sdk': '18', 'ro.build.date': 'Mon Sep 30 08:21:46 GMT 2013', 'dalvik.vm.lockprof.threshold': '500', 'dalvik.vm.heapmaxfree': '2m', 'ro.board.platform': 'omap4', 'ro.build.fingerprint': 'samsung/full_p3113/p3113:4.3/JLS36G/eng.charles.20130930.081902:userdebug/test-keys', 'ro.build.date.utc': '1380529306', 'ro.product.cpu.abi2': 'armeabi', 'ro.product.manufacturer': 'samsung', 'ro.build.user': 'charles', 'ro.product.locale.language': 'en', 'ro.product.device': 'p3113', 'ro.build.description': 'full_p3113-userdebug 4.3 JLS36G eng.charles.20130930.081902 test-keys', 'dalvik.vm.dexopt-flags': 'm=y', 'dalvik.vm.heapgrowthlimit': '48m', 'ro.product.locale.region': 'US', 'ro.product.cpu.abi': 'armeabi-v7a', 'rild.libargs': '-d /dev/ttys0', 'ro.product.brand': 'samsung', 'ro.build.version.release': '4.3', 'ro.build.version.codename': 'REL', 'net.bt.name': 'Android', 'ro.build.type': 'userdebug', 'ro.product.model': 'GT-P3113', 'ro.config.alarm_alert': 'Alarm_Classic.ogg', 'ro.config.notification_sound': 'pixiedust.ogg', 'rild.libpath': '/vendor/lib/libsec-ril.so'}
default_system_dev_certificate = (str) build/target/product/security/testkey
extfs_sparse_flag         = (str) -s
fs_type                   = (str) ext4
fstab                     = (dict) {'/cache': <common.Partition object at 0x26cb2d0>, '/preload': <common.Partition object at 0x26cb1d0>, '/system': <common.Partition object at 0x26cb190>, '/efs': <common.Partition object at 0x26cb310>, '/data': <common.Partition object at 0x26cb350>}
fstab_version             = (int) 2
mkbootimg_args            = (str) 
mkyaffs2_extra_flags      = (str) -c 4096 -s 128
recovery_api_version      = (int) 3
selinux_fc                = (str) /tmp/targetfiles-aIUpBm/BOOT/RAMDISK/file_contexts
system_size               = (int) 1073741824
tool_extensions           = (str) device/samsung/p3113/../common
userdata_size             = (int) 2147483648
using device-specific extensions in device/samsung/common
unable to load device-specific module; assuming none
building image from target_files BOOT...
  running:  mkbootfs -f /tmp/targetfiles-aIUpBm/META/boot_filesystem_config.txt /tmp/targetfiles-aIUpBm/BOOT/RAMDISK
  running:  minigzip
  running:  mkbootimg --kernel /tmp/targetfiles-aIUpBm/BOOT/kernel --base 0x40000000 --pagesize 4096 --ramdisk /tmp/tmpIUvuU5 --output /tmp/tmplLs730
building image from target_files RECOVERY...
  running:  mkbootfs -f /tmp/targetfiles-aIUpBm/META/recovery_filesystem_config.txt /tmp/targetfiles-aIUpBm/RECOVERY/RAMDISK
  running:  minigzip
  running:  mkbootimg --kernel /tmp/targetfiles-aIUpBm/RECOVERY/kernel --base 0x40000000 --pagesize 4096 --ramdisk /tmp/tmptgJUCb --output /tmp/tmpEzAS3v
  running:  imgdiff -b /tmp/targetfiles-aIUpBm/SYSTEM/etc/recovery-resource.dat /tmp/tmpS49gu0 /tmp/tmpAzyr1R /tmp/tmpdmUghh
Traceback (most recent call last):
  File "./build/tools/releasetools/ota_from_target_files", line 848, in <module>
    main(sys.argv[1:])
  File "./build/tools/releasetools/ota_from_target_files", line 816, in main
    WriteFullOTAPackage(input_zip, output_zip)
  File "./build/tools/releasetools/ota_from_target_files", line 416, in WriteFullOTAPackage
    MakeRecoveryPatch(OPTIONS.input_tmp, output_zip, recovery_img, boot_img)
  File "./build/tools/releasetools/ota_from_target_files", line 341, in MakeRecoveryPatch
    boot_type, boot_device = common.GetTypeAndDevice("/boot", OPTIONS.info_dict)
  File "/home/charles/work/android/source/aosp/android4.3/build/tools/releasetools/common.py", line 954, in GetTypeAndDevice
    return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device
KeyError: '/boot'
make: *** [out/target/product/p3113/full_p3113-ota-eng.charles.zip] Error 1

Please help me i am desperate  

Hamid Narimani

unread,
Jul 26, 2015, 11:52:51 PM7/26/15
to Android Building, charles...@gmail.com
Hi Charles,

Did you find the solution ?

I am having same issue.

Thanks

Charles-Eugène Loubao

unread,
Jul 26, 2015, 11:53:14 PM7/26/15
to Hamid Narimani, Android Building
It's been a long time ago and I didn't keep the source files. What I can tell you though is to try to build the DEBUG variant instead.
Reply all
Reply to author
Forward
0 new messages