!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
5 Jun 2024
@erahhal:matrix.orgerahhal Ok, I think I'm getting somewhere... Calling breakfast instead of choosecombo seems to do the trick. 04:15:30
@erahhal:matrix.orgerahhalSorry for spamming here. Please let me know if my level of messaging is inappropriate.04:15:46
@erahhal:matrix.orgerahhal

This is what I'm currently working on:

robotnix-lineage_cheetah> FAILED:
robotnix-lineage_cheetah> In file included from tools/tradefederation/prebuilts/test_harness/Android.mk:55:
robotnix-lineage_cheetah> vendor/google/cheetah/Android.mk:9: error: vendor/google/cheetah/radio/abl.img SHA1 mismatch (8f468eae2412d469a892638518b83841fe1bf380 != 4e5ac9c69b8df933427d83c901bee75e7e777900).
robotnix-lineage_cheetah> 04:09:10 ckati failed with: exit status 1
error: builder for '/nix/store/2hkxwmn5yi63z33wkrs7z47l6bxvg4ak-robotnix-lineage_cheetah-2024060317.drv' failed with exit code 1;
       last 10 log lines:
       > [ 93% 296/315] including tools/platform-compat/Android.mk ...
       > [ 94% 297/315] including tools/test/connectivity/Android.mk ...
       > [ 94% 298/315] including tools/test/graphicsbenchmark/Android.mk ...
       > [ 94% 299/315] including tools/tradefederation/core/Android.mk ...
       > [ 95% 300/315] including tools/tradefederation/prebuilts/test_harness/Android.mk ...
       > [ 95% 301/315] including vendor/google/cheetah/Android.mk ...
       > FAILED:
       > In file included from tools/tradefederation/prebuilts/test_harness/Android.mk:55:
       > vendor/google/cheetah/Android.mk:9: error: vendor/google/cheetah/radio/abl.img SHA1 mismatch (8f468eae2412d469a892638518b83841fe1bf380 != 4e5ac9c69b8df933427d83c901bee75e7e777900).
       > 04:09:10 ckati failed with: exit status 1
       For full logs, run 'nix log /nix/store/2hkxwmn5yi63z33wkrs7z47l6bxvg4ak-robotnix-lineage_cheetah-2024060317.drv'.
error: 1 dependencies of derivation '/nix/store/zvkg6c7yhbsc2m65gk0z8sjymj35p7rf-cheetah-factory-2024060317.zip.drv' failed to build

04:16:30
@erahhal:matrix.orgerahhalTrying to figure out where the build system is getting that hash04:38:50
@erahhal:matrix.orgerahhal Ahhhh, the radio files are using git lfs 05:25:57
@erahhal:matrix.orgerahhal Manually updated the vendor.json entry for cheetah setting fetchLFS to true to no effect. digging into why this is not working. 05:50:46
@samueldr:matrix.orgsamueldrdid you update the hash?05:52:16
@erahhal:matrix.orgerahhalNo, trying that now.06:03:24
@samueldr:matrix.orgsamueldroverall, remember that Nix trusts you when you tell it what the hash of a thing is06:15:02
@erahhal:matrix.orgerahhalI pulled down the LFS repo, then realized I don't know what I should be hashing06:15:25
@erahhal:matrix.orgerahhalNo idea how to get the hash for an LFS repo06:15:36
@erahhal:matrix.orgerahhalBetter yet, how should the update_device_dirs.py script know that a repo has LFS files? I guess that would be specifically flagged similar to other devices with special cases?06:19:39
@erahhal:matrix.orgerahhal Did the old trick of corrupting the hash to see what Nix would expect, and it still wants to old hash despite fetchLFS being true. 06:24:21
@samueldr:matrix.orgsamueldrthe "old trick" is "TOFU"; trust on first use06:24:52
@samueldr:matrix.orgsamueldrand yeah06:24:56
@samueldr:matrix.orgsamueldrthough I guess you need something else06:25:09
@samueldr:matrix.orgsamueldr(haven't touched robotnix in a while)06:25:14
@erahhal:matrix.orgerahhal
In reply to @samueldr:matrix.org
the "old trick" is "TOFU"; trust on first use
Learned a new term
06:25:34
@samueldr:matrix.orgsamueldrit's the name of the pattern like with SSH where you are asked to "trust on first use" [though you should also check really]06:26:19
@samueldr:matrix.orgsamueldrT&COFU doesn't have a good sound to it06:26:32
@erahhal:matrix.orgerahhalSo to be clear, even if the hash is changed, it will ignore the updated properties until it finds a new matching hash?06:28:18
@erahhal:matrix.orgerahhalotherwise erroring out and ignoring the props06:28:40
@samueldr:matrix.orgsamueldrit would have tried to fetch the thing, however it's configured to fetch06:32:45
@samueldr:matrix.orgsamueldrso it sounds like, from our back and forth, that what youdid is not proper for it to fetch the LFS bits06:33:05
@samueldr:matrix.orgsamueldrthough sorry, gotta go06:33:22
@erahhal:matrix.orgerahhalyeah definitely, digging into it.06:36:26
@erahhal:matrix.orgerahhalThanks for your help06:36:29
@erahhal:matrix.orgerahhalPerhaps this is why the google stuff was in gitlab for lineage 206:39:53
@erahhal:matrix.orgerahhal * Perhaps this is why the google stuff was in gitlab for lineage 2906:39:55
@erahhal:matrix.orgerahhal * Perhaps this is why the google stuff was in gitlab for lineage 2006:39:58

Show newer messages


Back to Room ListRoom Version: 6