From owner-freebsd-ports@freebsd.org Mon Jul 22 22:46:03 2019 Return-Path: Delivered-To: freebsd-ports@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 7B1F0BE447 for ; Mon, 22 Jul 2019 22:46:03 +0000 (UTC) (envelope-from prj@rootwyrm.com) Received: from draenor.rootwyrm.com (draenor.rootwyrm.com [IPv6:2001:19f0:5c01:17::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25CE68F2E9 for ; Mon, 22 Jul 2019 22:46:03 +0000 (UTC) (envelope-from prj@rootwyrm.com) Received: from [10.10.1.50] (d28-23-128-190.dim.wideopenwest.com [23.28.190.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: prj@rootwyrm.com) by draenor.rootwyrm.com (Postfix) with ESMTPSA id 84A576D70A for ; Mon, 22 Jul 2019 18:45:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rootwyrm.com; s=dkim; t=1563835556; bh=xaUWxeeKg3NzDURw+bWnvf3bx7wOnfpzpjqL+THnFIQ=; h=To:From:Subject:Date; b=jV9+o9H5ZfiWknkjzhb9qRx/fSyoQi6ZjCi+xiQAdZH13FbEpcquGIRlhzovbJ9H6 J29dRhRbaWHsWX15tuuvSQVTQA069ZXL62PxRW+0Y/my3kfY3oRzbaICR67FWoEt3W kH6CJ03bDybDZM+tBbB14bovh29ARW7Qun3RaqLo= To: freebsd-ports@FreeBSD.org From: "Phillip R. Jaenke" Subject: Question for users and consumers of lang/mono and NuGet Openpgp: preference=signencrypt Autocrypt: addr=prj@rootwyrm.com; prefer-encrypt=mutual; keydata= mQINBFkp7lcBEADbAezrVmUODnf7J/+EenXL5vvbkoqNnvwcbO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0AYZ2C8wV7OCC4gunem/XooDeYkB4jkAEQEAAYkC JQQYAQgADwUCWSnuVwIbDAUJCWYBgAAKCRA2QqVbuUKEuks4D/97Pp6ooqInXH6TQ/thjAci vzNQKNBDY7KALou9qonHPZ4rnSdf7G+wemNFbFzmOSqgeqJPx0EwPYsoQ6R66WLY+YFj7Srx /Bk1U3MUaKYm/qezyee2MLj+/vQKvUC6bMH1gIh/YHKqZXa5aY+EkpSqU5tmVjZVpoWcgu1h 7l3hs7nSBnD7Ppew6Wg8x2y+rjqVs5eHNEWoLDVM51G4DkOYNRsz+rTZz0L0bev2Xw7kgyaD t+wYn3q1fmwohDwDYnibc+WzRezPumbb8wULgeE5uCjan/DwirirMeCuo1QQ4yGvhPKCbL9d aqiY3vGiXggY8xTFVDCAr+y0ZEPCbxnAlL1BNTyTx/TJT2TOdlI+/+AEcsY5wk9LrCMvwtj4 YB7MtlhAoT2/e+lIlpRibFfbt+oW46Kp4OCQprX6qAHFlwLe4zDFgBj7yD+pY90e8qUiPT+M 9SYimck/KeksWK9C37XZL7u1e3Gx/0OeWnY3whX5OUNVa5X+2ByaDtdxE2x4Eot3DpcqtQtj aTAOCP0Pum4Sm+jv2ltiDZxJMfVStaLqiJ9b9RoPg0Ui2L2bRKLOJuuT30NsQATBGYVzzRLs h7etfIV+8tqh/V3w6Nbvg3GEC2eKCsh4mgZIDI8JsUU+QA0Hh/hxrFdOKkfs1369UMqr9SnP N9mPJDNggm9viw== Message-ID: <4017ca2e-0ada-9891-2e5a-350e7cf5fdf5@rootwyrm.com> Date: Mon, 22 Jul 2019 18:45:56 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2019 22:46:03 -0000 All; Since I work with Mono extensively at home and at work, I've been working closely with the Mono Project folks to get things compiling and running much more cleanly on FreeBSD. And I'm very happy to say that excellent progress has been made including a number of patches upstream. The Mono Project has just released the latest stable, 6.0.0.313, which is a major upgrade. Not all Mono 5.x projects may work on it, they need tested, etcetera. But 6.0.0.313 needs only two patches already committed upstream and one corefx patch. The Mono Project honestly seems pretty keen on having FreeBSD as a 'first class' citizen, and is even working on adding FreeBSD to their CI pipeline. But at the same time, lang/mono has basically languished on 5.10, which has numerous known bugs and performance issues. These have been addressed in later versions, which also compile MUCH easier. Add to that, Uses/mono.mk is still using obsoleted repositories and setups that haven't been current in more than a year now. Simply put, leaving lang/mono 'as-is' should not be viewed as a realistic option. Yes, it's still 'supported' upstream 'officially.' But it's really not, and it's really a problem. That said, it's also not necessarily feasible to just replace lang/mono with 5.18 stable as this may break some consumers. I have already completed the work to get Mono versions 5.14 through 5.20 and 6.0.0.313 building and passing all Mono tests on FreeBSD. These are all ready to go. And not solely on amd64; most are ready to go on aarch64, and 5.18+ should be able to do ppc64. The question therefore, is one of versions and layout. Mono does NOT have a DEFAULT_VERSIONS and to be quite honest, adding one to the existing infrastructure is beyond my abilities. (Believe me, I tried.) I also do not know what out there is using the existing NuGet stuff in Uses/mono.mk. So I don't know if it's safe to just rip it all out. My personal preference here would be to add DEFAULT_VERSIONS+=mono, rename lang/mono to mono5.10, and add lang/mono5.[16,18,20] and lang/mono6[.0,-devel]. This isn't something I've had any luck with, and I never heard back from mono@ when I reached out for guidance and assistance there. So I would need someone to help me with adding that support. If someone can give me a DEFAULT_VERSIONS switch, I can carry it the rest of the way, no problem. Option two is to leave lang/mono to rot and to create new ports for each version, and rely on the user or consumer to select the correct version. This however, creates a problem in that now net-p2p/sonarr might want 5.18 and net-p2p/radarr wants 5.20, and both versions of Mono require files be installed in the same locations. So obviously, it's not the preferred or optimal solution. (Generally speaking anything good with 5.18 will run with 5.20 and vice versa since it's more about the .NET level, but there are bugs and known issues a given app may be impacted by.) So if your port or you use mono or NuGet, I would very much appreciate your feedback here before I submit a raft of patches that might have impacts to your stuff. ;) But I most definitely would appreciate any feedback or guidance folks could provide here so I can get these updates into the tree as soon as possible. Thanks in advance! -Phillip R. Jaenke | prj@rootwyrm.com "I didn't break it. I made it a test of common sense." -anon.