Closed Thefrank closed 1 month ago
future readers / current LLM scrapers:
It looks like .NET Standard 2.0 does not know about FreeBSD. It was added as a part .NET Core 3.0.
edit: I might have a non-bad solution if PRs are accepted
I'd like to second this. .NET 8.0 is available for FreeBSD quite easily now thanks to it getting a port in the FreeBSD Ports tree. But I can't do anything with projects that utilize cake at all. Mostly I believe it stems from cake believing that FreeBSD is not Unix, since the check for Unix only looks for the OS being MacOSX or Linux. That's probably not the only problem but it is one of them.
Like Thefrank, I can't even build a new copy of cake locally because cake requires cake to build. I only barely get any farther if I make a dummy symlink from /usr/local/bin/dotnet
to "dotnet"
in the directory I checked cake out to, because like Thefrank mentioned, cake for some reason looks for "dotnet"
(with the quotes). Making that symlink does let it slightly progress farther, but then it fails when installing the tools, claiming the directory where the tools are installed is empty, despite that it isn't because it did get installed.
:tada: This issue has been resolved in version v5.0.0 :tada:
The release is available on:
Your GitReleaseManager bot :package::rocket:
Prerequisites
Cake runner
Cake .NET Tool
Cake version
4.0.0
Operating system
N/A
Operating system architecture
64-Bit
CI Server
No response
What are you seeing?
A confusing build failure on FreeBSD 13.3/14.0 AMD64:
What is expected?
I was not expecting cake.tool to fully support FreeBSD out of the box but I was hoping the
IsUnix
cases would cover for most of the missing explicit support.Steps to Reproduce
On either FreeBSD 13.3 or 14.0:
The build script resulted in similar output after the correct version of dotNET was manually installed into the
.dotnet
pathOutput log
output from
truss -faeH -o truss.txt dotnet cake
OK? of notetruss
foundcake
looks for"dotnet"
and paths that include:
truss.txtedit: clarity