| 3 Dec 2025 |
@roadroller01:matrix.org | * Why exacly does the manifast download go? Shouldn't just the host system install go?! here:
<project path="prebuilts/go/darwin-x86" name="platform/prebuilts/go/darwin-x86" groups="notdefault,platform-darwin,darwin,pdk,tradefed" clone-depth="1" remote="aosp" />
<project path="prebuilts/go/linux-x86" name="platform/prebuilts/go/linux-x86" groups="linux,pdk,tradefed" clone-depth="1" remote="aosp" />
| 06:10:42 |
@roadroller01:matrix.org | As I got an error because it didn't ship an aarch64 go prebuilt binary! | 06:13:05 |
@roadroller01:matrix.org | Or I might just remove them manually haha | 06:16:38 |
@roadroller01:matrix.org | Why does blueprint being used while it got archived four years ago?
https://github.com/google/blueprint | 19:04:44 |
@roadroller01:matrix.org | How exactly could I use/run modules/repo2nix.nix? (I am little bit nix noob) I didn't see anywhere in the project for an usage! | 20:13:20 |
| 4 Dec 2025 |
| Ido Samuelson joined the room. | 01:44:44 |
| onur-ozkan joined the room. | 04:20:29 |
waltmck | I think that I have enough ram. I get about a third of the way through the build before it fails with
FAILED: out/soong/.intermediates/packages/modules/Virtualization/build/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/microdroid_kernel
cp packages/modules/Virtualization/guest/kernel/android15-6.6/arm64/kernel-6.6 out/soong/.intermediates/packages/modules/Virtualization/build/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/microdroi>
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/build/out/host/linux-x86/bin/avbtool/__main__.py", line 12, in <module>
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "avbtool.py", line 5037, in <module>
File "avbtool.py", line 4824, in run
File "avbtool.py", line 4874, in add_hash_footer
File "avbtool.py", line 3476, in add_hash_footer
File "avbtool.py", line 790, in __init__
File "avbtool.py", line 807, in _read_header
PermissionError: [Errno 13] Permission denied: 'out/soong/.intermediates/packages/modules/Virtualization/build/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/microdroid_kernel'
| 06:49:30 |
waltmck | My config is
{
device = "lynx";
flavor = "lineageos";
flavorVersion = "22.2";
apps.fdroid.enable = true;
microg.enable = true;
}
| 06:50:10 |
Atemu | Ah, hmm; that usually means this file was generated while keeping the nix store permissions of the source files | 06:53:19 |
waltmck | I just bought a used pixel 9 pro so I'm going to try building for caiman | 06:54:01 |
Atemu | We have patches that make the builsystem chmod such instances but it's whack-a-mole | 06:54:16 |
Atemu | You'd have to figure out which part of the build puts this file in this place and how | 06:55:00 |
waltmck | seems like something a testing infrastructure would catch | 06:55:05 |
waltmck | though of course that is expensive | 06:55:20 |
Atemu | Very expensive lol | 06:55:34 |
Atemu | There's usually a call to a helper function in a Makefile where said helper needs to be patched or a manual invocation of cp or install; check the existing android version patches for reference | 06:57:20 |
Atemu | Wait, hold on | 06:58:15 |
Atemu | This is avbtool! | 06:58:31 |
Atemu | Pretty sure that runs after the actual build and is kinda separate? | 06:59:33 |
Atemu | Hm but you say it's halfway through the build | 07:00:06 |
Atemu | And the cause is probably the same | 07:00:17 |
Atemu | We could try to build at least some devices though as a representative smoke test | 07:01:22 |
Atemu | A mediatek device, a Pixel device, whatever differentiates lynx here etc. | 07:02:10 |
Atemu | We have CI resources via the nix-community. Someone would need to wire that up. If you could help out with that, it'd be much appreciated. | 07:03:24 |
waltmck | caiman fails with the same issue
robotnix-lineage_caiman> Traceback (most recent call last):
robotnix-lineage_caiman> File "<frozen runpy>", line 198, in _run_module_as_main
robotnix-lineage_caiman> File "<frozen runpy>", line 88, in _run_code
robotnix-lineage_caiman> File "/build/out/host/linux-x86/bin/avbtool/__main__.py", line 12, in <module>
robotnix-lineage_caiman> File "<frozen runpy>", line 198, in _run_module_as_main
robotnix-lineage_caiman> File "<frozen runpy>", line 88, in _run_code
robotnix-lineage_caiman> File "avbtool.py", line 5037, in <module>
robotnix-lineage_caiman> File "avbtool.py", line 4824, in run
robotnix-lineage_caiman> File "avbtool.py", line 4874, in add_hash_footer
robotnix-lineage_caiman> File "avbtool.py", line 3476, in add_hash_footer
robotnix-lineage_caiman> File "avbtool.py", line 790, in __init__
robotnix-lineage_caiman> File "avbtool.py", line 807, in _read_header
robotnix-lineage_caiman> PermissionError: [Errno 13] Permission denied: 'out/soong/.intermediates/packages/modules/Virtualization/build/microdroid/microdroid_kernel_signed/android_arm64_armv8-2a_cortex-a55/microdroid_kernel'
| 07:27:55 |
waltmck | are there any pixel models that are known to work I could try, to make sure that it isn't a local issue with my build machine? | 07:28:13 |
@roadroller01:matrix.org | How can i access my nushell and neovim within config.build.debugEnterEnv? | 19:53:36 |
@roadroller01:matrix.org | * How can i access my nushell and neovim within config.build.debugEnterEnv? | 19:53:50 |
| pentane (DECT CYPT/2978) changed their profile picture. | 20:02:53 |