!UUYziobKGGxpovWyAN:nixos.org

Robotnix

240 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix74 Servers

Load older messages


SenderMessageTime
22 Jan 2025
@atemu12:matrix.orgatemu12Well, did you run OOM?03:34:07
@atemu12:matrix.orgatemu12Also is your nix-daemon's tmpdir on ramfs or disk?03:34:18
@waltmck:matrix.orgwaltmckHow do I check if I ran out of memory? I don't see any log of oomkiller starting03:36:35
@waltmck:matrix.orgwaltmckI was just browsing the web waiting for it to finish, also didn't notice any interruption in interactivity03:37:02
@waltmck:matrix.orgwaltmck
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:matrix.orgwaltmckI'm trying again with fewer threads and keeping and eye on memory use03:40:47
@waltmck:matrix.orgwaltmckbuild just failed same as before and memory use never exceeded 40G03:41:15
@atemu12:matrix.orgatemu12 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
@atemu12:matrix.orgatemu12You turned on ccache and didn't configure it properly04:01:44
@atemu12:matrix.orgatemu12You need to pierce the sandbox for ccache to make any sense04:02:42
@atemu12:matrix.orgatemu12Documentation on that could be better but it lays out the requirements04:02:58
@waltmck:matrix.orgwaltmckah, that was very silly04:21:21
@waltmck:matrix.orgwaltmckthank you!04:21:23
26 Jan 2025
@cadecadet:matrix.orgcadecadet joined the room.23:11:45
27 Jan 2025
@panxer:matrix.org@panxer:matrix.org left the room.01:57:16
@autra:trancart.euautra joined the room.09:17:52
@autra:trancart.euautra

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
@atemu12:matrix.orgatemu12Skip the repo update09:23:38
@atemu12:matrix.orgatemu12New devices only need the device dir updates09:23:54
@atemu12:matrix.orgatemu12But yes, that's likely just a rate limit09:25:15
@autra:trancart.euautraThere is way to authenticate to android.googlesource.com to avoid that, but I don't know if robotnix supports that or not.09:27:28
@atemu12:matrix.orgatemu12You don't need to09:27:40
@autra:trancart.euautra So I don't use update.sh? (the command that fails is /mk_repo_file.py in this script) 09:28:12
@atemu12:matrix.orgatemu12You don't need to contact any googlesource.com sources09:28:16
@atemu12:matrix.orgatemu12Uncomment the repo update09:28:26
@atemu12:matrix.orgatemu12If you're motivated, you could build in an option to do that; PRs welcome09:29:23
@autra:trancart.euautrajust the "repo init" in mk_repo_file.py?09:32:28
@autra:trancart.euautraapparently not09:32:52
@atemu12:matrix.orgatemu12No the entire step09:32:55
@autra:trancart.euautraI've commented the call to mk_repo_file.py entirely09:33:05

Show newer messages


Back to Room ListRoom Version: 6