Skip to content

Ubuntu : .NET Core 3.1 build error #31600

@deokershesh

Description

@deokershesh

I downloaded .NET Core 3.1 source code, while doing the build.sh on Ubuntu, it reports following errors! There doesn't seem to be good error message to possibly resolve the same. Kindly help to fix the below build issue.

root@64ac36d6c74e:/shesh/dotnetcore/corefx-release-3.1# uname -a
Linux 64ac36d6c74e 4.9.184-linuxkit dotnet/corefx#1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Setting up directories for build
Checking pre-requisites...
Commencing build of corefx native components for Linux.x64.Debug
Invoking "/shesh/dotnetcore/corefx-release-3.1/src/Native/Unix/gen-buildsys-clang.sh" "/shesh/dotnetcore/corefx-release-3.1/src/Native/Unix" "3" "9" "x64" "DEBUG" " -DFEATURE_DISTRO_AGNOSTIC_SSL=1 -DCMAKE_STATIC_LIB_LINK=0"
-- Configuring incomplete, errors occurred!
See also "/shesh/dotnetcore/corefx-release-3.1/artifacts/obj/native/netcoreapp-Linux-Debug-x64/CMakeFiles/CMakeOutput.log".
See also "/shesh/dotnetcore/corefx-release-3.1/artifacts/obj/native/netcoreapp-Linux-Debug-x64/CMakeFiles/CMakeError.log".
Failed to generate native component build project!
/shesh/dotnetcore/corefx-release-3.1/src/Native/build-native.proj(36,5): error MSB3073: The command ""/shesh/dotnetcore/corefx-release-3.1/src/Native/build-native.sh" x64 Debug Linux outconfig netcoreapp-Linux-Debug-x64 -portable" exited with code 1.

Build FAILED.

/shesh/dotnetcore/corefx-release-3.1/src/Native/build-native.proj(36,5): error MSB3073: The command ""/shesh/dotnetcore/corefx-release-3.1/src/Native/build-native.sh" x64 Debug Linux outconfig netcoreapp-Linux-Debug-x64 -portable" exited with code 1.
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:46.11
Build failed (exit code '1').
root@64ac36d6c74e:/shesh/dotnetcore/corefx-release-3.1#

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions