!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

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


SenderMessageTime
31 Oct 2024
@pxc:matrix.orgpxc when I tried building utf-8-validate (the latest version) by itself, as part of nodePackages, it worked when I added node-gyp and libtool, but I think the deps needed by the older version pulled in by @microsoft/signalr might be different 20:00:35
@pxc:matrix.orgpxcsure thing, 1 sec20:00:38
@pxc:matrix.orgpxchere's the build log: https://pastebin.com/2VP96FLp20:02:31
@pxc:matrix.orgpxc here's an existing Nixpkgs issue that points to a piece of the breakage that was already solved (macOS needs perl in the nativeBuildInputs for bitwarden-cli since utf-8-validate uses perl one-liners in its gyp config: https://github.com/NixOS/nixpkgs/issues/339576 20:03:51
@pxc:matrix.orgpxc and I don't totally know what to make of them, but some of the conditional gyp bindings in different versions of that dep seem instructive somehow. In the latest version of utf-8-validate, binding.gyp looks like this: https://github.com/websockets/utf-8-validate/blob/master/binding.gyp 20:11:12
@lily:lily.flowersLily Foster
In reply to @pxc:matrix.org
here's the build log: https://pastebin.com/2VP96FLp
it's building the x86_64 validator as aarch64...?
20:15:17
@pxc:matrix.orgpxcyeah20:15:26
@pxc:matrix.orgpxcthere are a small number of occurrences of this problem in other packages as well, unresolved20:15:49
@pxc:matrix.orgpxc when I got the latest version of utf-8-validate to build by itself, adding libtool to the buildInputs made it stop doing this, it seems 20:16:10
@lily:lily.flowersLily Fosteri can't even tell if the upstream dep is busted at 5.0.10 or if it's darwin sdk fuckery that might be fixed on master as of this morning20:16:12
@pxc:matrix.orgpxc the conditions in binding.gyp seem more sophisticated in that latest version than in some others that appear in the tree 20:16:48
@pxc:matrix.orgpxc utf-8-validate is a dependency of @wessberg/ts-evaluator as well but I don't see it in my node_modules when debugging with nix-shell 20:17:23
@emilazy:matrix.orgemily doesn't look particularly SDK-refactor-related but I strongly encourage rebasing on current master all the same 20:17:27
@pxc:matrix.orgpxc * utf-8-validate is a dependency of @wessberg/ts-evaluator as well but I don't see it in my node_modules when debugging with nix-shell/nix develop 20:17:29
@lily:lily.flowersLily Foster
In reply to @pxc:matrix.org
the conditions in binding.gyp seem more sophisticated in that latest version than in some others that appear in the tree
sophistication isn't what changed. it's that they stopped building "fat" binaries with both x86_64 and aarch64 object code in them at the same time
20:17:51
@pxc:matrix.orgpxchere's the old version: https://pastebin.com/XDxvjsgs20:18:36
@pxc:matrix.orgpxcyeah20:18:37
@emilazy:matrix.orgemily10.7 deployment target, nice20:18:53
@pxc:matrix.orgpxcyeah the logs emitted a warning about that but I have no intuitions about whether it's meaningful20:19:21

Show newer messages


Back to Room ListRoom Version: 6