Skip to content

Building Bootstrap .NET for Gentoo (LibreSSL) #4726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
blucybrb14de opened this issue Nov 8, 2024 · 2 comments
Closed

Building Bootstrap .NET for Gentoo (LibreSSL) #4726

blucybrb14de opened this issue Nov 8, 2024 · 2 comments
Labels
area-native-bootstrapping Allowing new platforms/operating systems to use source-build untriaged

Comments

@blucybrb14de
Copy link

Discussed in #4725

Originally posted by blucybrb14de November 8, 2024
Hello,

I'm currently attempting to port dotnet-sdk to Gentoo on a LibreSSL system, and attempting to create a new ebuild for dotnet-sdk. The trouble is, I am not able to build my own bootstrap when looking at the documentation, as it appears that the buildbootstrapcli.sh is missing, and not a part of a ./scripts directory on the main branch.

It seems to mention that it is possible build a bootstrap for dotnet-sdk for a LibreSSL system, using the build bootstrap, and I would like to attempt to give non-official support in the LibreSSL overlay, however the steps to do so seemed to be obscured

I did not try to look to look through the commit history, but I can't seem to find the relevant information in order to do so. If anyone could please provide any instructions to continue to bootstrap, I would love to continue to run and test LibreSSL on Gentoo, for the packages that depend on it, and to do so for the foreseeable future.

Much Appreciated.

@blucybrb14de
Copy link
Author

blucybrb14de commented Nov 8, 2024

Note that when attempting to build dotnet-sdk, with libressl and the bootstrap binary, it results with the following error, against LibreSSL 4.0.0:

>>> Unpacking dotnet-sdk-8.0.107-prepared-gentoo-amd64.tar.xz to /var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work
>>> Source unpacked in /var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work
>>> Preparing source in /var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work/dotnet-sdk-8.0.7 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work/dotnet-sdk-8.0.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work/dotnet-sdk-8.0.7 ...
* Building the .NET SDK 8.0 ...
Detected '--': passing remaining parameters '-maxCpuCount:20 -verbosity:minimal -p:ContinueOnPrebuiltBaselineError=true -p:LogVerbosity=minimal -p:MinimalConsoleLogOutput=false -p:verbosity=minimal' as build.sh arguments.
Found bootstrap SDK 8.0.106, bootstrap Arcade 8.0.0-beta.24266.3, bootstrap SourceLink 8.0.0-beta.23615.1

Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.106
No usable version of libssl was found
./build.sh: line 256:    69 Aborted                 (core dumped) "$CLI_ROOT/dotnet" build-server shutdown                                                                                       [ !! ]
* ERROR: dev-dotnet/dotnet-sdk-8.0.107::gentoo failed (compile phase):
*   build failed
*
* Call stack:
*     ebuild.sh, line 136:  Called src_compile
*   environment, line 3047:  Called die
* The specific snippet of code:
*       eend ${?} || die "build failed"
*
* If you need support, post the output of `emerge --info '=dev-dotnet/dotnet-sdk-8.0.107::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-dotnet/dotnet-sdk-8.0.107::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/temp/environment'.
* Working directory: '/var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work/dotnet-sdk-8.0.7'
* S: '/var/tmp/portage/dev-dotnet/dotnet-sdk-8.0.107/work/dotnet-sdk-8.0.7'

Please let me know if I am missing something or if there are any other workarounds that I could use to package this for Gentoo GNU/Linux,

Thanks.

@blucybrb14de blucybrb14de changed the title Building Bootstrap Dotnet for Gentoo (LibreSSL) Building Bootstrap .NET for Gentoo (LibreSSL) Nov 8, 2024
@blucybrb14de
Copy link
Author

Mostly a duplicate of #4729.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-native-bootstrapping Allowing new platforms/operating systems to use source-build untriaged
Projects
Archived in project
Development

No branches or pull requests

1 participant