-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Description
I'm trying to compile dotnet from source but somewhere in the build.sh
process just after running Darc the dotnet executable segfaults. Note that even though it says it could not find zlib, zlib-dev
is installed.
Initialized empty Git repository in /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/
Found bootstrap SDK 3.1.109, bootstrap Arcade 1.0.0-beta.19359.6
+++ dirname ./build.sh
++ cd -P .
++ pwd
+ scriptroot=/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0
+ '[' false == true ']'
++ date +%m%d%H%M%S
+ /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/eng/common/build.sh --restore --build -c Release --warnaserror false /bl:/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/log/Debug/Build_1109114237.binlog /flp:v=diag
Downloading 'https://dot.net/v1/dotnet-install.sh'
wget: server returned error: HTTP/1.1 404 Not Found
wget: server returned error: HTTP/1.1 404 Not Found
dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.109/dotnet-sdk-3.1.109-linux-musl-x64.tar.gz
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.109/dotnet-sdk-3.1.109-linux-musl-x64.tar.gz
dotnet-install: Adding to current process PATH: `/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.
Welcome to .NET Core 3.1!
---------------------
SDK Version: 3.1.109
----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/sdk/3.1.109/MSBuild.dll /nologo -maxcpucount /m -verbosity:m /v:minimal /bl:/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/log/Debug/Build_1109114237.binlog /clp:Summary /flp:v=diag /nr:true /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=false /p:Configuration=Release /p:RepoRoot=/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0 /p:Restore=true /p:Build=true /p:Rebuild=false /p:Test=false /p:Pack=false /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=false /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/Build.proj
/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/ProjectLayout.props(8,3): warning MSB4011: "/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/RepoLayout.props" cannot be imported again. It was already imported at "/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/Build.proj (52,3)". This is most likely a build authoring error. This subsequent import will be ignored.
Restore completed in 2.37 sec for /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/Tools.proj.
Restore completed in 1.1 sec for /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/build.proj.
Restore completed in 11.8 sec for /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/tools-local/tasks/Microsoft.DotNet.SourceBuild.Tasks.XPlat/Microsoft.DotNet.SourceBuild.Tasks.XPlat.csproj.
Restore completed in 120.55 ms for /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/tools-local/tasks/SourceBuild.MSBuildSdkResolver/SourceBuild.MSBuildSdkResolver.csproj.
Microsoft.DotNet.SourceBuild.Tasks.XPlat -> /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/tools-local/tasks/Microsoft.DotNet.SourceBuild.Tasks.XPlat/bin/Release/Microsoft.DotNet.SourceBuild.Tasks.XPlat.dll
SourceBuild.MSBuildSdkResolver -> /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/x64/Release/SourceBuild.MSBuildSdkResolver.dll
Adding resolver to SDK: SourceBuild.MSBuildSdkResolver -> /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/sdk/3.1.109/SdkResolvers/SourceBuild.MSBuildSdkResolver/SourceBuild.MSBuildSdkResolver.dll
[11:44:11.03] Installing Darc.
Tool path '/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/tools/' does not exist.
Installing Darc CLI version 1.1.0-beta.19568.2...
You may need to restart your command shell if this is the first dotnet tool you have installed.
Restore completed in 14.08 sec. You can invoke the tool using the following command: darc
Tool 'microsoft.dotnet.darc' (version '1.1.0-beta.19568.2') was successfully installed.
[11:44:27.13] Done installing Darc.
[11:44:27.14] Getting source code for repos in Version.Details.xml.
[11:44:27.14] Running Darc command: '/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/dotnet /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/tools/.store/microsoft.dotnet.darc/1.1.0-beta.19568.2/microsoft.dotnet.darc/1.1.0-beta.19568.2/tools/netcoreapp3.0/any/Microsoft.DotNet.Darc.dll clone --git-dir-folder /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/modules/src/ --include-toolset --ignore-repos ";https://dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/devdiv/DevDiv/_git/DotNet-Trusted;https://devdiv.visualstudio.com/DevDiv/_git/DotNet-Trusted;https://dnceng@dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://github.com/dotnet/source-build-reference-packages" --debug --azdev-pat bogus --github-pat bogus --depth 0' from working dir /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/
info: Microsoft.DotNet.Darc.Operations.Operation[0]
Getting a collection of dependencies from 'eng/Version.Details.xml' in repo '/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0'...
info: Microsoft.DotNet.Darc.Operations.Operation[0]
Reading 'eng/Version.Details.xml' in repo '/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0' and branch ''...
info: Microsoft.DotNet.Darc.Operations.Operation[0]
Reading 'eng/Version.Details.xml' from repo '/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0' and branch '' succeeded!
dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
Skipping ignored repo https://github.com/dotnet/source-build-reference-packages (at e25d677d8963a6fb3156adf21d4c3a80738aecf4)
info: Microsoft.DotNet.Darc.Operations.Operation[0]
Found 29 local dependencies. Starting deep clone...
dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
Starting master copy for https://github.com/dotnet/arcade in /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/src/arcade with .gitdir /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/modules/src/arcade.git
dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
Master .gitdir /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/modules/src/arcade.git does not exist
info: Microsoft.DotNet.Darc.Operations.Operation[0]
Cloning master copy of https://github.com/dotnet/arcade into /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/src/arcade with .gitdir path /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/modules/src/arcade.git
dbug: Microsoft.DotNet.Darc.Operations.Operation[0]
Cloning https://github.com/dotnet/arcade to /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/src/arcade
Segmentation fault
/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/tools-local/init-build.proj(204,5): error MSB3073: The command "/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/dotnet /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/tools/.store/microsoft.dotnet.darc/1.1.0-beta.19568.2/microsoft.dotnet.darc/1.1.0-beta.19568.2/tools/netcoreapp3.0/any/Microsoft.DotNet.Darc.dll clone --git-dir-folder /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/modules/src/ --include-toolset --ignore-repos ";https://dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/devdiv/DevDiv/_git/DotNet-Trusted;https://devdiv.visualstudio.com/DevDiv/_git/DotNet-Trusted;https://dnceng@dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://github.com/dotnet/source-build-reference-packages" --debug --azdev-pat bogus --github-pat bogus --depth 0 --repos-folder /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/src/" exited with code 139.
Build FAILED.
/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/ProjectLayout.props(8,3): warning MSB4011: "/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/RepoLayout.props" cannot be imported again. It was already imported at "/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/packages/restored/microsoft.dotnet.arcade.sdk/1.0.0-beta.19359.6/tools/Build.proj (52,3)". This is most likely a build authoring error. This subsequent import will be ignored.
/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/tools-local/init-build.proj(204,5): error MSB3073: The command "/home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/dotnet /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.dotnet/tools/.store/microsoft.dotnet.darc/1.1.0-beta.19568.2/microsoft.dotnet.darc/1.1.0-beta.19568.2/tools/netcoreapp3.0/any/Microsoft.DotNet.Darc.dll clone --git-dir-folder /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/.git/modules/src/ --include-toolset --ignore-repos ";https://dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/devdiv/DevDiv/_git/DotNet-Trusted;https://devdiv.visualstudio.com/DevDiv/_git/DotNet-Trusted;https://dnceng@dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://github.com/dotnet/source-build-reference-packages" --debug --azdev-pat bogus --github-pat bogus --depth 0 --repos-folder /home/bart/Documents/Git/alpine/aports/testing/dotnet/src/source-build-2b1abb23997ef7cd23182455e0c6566e205e43d0/artifacts/src/" exited with code 139.
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:36.06
Build failed (exit code '1').
Metadata
Metadata
Assignees
Labels
No labels