Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 7: Alpine 3.17 package issue tracker #3020

Closed
9 tasks done
ayakael opened this issue Sep 10, 2022 · 18 comments
Closed
9 tasks done

.NET 7: Alpine 3.17 package issue tracker #3020

ayakael opened this issue Sep 10, 2022 · 18 comments
Assignees
Labels
area-patch-removal Removing patches for contributing repos from source-build

Comments

@ayakael
Copy link

ayakael commented Sep 10, 2022

Issue tracker for Alpine 3.17

Goals

  1. Prepare .NET 7.0 for Alpine 3.17 (x64, arm64, arm)
  2. Work towards targetting x86, armv6, s390x, ppc64le

Steps for 1.

Steps for 2.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ayakael
Copy link
Author

ayakael commented Sep 12, 2022

@omajid
In trying to build current release/7.0.1xx-rc1 of source-build-reference-packages, I get this error:

    /var/build/dotnet7/testing/dotnet7-stage0/src/dotnet-v7.0.1xx-rc1/src/source-build-reference-packages/artifacts/source-build/self/src/src/targetPacks/Directory.Build.targets(108,5): error : Package runtime.linux-musl-x64.microsoft.netcore.ilasm\7.0.0-rc.1.22403.8 was not restored

runtime.linux-musl-x64.Microsoft.NETCore.ILAsm.7.0.0-rc.1.22411.12.nupkg was built via ./build.sh -arch x64 -c Release -clang /p:NoPgoOptimize=true /p:EnableNgenOptimization=false /p:VersionSuffix=rc.1.22411.12.

Any idea what might be causing this error?

@omajid
Copy link
Member

omajid commented Sep 12, 2022

Sorry, I don't have a good idea. The various release/7.0.1xx* branches are broken for me too at the moment, in various different ways, mostly complaining about error : Unable to find package Microsoft.DotNet.Arcade.Sdk with version (= 7.0.0-beta.22403.1). Maybe try this again in a day or so, hoping upstream has fixed these issues?

@ayakael
Copy link
Author

ayakael commented Sep 13, 2022

Sorry, I don't have a good idea. The various release/7.0.1xx* branches are broken for me too at the moment, in various different ways, mostly complaining about error : Unable to find package Microsoft.DotNet.Arcade.Sdk with version (= 7.0.0-beta.22403.1). Maybe try this again in a day or so, hoping upstream has fixed these issues?

Copy that. Should I wait till rc1 is released proper?

@omajid
Copy link
Member

omajid commented Sep 13, 2022

Copy that. Should I wait till rc1 is properly released?

I was just told that this should all be working. Probably a good idea to file issues. I am going to do that for the arcade issues I mentioned above.

@ayakael
Copy link
Author

ayakael commented Sep 14, 2022

Does this build error in sdk ring any bells for you?


/var/build/aports/main/dotnet6-cross/src/dotnet-8a0eb58a5a825e10ea2bf06a892dd441355818c8/src/sdk/src/Cli/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj(27,5): error : Something moved around in Microsoft.Build.Runtime, adjust code here accordingly.
CSC : error CS2008: No source files specified. [/var/build/aports/main/dotnet6-cross/src/dotnet-8a0eb58a5a825e10ea2bf06a892dd441355818c8/src/sdk/template_feed/Microsoft.DotNet.Common.ItemTemplates/Microsoft.DotNet.Common.ItemTemplates.csproj]
CSC : error CS2008: No source files specified. [/var/build/aports/main/dotnet6-cross/src/dotnet-8a0eb58a5a825e10ea2bf06a892dd441355818c8/src/sdk/template_feed/Microsoft.DotNet.Common.ProjectTemplates.7.0/Microsoft.DotNet.Common.ProjectTemplates.7.0.csproj]
    0 Warning(s)
    3 Error(s)

It occurs in current release/7.0.1xx, but not in release/7.0.1xx-rc1

@ayakael
Copy link
Author

ayakael commented Sep 15, 2022

What is a good space to share issues on dotnet/llvm-project? I'm encountering problems crossbuilding to arm64 / armv7 from x64 via

CLANG_TARGET=$CHOST ROOTFS_DIR="$CBUILDROOT" ./eng/build.sh -c Release -arch arm64 -clang -cross --restore --build --pack /p:VersionSuffix=alpha.1.22411.1 /p:OSRid=linux-musl

This is after forcing use of clang-14.

