It looks like brillo_update_payload is missing -- for some reason we don't seem to have a dependency on that tool. Does running `m -j brillo_update_payload` then running your build again fix the issue? You may need to run "m -j otatools" if something else is missing too.
- Dan On Mon, Apr 17, 2017 at 2:06 PM Aaron Rieder <[email protected]> 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 <(214)%20748-3648> > 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]. > For more options, visit https://groups.google.com/d/optout. > -- -- 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]. For more options, visit https://groups.google.com/d/optout.
