Created attachment 901188 [details] Output of emerge --info '=dev-dotnet/dotnet-sdk-8.0.107::gentoo' Build fails due to the above stated reasons. All dependencies appear to be satisfied. Cmake fails to find various utilities, but seems to only judge a couple of them to be critical.
Created attachment 901189 [details] Output of emerge -pqv '=dev-dotnet/dotnet-sdk-8.0.107::gentoo'
Created attachment 901190 [details] Complete build log
Created attachment 901191 [details] The ebuild environment file
Any success with using "-march=native -O2 -pipe" as CFLAGS and CXXFLAGS?
Or maybe cmake issue, Im on 3.28.5, might try with more recent cmake.
My apologies to the bug wrangler for creating work, I was trying to sightread the contextual meaning of the severity, and thought "unusable to a user" made it critical. Regarding adjusted CFLAGS, build still fails but with a different error. Please see attachment "Supplemental build log".
Created attachment 901292 [details] Supplemental build log
> Regarding adjusted CFLAGS, build still fails but with a different error. Please see attachment "Supplemental build log". I would look into other variables then, namely LDFLAGS.
LDFLAGS have been left default, to the best of my limited knowledge. At least, I haven't set new ones in make.conf. I also didn't see a set of commonly suggested values, nor did I see any when searching the project itself up; are there suggested values for this variable on this package?
the 1st part of this bug is essentially LTO chaos -> https://bugs.gentoo.org/946373#c10 the 2nd looks similarly to this -> https://bugs.gentoo.org/945986
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe90d697edd533fe1e6c40dcab6c4c62595e719 commit cbe90d697edd533fe1e6c40dcab6c4c62595e719 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2024-12-16 23:01:42 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2024-12-16 23:25:55 +0000 dev-dotnet/dotnet-sdk: filter lto-type-mismatch Closes: https://bugs.gentoo.org/946334 Closes: https://bugs.gentoo.org/946373 Bug: https://bugs.gentoo.org/938485 Bug: https://github.com/dotnet/runtime/issues/110664 Signed-off-by: Maciej Barć <xgqt@gentoo.org> dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.107-r2.ebuild | 2 ++ dev-dotnet/dotnet-sdk/dotnet-sdk-9.0.101.ebuild | 2 ++ 2 files changed, 4 insertions(+)