!kFJOpVCFYFzxqjpJxm:nixos.org

Nix HPC

72 Members
Nix for High Perfomance Computing clusters18 Servers

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


SenderMessageTime
14 Nov 2022
@jcie74:matrix.orgpie_

Ok, so it is util-linux, but I'm pretty sure it's also rebuilding python every time...

error: builder for '/nix/store/4f54gwg5jhknxdpgfcayp4k76nyv3w64-util-linux-static-x86_64-unknown-linux-musl-2.37.4.drv' failed with exit code 2;
       last 10 log lines:
       > /nix/store/0r52lb67wqwbh6awlagnpbhciaakcqxn-x86_64-unknown-linux-musl-binutils-2.35.2/bin/x86_64-unknown-linux-musl-ld: /nix/store/bxdkvd3djqf9z3wigjcsbx6yshnc9vfn-linux-pam-static-x86_64-unknown-linux-musl-1.5.1/lib/libpam.a(pam_audit.o): in function `_pam_auditlog':
       > (.text+0x337): undefined reference to `audit_close'
       > /nix/store/0r52lb67wqwbh6awlagnpbhciaakcqxn-x86_64-unknown-linux-musl-binutils-2.35.2/bin/x86_64-unknown-linux-musl-ld: /nix/store/bxdkvd3djqf9z3wigjcsbx6yshnc9vfn-linux-pam-static-x86_64-unknown-linux-musl-1.5.1/lib/libpam.a(pam_audit.o): in function `pam_modutil_audit_write':
       > (.text+0x541): undefined reference to `audit_close'
       > collect2: error: ld returned 1 exit status
       > make[2]: *** [Makefile:7396: chsh] Error 1
       > make[2]: Leaving directory '/tmp/nix-build-util-linux-static-x86_64-unknown-linux-musl-2.37.4.drv-0/util-linux-2.37.4'
       > make[1]: *** [Makefile:14611: all-recursive] Error 1
       > make[1]: Leaving directory '/tmp/nix-build-util-linux-static-x86_64-unknown-linux-musl-2.37.4.drv-0/util-linux-2.37.4'
       > make: *** [Makefile:6321: all] Error 2
       For full logs, run 'nix log /nix/store/4f54gwg5jhknxdpgfcayp4k76nyv3w64-util-linux-static-x86_64-unknown-linux-musl-2.37.4.drv'.
error: 1 dependencies of derivation '/nix/store/nam1fgzycp7viggn8xphdac43f9ana0j-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y5f3dr38vmzn3d24ialzrn09w88yrqhj-libarchive-static-x86_64-unknown-linux-musl-3.5.3.drv' failed to build
building '/nix/store/c6xs1gzmnikhnfk9yxviq5gswlg9hh8j-talloc-static-x86_64-unknown-linux-musl-2.3.3.drv'...
error: 1 dependencies of derivation '/nix/store/gzc1xw5h2q5a686wd4jafrpmlk8hs1yl-proot-static-x86_64-unknown-linux-musl-5.2.0.drv' failed to build
13:32:40
@jcie74:matrix.orgpie_Oh hm, proot has an enablePython, and it seems like util-linux isn't even a direct dependency of proot. I'm not sure what's pulling it in. The error above is pam related, and util-linux also has pamSupport.13:47:36
@jcie74:matrix.orgpie_It would be nice if why-depends had a mode that didn't require a successful build...13:47:55
@jcie74:matrix.orgpie_

Though I imagine it's probably related to one of these.

these 5 derivations will be built:
  /nix/store/2spfjgh2vpn9r6yk4yw082943rci8jjx-zstd-static-x86_64-unknown-linux-musl-1.5.2.drv
  /nix/store/4f54gwg5jhknxdpgfcayp4k76nyv3w64-util-linux-static-x86_64-unknown-linux-musl-2.37.4.drv
  /nix/store/nam1fgzycp7viggn8xphdac43f9ana0j-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5.drv
  /nix/store/y5f3dr38vmzn3d24ialzrn09w88yrqhj-libarchive-static-x86_64-unknown-linux-musl-3.5.3.drv
  /nix/store/32l2s1szabqzgij3g9yx0za2zmlriyna-proot-static-x86_64-unknown-linux-musl-5.2.0.drv
13:49:29
@jcie74:matrix.orgpie_Though those could also just be fails somewhere in the deptree :/13:50:05
@jcie74:matrix.orgpie_per nix-store -q --tree its proot -> libarchive -> e2fsprogs -> util-linux (I think)13:53:53
@jcie74:matrix.orgpie_but I dont understand why proot is depending on libarchive13:54:03
@jcie74:matrix.orgpie_Its not directly specified in the nix expression afaict.13:54:13
@jcie74:matrix.orgpie_Well, I'm stumped.16:06:50
@jcie74:matrix.orgpie_Ok, this is terrible and I still have no idea why things are the way they are, but earlier today I got this to work:22:50:06
@jcie74:matrix.orgpie_ * Ok, this is terrible and I still have no idea why things are the way they are, but earlier today I got this to build:22:50:11
@jcie74:matrix.orgpie_ nix-build --option max-jobs 1 --option cores 1 -I nixpkgs=channel:nixos-21.11 -E "with import <nixpkgs> { overlays = [ (self: super: { libarchive = super.libarchive.override (o: { e2fsprogs = super.hello; }); }) ]; }; (pkgsStatic.proot.override (o: { enablePython = false; })).overrideAttrs (o: { preUnpack = ''export PATH=\"\$PATH\":\${pkgsStatic.pkg-config}/bin;\${git}/bin''; })" 22:50:41
@jcie74:matrix.orgpie_(literally. It can probably be cleaned up a bit.)22:51:01
15 Nov 2022
@jcie74:matrix.orgpie_
             Ok, the next problem is I cant seem to run anything because the dynamic linker fails
02:01:19
@jcie74:matrix.orgpie_
newfstatat(3, "", 0x7fffe4a41460, AT_EMPTY_PATH) = -1 EINVAL (Invalid argument)

Turns out:
AT_EMPTY_PATH (since Linux 2.6.39)
I'm on 2.6.32

02:02:12
@jcie74:matrix.orgpie_ *
Ok, the next problem is I cant seem to run anything because the dynamic linker fails
02:02:34
@jcie74:matrix.orgpie_ * Ok, the next problem is I cant seem to run anything because the dynamic linker fails02:02:44
@jcie74:matrix.orgpie_And I'm not sure what to do here again02:03:08
@jcie74:matrix.orgpie_(besides ask for a kernel upgrade...)02:03:22
@jcie74:matrix.orgpie_I could possibly try building things with an earlier libc I suppose02:03:59
@jcie74:matrix.orgpie_though also thats basically rebuild the world afaik02:04:17
@jcie74:matrix.orgpie_well, modulo some hacks, I think using musl is working20:26:15

Show newer messages


Back to Room ListRoom Version: 9