From owner-freebsd-ports@freebsd.org Thu Jul 25 19:44:46 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 312AEACDBB for ; Thu, 25 Jul 2019 19:44:46 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 616E4924BB for ; Thu, 25 Jul 2019 19:44:45 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: by mail-ed1-x536.google.com with SMTP id d4so51300836edr.13 for ; Thu, 25 Jul 2019 12:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=6hH2CZPdFEjFZ4Enzigqo/SQ3e/fFeLvClFfE8YJYTw=; b=s9sWQY5HvNI+CN/LLG2nVyHycpyhn+p7Hi6/8iI2KiZ7jH/TjVQqt9HDTFkmFR/5e+ cwvinQrZsWFoXp5yUGSxpn/nWxan/DaKeNiBPgxUHuBSlhC455f8F1EMoEFWGEb3wZpx sRblvI9icNIq7s1Nc0SfHnaDJFjvFG/EKRXAwAMJSTqAlHxeFuUkHLh0M7/iAO5Cj9ls DFyMVJTlnPgwQp2ApLVjsbB7cLcyB/c5yQUyPV13mMpXS3WLV203Ptmkc7nOHUWrMid2 +D3teFJEYF0XhRKxYGE7/re10pHRI1vDezp+8JLGgB9aJRiehhwrlMjsx1aPhoqpuNGi HPdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=6hH2CZPdFEjFZ4Enzigqo/SQ3e/fFeLvClFfE8YJYTw=; b=juhchxXHbgrdXVl/xAQ8IMAcaPfsenvGClm/PgnH/FknWnd3kP8eTaug81uCPxPD4n U9gp6d3lB6BX7upohtm7eExnrd95wYoDGPuyisHEuRFnYhVtczjPemWVWZ/mSclYc/zP 0kK6IjBQcRu3q3YmvmpETjAQEQp6V7B8nmu0LkQi1pq2IKr0rRUia3T3oG5pe2RJzLEi d6JCK4AiWAsE+AVn541EVfwpX5d+aRmiGcfBur/FYgM+1gfIQUqIoPqGdd+XbuVnyiaP lzQGkE8bLMt/A4HVYANxZPbRma8iZASwV0/emIsQF19y3503BbSIpc1fjMYKwUl26aiC C7vg== X-Gm-Message-State: APjAAAVtQ0QWqIf/K8+p6V03okB0ymyADJJNW47TUw/JHVXZoExQDhY7 ItgUUcczjjKJVDHRe8BTMpH4lfMWksI= X-Google-Smtp-Source: APXvYqx6txuikoOAFfPi5fBlHmV5PMUeLG0/kV5bhY8cgk9YCSv8b4U0rD3vJNO3J6u3AwPOdRyBhg== X-Received: by 2002:a50:f70c:: with SMTP id g12mr79958555edn.139.1564083883963; Thu, 25 Jul 2019 12:44:43 -0700 (PDT) Received: from DRIESPC (ptr-8shtsntw5nbiwr6pobs.18120a2.ip6.access.telenet.be. [2a02:1811:2500:6b00:886e:1fd1:19d4:d968]) by smtp.gmail.com with ESMTPSA id j37sm14236011ede.23.2019.07.25.12.44.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jul 2019 12:44:43 -0700 (PDT) From: To: "'Phillip R. Jaenke'" , References: <4017ca2e-0ada-9891-2e5a-350e7cf5fdf5@rootwyrm.com> In-Reply-To: <4017ca2e-0ada-9891-2e5a-350e7cf5fdf5@rootwyrm.com> Subject: RE: Question for users and consumers of lang/mono and NuGet Date: Thu, 25 Jul 2019 21:44:43 +0200 Message-ID: <000301d54321$68816570$39843050$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQF4Ge54XkfHdukVAf7tcN6DAM30k6eWC1xg Content-Language: nl-be X-Rspamd-Queue-Id: 616E4924BB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=s9sWQY5H; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of driesmmichiels@gmail.com designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=driesmmichiels@gmail.com X-Spamd-Result: default: False [-6.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.99)[ip: (-9.46), ipnet: 2a00:1450::/32(-3.01), asn: 15169(-2.44), country: US(-0.05)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0] 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: Thu, 25 Jul 2019 19:44:46 -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. Just my 2 cents; this is awesome news! Many will be happy about a new mono version getting in the tree. > > 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. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"