Error:

  [ 73%] Building IntrinsicsHexagon.h...
  [ 73%] Building IntrinsicsR600.h...
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 1: line 1: �ELF�4g@�8@8: not found�ELF�4g@�8@8: not found
  
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  [ 73%] Building IntrinsicsMips.h...
  [ 73%] Building IntrinsicsPowerPC.h...
  [ 73%] Building IntrinsicsNVPTX.h...
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 10: line 10: syntax error: unexpected "(" (expecting ")")syntax error: unexpected "(" (expecting ")")
  
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 10: line 1: syntax error: unexpected "(" (expecting ")")�ELF�4g@�8@8: not found
  
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:148: include/llvm/IR/Attributes.inc] Error 2
  make[3]: *** Waiting for unfinished jobs....
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:272: include/llvm/IR/IntrinsicImpl.inc] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:210: include/llvm/IR/IntrinsicEnums.inc] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:334: include/llvm/IR/IntrinsicsAArch64.h] Error 2
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:520: include/llvm/IR/IntrinsicsBPF.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:582: include/llvm/IR/IntrinsicsHexagon.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:396: include/llvm/IR/IntrinsicsAMDGPU.h] Error 2
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 1: line 1: �ELF�4g@�8@8: not found�ELF�4g@�8@8: not found
  
  [ 73%] Building IntrinsicsRISCV.h...
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:706: include/llvm/IR/IntrinsicsNVPTX.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  ../../../bin/llvm-tblgen: ../../../bin/llvm-tblgen: line 1: line 10: �ELF�4g@�8@8: not found
  syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:644: include/llvm/IR/IntrinsicsMips.h] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:830: include/llvm/IR/IntrinsicsR600.h] Error 2
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:458: include/llvm/IR/IntrinsicsARM.h] Error 2
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:768: include/llvm/IR/IntrinsicsPowerPC.h] Error 2
  ../../../bin/llvm-tblgen: line 1: �ELF�4g@�8@8: not found
  ../../../bin/llvm-tblgen: line 10: syntax error: unexpected "(" (expecting ")")
  make[3]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:892: include/llvm/IR/IntrinsicsRISCV.h] Error 2
  make[2]: *** [CMakeFiles/Makefile2:4991: include/llvm/IR/CMakeFiles/intrinsics_gen.dir/all] Error 2
  make[2]: *** Waiting for unfinished jobs....
  [ 73%] Linking CXX static library ../libLLVMMC.a
  [ 73%] Built target LLVMMC
  make[1]: *** [CMakeFiles/Makefile2:20876: tools/objwriter/CMakeFiles/objwriter.dir/rule] Error 2
  make: *** [Makefile:7079: objwriter] Error 2
/var/build/aports/main/dotnet6-cross/src/llvm-project-c1304304028d603e34f6803b0740c34441f80d2e/llvm.proj(98,5): error MSB3073: The command " make objwriter llvm-mca FileCheck -j36" exited with code 2.

Build FAILED.

/var/build/aports/main/dotnet6-cross/src/llvm-project-c1304304028d603e34f6803b0740c34441f80d2e/llvm.proj(98,5): error MSB3073: The command " make objwriter llvm-mca FileCheck -j36" exited with code 2.
    0 Warning(s)
    1 Error(s)

This is likely caused by bin/llvm-tblge being built for arm64, build ought to compile and use a native x64 version.

@ayakael
Copy link
Author

ayakael commented Sep 17, 2022

@omajid Alpine aport for dotnet7 rc1 is implemented here, and it sems to build: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/39122

@ayakael
Copy link
Author

ayakael commented Sep 19, 2022

@omajid Build on armv7 takes 4x longer than aarch64 due to a strange bug with non-portable building of runtime. Would you have any hypotheses that could explain why portable build of runtime takes 20 minutes but non-portable takes 6 hours?

edit: I opened a runtime issue for this: dotnet/runtime#75811

@MichaelSimons MichaelSimons added area-patch-removal Removing patches for contributing repos from source-build and removed untriaged labels Sep 22, 2022
@ayakael
Copy link
Author

ayakael commented Oct 14, 2022

Note that rc2 currently does not build. For some reason, restoring stalls. I don't have time to debug this, hoping that it'll be squared away once general release is done.

edit doesn't seem to be a problem on latest release/7.0.1xx

@ayakael
Copy link
Author

ayakael commented Oct 25, 2022

The following issue is blocking release for s390x and ppc64le on dotnet7 which plagues mono-flavored runtime: dotnet/runtime#77364

@ayakael
Copy link
Author

ayakael commented Oct 26, 2022

How can we get mono to use system libunwind rather than built-in? I see that the test unit for system-libunwind is disable for s390x. Is it always using bundled?

@omajid
Copy link
Member

omajid commented Oct 26, 2022

