!UUYziobKGGxpovWyAN:nixos.org

Robotnix

245 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix76 Servers

Load older messages


SenderMessageTime
7 Jun 2024
@erahhal:matrix.orgerahhalscrolling up on the build errors16:54:15
@erahhal:matrix.orgerahhalFound it!16:55:08
@erahhal:matrix.orgerahhalRedacted or Malformed Event16:55:15
@atemu12:matrix.orgatemu12Hey, I was reading that D:16:55:39
@erahhal:matrix.orgerahhalIt wasn't complete16:55:46
@erahhal:matrix.orgerahhal
robotnix-lineage_cheetah> cp packages/modules/Virtualization/microdroid/kernel/arm64/kernel-6.1 out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel && out/host/linux-x86/bin/avbtool add_hash_footer --partition_name boot --dynamic_partition_size --key external/avb/test/data/testkey_rsa4096.pem --algorithm SHA256_RSA4096 --salt 3b4a12881d11f33cff968a24d7c53723a8232cde9a8d91e29fdbd6a95ae6adf0 --include_descriptors_from_image out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_initrd_normal_hashdesc/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_initrd_normal_hashdesc.img --include_descriptors_from_image out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_initrd_debug_hashdesc/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_initrd_debug_hashdesc.img --image out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel # hash of input list: 03513da9ab88c5e552975434c22c10e2693d917d5a60be82b3a4aa7a77cbf831
robotnix-lineage_cheetah> usage: avbtool add_hash_footer [-h] [--image IMAGE]
robotnix-lineage_cheetah>                                [--partition_size PARTITION_SIZE]
robotnix-lineage_cheetah>                                [--dynamic_partition_size]
robotnix-lineage_cheetah>                                [--partition_name PARTITION_NAME]
robotnix-lineage_cheetah>                                [--hash_algorithm HASH_ALGORITHM] [--salt SALT]
robotnix-lineage_cheetah>                                [--calc_max_image_size]
robotnix-lineage_cheetah>                                [--output_vbmeta_image OUTPUT_VBMETA_IMAGE]
robotnix-lineage_cheetah>                                [--do_not_append_vbmeta_image]
robotnix-lineage_cheetah>                                [--algorithm ALGORITHM] [--key KEY]
robotnix-lineage_cheetah>                                [--signing_helper APP]
robotnix-lineage_cheetah>                                [--signing_helper_with_files APP]
robotnix-lineage_cheetah>                                [--public_key_metadata KEY_METADATA]
robotnix-lineage_cheetah>                                [--rollback_index ROLLBACK_INDEX]
robotnix-lineage_cheetah>                                [--rollback_index_location ROLLBACK_INDEX_LOCATION]
robotnix-lineage_cheetah>                                [--append_to_release_string STR]
robotnix-lineage_cheetah>                                [--prop KEY:VALUE] [--prop_from_file KEY:PATH]
robotnix-lineage_cheetah>                                [--kernel_cmdline CMDLINE]
robotnix-lineage_cheetah>                                [--setup_rootfs_from_kernel IMAGE]
robotnix-lineage_cheetah>                                [--include_descriptors_from_image IMAGE]
robotnix-lineage_cheetah>                                [--print_required_libavb_version]
robotnix-lineage_cheetah>                                [--chain_partition PART_NAME:ROLLBACK_SLOT:KEY_PATH]
robotnix-lineage_cheetah>                                [--chain_partition_do_not_use_ab PART_NAME:ROLLBACK_SLOT:KEY_PATH]
robotnix-lineage_cheetah>                                [--flags FLAGS] [--set_hashtree_disabled_flag]
robotnix-lineage_cheetah>                                [--use_persistent_digest] [--do_not_use_ab]
robotnix-lineage_cheetah> avbtool add_hash_footer: error: argument --image: can't open 'out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_
16:55:52
@erahhal:matrix.orgerahhalugh, still not complete16:56:12
@erahhal:matrix.orgerahhalone sec16:56:14
@erahhal:matrix.orgerahhal *
robotnix-lineage_cheetah> FAILED: out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel
robotnix-lineage_cheetah> cp packages/modules/Virtualization/microdroid/kernel/arm64/kernel-6.1 out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel && out/host/linux-x86/bin/avbtool add_hash_footer --partition_name boot --dynamic_partition_size --key external/avb/test/data/testkey_rsa4096.pem --algorithm SHA256_RSA4096 --salt 3b4a12881d11f33cff968a24d7c53723a8232cde9a8d91e29fdbd6a95ae6adf0 --include_descriptors_from_image out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_initrd_normal_hashdesc/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_initrd_normal_hashdesc.img --include_descriptors_from_image out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_initrd_debug_hashdesc/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_initrd_debug_hashdesc.img --image out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel # hash of input list: 03513da9ab88c5e552975434c22c10e2693d917d5a60be82b3a4aa7a77cbf831
robotnix-lineage_cheetah> usage: avbtool add_hash_footer [-h] [--image IMAGE]
robotnix-lineage_cheetah>                                [--partition_size PARTITION_SIZE]
robotnix-lineage_cheetah>                                [--dynamic_partition_size]
robotnix-lineage_cheetah>                                [--partition_name PARTITION_NAME]
robotnix-lineage_cheetah>                                [--hash_algorithm HASH_ALGORITHM] [--salt SALT]
robotnix-lineage_cheetah>                                [--calc_max_image_size]
robotnix-lineage_cheetah>                                [--output_vbmeta_image OUTPUT_VBMETA_IMAGE]
robotnix-lineage_cheetah>                                [--do_not_append_vbmeta_image]
robotnix-lineage_cheetah>                                [--algorithm ALGORITHM] [--key KEY]
robotnix-lineage_cheetah>                                [--signing_helper APP]
robotnix-lineage_cheetah>                                [--signing_helper_with_files APP]
robotnix-lineage_cheetah>                                [--public_key_metadata KEY_METADATA]
robotnix-lineage_cheetah>                                [--rollback_index ROLLBACK_INDEX]
robotnix-lineage_cheetah>                                [--rollback_index_location ROLLBACK_INDEX_LOCATION]
robotnix-lineage_cheetah>                                [--append_to_release_string STR]
robotnix-lineage_cheetah>                                [--prop KEY:VALUE] [--prop_from_file KEY:PATH]
robotnix-lineage_cheetah>                                [--kernel_cmdline CMDLINE]
robotnix-lineage_cheetah>                                [--setup_rootfs_from_kernel IMAGE]
robotnix-lineage_cheetah>                                [--include_descriptors_from_image IMAGE]
robotnix-lineage_cheetah>                                [--print_required_libavb_version]
robotnix-lineage_cheetah>                                [--chain_partition PART_NAME:ROLLBACK_SLOT:KEY_PATH]
robotnix-lineage_cheetah>                                [--chain_partition_do_not_use_ab PART_NAME:ROLLBACK_SLOT:KEY_PATH]
robotnix-lineage_cheetah>                                [--flags FLAGS] [--set_hashtree_disabled_flag]
robotnix-lineage_cheetah>                                [--use_persistent_digest] [--do_not_use_ab]
robotnix-lineage_cheetah> avbtool add_hash_footer: error: argument --image: can't open 'out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_
16:56:43
@erahhal:matrix.orgerahhalok16:56:46
@atemu12:matrix.orgatemu12This smells like there should be even more log here16:57:37
@erahhal:matrix.orgerahhalI wonder if it's because it's not pulling down the right kernel branch16:57:40
@erahhal:matrix.orgerahhalWhat I was talking about above. It's currently using main16:57:57
@erahhal:matrix.orgerahhalwhich is not right16:57:59
@atemu12:matrix.orgatemu12The avbtool might be a red herring16:58:01
@atemu12:matrix.orgatemu12This is clearly concerning the kernel build16:58:52
@atemu12:matrix.orgatemu12It's odd because I think it's only triggered from within the AOSP build?16:59:13
@erahhal:matrix.orgerahhalHere's the rest of that last line:16:59:16
@erahhal:matrix.orgerahhal robotnix-lineage_cheetah> avbtool add_hash_footer: error: argument --image: can't open 'out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel': [Errno 13] Permission denied: 'out/soong/.intermediates/packages/modules/Virtualization/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/4b56b5210baead69529bad02297ac604/microdroid_kernel' 16:59:28
@erahhal:matrix.orgerahhalThe kernel is pulled from AOSP for the pixel 7 pro17:00:02
@erahhal:matrix.orgerahhalIt's just using the wrong branch at the moment17:00:14
@atemu12:matrix.orgatemu12That looks like a different issue17:01:17
@atemu12:matrix.orgatemu12You shouldn't be getting permission denied on the build dir17:01:31
@atemu12:matrix.orgatemu12That smells like an issue we patch around where the build system copies the permissions of the src which in our case is in the nix store17:02:07
@erahhal:matrix.orgerahhalOk, I could have messed up the patches17:02:29
@erahhal:matrix.orgerahhalit's one of the first things I did when I started this. I'll review those17:02:40
@erahhal:matrix.orgerahhalI'll get the right branch of the kernel while I'm at it17:03:03
@atemu12:matrix.orgatemu12It could also simply be that there's now more places you need to patch 17:03:21
@atemu12:matrix.orgatemu12I had to do that for android 13 too17:03:26
@atemu12:matrix.orgatemu12You need to dig into the makefile of that step to figure out what function it uses17:05:46

Show newer messages


Back to Room ListRoom Version: 6