!kFJOpVCFYFzxqjpJxm:nixos.org

Empty Room

60 Members
19 Servers

Load older messages


SenderMessageTime
3 Nov 2022
@madouura:matrix.orgMadourahttps://github.com/ROCmSoftwarePlatform/rocBLAS/issues/127702:32:02
5 Nov 2022
@markuskowa:matrix.orgmarkuskowa joined the room.17:14:15
7 Nov 2022
@madouura:matrix.orgMadoura

So I don't have to copy/paste the entire chat log, please check: https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$HKubKzcJR12uwnZB7A1ymr8jeY-iE31wstzwfMOLC3Q?via=nixos.org&via=matrix.org&via=nixos.dev
Starting from:

Is this the right place to have a discussion about something that could possibly be put on the official hydra, or a hydra-adjacent server? It concerns MIOpen.

15:03:30
@madouura:matrix.orgMadoura *

So I don't have to copy/paste the entire chat log, please check: https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$HKubKzcJR12uwnZB7A1ymr8jeY-iE31wstzwfMOLC3Q?via=nixos.org&via=matrix.org&via=nixos.dev
Starting in #dev:nixos.org from:

Is this the right place to have a discussion about something that could possibly be put on the official hydra, or a hydra-adjacent server? It concerns MIOpen.

15:04:08
10 Nov 2022
@rdg:matrix.orgrdg joined the room.11:27:05
14 Nov 2022
@jcie74:matrix.orgpie_I'm about to try using proot to get nix on a 10 year old kernel12:25:07
@jcie74:matrix.orgpie_waiting for the static build to hopefully work right now...12:25:20
@jcie74:matrix.orgpie_The idea is to use nix to get steam-run to hopefully be able to run a headless unity application on an hpc node.12:30:29
@jcie74:matrix.orgpie_
In reply to @jcie74:matrix.org
I'm about to try using proot to get nix on a 10 year old kernel
:/ proot build breaks...
13:10:59
@jcie74:matrix.orgpie_I'm not sure why. It's breaking somewhere in util-linux I think but I have to check.13:11:19
@jcie74:matrix.orgpie_Oh, no, actually it's python :/13:12:45
@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

Show newer messages


Back to Room ListRoom Version: 9