!UUYziobKGGxpovWyAN:nixos.org

Robotnix

227 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix68 Servers

Load older messages


SenderMessageTime
4 Dec 2025
@waltmck:matrix.orgwaltmck

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:matrix.orgwaltmck

My config is

{
  device = "lynx";
  flavor = "lineageos";
  flavorVersion = "22.2";

  apps.fdroid.enable = true;
  microg.enable = true;
}
06:50:10
@atemu12:matrix.orgAtemuAh, hmm; that usually means this file was generated while keeping the nix store permissions of the source files06:53:19
@waltmck:matrix.orgwaltmckI just bought a used pixel 9 pro so I'm going to try building for caiman06:54:01
@atemu12:matrix.orgAtemuWe have patches that make the builsystem chmod such instances but it's whack-a-mole06:54:16
@atemu12:matrix.orgAtemuYou'd have to figure out which part of the build puts this file in this place and how06:55:00
@waltmck:matrix.orgwaltmckseems like something a testing infrastructure would catch06:55:05
@waltmck:matrix.orgwaltmckthough of course that is expensive06:55:20
@atemu12:matrix.orgAtemuVery expensive lol06:55:34
@atemu12:matrix.orgAtemu 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
@atemu12:matrix.orgAtemuWait, hold on06:58:15
@atemu12:matrix.orgAtemuThis is avbtool!06:58:31
@atemu12:matrix.orgAtemuPretty sure that runs after the actual build and is kinda separate?06:59:33
@atemu12:matrix.orgAtemuHm but you say it's halfway through the build07:00:06
@atemu12:matrix.orgAtemuAnd the cause is probably the same07:00:17
@atemu12:matrix.orgAtemuWe could try to build at least some devices though as a representative smoke test07:01:22
@atemu12:matrix.orgAtemuA mediatek device, a Pixel device, whatever differentiates lynx here etc.07:02:10
@atemu12:matrix.orgAtemuWe 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:matrix.orgwaltmck

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:matrix.orgwaltmckare 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@roadroller01:matrix.orgHow can i access my nushell and neovim within config.build.debugEnterEnv?19:53:36
@roadroller01:matrix.org@roadroller01:matrix.org * How can i access my nushell and neovim within config.build.debugEnterEnv? 19:53:50
@cyclopentane:aidoskyneen.eupentane ⭔ changed their profile picture.20:02:53
5 Dec 2025
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from EVA-01 to 👉@crystallinefire:chat.solarpunk.moe.17:16:43
7 Dec 2025
@mio:chat.mio19.ukmioRedacted or Malformed Event00:02:03
@mio:chat.mio19.ukmio *

maybe linux kernel update caused this failure. Last time I was able to build with no error on similar configuration

00:02:19
@mio:chat.mio19.ukmioRedacted or Malformed Event00:02:30
@mio:chat.mio19.ukmioRedacted or Malformed Event03:45:51
@mio:chat.mio19.ukmioRedacted or Malformed Event03:52:07
@mio:chat.mio19.ukmioRedacted or Malformed Event03:54:40

There are no newer messages yet.


Back to Room ListRoom Version: 6