| 19 Jan 2025 |
Atemu | https://github.com/nix-community/robotnix/blob/master/flavors/lineageos/supported_devices.toml | 23:10:31 |
Atemu | You need to add yours, hope that it follows a convention we can follow and run the device dir updater | 23:11:04 |
Atemu | A better device dir updater is currently in the works, maybe we'll have something to publish next week ;) | 23:12:06 |
| 21 Jan 2025 |
| oak 🏳️🌈♥️ changed their profile picture. | 22:36:01 |
| oak 🏳️🌈♥️ changed their profile picture. | 22:37:29 |
| 22 Jan 2025 |
waltmck | The following config still fails to build:
device = "cheeseburger";
flavor = "lineageos";
androidVersion = 15;
| 02:59:15 |
waltmck | build logs
| 03:10:06 |
Atemu | Without having looked at the logs because I'm on the phone, are you running OOM? | 03:16:31 |
Atemu | Cheeseburger builds fine for me | 03:16:45 |
Atemu | You need like 3-4GiB per thread at peak | 03:17:13 |
Atemu | Your memory config needs to be able to handle that. | 03:17:42 |
waltmck | I was using 48 threads and my desktop has 192gb of memory. I'll try fewer threads though | 03:33:48 |
Atemu | Well, did you run OOM? | 03:34:07 |
Atemu | Also is your nix-daemon's tmpdir on ramfs or disk? | 03:34:18 |
waltmck | How do I check if I ran out of memory? I don't see any log of oomkiller starting | 03:36:35 |
waltmck | I was just browsing the web waiting for it to finish, also didn't notice any interruption in interactivity | 03:37:02 |
waltmck | In reply to @atemu12:matrix.org Also is your nix-daemon's tmpdir on ramfs or disk? /tmp is on disk, I'm not sure what nix-daemon does but I didn't configure it to be on ramfs if that isn't the default | 03:37:36 |
waltmck | I'm trying again with fewer threads and keeping and eye on memory use | 03:40:47 |
waltmck | build just failed same as before and memory use never exceeded 40G | 03:41:15 |
Atemu | Okay took a look at the error and it's quite clear; wouldn't you say? ccache: error: Failed to create directory /var/cache/ccache/tmp: Not a directory | 04:01:25 |
Atemu | You turned on ccache and didn't configure it properly | 04:01:44 |
Atemu | You need to pierce the sandbox for ccache to make any sense | 04:02:42 |
Atemu | Documentation on that could be better but it lays out the requirements | 04:02:58 |
waltmck | ah, that was very silly | 04:21:21 |
waltmck | thank you! | 04:21:23 |
| 26 Jan 2025 |
| cadecadet joined the room. | 23:11:45 |
| 27 Jan 2025 |
| @panxer:matrix.org left the room. | 01:57:16 |
| autra joined the room. | 09:17:52 |
autra | Hi! I'm trying to setup robotnix to build latests los 22 for my fp3. I've added "FP3" to flavors/lineageos/supported_devices.toml and I'm executing flavors/lineageos/update.sh lineage-22.1. Some things seem to work correctly (flavors/lineageos/device-metadata.json and flavors/lineageos/lineage-22.1/repo.json are updated), but this script keeps failing with errors like:
subprocess.CalledProcessError: Command '['git', 'ls-remote', 'https://android.googlesource.com/platform/external/rust/crates/tower']' returned non-zero exit status 128.
(never the same repo).
What's going on? I feel like I'm getting rate limited (especially because there are 429 errors before)... Is it the case?
| 09:23:00 |
Atemu | Skip the repo update | 09:23:38 |