| 7 Oct 2025 |
| martijn set a profile picture. | 10:55:56 |
| 8 Oct 2025 |
| @haauler:matrix.org left the room. | 10:43:33 |
| 9 Oct 2025 |
| @notgne2:wizbos.club left the room. | 19:56:13 |
| 11 Oct 2025 |
cornu | hi all, i tried to run the example from the readme ($ nix-build "https://github.com/nix-community/robotnix/archive/master.tar.gz" --arg configuration '{ device = "FP4"; flavor = "lineageos"; }' -A img)) and i get an error:
Any help?
| 19:55:02 |
cornu | * hi all, i tried to run the example from the readme ($ nix-build "https://github.com/nix-community/robotnix/archive/master.tar.gz" --arg configuration '{ device = "FP4"; flavor = "lineageos"; }' -A img)) and i get an error:
...
[ 98% 129/131] link out/host/linux-x86/bin/go/soong_build/obj/soong_build
[ 99% 130/131] cp out/host/linux-x86/bin/soong_build
[100% 131/131] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_FP4.ninja
FAILED: out/soong/build.lineage_FP4.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out" --soong_variables out/soong/soong.lineage_FP4.variables -o out/soong/build.lineage_FP4.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.lineage_FP4.build Android.bp
Warning: Module 'androidx.wear_wear' depends on non-existing optional_uses_libs 'wear-sdk'
Warning: Module 'androidx.wear.compose_compose-foundation' depends on non-existing optional_uses_libs 'wear-sdk'
Warning: Module 'webview' depends on non-existing optional_uses_libs 'com.android.extensions.xr'
11:16:42 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.
Any help?
| 19:55:43 |
pentane ⭔ | huh | 20:24:39 |
pentane ⭔ | that shouldn't happen | 20:24:43 |
pentane ⭔ | gonna try to reproduce | 20:24:47 |
pentane ⭔ | are you sure that it's not an OOM issue? That part of the build is quite RAM hungry (needs >30GiB) | 20:25:31 |
cornu | ah that's possible, i was trying with only 8gb, will try on another machine :+1: | 21:28:25 |
pentane ⭔ | ahh yeah that's not enough ;) | 21:31:44 |
| 12 Oct 2025 |
cornu | yeah it was the missing RAM, as it was so early it seemed like a missing dependency ... but more than 32GiB is just insane, some years ago it was possible to build android with 8GiB and some swap. Thank you for the quick help! | 19:21:31 |
pentane ⭔ | happy to hear that! | 19:21:45 |
cornu | Has anyone tried to build the emulator (https://wiki.lineageos.org/emulator) and run it? (device: sdk_phone_x86_64) | 19:22:53 |
pentane ⭔ | Oh yeah, supporting that is on my to-do list | 19:23:20 |
pentane ⭔ | what happens if you just put in device = sdk_phone_x86_64? | 19:23:33 |
cornu | it's building ... will report back tomorrow ;) | 19:24:27 |
pentane ⭔ | nice! | 19:33:52 |
pentane ⭔ | which target are you building? | 19:33:57 |
pentane ⭔ | * which nix derivation from config.build are you building? | 19:34:12 |
| tea joined the room. | 20:36:09 |
| 14 Oct 2025 |
| von joined the room. | 01:45:33 |
atemu12 | In reply to @cyclopentane:aidoskyneen.eu Oh yeah, supporting that is on my to-do list I fixed it earlier this year, so I think it should work? | 11:38:08 |
atemu12 | Might need to set the device arch though | 11:39:51 |
| 15 Oct 2025 |
| volth joined the room. | 01:15:13 |
volth | nix-build -E "with (import ./default.nix {
configuration = {
flavor = "lineageos";
flavorVersion = "22.2";
device = "sdk_phone_x86_64";
}
}); factoryImg'
built successfully. the only question is how to run it :) probably we need .iso or .qcow2 outputs akin to BlissRoms
| 14:38:33 |
atemu12 | @volth:matrix.org there's an emulator output | 16:08:00 |
atemu12 | It's a wrapper that directly runs the emulator | 16:08:19 |
atemu12 | With correct image and all | 16:08:31 |
volth | not actually, but it is a good point to start:
INFO | Android emulator version 36.3.2.0 (build_id 14184492) (CL:N/A)
INFO | Graphics backend: gfxstream
INFO | Found systemPath /nix/store/nabl5nqq1hz6mns1cvmx8fss7v9c9yd7-fake-sdk/system-images/android/x86_64/
FATAL | QEMU2 emulator does not support arm64 CPU architecture
| 17:14:43 |