Package Details: msbuild 16.3+xamarinxplat.2019.08.08.00.55-3

Git Clone URL: https://aur.archlinux.org/msbuild.git (read-only)
Package Base: msbuild
Description: Xamarin implementation of the Microsoft build system
Upstream URL: https://github.com/mono/msbuild
Licenses: MIT
Submitter: fmauNeko
Maintainer: fmauNeko
Last Packager: fmauNeko
Votes: 3
Popularity: 0.090882
First Submitted: 2019-04-17 13:23
Last Updated: 2019-09-24 07:19

Pinned Comments

fmauNeko commented on 2019-10-03 08:29

The update to 16.4 is ready, I'm just waiting for the Mono 6.4.0 package to be published. (16.4 doesn't build against Mono 6.0.0)

Latest Comments

1 2 Next › Last »

fmauNeko commented on 2019-10-03 08:29

The update to 16.4 is ready, I'm just waiting for the Mono 6.4.0 package to be published. (16.4 doesn't build against Mono 6.0.0)

zebulon commented on 2019-09-06 05:02

On my system, I had to take care of those settings to make it compile:

Firstly, increase ulimit (default is 1024), e.g. ulimit -n 4096.

Secondly, make sure that en_US.UTF-8 UTF-8 is one of the generated locales.

Can those requirements be enforced in the PKGBUILD?

hugegameartgd commented on 2019-08-28 15:50

I get:

