!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
29 Mar 2024
@magic_rb:matrix.redalder.orgmagic_rbMy flight is at 7pm lmao, just coming early, so that in case the train hit a cow or smth i wouldnt miss the flight13:16:31
@magic_rb:matrix.redalder.orgmagic_rbLast time it hit a car, no casualities tho13:19:02
@cybershadow:cy.mdCyberShadow
In reply to @eyjhb:eyjhb.dk
First part of building does not respect --cores btw...
That's a bug on our side, right?
20:31:51
@eyjhb:eyjhb.dkeyJhb
In reply to @cybershadow:cy.md
That's a bug on our side, right?
Ehm... Maybe. I would assume so. At least I think it could be fixed :)
22:15:30
@eyjhb:eyjhb.dkeyJhb @CyberShadow i meant to ask, how did you find all the additional paths/things that needed signing? 23:04:37
@eyjhb:eyjhb.dkeyJhb(in the pr you made)23:04:48
30 Mar 2024
@m4tzess:matrix.orgMathis changed their display name from Mathis (Old) to Mathis.02:22:47
@cybershadow:cy.mdCyberShadow
In reply to @eyjhb:eyjhb.dk
Ehm... Maybe. I would assume so. At least I think it could be fixed :)
Well, it prints the path of the file it expects to find. So, I kept adding files to the list according to the error messages and re-running until it was happy.
06:31:55
@eyjhb:eyjhb.dkeyJhbOh okay :) i guess it changes from phone to phone them07:33:54
@eyjhb:eyjhb.dkeyJhbThen*07:33:58
@cybershadow:cy.mdCyberShadowI'm sure it does. I'm also not sure if it even makes sense to be using separate keys for all these applications; I think it should be OK to use the same key for all of them.15:02:29
@eyjhb:eyjhb.dkeyJhbLooked at the latest PR RE strict mode, had one suggestion, but I tested it and it works asIs21:48:38
@eyjhb:eyjhb.dkeyJhb * Looked at the latest PR RE strict mode, had one suggestion, but I tested it and it works as-is21:48:39
@eyjhb:eyjhb.dkeyJhbTried to work on getting the nixpkgs version up-to-date with 23.11, but that's a challenge.. Stuck on trynig to get clang things to work with lineageos.. Something something ncurses not being found. 23:08:24
@eyjhb:eyjhb.dkeyJhbBut doing the same trick as in grapheneos requres a bigger change than expected.23:08:43
@eyjhb:eyjhb.dkeyJhbAlso, not suer how ot avaid NIXPKGS_ALLOW_INSECURE, as some places "require" python2 for building. Mostly older Android versions.23:09:42
@eyjhb:eyjhb.dkeyJhb* Also, not suer how to avoid NIXPKGS_ALLOW_INSECURE, as some places "require" python2 for building. Mostly older Android versions.23:18:40
31 Mar 2024
@atemu12:matrix.orgatemu12 eyJhb: If they become a bother, feel free to drop them 01:31:22
@atemu12:matrix.orgatemu12Though if you can, I'd prefer simply only including them optionally depending on the android version01:31:46
@eyjhb:eyjhb.dkeyJhbThe first thing I'm trying to do, is to get it to build by specifying the allow insecure envvar. Then I can check which ones I can bump to python208:17:49
@eyjhb:eyjhb.dkeyJhb* The first thing I'm trying to do, is to get it to build by specifying the allow insecure envvar. Then I can check which ones I can bump to python308:17:54
@eyjhb:eyjhb.dkeyJhbThe current issue is the clang thing08:18:04
@eyjhb:eyjhb.dkeyJhb

But I bumped the entire flake.lock, I don't think that's ideal.

@Atemu is there a good reason for unstable and 21.11 pin? Couldn't it just be 21.11 or something?

08:44:04
@eyjhb:eyjhb.dkeyJhbOr just be unstable. Not sure which is better.08:44:12
@atemu12:matrix.orgatemu12Nono other than that I haven't been able to make them work10:40:55
@eyjhb:eyjhb.dkeyJhbFair :D10:55:55
@eyjhb:eyjhb.dkeyJhb

It seems like lineage needs the same treatment as grapheneos after bumping to 23.11, as shown here https://github.com/nix-community/robotnix/blob/c54c511b3aa3e827e7ae320d604646a0ecc7c96c/flavors/grapheneos/kernel.nix#L25-L36 , I've just initially tested it by adding

      "prebuilts/clang/host/linux-x86/clang-3289846".src = pkgs.stdenv.mkDerivation rec {
        name = "lol";
        src = config.source.dirs."prebuilts/clang/host/linux-x86".src + "/clang-3289846";
        buildInputs2 = with pkgs; [
          zlib ncurses5 libedit
          stdenv.cc.cc.lib # For libstdc++.so.6
          python39 # LLDB links against this particular version of python
        ];

        postPatch = ''
          ls -al 
          # rm -r python3
        '';

        buildInputs = with pkgs; buildInputs2 ++ [ autoPatchelfHook ];
        installPhase = ''
          runHook preInstall
          rm -f env-vars
          cp -r . $out
          runHook postInstall
        '';
        
        autoPatchelfIgnoreMissingDeps=true; # Ignore missing liblog.so
      };

To the source.repos in flavours/lineageos/default.nix. Most likely it needs to reside a different place. Maybe.

12:37:36
@eyjhb:eyjhb.dkeyJhb Feel broken, mostly because I'm not sure what I am even doing. Atemu is lineageos using a prebuilt kernel, and the vanilla and grapheneos is not? Ie. they are built using robotnix? 12:54:13
@eyjhb:eyjhb.dkeyJhb
out/host/linux-x86/bin/bcc_strip_attr: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 38% 60763/157478] bc lib: libclcore_g.bc_32 (out/target/product/FP4/obj_arm/RENDERSCRIPT_BITCODE/libclcore_g.bc_intermediates/libclcore_g.bc)
FAILED: out/target/product/FP4/obj_arm/RENDERSCRIPT_BITCODE/libclcore_g.bc_intermediates/libclcore_g.bc
13:03:13
@eyjhb:eyjhb.dkeyJhbFun, now it just fails further about libncurses.so.5 complaints. Not sure what changed in nixpkgs, that warrants these errors all of the sudden13:03:36

Show newer messages


Back to Room ListRoom Version: 6