!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

554 Members
118 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughan* native musl being 64 bit only, hence the need for off_t instead of off64_t, 64 is the only option17:27:41
@matthewcroughan:defenestrate.itmatthewcroughan * native musl being 64 bit only, hence the need for off_t instead of off64_t, 64 is the only option, so you don't have function names for 32 and 64 17:27:55
@qyliss:fairydust.spaceAlyssa Ross that's not quite how it works — off64_t was a temporary hack 20 years ago so you could do partial codebase conversions. Nowadays you should be setting _FILE_OFFSET_BITS=64 so off_t is always 64 bits. 17:28:58
@dramforever:matrix.orgdramforeverno, this is a c++ problem17:29:28
@dramforever:matrix.orgdramforever

musl's NULL is

#if __cplusplus >= 201103L
#define NULL nullptr
#elif defined(__cplusplus)
#define NULL 0L
#else
#define NULL ((void*)0)
#endif
17:30:05
@matthewcroughan:defenestrate.itmatthewcroughanbut musl hasn't been updated, so what changed to make this drv fail 17:30:26
@matthewcroughan:defenestrate.itmatthewcroughanit formerly built 17:30:36
@matthewcroughan:defenestrate.itmatthewcroughanperhaps it was the default python version that changed?17:30:52
@qyliss:fairydust.spaceAlyssa Rossonly way to know for sure is to bisect17:31:27
@dramforever:matrix.orgdramforeveri actually don't know what package this is17:31:42
@qyliss:fairydust.spaceAlyssa Ross(or take shortcuts to the same end result looking at commit logs)17:31:42
@dramforever:matrix.orgdramforevernevermind it's fb-re217:32:04
@matthewcroughan:defenestrate.itmatthewcroughanpython3Packages.fb-re217:32:11
@dramforever:matrix.orgdramforeverwhich we haven't touched for a while17:32:16
@matthewcroughan:defenestrate.itmatthewcroughanYeah and the only thing we have in there is a patch to modify the c++ std 17:32:27
@matthewcroughan:defenestrate.itmatthewcroughanbecause upstream won't do it 17:32:29
@matthewcroughan:defenestrate.itmatthewcroughanI checked in their PRs the code is just rotting 17:32:46
@matthewcroughan:defenestrate.itmatthewcroughan but python3Packages.fb-re2 is somehow a dependency of pkgs.nixos {} 17:33:47
@matthewcroughan:defenestrate.itmatthewcroughanI think it's needed for Nix 17:33:51
@dramforever:matrix.orgdramforeveri'd guess python bump then17:34:03
@matthewcroughan:defenestrate.itmatthewcroughanYeah it's because Nix depends on it, because mercurial depends on it 17:34:44
@dramforever:matrix.orgdramforeverwhen did it build before?17:34:45
@matthewcroughan:defenestrate.itmatthewcroughan
          ┌─ ⏸ unit-dbus.service
┃          │              ┌─ ⏵ perl5.40.0-DBI-1.644-aarch64-unknown-linux-musl (checkPhase) ⏱ 7m35s
┃          │           ┌─ ⏸ nix-perl-aarch64-unknown-linux-musl-2.31.2
┃          │           │     ┌─ ⏵ python3.13-fb-re2-1.0.7 (buildPhase) ⏱ 7m31s
┃          │           │  ┌─ ⏸ mercurial-7.1
┃          │           │  │  ┌─ ⏵ nix-expr-2.31.2 (buildPhase) ⏱ 7m36s
┃          │           │  ├─ ⏸ nix-2.31.2
┃          │           ├─ ⏸ nix-functional-tests-aarch64-unknown-linux-musl-2.31.2
┃          │           ├─ ⏵ nix-util-aarch64-unknown-linux-musl-2.31.2 (buildPhase) ⏱ 3m39s
┃          │        ┌─ ⏸ nix-aarch64-unknown-linux-musl-2.31.2
┃          │     ┌─ ⏸ tmpfiles.d
┃          │  ┌─ ⏸ X-Restart-Triggers-systemd-tmpfiles-resetup
┃          ├─ ⏸ unit-systemd-tmpfiles-resetup.service
17:34:47
@matthewcroughan:defenestrate.itmatthewcroughanTrying to find that now 17:35:00
@matthewcroughan:defenestrate.itmatthewcroughanJust an older staging 17:35:10
@matthewcroughan:defenestrate.itmatthewcroughan* Just an older staging, from memory17:35:14
@matthewcroughan:defenestrate.itmatthewcroughannot useful :P17:35:18
@dramforever:matrix.orgdramforeverbefore or after may?17:35:36
@matthewcroughan:defenestrate.itmatthewcroughanI have some repos that built.. uh sec 17:36:03
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/MatthewCroughan/rk3588-falcon-experiments/tree/even-minimaler17:36:14

Show newer messages


Back to Room ListRoom Version: 6