Package Details: mono-msbuild-sdkresolver-git 16.10.1.r5005.gde7a9c7b8-1

Git Clone URL: https://aur.archlinux.org/mono-msbuild-git.git (read-only, click to copy)
Package Base: mono-msbuild-git
Description: Xamarin implementation of the Microsoft build system (SDK resolver) (Git version)
Upstream URL: https://github.com/mono/msbuild
Licenses: MIT
Conflicts: msbuild-sdkresolver
Provides: msbuild-sdkresolver
Submitter: LinuxUserGD
Maintainer: LinuxUserGD
Last Packager: LinuxUserGD
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-06 21:04 (UTC)
Last Updated: 2023-12-20 21:36 (UTC)

Latest Comments

FabioLolix commented on 2022-02-13 21:01 (UTC)

Hello, this pkgbuild need provide and conflicts to mono-msbuild and need to be renamed to mono-msbuild-git since it is called mono-msbuild in official repo (https://archlinux.org/packages/?q=mono-msbuild)

LinuxUserGD commented on 2020-04-22 21:35 (UTC)

Patches still don't work without uncommenting them.

LinuxUserGD commented on 2020-03-14 15:51 (UTC) (edited on 2020-03-14 16:44 (UTC) by LinuxUserGD)

Now fails to get some sources:

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
dotnet-install: Adding to current process PATH: `/run/media/user/compile/yay/msbuild-git/src/msbuild/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.
  Retrying 'FindPackagesByIdAsync' for source 'https://dotnetmyget.blob.core.windows.net/artifacts/roslyn/nuget/v3/flatcontainer/microsoft.net.test.sdk/index.json'.
  No such host is known
  Retrying 'FindPackagesByIdAsync' for source 'https://dotnetmyget.blob.core.windows.net/artifacts/roslyn/nuget/v3/flatcontainer/microsoft.netframework.referenceassemblies/index.json'.
  No such host is known

Edit: sorry, seems like this was a connection issue, nothing to do with upstream or the PKGBUILD. For the not working patches, here is a diff:

diff --git a/PKGBUILD b/PKGBUILD
index cbc0347..2516733 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
 _pkgbase=msbuild
 pkgbase=msbuild-git
 pkgname=('msbuild-git' 'msbuild-sdkresolver-git')
-pkgver=16.3.0.r3318.g8059ecc7
-pkgrel=2
+pkgver=16.6.0.r3931.ge8ae54d1
+pkgrel=1
 arch=('x86_64')
 url='https://github.com/mono/msbuild'
 license=('MIT')
@@ -14,14 +14,10 @@ depends=('mono>=6.0.0')
 makedepends=(xmlstarlet unzip dotnet-host dotnet-sdk)
 source=('git+https://github.com/mono/msbuild.git'
         copy_hostfxr.patch
-        fix_bashisms.patch
-        license_check_is_case_sensitive.patch
-        fix_dotnet_case.patch)
+        fix_bashisms.patch)
 sha256sums=('SKIP'
             'f08615c058771fe740758d9bd2e23e01a52c5d51fab05a15558622e7f7974f22'
-            'a13ecb4125c673372d87a3b7d957fc8716a3c3e74cd08e9e354b5dcf170ed453'
-            '3a12a9c33ad5938e8af24d2985241053602f4efc94a4818a00a17da32ce4aba5'
-            '69668675a5db978845a48b01b9b30fae07509683deeaef4dd616aba4acb8e2b5')
+            'a13ecb4125c673372d87a3b7d957fc8716a3c3e74cd08e9e354b5dcf170ed453')

 pkgver() {
     local _version _commit
@@ -38,8 +34,8 @@ prepare() {

     patch --forward --strip=1 --input="${srcdir}/fix_bashisms.patch"
     patch --forward --strip=1 --input="${srcdir}/copy_hostfxr.patch"
-    patch --forward --strip=1 --input="${srcdir}/license_check_is_case_sensitive.patch"
-    patch --forward --strip=1 --input="${srcdir}/fix_dotnet_case.patch"
+    #patch --forward --strip=1 --input="${srcdir}/license_check_is_case_sensitive.patch"
+    #patch --forward --strip=1 --input="${srcdir}/fix_dotnet_case.patch"
     #cp $(pacman -Ql dotnet-host | grep -F libhostfxr.so | cut -d' ' -f2) ./mono/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/
 }

LinuxUserGD commented on 2019-12-12 17:35 (UTC)

Package compiles fine if you ignore last two patches.

noabody commented on 2019-11-29 21:54 (UTC) (edited on 2019-11-29 22:39 (UTC) by noabody)

It gets a bit farther by changing the source from source=('git+<https://github.com/mono/msbuild.git>' to:

source=('msbuild::git+https://github.com/mono/msbuild.git#branch=mono-2019-06'

Which equates to version 16.3.0.r3389.g560b1caa

But eventually fails with too many open files.

boggogo commented on 2019-11-24 17:48 (UTC)

I got the same error message as gdm413229

gdm413229 commented on 2019-11-03 04:59 (UTC) (edited on 2019-11-03 05:00 (UTC) by gdm413229)

I can't build this package. The log can be found below.

=> Making package: msbuild-git 16.3.0.r3318.g8059ecc7-2 (Sun 03 Nov 2019 04:56:35 GMT)

==> Checking runtime dependencies...

==> Checking buildtime dependencies...

==> Retrieving sources...

-> Updating msbuild git repo...

Fetching origin

-> Found copy_hostfxr.patch

-> Found fix_bashisms.patch

-> Found license_check_is_case_sensitive.patch

-> Found fix_dotnet_case.patch

==> Validating source files with sha256sums...

msbuild ... Skipped

copy_hostfxr.patch ... Passed

fix_bashisms.patch ... Passed

license_check_is_case_sensitive.patch ... Passed

fix_dotnet_case.patch ... Passed

==> Extracting sources...

-> Creating working copy of msbuild git repo...

Reset branch 'makepkg'

==> Starting prepare()...

patching file gen_build_info.sh

patching file mono/create_bootstrap.sh

patching file msbuild-deploy.in

patching file eng/cibuild_bootstrapped_msbuild.sh

Hunk #1 succeeded at 56 with fuzz 2.

patching file eng/cibuild_bootstrapped_msbuild.sh

Hunk #1 succeeded at 56 with fuzz 1.

patching file LICENSE

The next patch would create the file license,

which already exists! Skipping patch.

1 out of 1 hunk ignored

==> ERROR: A failure occurred in prepare().

Aborting...