!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
31 Mar 2024
@eyjhb:eyjhb.dkeyJhbOnly to realise that's already what we're doing.15:26:56
@atemu12:matrix.orgatemu12Oh15:31:38
@eyjhb:eyjhb.dkeyJhbI might have found a solution.15:54:24
@eyjhb:eyjhb.dkeyJhbTrying after this current bisect stage.15:54:47
@eyjhb:eyjhb.dkeyJhbhttps://github.com/NixOS/nixpkgs/issues/26277516:11:41
@eyjhb:eyjhb.dkeyJhbI think I found the reason here.16:11:47
@eyjhb:eyjhb.dkeyJhb

/usr/lib and /usr/lib32 was removed from LD_LIBRARYPATH in fhsenv. Adding them back as

      in buildFHSUserEnv {
        name = "robotnix-build";
        targetPkgs = pkgs: config.envPackages;
        multiPkgs = pkgs: with pkgs; [ zlib ];
        profile = ''
          export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32
        '';
      };

16:12:23
@eyjhb:eyjhb.dkeyJhb *

/usr/lib and /usr/lib32 was removed from LD_LIBRARYPATH in fhsenv. Adding them back as

      in buildFHSUserEnv {
        name = "robotnix-build";
        targetPkgs = pkgs: config.envPackages;
        multiPkgs = pkgs: with pkgs; [ zlib ];
        profile = ''
          export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32
        '';
      };

Seems to fix the issue. Currently trying to build.

16:12:37
@eyjhb:eyjhb.dkeyJhbhttps://github.com/NixOS/nixpkgs/pull/26320116:13:10
@eyjhb:eyjhb.dkeyJhbThat was incredibly tiring.16:13:54
@atemu12:matrix.orgatemu12Huh so we did finally find a user of that 16:23:24
@atemu12:matrix.orgatemu12Thanks for figuring that out16:23:43
@atemu12:matrix.orgatemu12Though I still don't quite understand why it's necessary16:24:13
@atemu12:matrix.orgatemu12Because it shouldn't16:24:33
@atemu12:matrix.orgatemu12The dynamic linker should look inside those dirs16:24:56
@eyjhb:eyjhb.dkeyJhb perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory 16:25:51
@eyjhb:eyjhb.dkeyJhbOh ffs16:25:52
@eyjhb:eyjhb.dkeyJhb:(16:25:54
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
The dynamic linker should look inside those dirs
Isn't it just part of the "magic" that is Android?
16:26:13
@eyjhb:eyjhb.dkeyJhbimage.png
Download image.png
16:27:04
@eyjhb:eyjhb.dkeyJhbIt has a slight complaint16:27:06
@atemu12:matrix.orgatemu12libxcrypt-legacy16:28:17
@eyjhb:eyjhb.dkeyJhbTrying again :)16:29:26
@eyjhb:eyjhb.dkeyJhbRE the LD_PRELOAD I just placed placed all these as references https://github.com/NixOS/nixpkgs/issues/103648 https://github.com/NixOS/nixpkgs/issues/112266 https://github.com/NixOS/nixpkgs/issues/262775 https://github.com/NixOS/nixpkgs/pull/263201 https://github.com/NixOS/nixpkgs/pull/278361 16:33:47
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
libxcrypt-legacy
Added and stilll going
17:01:36
@eyjhb:eyjhb.dkeyJhbMakes it hard to play games however. I usually notice it has crashed when my game stops lagging.17:01:47
@eyjhb:eyjhb.dkeyJhb magic_rb: you asked about build time, right? buildPhase completed in 2 hours 5 minutes 44 seconds 18:35:44
@eyjhb:eyjhb.dkeyJhbBut that was with the ccache18:35:48
@eyjhb:eyjhb.dkeyJhb Made initial PR for the bump here :) Would be nice if nixpkgs could be updated 3 year old nixpkgs pinned :D https://github.com/nix-community/robotnix/pull/231 , however, there are a couple of things that should be discussed first. Not sure how viable it is to just say, "Run it with NIXPKGS_ALLOW_INSECURE=1, please" :) 20:08:16
@atemu12:matrix.orgatemu12 eyJhb: We could set config.allowInsecure 20:24:58

Show newer messages


Back to Room ListRoom Version: 6