Yes, it is always using bundled for me :(

@ayakael
Copy link
Author

ayakael commented Oct 26, 2022

I tried setting --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE, but of course that doesn't work. I don't see any switches in mono to force use of system libunwind, and it does seem like mono looks for unwind.h so I find it curious that libcoreclr.so doesn't link to libunwind.

@ayakael
Copy link
Author

ayakael commented Nov 19, 2022

.NET 7 is now merged and will be released for 3.17 on x86_64, aarch64 and armv7. s390x and ppc64le support, while very close, is still blocked by dotnet/runtime#77364, so didn't make the cut. They will be supported for 3.18.

@ayakael ayakael closed this as completed Nov 19, 2022
@ayakael ayakael reopened this Nov 26, 2022
@ayakael
Copy link
Author

ayakael commented Nov 26, 2022

Rebuilding dotnet7 with itself yields an odd error for Aspnetcore:

Emitting PerfMap file: /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/Microsoft.Net.Http.Headers.ni.r2rmap
    EXEC : error : Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj]
    ##vso[task.logissue type=error;sourcepath=EXEC;linenumber=0;columnnumber=0;code=;](NETCORE_ENGINEERING_TELEMETRY=Build) Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll
      Internal.CommandLine.CommandLineException: Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll
         at Internal.CommandLine.Helpers.AppendExpandedPaths(Dictionary`2 dictionary, String pattern, Boolean strict)
         at ILCompiler.Program.ProcessCommandLine(String[] args)
         at ILCompiler.Program.Run(String[] args)
         at ILCompiler.Program.Main(String[] args)
    /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj(496,5): error MSB3073: The command ""/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.alpine.3.17-x64/7.0.0/tools/crossgen2" --composite --targetarch:x64 --targetos:linux /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/*.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/*.dll --out:"/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/obj/Composite/Release/full-composite.r2r.dll"" exited with code 1.
    ##vso[task.logissue type=error;sourcepath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj;linenumber=496;columnnumber=5;code=MSB3073;](NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.alpine.3.17-x64/7.0.0/tools/crossgen2" --composite --targetarch:x64 --targetos:linux /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/*.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/*.dll --out:"/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/obj/Composite/Release/full-composite.r2r.dll"" exited with code 1.
    
    Build FAILED.
    
    EXEC : error : Multiple input files matching same simple name /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/System.Formats.Asn1.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/System.Formats.Asn1.dll [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj]
    /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj(496,5): error MSB3073: The command ""/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.alpine.3.17-x64/7.0.0/tools/crossgen2" --composite --targetarch:x64 --targetos:linux /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/package-cache/microsoft.netcore.app.runtime.alpine.3.17-x64/7.0.0/runtimes/alpine.3.17-x64/lib/net7.0/*.dll /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net7.0/alpine.3.17-x64/*.dll --out:"/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/obj/Composite/Release/full-composite.r2r.dll"" exited with code 1.
        0 Warning(s)
        2 Error(s)
    
    Time Elapsed 00:01:38.25
  /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets(192,5): error MSB3073: The command "/builds/ayakael/aports/community/dotnet7-build/src/bootstrap//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/packages/reference/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/lib/dotnet/artifacts/7.0.100/ /p:SourceBuildUseMonoRuntime=false /p:RestoreDisableParallel= /p:PublishCompressedFilesPathPrefix=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:PortableBuild=false /p:TargetRuntimeIdentifier=alpine.3.17-x64 /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props -p:BuildNodeJS=false -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/log/Release/Build.binlog -logger:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=alpine.3.17-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/ /p:ArtifactsDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/ /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1. [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj]
  ##vso[task.logissue type=error;sourcepath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets;linenumber=192;columnnumber=5;code=MSB3073;]The command "/builds/ayakael/aports/community/dotnet7-build/src/bootstrap//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/packages/reference/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/lib/dotnet/artifacts/7.0.100/ /p:SourceBuildUseMonoRuntime=false /p:RestoreDisableParallel= /p:PublishCompressedFilesPathPrefix=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:PortableBuild=false /p:TargetRuntimeIdentifier=alpine.3.17-x64 /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props -p:BuildNodeJS=false -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/log/Release/Build.binlog -logger:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=alpine.3.17-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/ /p:ArtifactsDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/ /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1.
  
  Build FAILED.
  
  /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets(192,5): error MSB3073: The command "/builds/ayakael/aports/community/dotnet7-build/src/bootstrap//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/packages/reference/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/lib/dotnet/artifacts/7.0.100/ /p:SourceBuildUseMonoRuntime=false /p:RestoreDisableParallel= /p:PublishCompressedFilesPathPrefix=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:PortableBuild=false /p:TargetRuntimeIdentifier=alpine.3.17-x64 /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props -p:BuildNodeJS=false -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/log/Release/Build.binlog -logger:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net7.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=alpine.3.17-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/ /p:ArtifactsDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/ /bl:/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/src/aspnetcore/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1. [/builds/ayakael/aports/community/dotnet7-build/src/dotnet-v7.0.100-rtm.22521.12/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj]
      0 Warning(s)
      1 Error(s)

@tmds Could this be related to eliminating portable runtime build?

@ayakael
Copy link
Author

ayakael commented Dec 5, 2022

Should be fixed in 7.0.1, closing

@ayakael ayakael closed this as completed Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-patch-removal Removing patches for contributing repos from source-build
Projects
Archived in project
Development

No branches or pull requests

3 participants