Skip to content

System.componentModel.Annotation version 4.4.0 fails to build locally #57708

Open
@varunmankal

Description

@varunmankal

I am trying to build the 4.4.0 version of System.ComponentModel.Annotations package on my machine. I have followed the instructions mentioned here: https://github.com/dotnet/corefx/blob/8321c729934c0f8be754953439b88e6e1c120c24/Documentation/building/unix-instructions.md .

When I run the command ./build.sh, it returns the following error:

/home/ubuntu/corefx/init-tools.sh: line 119: 14991 Segmentation fault      
(core dumped) $__DOTNET_CMD restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION >> $__init_tools_log

ERROR: Could not restore build tools correctly. 

Initializing BuildTools...

chmod: cannot access '/home/ubuntu/corefx/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01721-01/lib/init-tools.sh': No such file or directory

/home/ubuntu/corefx/init-tools.sh: line 99: /home/ubuntu/corefx/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01721-01/lib/init-tools.sh: No such file or file or directory

Configuration

  • running it on ubuntu 18.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions