!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

569 Members
124 Servers

Load older messages


SenderMessageTime
12 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)
( FAILED )  job 12    t/integration/failed.t0m
< REASON >  job 12    Test script returned error (Err: 1)
< REASON >  job 12    Errors were encountered (Count: 1)
< REASON >  job 12    Assertion failures were encountered (Count: 1)
< REASON >  job 12    Subtest failures were encountered (Count: 1)
( FAILED )  job 13    t/integration/help.t
< REASON >  job 13    Test script returned error (Err: 1)
< REASON >  job 13    Assertion failures were encountered (Count: 1)
< REASON >  job 13    Subtest failures were encountered (Count: 1)
20:54:20
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Has been for some time. Noticed this in the Nix repo20:58:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I think I've seen this on i686?20:59:42
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)hmm, I only notice it on this staging-next, a few weeks ago it wasn't failing21:38:25
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) Does anyone know why pytest fails with ┃ error: build of '/nix/store/3haz9vxnx4v0fl5vadyzspy3kbx4rp05-python3.13-pytest-8.4.2-aarch64-unknown-linux-musl.drv' on 'ssh-ng://nix-ssh@m2u' failed: output '/nix/store/1vh3vhp6kf04350d6sjs… ┃ /nix/store/d29jvsi1x76l0bbwd704srmmsijfbl8a-python3-3.13.8 on musl? 23:51:07
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I guess hooks sometimes produce bad references in outputs?23:52:02
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)specifically in the case of cross 23:52:37
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI just noticed it and asked in main nixpkgs channel. we disabled wrapper hook on pytest and it was supposed to replace shebangs to make use of host23:52:55
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahttps://github.com/NixOS/nixpkgs/commit/84dced5a94ed901362dc6e285d0ac0c08ba671ff23:53:13
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)This blocks musl pretty hard23:54:21
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
I have absolutely no clue how I can meaningfully
test this aside from kind of yoloing it into staging.

WELP

23:54:23
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)at least with the default pkgs.nixos 23:54:25
@ihar.hrachyshka:matrix.orgIhar Hrachyshkayeah a lot of broken pieces...23:54:36
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Yeah it's unfortunate that they didn't test adequately 23:54:37
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Did they just not have a big enough machine to perform testing? They could have asked?23:54:53
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Can we revert it?23:56:03
@ihar.hrachyshka:matrix.orgIhar Hrachyshkamaybe? I am not sure they were aware this could affect cross. So even if they'd rebuild the main variant tree, they would not catch it.23:56:41
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)It seems to effect native too 23:56:58
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahave a repro?23:57:18
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Ah no just nom playing tricks23:57:33
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI doubt pytest is broken in main...23:57:39
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) nix build .#legacyPackages.aarch64-linux.pkgsMusl.pkgsLLVM.python3Packages.pytest -L 23:58:14
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)that would do it though 23:58:19
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaa revert would get cross scenario fixed... but I assume they were dealing with some other legit issue, so it would be unfortunate to regress there.23:58:27
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathe dontWrap thing seems like a footgun. I tried some other packages using it - and surely enough they are broken for cross.23:59:23
13 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)it's pkgsLLVM that breaks actually00:00:28
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)pkgsMusl is fine00:00:31
@ihar.hrachyshka:matrix.orgIhar HrachyshkapkgsStatic is broken.00:01:30
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)pkgsLLVM is not static?00:02:11
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)
build/lib.linux-aarch64-cpython-313
┃        > copying re2.py -> build/lib.linux-aarch64-cpython-313
┃        > running build_ext
┃        > building '_re2' extension
┃        > creating build/temp.linux-aarch64-cpython-313
┃        > g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/nix/store/qn8bgs2v6cfr4daqrrlip7ssxpscbs93-python3-3.13.8/include/python3.13 -c _re2.cc -o build/temp.linux-aa…
┃        > _re2.cc:252:1: error: cannot convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
┃        >   252 | };
┃        >       | ^
┃        > _re2.cc:296:1: error: cannot convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
┃        >   296 | };
┃        >       | ^
┃        > _re2.cc:340:1: error: cannot convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
┃        >   340 | };
┃        >       | ^
┃        > _re2.cc:870:1: warning: ‘PyObject* regexp_set_new(PyTypeObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function]
┃        >   870 | regexp_set_new(PyTypeObject* type, PyObject* args, PyObject* kwds)
┃        >       | ^~~~~~~~~~~~~~
┃        > _re2.cc:195:1: warning: ‘int _no_setattr(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function]
┃        >   195 | _no_setattr(PyObject* obj, PyObject* name, PyObject* v) {
┃        >       | ^~~~~~~~~~~
┃        > error: command '/nix/store/rh7likr8a227i3wgfir10wsl0gnrjw1y-gcc-wrapper-14.3.0/bin/g++' failed with exit code 1
┃        For full logs, run:
┃          nix log /nix/store/936aknd5zqv6w16v30rwh57q3g68fggh-python3.13-fb-re2-1.0.7.drv
┣━ Dependency Graph:
┃             ┌─ ⏸ security-wrapper-sudo-aarch64-unknown-linux-musl-aarch64-linux
00:02:15

Show newer messages


Back to Room ListRoom Version: 6