Downloading 'https://dot.net/v1/dotnet-install.sh'
/run/media/user/Windows/.cache/yay/msbuild/src/msbuild-16.3/.dotnet/dotnet-install.sh: Zeile 147: VERSION_ID ist nicht gesetzt.
/run/media/user/Windows/.cache/yay/msbuild/src/msbuild-16.3/.dotnet/dotnet-install.sh: Zeile 205: VERSION_ID ist nicht gesetzt.
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Runtime/2.1.7/dotnet-runtime-2.1.7-linux-x64.tar.gz
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Runtime/2.1.7/dotnet-runtime-2.1.7-linux-x64.tar.gz
/run/media/user/Windows/.cache/yay/msbuild/src/msbuild-16.3/.dotnet/dotnet-install.sh: Zeile 147: VERSION_ID ist nicht gesetzt.
/run/media/user/Windows/.cache/yay/msbuild/src/msbuild-16.3/.dotnet/dotnet-install.sh: Zeile 147: VERSION_ID ist nicht gesetzt.
dotnet-install: Adding to current process PATH: `/run/media/user/Windows/.cache/yay/msbuild/src/msbuild-16.3/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.

CPU is at 1% It looks like makepkg is paused somehow.

PedroHLC commented on 2019-08-26 13:04

Hi @fmauNeko Your solution is good. Thanks for fiding what was wrong.

fmauNeko commented on 2019-08-26 12:19

@PedroHLC Apparently it's caused by a mismatch of the NuGet assembly shipped with the .NET SDK 2.2.1xx that is packaged in Arch (it ships with a version 4.9.x) and the one from Mono 6.0.0 (which is the 5.0.0 version). I updated the PKGBUILD to build against the 3.0.0 preview SDK, as 2.2.2xx or 2.2.3xx (which ships with NuGet 5.0.0 and 5.1.0 respectively). The only problem is that you'll have to manually build it then install in your chroot: extra-x86_64-build -- -I ../dotnet-host-preview-3.0.0+100+preview.013656-2-x86_64.pkg.tar.xz -I ../dotnet-sdk-preview-3.0.0+100+preview.013656-2-x86_64.pkg.tar.xz -I ../dotnet-runtime-preview-3.0.0+100+preview.013656-2-x86_64.pkg.tar.xz

fmauNeko commented on 2019-08-24 20:04

@PedroHLC I'll inspect that.

@waterlubber This happens sometimes, appears to be a transient error, sometimes trying again works.

@incomingstick It says "Too many open files". Try to increase your max open files limit with ulimit -n, the default should be 1024.

incomingstick commented on 2019-08-23 16:29

This most resent update is broken and unable to build:

/home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/NuGet.targets(123,5): error : Failed to retrieve information about 'System.ValueTuple' from remote source 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-buildtools/nuget/v3/flatcontainer/system.valuetuple/index.json'. [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/NuGet.targets(123,5): error : Too many open files [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/NuGet.targets(123,5): error : Failed to retrieve information about 'Microsoft.Build.Utilities.Core' from remote source 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/microsoft.build.utilities.core/index.json'. [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Tasks.UnitTests/Microsoft.Build.Tasks.UnitTests.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/NuGet.targets(123,5): error : Too many open files [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Tasks.UnitTests/Microsoft.Build.Tasks.UnitTests.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Utilities/Microsoft.Build.Utilities.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Utilities.UnitTests/Microsoft.Build.Utilities.UnitTests.csproj : error MSB4024: The imported project file "/opt/dotnet/sdk/2.2.108/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props" could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Xunit.NetCore.Extensions/Xunit.NetCore.Extensions.csproj : error MSB4024: The imported project file "/opt/dotnet/sdk/2.2.108/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props" could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Samples/Dependency/Dependency.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Samples/PortableTask/PortableTask.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Microsoft.Common.props(77,5): error MSB4024: The imported project file "/home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Imports/Microsoft.Common.props/ImportBefore/Microsoft.NuGet.ImportBefore.props" could not be loaded. Too many open files [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Samples/TaskUsageLogger/TaskUsageLogger.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Samples/TaskWithDependency/TaskWithDependency.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Microsoft.Common.props(77,5): error MSB4019: The imported project "/home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Imports/Microsoft.Common.props/ImportBefore/" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Samples/XmlFileLogger/XmlFileLogger.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/MSBuildTaskHost/MSBuildTaskHost.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Package/MSBuild.VSSetup/MSBuild.VSSetup.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Deprecated/Engine/Microsoft.Build.Engine.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Deprecated/Conversion/Microsoft.Build.Conversion.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Microsoft.Common.props(77,5): error MSB4019: The imported project "/home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Imports/Microsoft.Common.props/ImportBefore/" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Package/Localization/Localization.csproj] /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Package/DevDivPackage/DevDivPackage.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/src/Package/MSBuild.Engine.Corext/MSBuild.Engine.Corext.csproj : error MSB4025: The project file could not be loaded. Too many open files /home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Microsoft.Common.props(77,5): error MSB4019: The imported project "/home/user/.cache/yay/msbuild/src/msbuild-16.3/artifacts/mono-msbuild/Extensions/Current/Imports/Microsoft.Common.props/ImportBefore/*" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/home/user/.cache/yay/msbuild/src/msbuild-16.3/src/MSBuild.Bootstrap/MSBuild.Bootstrap.csproj]

waterlubber commented on 2019-08-23 16:15

I can't get this to build. It looks like it's trying to download some file from Microsoft, and failing. (see: https://pastebin.com/6iVxTtcS) This error occurs in a fresh clone of the package with just makepkg. dotnet-sdk is installed. Notably:

Retrying 'FindPackagesByIdAsync' for source 'https://dotnetmyget.blob.core.windows.net/artifacts/aspnetcore-dev/nuget/v3/flatcontainer/microsoft.dotnet.arcade.sdk/index.json'.
No such host is known
/mnt/main/home/waterlubber/Downloads/msbuild/src/msbuild-16.3/artifacts/toolset/restore.proj : error : Failed to retrieve information about 'Microsoft.DotNet.Arcade.Sdk' from remote source 'https://dotnetmyget.blob.core.windows.net/artifacts/roslyn-tools/nuget/v3/flatcontainer/microsoft.dotnet.arcade.sdk/index.json'.
/mnt/main/home/waterlubber/Downloads/msbuild/src/msbuild-16.3/artifacts/toolset/restore.proj : error : Failed to retrieve information about 'Microsoft.DotNet.Arcade.Sdk' from remote source 'https://dotnetmyget.blob.core.windows.net/artifacts/roslyn-tools/nuget/v3/flatcontainer/microsoft.dotnet.arcade.sdk/index.json'.
##vso[task.logissue type=error]Build failed (exit code '1').

The microsoft URLs return some sort of XML that say "blob not found."

PedroHLC commented on 2019-08-22 12:26

Hi, I'm getting:

error MSB4018: The "GenerateDepsFile" task failed unexpectedly
error MSB4018: System.MissingMethodException: Method not found: System.Collections.Generic.IList`1<NuGet.Packaging.Core.PackageDependency> 

I'm building in a clean chroot. Any clue of what it could be?

EDIT: Also tried with nuget-nightly, also fails in "GenerateDepsFile"

fmauNeko commented on 2019-08-22 09:55

@BrLi I just updated to 16.3.