!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

945 Members
For people hacking on the Nix package manager itself201 Servers

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


SenderMessageTime
14 Nov 2024
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)That was it! Thank you :)18:55:04
@alina:kescher.at@alina:kescher.at left the room.21:09:09
15 Nov 2024
@k0kada:matrix.org@k0kada:matrix.org left the room.12:36:24
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)

Yesterday I got an error in a Nix build which was using Ninja (nothing new there, bad CMake config). However, I noticed I was able to reliably reproduce a Nix error: https://gist.github.com/ConnorBaker/5cebac5224ab430e67ee25d7a5bd0224

bad JSON log message from builder: [json.exception.parse_error.101] parse error at line 1, column 65539: syntax error while parsing array - invalid literal; last read: <snipped>

Any idea if there's a limit on the length of the output from a build? I believe this was using a remote builder if that's any help.

18:04:25
@artturin:matrix.orgArtturin
In reply to @connorbaker:matrix.org

Yesterday I got an error in a Nix build which was using Ninja (nothing new there, bad CMake config). However, I noticed I was able to reliably reproduce a Nix error: https://gist.github.com/ConnorBaker/5cebac5224ab430e67ee25d7a5bd0224

bad JSON log message from builder: [json.exception.parse_error.101] parse error at line 1, column 65539: syntax error while parsing array - invalid literal; last read: <snipped>

Any idea if there's a limit on the length of the output from a build? I believe this was using a remote builder if that's any help.

I wonder what --log-format internal-json will show?
18:41:36
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) Running it again with that flag. For what it's worth, when I built locally and used sudo (so no daemon) I didn't get the error. 19:24:41
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) *

Running it again with that flag. For what it's worth, when I built locally and used sudo (so no daemon) I didn't get the error -- which is to say I saw

cuda12.6-onnxruntime> /nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin/ld: cannot find -lcudnn_frontend: No such file or directory
cuda12.6-onnxruntime> collect2: error: ld returned 1 exit status
cuda12.6-onnxruntime> ninja: build stopped: subcommand failed.
19:25:05
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) Here's the end of the log with --log-format internal-json https://gist.github.com/ConnorBaker/6af002385527635deefdce7982d2acb1 19:31:08
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) *

Running it again with that flag. For what it's worth, when I built locally and used sudo (so no daemon) I didn't get the error -- which is to say I saw

cuda12.6-onnxruntime> /nix/store/va7kw1i822h95im4jacci19v0cqajfyf-binutils-2.43.1/bin/ld: cannot find -lcudnn_frontend: No such file or directory
cuda12.6-onnxruntime> collect2: error: ld returned 1 exit status
cuda12.6-onnxruntime> ninja: build stopped: subcommand failed.
error: builder for '/nix/store/w9nxvfann68v2am1kym3hkyxmc4a8p1f-cuda12.6-onnxruntime-1.20.0-unstable-2024-11-14.drv' failed with exit code 1
19:31:58
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) Weird that in the internal-json log output I can see \nFor full logs, run '\u001b[1mnix log /nix/store/w9nxvfann68v2am1kym3hkyxmc4a8p1f-cuda12.6-onnxruntime-1.20.0-unstable-2024-11-14.drv, but that in the log immediately above that output never shows up. 19:32:36
16 Nov 2024
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) set a profile picture.10:47:55
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @mightyiam:matrix.org

Is anyone interested in the core dump for this?

nix-repl> :env
Env level 0
static: step swayMsgPath pactl incVol toggleMuteSources

Env level 1


terminating due to unexpected unrecoverable internal error: Unexpected condition in operator[] at src/libexpr/symbol-table.hh:119
zsh: abort (core dumped)  nix build --debugger
It did some light digging in lldb here, but wasn't able to get to the root cause. https://github.com/NixOS/nix/issues/11286#issuecomment-2398006754. It's a use-after-free
10:53:48
@catalin:one.ems.hostViorel-Cătălin Răpițeanu changed their display name from @catalin:one.ems.host to Viorel-Cătălin Răpițeanu.18:22:43
18 Nov 2024
@aktaboot:tchncs.deaktaboot changed their profile picture.08:03:09
@joerg:thalheim.ioMic92https://github.com/NixOS/nixpkgs/pull/356983 fix darwin nix static build15:11:38
@flacks:matrix.orgflacks joined the room.16:27:06
@domagojding:matrix.org@domagojding:matrix.org joined the room.19:36:58
19 Nov 2024
@jade_:matrix.orgjade_
In reply to @connorbaker:matrix.org

Yesterday I got an error in a Nix build which was using Ninja (nothing new there, bad CMake config). However, I noticed I was able to reliably reproduce a Nix error: https://gist.github.com/ConnorBaker/5cebac5224ab430e67ee25d7a5bd0224

bad JSON log message from builder: [json.exception.parse_error.101] parse error at line 1, column 65539: syntax error while parsing array - invalid literal; last read: <snipped>

Any idea if there's a limit on the length of the output from a build? I believe this was using a remote builder if that's any help.

we have fixed this bug in lix
08:51:37
@jade_:matrix.orgjade_ it clumsily parses anything that says @nix in the output as json, which is used for setPhase inside stdenv that shows the phase in the progress bar, like, unpackPhase, etc 08:52:48

Show newer messages


Back to Room ListRoom Version: 6