For the particular failure, it was looking for delta_generator but failed. Try `m -j otatools` to build all the required tools before calling ota_from_target_files.
On Fri, Aug 30, 2019 at 10:37 AM Vishnu M J <[email protected]> wrote: > Hi > > Have you got it to work. I am having this same with building Android 7. > > On Tuesday, April 18, 2017 at 2:36:34 AM UTC+5:30, Aaron Rieder wrote: >> >> Good Morning All, >> >> I'm attempting to build using the steps on the AOSP website, however the >> builds appear to be failing after about an 2 and a half - 3 hours with the >> following: >> >> selinux_fc = (str) >> out/target/product/sailfish/obj/PACKAGING/target_files_intermediates/aosp_sailfish-target_files-eng.aaron/META/file_contexts.bin >> squashfs_sparse_flag = (str) -s >> system_root_image = (str) true >> system_size = (int) 2147483648 >> system_verity_block_device = (str) /dev/block/bootdevice/by-name/system >> tool_extensions = (str) device/google/marlin/sailfish/../common >> userdata_size = (int) 10737418240 >> vendor_verity_block_device = (str) /dev/block/bootdevice/by-name/vendor >> verity = (str) true >> verity_fec = (str) true >> verity_key = (str) build/target/product/security/verity >> verity_signer_cmd = (str) verity_signer >> running: openssl pkcs8 -in build/target/product/security/testkey.pk8 >> -inform DER -nocrypt -out /tmp/key-ucSeBO.key >> running: brillo_update_payload generate --payload >> /tmp/payload-45UjbA.bin --target_image >> out/target/product/sailfish/obj/PACKAGING/target_files_intermediates/aosp_sailfish-target_files-eng.aaron.zip >> Traceback (most recent call last): >> File "./build/tools/releasetools/ota_from_target_files", line 1443, in >> <module> >> main(sys.argv[1:]) >> File "./build/tools/releasetools/ota_from_target_files", line 1321, in >> main >> source_file=OPTIONS.incremental_source) >> File "./build/tools/releasetools/ota_from_target_files", line 1028, in >> WriteABOTAPackageWithBrilloScript >> p1 = common.Run(cmd, stdout=log_file, stderr=subprocess.STDOUT) >> File "/media/storage/android/build/make/tools/releasetools/common.py", >> line 115, in Run >> return subprocess.Popen(args, **kwargs) >> File "/usr/lib/python2.7/subprocess.py", line 390, in __init__ >> errread, errwrite) >> File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child >> raise child_exception >> OSError: [Errno 2] No such file or directory >> ninja: build stopped: subcommand failed. >> 00:52:33 ninja failed with: exit status 1 >> build/core/main.mk:21: recipe for target 'run_soong_ui' failed >> make: *** [run_soong_ui] Error 1 >> >> #### make failed to build some targets (03:08:02 (hh:mm:ss)) #### >> >> >> I'm not totally sure what is causing the build to fail...but if anyone >> has any advice I'd be very appreciative. >> >> Thank you! >> > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/016038a0-c104-467a-918c-e48670e9c579%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/016038a0-c104-467a-918c-e48670e9c579%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAFpit0BvuDEJ2_o3ucpFA3M6XNT4_KOOPQ_EJBDK6xRZgdnzRw%40mail.gmail.com.
