!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

529 Members
110 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@dramforever:matrix.orgdramforeverokay this is really funny16:21:23
@matthewcroughan:defenestrate.itmatthewcroughan dramforever: hahahaha 22:50:01
@matthewcroughan:defenestrate.itmatthewcroughan security.enableWrappers = false; makse you unable to login 🙈 22:50:10
@matthewcroughan:defenestrate.itmatthewcroughanbut is also completely necessary for native musl/llvm compilation22:50:30
@matthewcroughan:defenestrate.itmatthewcroughan* but is also completely necessary for native musl/llvm compilation (due to pkgsStatic being broken)22:58:38
@matthewcroughan:defenestrate.itmatthewcroughan* but is also completely necessary for native musl/llvm compilation (due to pkgsStatic being broken on it)22:58:45
19 Oct 2025
@dramforever:matrix.orgdramforeverwho needs to log in anywa08:10:51
@dramforever:matrix.orgdramforever* who needs to log in anyway08:10:53
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)You wanna try https://github.com/thkukuk/pwaccess maybe, that would make pam/shadow work without suid08:45:42
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)it was on my list of things to try, but if you do get it working then definitely send me a snippet!08:46:47
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)actually i may try cooking something up today for a suid-less login... We'll see how successful i am08:57:14
@matthewcroughan:defenestrate.itmatthewcroughanShould be able to make a VM test for it right?10:09:27
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yep10:09:39
@matthewcroughan:defenestrate.itmatthewcroughanSadly musl vm test isn't possible atm because some things break 10:10:51
@matthewcroughan:defenestrate.itmatthewcroughan
 error: builder for '/nix/store/34dsfyf2hxmdkc4aahwvwrn22m45ki07-perl5.40.0-Alien-Build-2.80-aarch64-unknown-linux-musl.drv' failed to produce output path for output 'devdoc'
10:13:28
@matthewcroughan:defenestrate.itmatthewcroughanseems like a silly thing to fail on but yeah 10:13:43
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/pull/452738 also10:15:12
@matthewcroughan:defenestrate.itmatthewcroughan Weirdly too, the VM tests somehow build install-grub.sh 10:16:28
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
10:17:59
@matthewcroughan:defenestrate.itmatthewcroughanthe deps in yellow failed to build10:18:03
@matthewcroughan:defenestrate.itmatthewcroughan
error: Cannot build '/nix/store/p6prsakbjbpp0rbjzryxgzdm3cpxf1a7-vde2-aarch64-unknown-linux-musl-2.3.3.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/lcb911qs6ffd7gg4xnnzd10i9hbvrybb-vde2-aarch64-unknown-linux-musl-2.3.3
       Last 25 log lines:
       >   CC       canonicalize.lo
       >   CC       malloc.lo
       >   CC       memcmp.lo
       >   CC       realloc.lo
       > In file included from realloc.c:3:
       > realloc.c: In function 'rpl_realloc':
       > ../../include/config.h:342:16: error: implicit declaration of function 'rpl_malloc'; did you mean 'rpl_realloc'? [-Wimplicit-function-declaration]
       >   342 | #define malloc rpl_malloc
       >       |                ^~~~~~~~~~
       > realloc.c:17:24: note: in expansion of macro 'malloc'
       >    17 |                 return malloc(size);
       >       |                        ^~~~~~
       > ../../include/config.h:342:16: error: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
       >   342 | #define malloc rpl_malloc
       > realloc.c:17:24: note: in expansion of macro 'malloc'
       >    17 |                 return malloc(size);
       >       |                        ^~~~~~
       > realloc.c:19:20: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
       >    19 |                 mem=malloc(size);
       >       |                    ^
       > make[2]: *** [Makefile:395: realloc.lo] Error 1
       > make[2]: Leaving directory '/build/source/src/common'
       > make[1]: *** [Makefile:563: all-recursive] Error 1
       > make[1]: Leaving directory '/build/source/src'
       > make: *** [Makefile:393: all-recursive] Error 1
       For full logs, run:
         nix log /nix/store/p6prsakbjbpp0rbjzryxgzdm3cpxf1a7-vde2-aarch64-unknown-linux-musl-2.3.3.drv
10:18:12
@matthewcroughan:defenestrate.itmatthewcroughanvde2 fails like that 10:18:15
@matthewcroughan:defenestrate.itmatthewcroughanAh okay pytest actually only fails to produce devdoc a percentage of the time 10:18:33
@matthewcroughan:defenestrate.itmatthewcroughanThe real error is that it's producing a bad output path10:18:43
@qyliss:fairydust.spaceAlyssa Rossah that's a common one10:18:46
@matthewcroughan:defenestrate.itmatthewcroughan
 error: output '/nix/store/2ldd5ibxb8i538v6cch3j8zkyvkq5mq9-python3.13-pytest-8.4.2-aarch64-unknown-linux-musl' is not allowed to refer to the following paths:
┃          /nix/store/m0b67b3lmjcxa8aplpl75qpb26gr5vsf-python3-3.13.8
10:18:58
@matthewcroughan:defenestrate.itmatthewcroughanAnd that is because of this 10:19:08
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/pull/45150610:19:09
@qyliss:fairydust.spaceAlyssa Ross
    "ac_cv_func_malloc_0_nonnull=yes"
    "ac_cv_func_realloc_0_nonnull=yes"
10:19:28
@qyliss:fairydust.spaceAlyssa Rossthat's the solution any time you see an rpl_malloc error10:19:34

Show newer messages


Back to Room ListRoom Version: 6