custom android rom build failed generating payload

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

custom android rom build failed generating payload

Brandon Shawhan
i compile and use benzorom as my daily driver. i have a unique error when i build since latest commits.

[0612/180331.208367:ERROR:payload_generation_config.cc(126)] No valid postinstall config found. [0612/180331.208456:FATAL:generate_delta_main.cc(563)] Check failed: payload_config.target.LoadPostInstallConfig(store).  /home/brandonabandon/benzo/out/host/linux-x86/bin/../lib64/libchrome.so(base::debug::StackTrace::StackTrace(unsigned long)+0x17) [0x7f1fd75dfd37] /home/brandonabandon/benzo/out/host/linux-x86/bin/../lib64/libchrome.so(logging::LogMessage::~LogMessage()+0x87) [0x7f1fd756d017] out/host/linux-x86/bin/delta_generator(+0xb390a) [0x558a2c8af90a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1fd70241e3] out/host/linux-x86/bin/delta_generator(+0xafc29) [0x558a2c8abc29]

out/host/linux-x86/bin/brillo_update_payload: line 594: 12310 Aborted  (core dumped) "${GENERATOR}" "${GENERATOR_ARGS[@]}" 2020-06-12 18:03:49 - ota_from_target_files - ERROR   :     ERROR: Traceback (most recent call last):   File "build/make/tools/releasetools/ota_from_target_files", line 2409, in <module>
    main(sys.argv[1:])   File "build/make/tools/releasetools/ota_from_target_files", line 2335, in main
    source_file=OPTIONS.incremental_source)   File "build/make/tools/releasetools/ota_from_target_files", line 2097, in WriteABOTAPackageWithBrilloScript
    payload.Generate(target_file, source_file, additional_args)   File "build/make/tools/releasetools/ota_from_target_files", line 568, in Generate
    common.RunAndCheckOutput(cmd)   File "/home/brandonabandon/benzo/build/make/tools/releasetools/common.py", line 258, in RunAndCheckOutput
    args, proc.returncode, output)) ExternalError: Failed to run command '['brillo_update_payload', 'generate', '--payload', '/home/brandonabandon/benzo/out/soong/.temp/payload-3HIhWt.bin', '--target_image', '/home/brandonabandon/benzo/out/soong/.temp/targetfiles-dFVy6x.zip', '--max_timestamp', '1591986687']' (exit code 134): Extracting images for full update. Detected .zip file, extracting Brillo image. List of A/B partitions for DST_PARTITIONS: boot system vbmeta dtbo product vendor Converting Android sparse image product.img to RAW. Extracted DST_PARTITIONS[vbmeta]: 4096 bytes Extracted DST_PARTITIONS[product]: 314572800 bytes Extracted DST_PARTITIONS[dtbo]: 8388608 bytes Converting Android sparse image vendor.img to RAW. Extracted DST_PARTITIONS[vendor]: 805306368 bytes Extracted DST_PARTITIONS[boot]: 67108864 bytes Converting Android sparse image system.img to RAW. Extracted DST_PARTITIONS[system]: 2952790016 bytes Generating full update. Running delta_generator with args:
--out_file=/home/brandonabandon/benzo/out/soong/.temp/payload-3HIhWt.bin
--partition_names=boot:system:vbmeta:dtbo:product:vendor --new_partitions=/home/brandonabandon/benzo/out/soong/.temp/boot.img.qMJf19:/home/brandonabandon/benzo/out/soong/.temp/system.img.T5XMXx:/home/brandonabandon/benzo/out/soong/.temp/vbmeta.img.xzvGTZ:/home/brandonabandon/benzo/out/soong/.temp/dtbo.img.biuy1v:/home/brandonabandon/benzo/out/soong/.temp/product.img.csm5rV:/home/brandonabandon/benzo/out/soong/.temp/vendor.img.1zZBpo
--new_mapfiles=::::: --major_version=2 --max_timestamp=1591986687 --new_postinstall_config_file=/home/brandonabandon/benzo/out/soong/.temp/postinstall_config.HZARnG
--dynamic_partition_info_file=/home/brandonabandon/benzo/out/soong/.temp/dynamic_partitions_info.D7JwTT [0612/180331.208367:ERROR:payload_generation_config.cc(126)] No valid postinstall config found. [0612/180331.208456:FATAL:generate_delta_main.cc(563)] Check failed: payload_config.target.LoadPostInstallConfig(store).  /home/brandonabandon/benzo/out/host/linux-x86/bin/../lib64/libchrome.so(base::debug::StackTrace::StackTrace(unsigned long)+0x17) [0x7f1fd75dfd37] /home/brandonabandon/benzo/out/host/linux-x86/bin/../lib64/libchrome.so(logging::LogMessage::~LogMessage()+0x87) [0x7f1fd756d017] out/host/linux-x86/bin/delta_generator(+0xb390a) [0x558a2c8af90a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1fd70241e3] out/host/linux-x86/bin/delta_generator(+0xafc29) [0x558a2c8abc29]

out/host/linux-x86/bin/brillo_update_payload: line 594: 12310 Aborted  (core dumped) "${GENERATOR}" "${GENERATOR_ARGS[@]}"


any ideas why the payload is failing?

--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/dc1e434c-2ad7-4724-9e21-9ba136f8469ao%40googlegroups.com.