| 16 Oct 2025 |
matthewcroughan | yeah here's one https://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2F6xi1bfv9ndvsqxl4d12pf69i9zf78r0y-musl-static-aarch64-unknown-linux-musl-1.2.5.drv/log?via-job=12eff0bd-584c-4702-a61a-6e8f2964d6be | 19:38:33 |
matthewcroughan | dramforever:
| 20:20:36 |
matthewcroughan | * dramforever:
> FAILED: [code=1] libnixexpr.so
┃ > aarch64-unknown-linux-musl-g++ -o libnixexpr.so libnixexpr.so.p/meson-generated_.._parser-tab.cc.o libnixexpr.so.p/meson-generated_.._lexer-tab.cc.o libnixexpr.so.p/attr-path.cc.o libnixexpr.so.p/attr-set.cc.o libnixexpr.so.p/eval-cache.cc.o libnixexpr.so.p/eval-error.cc.o libnixexpr.so.p/eval-gc.cc.o libnixexpr.so.p/eval-profiler-settings.cc.o libnixexpr.so.p/eval-p…
┃ > /nix/store/bifvnbzdcmm08kmvwj655a5dsyrh27l6-fortify-headers-1.1alpine3/include/stdio.h: In function '__to_xstring.constprop':
┃ > /nix/store/bifvnbzdcmm08kmvwj655a5dsyrh27l6-fortify-headers-1.1alpine3/include/stdio.h:80:28: error: inlining failed in call to 'always_inline' 'vsnprintf': function body can be overwritten at link time
┃ > 80 | _FORTIFY_FN(vsnprintf) int vsnprintf(char * _FORTIFY_POS0 __s, size_t __n,
┃ > | ^
┃ > /nix/store/v458d50aj6bcw0a0zzvkyiixyfakcz40-aarch64-unknown-linux-musl-gcc-14.3.0/include/c++/14.3.0/ext/string_conversions.h:113:32: note: called from here
┃ > 113 | const int __len = __convf(__s, __n, __fmt, __args);
┃ > | ^
┃ > make: *** [/build/ccCwh0jE.mk:86: /build/cccuMbHY.ltrans28.ltrans.o] Error 1
┃ > make: *** Waiting for unfinished jobs....
┃ > lto-wrapper: fatal error: make returned 2 exit status
┃ > compilation terminated.
┃ > /nix/store/pyfh6ldzdr8m3xkpxi60cjg6abha8r7i-aarch64-unknown-linux-musl-binutils-2.44/bin/aarch64-unknown-linux-musl-ld: error: lto-wrapper failed
┃ > collect2: error: ld returned 1 exit status
┃ > ninja: build stopped: subcommand failed.
┃ For full logs, run:
┃ nix log /nix/store/82aawiy1fids0wp7n9y8d18issf6d00a-nix-expr-aarch64-unknown-linux-musl-2.31.2.drv
`1``
| 20:20:40 |
matthewcroughan | * dramforever:
> FAILED: [code=1] libnixexpr.so
┃ > aarch64-unknown-linux-musl-g++ -o libnixexpr.so libnixexpr.so.p/meson-generated_.._parser-tab.cc.o libnixexpr.so.p/meson-generated_.._lexer-tab.cc.o libnixexpr.so.p/attr-path.cc.o libnixexpr.so.p/attr-set.cc.o libnixexpr.so.p/eval-cache.cc.o libnixexpr.so.p/eval-error.cc.o libnixexpr.so.p/eval-gc.cc.o libnixexpr.so.p/eval-profiler-settings.cc.o libnixexpr.so.p/eval-p…
┃ > /nix/store/bifvnbzdcmm08kmvwj655a5dsyrh27l6-fortify-headers-1.1alpine3/include/stdio.h: In function '__to_xstring.constprop':
┃ > /nix/store/bifvnbzdcmm08kmvwj655a5dsyrh27l6-fortify-headers-1.1alpine3/include/stdio.h:80:28: error: inlining failed in call to 'always_inline' 'vsnprintf': function body can be overwritten at link time
┃ > 80 | _FORTIFY_FN(vsnprintf) int vsnprintf(char * _FORTIFY_POS0 __s, size_t __n,
┃ > | ^
┃ > /nix/store/v458d50aj6bcw0a0zzvkyiixyfakcz40-aarch64-unknown-linux-musl-gcc-14.3.0/include/c++/14.3.0/ext/string_conversions.h:113:32: note: called from here
┃ > 113 | const int __len = __convf(__s, __n, __fmt, __args);
┃ > | ^
┃ > make: *** [/build/ccCwh0jE.mk:86: /build/cccuMbHY.ltrans28.ltrans.o] Error 1
┃ > make: *** Waiting for unfinished jobs....
┃ > lto-wrapper: fatal error: make returned 2 exit status
┃ > compilation terminated.
┃ > /nix/store/pyfh6ldzdr8m3xkpxi60cjg6abha8r7i-aarch64-unknown-linux-musl-binutils-2.44/bin/aarch64-unknown-linux-musl-ld: error: lto-wrapper failed
┃ > collect2: error: ld returned 1 exit status
┃ > ninja: build stopped: subcommand failed.
┃ For full logs, run:
┃ nix log /nix/store/82aawiy1fids0wp7n9y8d18issf6d00a-nix-expr-aarch64-unknown-linux-musl-2.31.2.drv
| 20:20:43 |
matthewcroughan | * dramforever:
> FAILED: [code=1] libnixexpr.so
┃ > aarch64-unknown-linux-musl-g++ -o libnixexpr.so libnixexpr.so.p/meson-generated_.._parser-tab.cc.o libnixexpr.so.p/meson-generated_.._lexer-tab.cc.o libnixexpr.so.p/attr-path.cc.o libnixexpr.so.p/attr-set.cc.o libnixexpr.so.p/eval-cache.cc.o libnixexpr.so.p/eval-error.cc.o libnixexpr.so.p/eval-gc.cc.o libnixexpr.so.p/eval-profiler-settings.cc.o libnixexpr.so.p/eval-p…
┃ > /nix/store/bifvnbzdcmm08kmvwj655a5dsyrh27l6-fortify-headers-1.1alpine3/include/stdio.h: In function '__to_xstring.constprop':
┃ > /nix/store/bifvnbzdcmm08kmvwj655a5dsyrh27l6-fortify-headers-1.1alpine3/include/stdio.h:80:28: error: inlining failed in call to 'always_inline' 'vsnprintf': function body can be overwritten at link time
┃ > 80 | _FORTIFY_FN(vsnprintf) int vsnprintf(char * _FORTIFY_POS0 __s, size_t __n,
┃ > | ^
┃ > /nix/store/v458d50aj6bcw0a0zzvkyiixyfakcz40-aarch64-unknown-linux-musl-gcc-14.3.0/include/c++/14.3.0/ext/string_conversions.h:113:32: note: called from here
┃ > 113 | const int __len = __convf(__s, __n, __fmt, __args);
┃ > | ^
┃ > make: *** [/build/ccCwh0jE.mk:86: /build/cccuMbHY.ltrans28.ltrans.o] Error 1
┃ > make: *** Waiting for unfinished jobs....
┃ > lto-wrapper: fatal error: make returned 2 exit status
┃ > compilation terminated.
┃ > /nix/store/pyfh6ldzdr8m3xkpxi60cjg6abha8r7i-aarch64-unknown-linux-musl-binutils-2.44/bin/aarch64-unknown-linux-musl-ld: error: lto-wrapper failed
┃ > collect2: error: ld returned 1 exit status
┃ > ninja: build stopped: subcommand failed.
┃ For full logs, run:
┃ nix log /nix/store/82aawiy1fids0wp7n9y8d18issf6d00a-nix-expr-aarch64-unknown-linux-musl-2.31.2.drv
This is what I get next
| 20:20:53 |
matthewcroughan | this is for gnu->musl | 20:21:06 |
matthewcroughan | Woo | 20:53:45 |
matthewcroughan | user: matthew 🌐 m2u in nixos-musl on refactor [!?]
✦ ❯ nix build .#nixosConfigurations.{musl-llvm,musl,gnu-musl,gnu-musl-llvm}.config.system.build.vm --keep-going
warning: Git tree '/home/matthew/git/nixos-musl' is dirty
Finished at 20:53:14 after 0s
user: matthew 🌐 m2u in nixos-musl on refactor [!?]
✦ ❯ ls result*
result:
bin system
result-1:
bin system
result-2:
bin system
result-3:
bin system
| 20:53:47 |
matthewcroughan | all 4 combos, great | 20:53:52 |
matthewcroughan | dramforever: very close but.. | 21:44:06 |
matthewcroughan | /nix/store/47djz04prfj1q20vaywic4kp92dk8gng-vm-test-run-musl-vmtest-aarch64-unknown-linux-musl
┏━ 11 Errors:
⋮
┃ /nix/store/a48vvnqlfmvbc5nwwhy0dw1cxlxl6y1v-musl-aarch64-unknown-linux-musl-1.2.5-bin
┃ /nix/store/jfqbx7483gva8nvch6l33idsqxvcfkdf-musl-aarch64-unknown-linux-musl-1.2.5-debug
┃ Last 25 log lines:
┃ > The next patch would create the file src/ldso/riscv64/dlopen.s,
┃ > which already exists! Assume -R? [n]
┃ > Apply anyway? [n]
┃ > Skipping patch.
┃ > 1 out of 1 hunk ignored
┃ > The next patch would create the file src/ldso/s390x/dlopen.s,
┃ > which already exists! Assume -R? [n]
┃ > Apply anyway? [n]
┃ > Skipping patch.
┃ > 1 out of 1 hunk ignored
┃ > The next patch would create the file src/ldso/sh/dlopen.s,
┃ > which already exists! Assume -R? [n]
┃ > Apply anyway? [n]
┃ > Skipping patch.
┃ > 1 out of 1 hunk ignored
┃ > The next patch would create the file src/ldso/x32/dlopen.s,
┃ > which already exists! Assume -R? [n]
┃ > Apply anyway? [n]
┃ > Skipping patch.
┃ > 1 out of 1 hunk ignored
┃ > The next patch would create the file src/ldso/x86_64/dlopen.s,
┃ > which already exists! Assume -R? [n]
┃ > Apply anyway? [n]
┃ > Skipping patch.
┃ > 1 out of 1 hunk ignored
┃ For full logs, run:
┃ nix log /nix/store/6pysjc0czjba7zrzx2jaflps7k717vmv-musl-aarch64-unknown-linux-musl-1.2.5.drv
| 21:44:08 |
matthewcroughan | Your patch somehow causes the patch to fail, when vm tests are invoked | 21:44:18 |
matthewcroughan | weird isn't it? | 21:44:27 |
matthewcroughan | Actually no, seems this happens with or without your patch, weird | 22:02:59 |
matthewcroughan | * Testing more... | 22:03:17 |
matthewcroughan | Yeah it seems to fail with or without your patch https://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2F65pas7vxszrihqbkd18n331qpnj8kwmx-musl-1.2.5.drv/log?via-job=b946d8d9-8e12-477a-ae5d-45854c6f7f60 | 22:08:34 |
matthewcroughan | Some weird recursive application going on with the patches there | 22:09:08 |
matthewcroughan | look at these greens! :D | 22:53:21 |
matthewcroughan |  Download image.png | 22:53:26 |
matthewcroughan | it works! | 22:53:30 |
matthewcroughan | look at my musl's | 22:53:42 |
matthewcroughan | poor m2 ultra though, the load average on that thing is through the roof | 22:54:57 |
matthewcroughan | Like I wonder if I should be setting up some maxJobs or max cores setting | 22:56:02 |
symphorien | what is this interface ? | 23:04:52 |
symphorien | ah hercules-ci I should have scrolled | 23:06:06 |
matthewcroughan | Yeah it's pretty good | 23:08:22 |
matthewcroughan | I yearn for a dark theme though | 23:08:29 |
matthewcroughan | https://github.com/MatthewCroughan/nixos-musl/blob/refactor/flake.nix | 23:09:23 |
matthewcroughan | Any opinions on how I could refactor this using cartesianProduct or maybe some other function, to generate the variants more cleanly? | 23:09:37 |
matthewcroughan | * Any opinions on how I could refactor this using cartesianProduct or maybe some other function, to generate the variants more cleanly, instead of all the copy-pasting? | 23:09:51 |