From nobody Thu Mar 17 22:51:30 2022 X-Original-To: ports-bugs@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 0173D1A37ED2 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 4KKMnt5FkVz4chN 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 96091137C2 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 22HMpUOZ096691 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 22HMpUlV096690 for ports-bugs@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 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [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-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: lab+bsd@thinkum.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@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; bh=a/6XBCrfSX+gBmwQwI2dQU3KC0hlOQmC6b9Tgmemv2U=; b=c//s5lbzq/r+jW3jqAj/IdtKCj0bHeFZ4qrzJwgUv+sw3O+aMFYDNL9jByLtKJQaucXdik D/TZTytbWOuaZtodU79YKrmR0tyxusfPkdGWcUsC4ReA8UClKW38vgJLMpn/9fohCHYlZr m13CBZaiNnEBG2W+Gbd8HgVd4dIuoYfY+ywt4PDAwKvIxw8oJsNU/biPI0GPylNa/E4m4e 1iuJWNYy1IB1MOsJq/T/n+l6H9wIimVW9vt7UjPL5q0T+BKFBUkD3GwwS2DtnA0ev4oQmz PfVUQGFE962syn2Ts60ernDrcpT2LRlX7yqtO1ppcpEWUejFxPwvXP7TwlaN3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647557490; a=rsa-sha256; cv=none; b=tpOx0LRdZu57TyKi0th/Ju8CMdAe/olnHZ9gIumpLvS5wwKO1PTIQd++1Vy+Eo4kC8KPAy J2h34TGyv3D6zmpQ+mX3qKYs82u1nNN9rQr7kQDXhk7ND3nr94PU7fm5k1cc3iToVMFqpg 1TAiZX9iRy1AhKZJhY3bNMZlsgwhEzpDXoe0AAUmDqhk+lKqwZxXGgmonKQ3j2ISUio5en kD5Lmfjmq/vW6qw79QmvRSrwSsc/5LomWaGiB1+ow6dsb8fj1I3lflhZZvKzrHxbrEzmYi w8OjPKnxClgqMEUQRcbDhd/89jpB63h3M419IcxarltkrMcaxQ5EfMxVuDDz0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262637 Bug ID: 262637 Summary: lang/mono6.8: Updating Mono 6 portage with a lang/mono6 port (GitHub) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mono@FreeBSD.org Reporter: lab+bsd@thinkum.space Flags: maintainer-feedback?(mono@FreeBSD.org) Assignee: mono@FreeBSD.org Created attachment 232535 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232535&action= =3Dedit lang/mono6/Makefile (updated for git submodule distinfo at GitHub) 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/ --=20 You are receiving this mail because: You are the assignee for the bug.=