!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

You have reached the beginning of time (for this room).


SenderMessageTime
6 Jun 2024
@eyjhb:eyjhb.dkeyJhbOr is there something missing?11:10:46
@eyjhb:eyjhb.dkeyJhbIt basically just updates the prefetch-script to match the one in nixpkgs, with the added patches, and passes on fetchLFS11:11:04
@erahhal:matrix.orgerahhalNo, I haven't tried your work, I will try it today!13:50:48
@eyjhb:eyjhb.dkeyJhb
In reply to @erahhal:matrix.org
No, I haven't tried your work, I will try it today!

* I make no guarantees however. But I just remember getting such errors as you were getting :p

It might need to be modified.

14:02:14
@erahhal:matrix.orgerahhalMade it to the next step with your change!20:35:18
@erahhal:matrix.orgerahhal

Now hitting:

ccache: error: Failed to create directory /var/cache/ccache/tmp: Not a directory 

Seems relatively straightfoward to address. digging into it now

20:35:39
@erahhal:matrix.orgerahhalDoes the build happen in in a chroot jail or something? I created this folder and it's still complaining21:29:35
@samueldr:matrix.orgsamueldrNix builds happen in the Nix sandbox21:33:40
@samueldr:matrix.orgsamueldrso poking holes through requires some additional configuration21:33:48
@erahhal:matrix.orgerahhalAh ok. seems like it would be best to create that directory in the sandbox rather than poking holes. i'll see if I can do that21:34:26
@erahhal:matrix.orgerahhal I'll try adding a mkdir command right before running make 21:35:06
@erahhal:matrix.orgerahhalthough21:35:15
@erahhal:matrix.orgerahhalthere is no point to ccache if it's disappearing after the build right?21:35:23
@erahhal:matrix.orgerahhalHow did this option work before? Seems that it must have had access to some persistent host folder21:36:35
@erahhal:matrix.orgerahhalDisabled ccache and now 1200 files into the build, looking pretty good so far21:47:06
@atemu12:matrix.orgatemu12As Samuel said, ccache requires configuration of the daemon22:03:42
@erahhal:matrix.orgerahhaloh, I didn't understand that, got it22:04:35
@jaen:matrix.orgjaen
In reply to @erahhal:matrix.org
How did this option work before? Seems that it must have had access to some persistent host folder
It's extra-sandbox-paths IIRC, if you want to know what to google for. Incidentally, since we're on the topic of ccache — does it need anything else other than a directory (say, programs.ccache.enable = true or something)?
22:04:37
@atemu12:matrix.orgatemu12Enabling it without persistence is counter-productive as ccache makes cache misses a little slower actually22:04:55
@atemu12:matrix.orgatemu12Just the dir22:05:24
@erahhal:matrix.orgerahhalWhen I first tried robotnix a while back with a supported phone and OS version it worked with ccache enabled and no daemon settings22:05:36
@atemu12:matrix.orgatemu12Ccache manages that don its own22:05:41
@atemu12:matrix.orgatemu12Did you have a working sandbox back then?22:06:19
@erahhal:matrix.orgerahhalI didn't even know about the sandbox until today :)22:06:39
@erahhal:matrix.orgerahhalI'm still a relative novice with Nix22:06:57

Show newer messages


Back to Room ListRoom Version: 6