Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build failed on Arch Linux #1322

@KairuiLiu

Description

@KairuiLiu

I run the build.sh on arch linux, and it build failed with log

Checking Paket version (prerelease requested)...
Paket.exe 7.2.0-alpha001+e9bb0b5eadeb7124835087319e57df9271f2d449 is up to date.
Paket version 7.2.0-alpha001+e9bb0b5eadeb7124835087319e57df9271f2d449
The last full restore is still up to date. Nothing left to do.
Total time taken: 0 milliseconds
Building project with version: LocalBuild
Shortened DependencyGraph for Target Pack:
<== Pack
   <== Test
      <== Build
         <== Clean

The running order is:
  - Clean
  - Build
  - Test
  - Pack
Running build with 1 worker
Starting Target: Clean 
Deleting /home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/obj
Deleting /home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/obj
Deleting /home/liukairui/Public/scriptcs/src/ScriptCs.Core/obj
Deleting /home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/obj
Deleting /home/liukairui/Public/scriptcs/src/ScriptCs/obj
Deleting /home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/obj
Deleting /home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/obj
Deleting /home/liukairui/Public/scriptcs/test/ScriptCs.Tests/obj
Deleting /home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/obj
Deleting /home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/obj
Finished Target: Clean
Starting Target: Build (==> Clean)
dotnet "restore" 
  Determining projects to restore...
  Restored /home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj (in 215 ms).
  Restored /home/liukairui/Public/scriptcs/src/ScriptCs.Core/ScriptCs.Core.csproj (in 215 ms).
  Restored /home/liukairui/Public/scriptcs/src/ScriptCs/ScriptCs.csproj (in 215 ms).
  Restored /home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj (in 215 ms).
  Restored /home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj (in 215 ms).
  Restored /home/liukairui/Public/scriptcs/test/ScriptCs.Tests/ScriptCs.Tests.csproj (in 215 ms).
  Restored /home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj (in 217 ms).
  Restored /home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj (in 5 ms).
  Restored /home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj (in 5 ms).
  Restored /home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj (in 244 ms).
Building project: ScriptCs.sln
  /usr/bin/xbuild  ScriptCs.sln /t:Build  /v:m  /p:RestorePackages="True" /p:Optimize="True" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"/home/liukairui/Public/scriptcs/packages/FAKE/tools/FakeLib.dll"

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 6.12.0.0
Copyright (C) 2005-2013 Various Mono authors
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/src/ScriptCs/ScriptCs.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/test/ScriptCs.Tests/ScriptCs.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/src/ScriptCs.Core/ScriptCs.Core.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : /home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/ScriptCs.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
/home/liukairui/Public/scriptcs/src/ScriptCs/ScriptCs.csproj: error : /home/liukairui/Public/scriptcs/src/ScriptCs/ScriptCs.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj: error : /home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/test/ScriptCs.Tests/ScriptCs.Tests.csproj: error : /home/liukairui/Public/scriptcs/test/ScriptCs.Tests/ScriptCs.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/src/ScriptCs.Core/ScriptCs.Core.csproj: error : /home/liukairui/Public/scriptcs/src/ScriptCs.Core/ScriptCs.Core.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj: error : /home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj: error : /home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj: error : /home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj: error : /home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj: error : /home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
/home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj: error : /home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
Running build failed.
Error:
Building ScriptCs.sln failed with exitcode 1.

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0071606
Build      Failure
Total:     00:00:02.1896928
---------------------------------------------------------------------
Status:    Failure
---------------------------------------------------------------------
---------------------------------------------------------------------
  1) Building ScriptCs.sln failed with exitcode 1.
  2) : /home/liukairui/Public/scriptcs/src/ScriptCs/ScriptCs.csproj(0,0): /home/liukairui/Public/scriptcs/src/ScriptCs/ScriptCs.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  3) : /home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj(0,0): /home/liukairui/Public/scriptcs/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  4) : /home/liukairui/Public/scriptcs/test/ScriptCs.Tests/ScriptCs.Tests.csproj(0,0): /home/liukairui/Public/scriptcs/test/ScriptCs.Tests/ScriptCs.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  5) : /home/liukairui/Public/scriptcs/src/ScriptCs.Core/ScriptCs.Core.csproj(0,0): /home/liukairui/Public/scriptcs/src/ScriptCs.Core/ScriptCs.Core.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  6) : /home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj(0,0): /home/liukairui/Public/scriptcs/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  7) : /home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj(0,0): /home/liukairui/Public/scriptcs/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  8) : /home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj(0,0): /home/liukairui/Public/scriptcs/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
  9) : /home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj(0,0): /home/liukairui/Public/scriptcs/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
 10) : /home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj(0,0): /home/liukairui/Public/scriptcs/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
 11) : /home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj(0,0): /home/liukairui/Public/scriptcs/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  
---------------------------------------------------------------------

mono version

❯ mono -V
Mono JIT compiler version 6.12.0 (makepkg/ed0788bf61f Sun Apr 24 04:25:18 PM UTC 2022)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          supported, not enabled.
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions