!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

552 Members
116 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@qyliss:fairydust.spaceAlyssa Rossit's not to perl, it's just a perl package17:00:09
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Yeah I meant to the perl ecosystem17:00:18
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)like it's not always clear where the sources or appropriate upstream path is17:00:33
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)sometimes github, sometimes mailing lists, sometimes nowhere 17:00:40
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) and since we use mirror:// that further masks it 17:01:00
@qyliss:fairydust.spaceAlyssa Rosslooks like they merge PRs in this case17:01:12
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)NIce!17:01:16
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)* Nice!17:01:22
@qyliss:fairydust.spaceAlyssa RossBTW: if something is going to be broken on every musl distro (like this fix), please try to take the fix upstream before working around it in Nixpkgs. If we all do this (and the other distros usually do), it's less work for all of us than if we all have to separately apply the same workarounds downstream.17:02:29
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) I can't find a reference to off64_t in their sources on github 17:02:31
@qyliss:fairydust.spaceAlyssa Rosshmm, maybe it got fixed already?17:02:42
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)The reason I make the PRs isn't always to get it merged, but to provide a reproducer that allows others to tell me that it should be upstreamed17:03:06
@qyliss:fairydust.spaceAlyssa Rosspresumably the build error shows you were off64_t was used17:03:08
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I'm not as experienced, so I need someone like you to tell me that I need to upstream it17:03:14
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)More like a request for comment really17:03:39
@qyliss:fairydust.spaceAlyssa Rossah, in that case drafting the PR is a good way to communicate that17:03:49
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Okay I can start doing that 17:03:56
@qyliss:fairydust.spaceAlyssa Rossotherwise there's a risk that somebody merges it without understanding your intention that it not necessarily be merged as is17:04:19
@qyliss:fairydust.spaceAlyssa Rossthanks for all your efforts btw :)17:04:32
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)headpat accepted17:04:47
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) Alyssa Ross: Actually it does look like it's the perl core that's broken? 17:09:44
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) > /nix/store/xi08qryndrv2a2vih9s4n5kzfp8hzn9r-perl-5.40.0/lib/perl5/5.40.0/aarch64-linux-thread-multi/CORE/proto.h:10777:15: error: unknown type name 'off64_t'; did you mean 'off_t'? 17:09:45
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)that's not coming from DBI, it's coming from perl core, no?17:09:52
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) lib/perl5/5.40.0/aarch64-linux-thread-multi/CORE/proto.h 17:10:06
@qyliss:fairydust.spaceAlyssa Rossoh, interesting17:12:00
@qyliss:fairydust.spaceAlyssa Rosslooks like it17:12:01
@qyliss:fairydust.spaceAlyssa RossI'm surprised that hasn't been fixed already if it's in perl17:12:11
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Yeah, I'll just note it down in the PR anyway for posterity17:12:30
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)

Alyssa Ross: I run into other issues like this in Python, that seem to me to be 32 vs 64 bit issues, do you agree?

g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/nix/store/wskvcibvzlm1rp3j244m4dlmzxnjzsn9-python3-3.13.8/include/python3.13 -c _re2.cc -o build/temp.linux-aarch64-cpython-313/_re2.o -std=c++17
_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 | };
      | ^
17:27:00
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I saw this kind of thing a lot when compiling old fortran code 17:27:07

Show newer messages


Back to Room ListRoom Version: 6