| 29 Aug 2025 |
Corngood | Oh it was just the first one that caused a build failure in another package because it was empty | 01:00:55 |
Whovian9369 | Ah fair enough | 01:01:09 |
| @luna-null:matrix.org left the room. | 02:40:25 |
| 4 Sep 2025 |
Whovian9369 | I think that I got Kuriimu2 working, and it was overall surprisingly painless once I figured out PackageReference versus ProjectReference. A friend's warning me against doing it this way though, so I have something theoretically "working" at least, but the next step is seeing if I can make the build any cleaner in the process. | 00:25:13 |
| 8 Sep 2025 |
| Inayet set a profile picture. | 02:16:17 |
| 9 Sep 2025 |
| PhiliPdB joined the room. | 18:43:00 |
| 10 Sep 2025 |
| @jolman:matrix.org joined the room. | 00:25:13 |
Samuel | Any plans on upgrading to .NET 10 RC1? | 11:10:07 |
Corngood | In reply to @samuel:mnzn.dev Any plans on upgrading to .NET 10 RC1? Assuming that's the one that came out this week, I've got updates running now | 15:05:17 |
Corngood | https://github.com/NixOS/nixpkgs/pull/441849 (still not tested much) | 18:27:39 |
| 11 Sep 2025 |
Samuel | Awesome, thanks | 06:29:57 |
| 13 Sep 2025 |
| zenware joined the room. | 14:58:23 |
| 23 Sep 2025 |
| kenji changed their display name from a-kenji to kenji. | 10:40:16 |
| @jolman:matrix.org left the room. | 20:12:34 |
| 24 Sep 2025 |
Whovian9369 | Here to cause trouble again - I'm trying to bump a project from NET 8 to NET 9 in a derivation (without code changes, dev says it should work), but that Nuke build process seems to fail due to using a dynamically linked executable... Hapen to have any immediate ideas?
Could not start dynamically linked executable: /tmp/fetch-deps-hactoolnet-2024.08.29.Pzmhk6/source/build/bin/Debug/_build (Then the message is about stub-ld etc)
| 02:39:09 |
Whovian9369 | * Here to cause trouble again - I'm trying to bump a project from NET 8 to NET 9 in a derivation (without code changes, dev says it should work), but that Nuke build process seems to fail due to using a dynamically linked executable... Hapen to have any immediate ideas?
Could not start dynamically linked executable: /tmp/fetch-deps-hactoolnet-2024.08.29.Pzmhk6/source/build/bin/Debug/_build
(Then the message is about stub-ld etc)
| 02:39:19 |
Whovian9369 | Alternatively, is there a way to keep the in-progress /tmp/fetch-deps-... path even after a failed run? I feel like that would be good for testing. | 02:39:55 |
Whovian9369 | * Alternatively, is there a way to keep the in-progress /tmp/fetch-deps-... path even after a failed run? I feel like that would be good for testing.
The same process works fine on Net 8 but not Net 9, so I'm stumped from what I can tell.
preConfigure = ''
dotnet --version > DotnetCliVersion.txt
patchShebangs --build build.sh
for rid in $dotnetRuntimeIds; do dotnet restore --runtime "$rid" "build/_build.csproj"; done
./build.sh Codegen --configuration ${buildType}
'';
| 02:42:47 |
Whovian9369 | * Alternatively, is there a way to keep the in-progress /tmp/fetch-deps-... path even after a failed run? I feel like that would be good for testing.
The same process works fine on Net 8 but not Net 9, so I'm stumped from what I can tell.
{
preConfigure = ''
dotnet --version > DotnetCliVersion.txt
patchShebangs --build build.sh
for rid in $dotnetRuntimeIds; do dotnet restore --runtime "$rid" "build/_build.csproj"; done
./build.sh Codegen --configuration ${buildType}
'';
}
| 02:43:03 |
Whovian9369 | * Alternatively, is there a way to keep the in-progress /tmp/fetch-deps-... path even after a failed run? I feel like that would be good for testing.
The same process works fine on Net 8 but not Net 9, so I'm stumped from what I can tell.
{
preConfigure = ''
dotnet --version > DotnetCliVersion.txt
patchShebangs --build build.sh
for rid in $dotnetRuntimeIds; do dotnet restore --runtime "$rid" "build/_build.csproj"; done
./build.sh Codegen --configuration ${buildType}
'';
}
| 02:43:22 |
Corngood | In reply to @whovian9369:matrix.org
Alternatively, is there a way to keep the in-progress /tmp/fetch-deps-... path even after a failed run? I feel like that would be good for testing.
The same process works fine on Net 8 but not Net 9, so I'm stumped from what I can tell.
{
preConfigure = ''
dotnet --version > DotnetCliVersion.txt
patchShebangs --build build.sh
for rid in $dotnetRuntimeIds; do dotnet restore --runtime "$rid" "build/_build.csproj"; done
./build.sh Codegen --configuration ${buildType}
'';
}
There should be a fetch-drv attribute which you can run nix develop on to do the fetch in a dev shell. | 02:50:08 |
Whovian9369 | Oh thank you, I wasn't aware of that! | 02:59:19 |
Corngood | Not sure about the executable thing. It must be pulling that in from somewhere? | 03:03:23 |
Whovian9369 | If you mean the dynamic linked executable, then that's part of the Nuke build. | 03:07:21 |
Whovian9369 | I'm expecting the failing step to be the ./build.sh Codegen --configuration ${buildType} one from preConfigure that I posted above | 03:08:46 |
Whovian9369 | It works on Net 8 as expected, but trying the otherwise same derivation with the Net 9 SDK threw that error, for whatever reason. I'll probably have to try it with Net 8 (via fetch-drv?) and see how much the ldd output differs for these _build binaries.
Here's the Net 9 ldd on _build for example:
$ ldd _build
linux-vdso.so.1 (0x00007ffffa5f8000)
libpthread.so.0 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libpthread.so.0 (0x00007aef94629000)
libdl.so.2 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libdl.so.2 (0x00007aef94624000)
libstdc++.so.6 => not found
libm.so.6 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libm.so.6 (0x00007aef9453c000)
libgcc_s.so.1 => /nix/store/f6famnry0piih1d3hh6y73fxx05jxsa8-xgcc-14.3.0-libgcc/lib/libgcc_s.so.1 (0x00007aef9450e000)
libc.so.6 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libc.so.6 (0x00007aef94200000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007aef94645000)
Did MS or an Nixpkgs remove linking against libstdc between Net 8 and Net 9? That's the only issue that I can immediately find, for example...
| 03:11:48 |
Whovian9369 | * It works on Net 8 as expected, but trying the otherwise same derivation with the Net 9 SDK threw that error, for whatever reason. I'll probably have to try it with Net 8 (via fetch-drv?) and see how much the ldd output differs for these _build binaries.
Here's the Net 9 ldd on _build for example:
$ ldd _build
linux-vdso.so.1 (0x00007ffffa5f8000)
libpthread.so.0 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libpthread.so.0 (0x00007aef94629000)
libdl.so.2 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libdl.so.2 (0x00007aef94624000)
libstdc++.so.6 => not found
libm.so.6 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libm.so.6 (0x00007aef9453c000)
libgcc_s.so.1 => /nix/store/f6famnry0piih1d3hh6y73fxx05jxsa8-xgcc-14.3.0-libgcc/lib/libgcc_s.so.1 (0x00007aef9450e000)
libc.so.6 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libc.so.6 (0x00007aef94200000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007aef94645000)
Did MS or an Nixpkgs remove linking for libstdc++.so.6 between Net 8 and Net 9? That's the only issue that I can immediately find, for example...
| 03:13:57 |
Corngood | Nothing comes to mind. This executable must come from a nuget package? But how is it finding any of those libs? | 03:18:32 |
Whovian9369 |
This executable must come from a nuget package?
I believe the binary comes from for rid in $dotnetRuntimeIds; do dotnet restore --runtime "$rid" "build/_build.csproj"; done
But how is it finding any of those libs? Honestly, that's a good question that I don't have an answer to.
| 03:19:48 |
Whovian9369 | *
This executable must come from a nuget package?
I believe the binary comes from for rid in $dotnetRuntimeIds; do dotnet restore --runtime "$rid" "build/_build.csproj"; done
But how is it finding any of those libs?
Honestly, that's a good question that I don't have an answer to.
| 03:19:52 |