From nobody Thu Mar 17 22:51:30 2022 X-Original-To: mono@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BEBDD1A37F35 for ; Thu, 17 Mar 2022 22:51:30 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKMnt3Jpvz4cW6 for ; Thu, 17 Mar 2022 22:51:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 51AD1137C1 for ; Thu, 17 Mar 2022 22:51:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22HMpURK096682 for ; Thu, 17 Mar 2022 22:51:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22HMpUBQ096681 for mono@FreeBSD.org; Thu, 17 Mar 2022 22:51:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: maintainer-feedback requested: [Bug 262637] lang/mono6.8: Updating Mono 6 portage with a lang/mono6 port (GitHub) Date: Thu, 17 Mar 2022 22:51:30 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Mono and C# applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-mono List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mono@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647557490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ppaT4YVmleGrAJxER8ASjt0RY26YmRVqd5mW/bsXKLs=; b=Kdvs4bdRUpGQR/tj5fPO1U3ICVybKQZO7nLOy8u9iqsA7LxLSw7U0AtlBfLEhPFrsFoagw pDpMfTS293yTxVpTcxm/dQOBMr16q99YoQXwLIfXN8QjjRhLqEBHcAPrZT3ybCx2gfqLoX gZyF+VnmK3QK3+xKPM7rmt6mm9HeVeG6WOjznZb/21Gj3R3n4P64kv4GAMzOiTy21BGbDK qyghTiNikCPyrvPcorvs92E/s/a9ABFjR01c05IbhBasD3oDd9CbaBrvcVwOJgsvfBl3G3 0SoK9FY25xazuA6fWlXO/0XYW0lUgQBG2jXhrC6gaBgu80nL9HomW092iKuP9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647557490; a=rsa-sha256; cv=none; b=Mjer1w9XADx7dV5UavXhOGRG4l3IAHz7lgZ082v072ZesdiGuF/gQA3K28EgS/YhcFtamR EkdofACxBJjzjJfL8gdTofsndGJO0YaiZ6lKfTthF3FRIjrNxclJOd+AJovgG7wH63qjt8 5Rxm6jB7zS+xdnxYaUmKrvreZL8iTVATYpGfC/unLtsYlzTRBG7LKtV5SseXijD/cYjUki fnp/t0P3dbAbj0vr0Y0kSUgg1OdkrAbtf/RBB5eIYp/6YYtsbhFWbaX2t7VnEWhe7n6Gp6 QWE4VELCewGx0knOk62/7Z697yVrPpbiEV/f9w/Zc5mWhZP3YCH7O2RnPJpnQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-mono (Nobody) for maintainer-feedback: Bug 262637: lang/mono6.8: Updating Mono 6 portage with a lang/mono6 port (GitHub) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262637 --- Description --- In the progress of trying to develop a port for omnisharp-roslyn[1] - this,= as in order to contribute a port for omnisharp-roslyn, corresponding with a pa= tch for Emacs and Ruby support for the Language Server Protocol (eglot, rubygem-solargraph) in ports[2] ... in order to build omnisharp-roslyn one = must first have installed a usable dotnet SDK and mono, both, then to update the source tree for the 'cake'[3] build tool. Cake would then be used in lieu of msbuild for the omnisharp-roslyn build.=20 In short, the 'dotnet' command would be used to ensure that the latest cake assemblies are installed, then mono would be used for running the cake assemblies.=20 With Linux ABI emulation installed, loaded into the kernel, and enabled in = the userspace filesystem for the build -- e.g using 'service linux onestart' --= it may be possible to simply retrieve a .NET SDK build of the appropraite vers= ion and extract under ${WRKSRC}/.dotnet/ then to run ${WRKSRC}/.dotnet/dotnet of that specific version ... lastly to use the a mono installed from under por= ts, for running the thusly-installed cake assemblies. The omnisharp-roslyn project's global.json could be used for determining the version that it requires for the .NET SDK. As this would be used only to install the assemblies for Cake, perhaps there may be some other way to accomplish this part - assuming a known master site is availabler for those assemblies. Then mono could be used to run nuget as under the cake build of omnisharp-roslyn, this to retrieve any needed nupkg files etc, before figur= ing out how to map this into a master sites configuration for ports. For this process, I'm afraid that the lang/mono port (mono version 5.10.1.5= 7) may not be recent enough for the omnisharp-roslyn build.=20 So, I'd tried to build lang/mono6.8. The build failed, in the mono external= for boringssl. Subsequently, I took a look at the Mono master site[4]. The last mono versi= on distributed there (mono version 6.12.0.122) was published on 22 February, 2= 021. The most recent mono version at the Mono github repository[5] is 6.12.0.173, published this month, on 17 February, 2022[6].=20 The tagged Mono releases at GitHub have not been populated with the content= s of submodule directories. In the attached Makefile, there's one methdology developed for working around this. It may be nono-trivial to update for subsequent Mono revisions but perhaps there can be some tooling developed f= or that. The attached Makefile may be of use for developing a new lang/mono6 port. T= his port could be updated for any later Mono 6 revisions, without the port being bound to a minor version of the Mono 6 release, such as with mono 6.8 With the attached Makefile as lang/mono6/Makefile, I've managed to at least= get it to run 'make makesum' and 'make extract'. I'll take a look at the patches shortly. I'll also attach the locally generated distinfo file, for information purpo= ses. I hope it may be possible to develop a more up-to-date port for Mono 6. I thought it might simply be useful to share this work-in-porgress Makefile f= or a lang/mono6 as well as the rationale for it in this single instance of port development [1] https://github.com/OmniSharp/omnisharp-roslyn/ [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262610 [3] https://cakebuild.net/docs/running-builds/runners/dotnet-tool [4] https://download.mono-project.com/sources/mono/ [5] https://github.com/mono/mono [6] https://github.com/mono/mono/tree/mono-6.12.0.173/