| 16 Oct 2025 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Maybe need to find more and provide them as examples to upstream | 16:06:32 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Or maybe the systemd kmod context example is good enough :D | 16:06:52 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | But yes, very excited about it working, so good | 16:07:01 |
dramforever | anyway the real point is that i wrote the patch and it's wip from me so i'm going to say no | 16:08:12 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Yeah makes sense, I respect that | 16:11:04 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Damn, why is perl so unstable with musl | 16:11:13 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | nix used to build just fine, now it's all broken because of perl deps | 16:11:21 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | ┃ ┌─ ⏸ unit-systemd-tmpfiles-resetup.service
┃ │ ┌─ ⏸ nixos-rebuild-ng-0.0.0-aarch64-unknown-linux-musl waiting for 2 ⏵
┃ │ │ ┌─ ⏵ perl5.40.0-DBI-1.644-aarch64-unknown-linux-musl (buildPhase) ⏱ 4m41s
┃ │ │ ┌─ ⏸ nix-perl-aarch64-unknown-linux-musl-2.31.2
┃ │ │ ├─ ⏵ nix-expr-aarch64-unknown-linux-musl-2.31.2 (buildPhase) ⏱ 23s
┃ │ │ ┌─ ⏸ nix-aarch64-unknown-linux-musl-2.31.2
| 16:11:30 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | perl5.40.0-DBI-1.644-aarch64-unknown-linux-musl be broken, as well as nix-expr-aarch64-unknown-linux-musl-2.31.2 due to function names | 16:11:55 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | /nix/store/bvp4jwn1ibkjh7yhr2mlcxxd908y4x4v-perl-5.40.0/lib/perl5/5.40.0/aarch64-linux-thread-multi/CORE/perl.h:3358:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
3358 | # define Off_t off64_t
|
| 16:12:04 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Alyssa Ross: O.o (https://github.com/NixOS/nixpkgs/pull/452642#discussion_r2436725816) how do you upstream to perl? | 16:57:10 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | I'm young | 16:57:15 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Looks like https://github.com/perl5-dbi/dbi actually | 17:00:08 |
Alyssa Ross | it's not to perl, it's just a perl package | 17:00:09 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Yeah I meant to the perl ecosystem | 17:00:18 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | like it's not always clear where the sources or appropriate upstream path is | 17:00:33 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | sometimes github, sometimes mailing lists, sometimes nowhere | 17:00:40 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | and since we use mirror:// that further masks it | 17:01:00 |
Alyssa Ross | looks like they merge PRs in this case | 17:01:12 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | NIce! | 17:01:16 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | * Nice! | 17:01:22 |
Alyssa Ross | BTW: 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 @ 39c3 (DECT 94667 or 97340 or 67192) | I can't find a reference to off64_t in their sources on github | 17:02:31 |
Alyssa Ross | hmm, maybe it got fixed already? | 17:02:42 |
matthewcroughan @ 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 upstreamed | 17:03:06 |
Alyssa Ross | presumably the build error shows you were off64_t was used | 17:03:08 |
matthewcroughan @ 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 it | 17:03:14 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | More like a request for comment really | 17:03:39 |
Alyssa Ross | ah, in that case drafting the PR is a good way to communicate that | 17:03:49 |
matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) | Okay I can start doing that | 17:03:56 |