Open blucybrb14de opened 3 weeks ago
So the bootstrap depends on a precompiled version of the dotnet-sdk that was built against openssl?
I'm not sure there is anything I can do with a precompiled binary?
So the bootstrap depends on a precompiled version of the dotnet-sdk that was built against openssl?
I'm not sure there is anything I can do with a precompiled binary?
I'm not exactly sure if there is exactly a way to get this working properly, besides asking upstream for a solution.
I was able to find a similar issue for dotnet-sdk on their github page.
In theory, it should be possible to compile dotnet-sdk as a bootstrap binary against libressl and then place it in the /files/* directory, however I was not able to pass the right flags to get it to compile? Maybe if there is any workaround so that dotnet-sdk-bin or the bootstrap binary can detect or not check for the version of libssl, that might work?
I tried to compile using ./build.sh, using the CLR_OPENSSL_VERSION_OVERRIDE=43, but it does not looks like that works. Right now, dotnet-sdk-bin as dotnet wont even compile if it detects the wrong libssl version.
There is documentation on how to make your own bootstrap, but it doesn't seem clear to me...
There is documentation on how to make your own bootstrap, but it doesn't seem clear to me...
After devoting some time to it today, it appears that there might be some information in the documentation that needs to be updated, so I have let upstream know and I've created an issue: https://github.com/dotnet/source-build/issues/4726
We should be able to get dotnet support on Gentoo LibreSSL systems, relatively easy, I also believe that dotnet-sdk is needed for a lot of gaming and other utilities. But like I said, it shouldn't be too difficult to rewrite the ebuild to use the bootstrapped binary, as soon as I can get clarification back.
UPDATE: It seems like there is, in-fact outdated documentation, their new documentation is not current for building the boostrap with LibreSSL.
There are also directions in the Gentoo ebuild which I noticed now, but with all the rust upheaval I haven't tried to see if that is enough yet.
# Pre-build (and distribution preparation)
# Build the tarball:
# git clone --depth 1 -b v8.0.7 https://github.com/dotnet/dotnet dotnet-sdk-8.0.7
# cd dotnet-sdk-8.0.7
# git rev-parse HEAD
# ./prep.sh
# rm -fr .git
# cd ..
# tar -acf dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz dotnet-sdk-8.0.7
# Upload dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz
Looks like dev-dotnet/dotnet-sdk fails to compile against LibreSSL 4.0.0.
dev-libs/libressl:
LibreSSL 4.0.0
dotnet-sdk-8.0.107.log
inxi-output.log
Error Message: