Skip to content

Crosscompile for FreeBSD produce wrongly named ILAsm, ILDAsm, TestHost and native.System.IO.Ports nupkg's #55133

@sec

Description

@sec

Description

While doing crosscompile for FreeBSD, under Linux, using command:

docker run -e ROOTFS_DIR=/crossrootfs/x64 -v $(pwd)/runtime:/runtime $DOTNET_DOCKER_TAG /runtime/eng/build.sh -c Debug -cross -os freebsd -ci /p:OfficialBuildId=$(date +%Y%m%d)-99 /p:IsEligibleForNgenOptimization=false

Runtime is created, but 4 nupkg are wrongly named:

runtime.linux-x64.Microsoft.NETCore.ILAsm.6.0.0-preview.5.21301.5.nupkg
runtime.linux-x64.Microsoft.NETCore.ILDAsm.6.0.0-preview.5.21301.5.nupkg
runtime.linux-x64.Microsoft.NETCore.TestHost.6.0.0-preview.5.21301.5.nupkg
runtime.linux-x64.runtime.native.System.IO.Ports.6.0.0-preview.5.21301.5.nupkg
runtime.linux-x64.runtime.native.System.IO.Ports.6.0.0-preview.5.21301.5.symbols.nupkg

Other are named correctly:

Microsoft.NETCore.App.Host.freebsd-x64.6.0.0-preview.5.21301.5.nupkg
Microsoft.NETCore.App.Host.freebsd-x64.6.0.0-preview.5.21301.5.symbols.nupkg
Microsoft.NETCore.App.Runtime.freebsd-x64.6.0.0-preview.5.21301.5.nupkg
Microsoft.NETCore.App.Runtime.freebsd-x64.6.0.0-preview.5.21301.5.symbols.nupkg
dotnet-apphost-pack-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
dotnet-hostfxr-internal-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
dotnet-runtime-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
dotnet-runtime-composite-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
dotnet-runtime-internal-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
dotnet-runtime-internal-composite-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
dotnet-targeting-pack-6.0.0-preview.5.21301.5-freebsd-x64.tar.gz
runtime.freebsd-x64.Microsoft.NETCore.DotNetAppHost.6.0.0-preview.5.21301.5.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetAppHost.6.0.0-preview.5.21301.5.symbols.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetHost.6.0.0-preview.5.21301.5.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetHost.6.0.0-preview.5.21301.5.symbols.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetHostPolicy.6.0.0-preview.5.21301.5.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetHostPolicy.6.0.0-preview.5.21301.5.symbols.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetHostResolver.6.0.0-preview.5.21301.5.nupkg
runtime.freebsd-x64.Microsoft.NETCore.DotNetHostResolver.6.0.0-preview.5.21301.5.symbols.nupkg

Checking inside they contain native FreeBSD binaries which after changing names (and files inside) from linux to freebsd, repacking them, etc. produde fully working SDK which can compile nativly on FreeBSD (big discussion is in #14537

So it looks like, those are only wrongly named, even they are crosscompiled for FreeBSD.

Configuration

Tag tested HEAD detached at v6.0.0-preview.5.21301.5
Host was Ubuntu 20.04

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions