| 4 Dec 2025 |
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 ⭔ changed their profile picture. | 20:02:53 |
| 5 Dec 2025 |
| 👉@crystallinefire:chat.solarpunk.moe changed their display name from EVA-01 to 👉@crystallinefire:chat.solarpunk.moe. | 17:16:43 |
| 7 Dec 2025 |
mio | Redacted or Malformed Event | 00:02:03 |
mio | * maybe linux kernel update caused this failure. Last time I was able to build with no error on similar configuration
| 00:02:19 |
mio | Redacted or Malformed Event | 00:02:30 |
mio | Redacted or Malformed Event | 03:45:51 |
mio | Redacted or Malformed Event | 03:52:07 |
mio | Redacted or Malformed Event | 03:54:40 |