From owner-svn-ports-all@freebsd.org Fri Dec 18 19:16:39 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8BF2B4C010C; Fri, 18 Dec 2020 19:16:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CyJWW3Yrsz3JF2; Fri, 18 Dec 2020 19:16:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6D2C810592; Fri, 18 Dec 2020 19:16:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BIJGdMP061457; Fri, 18 Dec 2020 19:16:39 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BIJGbvL061449; Fri, 18 Dec 2020 19:16:37 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202012181916.0BIJGbvL061449@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 18 Dec 2020 19:16:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558398 - in head: devel/dbus-sharp devel/newtonsoft-json emulators/mesen games/openbve games/openra graphics/nplot lang/fsharp x11-toolkits/gtk-sharp20 x11-toolkits/gtk-sharp30 X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head: devel/dbus-sharp devel/newtonsoft-json emulators/mesen games/openbve games/openra graphics/nplot lang/fsharp x11-toolkits/gtk-sharp20 x11-toolkits/gtk-sharp30 X-SVN-Commit-Revision: 558398 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 19:16:39 -0000 Author: linimon Date: Fri Dec 18 19:16:37 2020 New Revision: 558398 URL: https://svnweb.freebsd.org/changeset/ports/558398 Log: Mark various ports as BROKEN with Mono 5.20, and, in some other cases, Mono 6.8. PR: 238089 Submitted by: cem Obtained from: lonesome.com build regression testing Modified: head/devel/dbus-sharp/Makefile head/devel/newtonsoft-json/Makefile head/emulators/mesen/Makefile head/games/openbve/Makefile head/games/openra/Makefile head/graphics/nplot/Makefile head/lang/fsharp/Makefile head/x11-toolkits/gtk-sharp20/Makefile head/x11-toolkits/gtk-sharp30/Makefile Modified: head/devel/dbus-sharp/Makefile ============================================================================== --- head/devel/dbus-sharp/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/devel/dbus-sharp/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -19,10 +19,16 @@ USES= autoreconf gmake mono pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= mono +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly +.endif + post-patch: # libc.so is an LD script not usable by dllmap, so we have to set a proper # version number. @${REINPLACE_CMD} -e 's|libc.so.6|libc.so.7|' \ ${WRKSRC}/src/dbus-sharp.dll.config -.include +.include Modified: head/devel/newtonsoft-json/Makefile ============================================================================== --- head/devel/newtonsoft-json/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/devel/newtonsoft-json/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -26,6 +26,12 @@ PLIST_FILES= lib/mono/Newtonsoft.Json/Newtonsoft.Json. lib/mono/gac/Newtonsoft.Json/7.0.0.0__b9a188c8922137c6/Newtonsoft.Json.pdb \ libdata/pkgconfig/Newtonsoft.Json.pc +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly +.endif + do-build: (cd ${WRKSRC}/Src/Newtonsoft.Json && ${SETENV} ${MAKE_ENV} xbuild Newtonsoft.Json.csproj \ /property:SignAssembly=true \ @@ -41,4 +47,4 @@ do-install: (cd ${WRKDIR} && ${INSTALL_DATA} Newtonsoft.Json.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig) -.include +.include Modified: head/emulators/mesen/Makefile ============================================================================== --- head/emulators/mesen/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/emulators/mesen/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -62,6 +62,12 @@ MONO_DESKTOP_ENTRIES= "Mesen" "NES/Famicom Emulator" \ LIBRETRO_ALL_TARGET= libretro +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 5.10 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found +.endif + do-install: # empty to avoid default do-install-MONO-on: @@ -87,4 +93,4 @@ do-install-LIBRETRO-on: ${INSTALL_LIB} ${WRKSRC}/bin/mesen_libretro.${MESEN_ARCH}.so \ ${STAGEDIR}${PREFIX}/lib/libretro/mesen_libretro.so -.include +.include Modified: head/games/openbve/Makefile ============================================================================== --- head/games/openbve/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/games/openbve/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -50,6 +50,12 @@ PORTDOCS= changelog.md credits.md routes-and-trains.tx OPTIONS_DEFINE= DOCS +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 5.10 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found +.endif + post-patch: @${REINPLACE_CMD} -e '/Unix/s,bash,sh,' \ ${WRKSRC}/source/OpenBVE/OpenBve.csproj @@ -79,4 +85,4 @@ do-install-DOCS-on: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/debian/,} \ ${STAGEDIR}${DOCSDIR} -.include +.include Modified: head/games/openra/Makefile ============================================================================== --- head/games/openra/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/games/openra/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -55,6 +55,12 @@ INSTALL_TARGET= install install-man-page \ install-linux-mime install-linux-shortcuts PORTDATA= * +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 5.10 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found +.endif + post-extract: ${CP} ${_DISTDIR}/${DISTFILES:C/:.*//:MIP2LOCATION-*} ${WRKSRC} @@ -77,4 +83,4 @@ do-test: ${NUGET_PACKAGEDIR}/NUnit.ConsoleRunner/tools/nunit3-console.exe \ --noresult OpenRA.Test.nunit) -.include +.include Modified: head/graphics/nplot/Makefile ============================================================================== --- head/graphics/nplot/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/graphics/nplot/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -26,6 +26,12 @@ PLIST_FILES= lib/mono/NPlot/NPlot.dll \ lib/mono/gac/NPlot/0.9.11.0__1d82a50c5d01c44e/NPlot.dll \ libdata/pkgconfig/NPlot.pc +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly +.endif + pre-build: openssl enc -base64 -d <${PATCHDIR}/Dynamic.key >${WRKSRC}/src/Dynamic.snk @@ -39,4 +45,4 @@ do-install: -root ${STAGEDIR}${PREFIX}/lib/ -package NPlot -i bin/NPlot.dll) (cd ${WRKDIR} && ${INSTALL_DATA} NPlot.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig) -.include +.include Modified: head/lang/fsharp/Makefile ============================================================================== --- head/lang/fsharp/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/lang/fsharp/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -32,4 +32,14 @@ do-test: MONO_PATH=${WRKSRC}/Release/net40/bin \ ./run-all.sh) -.include +.include + +.if defined(MONO_DEFAULT) +.if ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: A unique overload for method 'GetFileNameWithoutExtension' could not be determined based on type information prior to this program point +.elif ${MONO_DEFAULT} > 5.10 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The type 'HashSet' is not defined +.endif +.endif + +.include Modified: head/x11-toolkits/gtk-sharp20/Makefile ============================================================================== --- head/x11-toolkits/gtk-sharp20/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/x11-toolkits/gtk-sharp20/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -27,8 +27,14 @@ SHEBANG_FILES= parser/*.pl GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: 'Range' is an ambiguous reference between 'System.Range' and 'Gtk.Range' +.endif + post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/glib/glue/*.c -.include +.include Modified: head/x11-toolkits/gtk-sharp30/Makefile ============================================================================== --- head/x11-toolkits/gtk-sharp30/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/x11-toolkits/gtk-sharp30/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -26,8 +26,14 @@ SHEBANG_FILES= parser/*.pl USE_PERL5= run MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: 'Range' is an ambiguous reference between 'System.Range' and 'Gtk.Range' +.endif + post-patch: @${REINPLACE_CMD} -e 's|gmcs|mcs|g' \ ${WRKSRC}/configure -.include +.include