dotnet / source-build

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components
MIT License
265 stars 132 forks source link

No such file or directory [/root/source-build/repos/newtonsoft-json901.proj #2139

Closed php-wizard closed 3 years ago

php-wizard commented 3 years ago

Trying to build dotnet 3.1 from source on Ubuntu 18.04


~# cd source-build/

~/source-build# ./build.sh

  Determining projects to restore...
  All projects are up-to-date for restore.
  Determining projects to restore...
  All projects are up-to-date for restore.
  [12:53:20.67] Building 'cssparser'
  Running command:
    Using custom build target
    Log: /root/source-build/artifacts/bin/cssparser/logs/cssparser.log
    With Environment Variables:
      DotNetBuildFromSource=true
      DotNetPackageVersionPropsPath=
      DotNetRestorePackagesPath=
      DOTNET_INSTALL_DIR=/root/source-build/.dotnet/
      DOTNET_PATH=/root/source-build/.dotnet/
      DOTNET_HOST_PATH=/root/source-build/.dotnet/dotnet
      _InitializeDotNetCli=/root/source-build/.dotnet/
      _DotNetInstallDir=/root/source-build/.dotnet/
      _InitializeToolset=/root/source-build/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj
      DotNetUseShippingVersions=true
      PreReleaseVersionLabel=alpha.1
      PackageVersionStamp=alpha.1
      PB_VersionStamp=alpha.1
      ContinuousIntegrationBuild=true
      MSBUILDDISABLENODEREUSE=1
      OfficialBuildId=
      BUILD_BUILDNUMBER=
      GitCommitCount=
      RepositoryType=Git
      DeterministicSourcePaths=false
      SourceRoot=/root/source-build/src/cssparser/
  [12:53:20.66] Building 'application-insights'
  Running command:
    Using custom build target
    Log: /root/source-build/artifacts/bin/application-insights/logs/application-insights.log
    With Environment Variables:
      DotNetBuildFromSource=true
      DotNetPackageVersionPropsPath=
      DotNetRestorePackagesPath=
      DOTNET_INSTALL_DIR=/root/source-build/.dotnet/
      DOTNET_PATH=/root/source-build/.dotnet/
      DOTNET_HOST_PATH=/root/source-build/.dotnet/dotnet
      _InitializeDotNetCli=/root/source-build/.dotnet/
      _DotNetInstallDir=/root/source-build/.dotnet/
      _InitializeToolset=/root/source-build/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj
      DotNetUseShippingVersions=true
      PreReleaseVersionLabel=alpha.1
      PackageVersionStamp=alpha.1
      PB_VersionStamp=alpha.1
      ContinuousIntegrationBuild=true
      MSBUILDDISABLENODEREUSE=1
      OfficialBuildId=
      BUILD_BUILDNUMBER=
      GitCommitCount=
      RepositoryType=Git
      DeterministicSourcePaths=false
      SourceRoot=/root/source-build/src/application-insights/
EXEC : error : src/Humanizer/Humanizer.csproj: No such file or directory [/root/source-build/repos/humanizer.proj]
EXEC : error : src/NuGet.config: No such file or directory [/root/source-build/repos/humanizer.proj]
EXEC : error : Src/Newtonsoft.Json/Newtonsoft.Json.Dotnet.xproj: No such file or directory [/root/source-build/repos/newtonsoft-json901.proj]
EXEC : error : Src/Newtonsoft.Json/project.json: No such file or directory [/root/source-build/repos/newtonsoft-json901.proj]
/root/source-build/repos/Directory.Build.targets(32,5): error MSB3073: The command "git --work-tree=/root/source-build/src/newtonsoft-json901/ apply --ignore-whitespace --whitespace=nowarn /root/source-build/patches/newtonsoft-json901/0001-Run-dotnet-migrate-to-generate-Newtonsoft.Json.Dotne.patch" exited with code 1. [/root/source-build/repos/newtonsoft-json901.proj]
  'newtonsoft-json901' failed during build.
EXEC : error : Src/Newtonsoft.Json/Newtonsoft.Json.csproj: No such file or directory [/root/source-build/repos/newtonsoft-json.proj]
/root/source-build/repos/Directory.Build.targets(32,5): error MSB3073: The command "git --work-tree=/root/source-build/src/humanizer/ apply --ignore-whitespace --whitespace=nowarn /root/source-build/patches/humanizer/0001-Fix-building-in-a-source-build-context.patch" exited with code 1. [/root/source-build/repos/humanizer.proj]
  'humanizer' failed during build.
/root/source-build/repos/Directory.Build.targets(32,5): error MSB3073: The command "git --work-tree=/root/source-build/src/newtonsoft-json/ apply --ignore-whitespace --whitespace=nowarn /root/source-build/patches/newtonsoft-json/0001-Updated-AssemblyVersion-FileVersion-Version-Prefix-a.patch" exited with code 1. [/root/source-build/repos/newtonsoft-json.proj]
  'newtonsoft-json' failed during build.
/root/source-build/repos/cssparser.proj(20,5): error MSB3073: The command "/root/source-build/.dotnet/dotnet restore /bl:restore.binlog /root/source-build/src/cssparser//src/Microsoft.Css.Parser/Microsoft.Css.Parser.csproj /p:Configuration=Debug /v:minimal >> /root/source-build/artifacts/bin/cssparser/logs/cssparser.log 2>&1  " exited with code 1.
  MSBUILD : error MSB1009: Project file does not exist.
  Switch: /root/source-build/src/cssparser//src/Microsoft.Css.Parser/Microsoft.Css.Parser.csproj
  MSBUILD : error MSB1009: Project file does not exist.
  Switch: /root/source-build/src/cssparser//src/Microsoft.Css.Parser/Microsoft.Css.Parser.csproj

  'cssparser' failed during build.
  See '/root/source-build/artifacts/bin/cssparser/logs/cssparser.log' for more information.
/root/source-build/repos/application-insights.proj(23,5): error MSB3073: The command "/root/source-build/.dotnet/dotnet restore /bl:restore.binlog /root/source-build/src/application-insights//Microsoft.ApplicationInsights.csproj /p:Configuration=Debug /p:EnlistmentRoot=/root/source-build/src/application-insights//src /p:RelativeOutputPathBase= /v:minimal >> /root/source-build/artifacts/bin/application-insights/logs/application-insights.log 2>&1  " exited with code 1.
  MSBUILD : error MSB1009: Project file does not exist.
  Switch: /root/source-build/src/application-insights//Microsoft.ApplicationInsights.csproj
  MSBUILD : error MSB1009: Project file does not exist.
  Switch: /root/source-build/src/application-insights//Microsoft.ApplicationInsights.csproj

  'application-insights' failed during build.
  See '/root/source-build/artifacts/bin/application-insights/logs/application-insights.log' for more information.

Build FAILED.

EXEC : error : src/Humanizer/Humanizer.csproj: No such file or directory [/root/source-build/repos/humanizer.proj]
EXEC : error : src/NuGet.config: No such file or directory [/root/source-build/repos/humanizer.proj]
EXEC : error : Src/Newtonsoft.Json/Newtonsoft.Json.Dotnet.xproj: No such file or directory [/root/source-build/repos/newtonsoft-json901.proj]
EXEC : error : Src/Newtonsoft.Json/project.json: No such file or directory [/root/source-build/repos/newtonsoft-json901.proj]
/root/source-build/repos/Directory.Build.targets(32,5): error MSB3073: The command "git --work-tree=/root/source-build/src/newtonsoft-json901/ apply --ignore-whitespace --whitespace=nowarn /root/source-build/patches/newtonsoft-json901/0001-Run-dotnet-migrate-to-generate-Newtonsoft.Json.Dotne.patch" exited with code 1. [/root/source-build/repos/newtonsoft-json901.proj]
EXEC : error : Src/Newtonsoft.Json/Newtonsoft.Json.csproj: No such file or directory [/root/source-build/repos/newtonsoft-json.proj]
/root/source-build/repos/Directory.Build.targets(32,5): error MSB3073: The command "git --work-tree=/root/source-build/src/humanizer/ apply --ignore-whitespace --whitespace=nowarn /root/source-build/patches/humanizer/0001-Fix-building-in-a-source-build-context.patch" exited with code 1. [/root/source-build/repos/humanizer.proj]
/root/source-build/repos/Directory.Build.targets(32,5): error MSB3073: The command "git --work-tree=/root/source-build/src/newtonsoft-json/ apply --ignore-whitespace --whitespace=nowarn /root/source-build/patches/newtonsoft-json/0001-Updated-AssemblyVersion-FileVersion-Version-Prefix-a.patch" exited with code 1. [/root/source-build/repos/newtonsoft-json.proj]
/root/source-build/repos/cssparser.proj(20,5): error MSB3073: The command "/root/source-build/.dotnet/dotnet restore /bl:restore.binlog /root/source-build/src/cssparser//src/Microsoft.Css.Parser/Microsoft.Css.Parser.csproj /p:Configuration=Debug /v:minimal >> /root/source-build/artifacts/bin/cssparser/logs/cssparser.log 2>&1  " exited with code 1.
/root/source-build/repos/application-insights.proj(23,5): error MSB3073: The command "/root/source-build/.dotnet/dotnet restore /bl:restore.binlog /root/source-build/src/application-insights//Microsoft.ApplicationInsights.csproj /p:Configuration=Debug /p:EnlistmentRoot=/root/source-build/src/application-insights//src /p:RelativeOutputPathBase= /v:minimal >> /root/source-build/artifacts/bin/application-insights/logs/application-insights.log 2>&1  " exited with code 1.
    0 Warning(s)
    10 Error(s)
php-wizard commented 3 years ago

Installed submodules first and the build worked