From owner-freebsd-mono@freebsd.org Wed Sep 27 19:15:53 2017 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1074E0CE29 for ; Wed, 27 Sep 2017 19:15:53 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F72C82FAC for ; Wed, 27 Sep 2017 19:15:53 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wr0-x230.google.com with SMTP id 54so3599217wrz.10 for ; Wed, 27 Sep 2017 12:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=7rSg8hMDbxh5Ynj4vudtmVMh0fqGHcvhaJSLScT4UXs=; b=l6JqgMybiQO2uMNDW6SH74dWD+7KqD3M/UlC1YQ3azCxjn7CyfJv0JZd5iYVtpbRq1 iexU6orLrgJtpJcmJhAVvJ0FAQ+MZZiOM2amLvGgb4gqlq2ekpuf2IqUmlSjCbekIjPb Ueg7pyfNFUtG3PbdIhsopLJdDMHqwknXuF1EeFenvuB/ovbruKul2R5bNUeflmzlranS Bl6SoEcnZPT1cxBDTunoozO5VLLYgS809XN955N+gAH1FY+yGrdAi6R/iLD6mNziHnIp Ydyiz1oK3AhunKnmLfruIUUqYFne9Rm/XP5q93VdQVRKRzg5jDgN3OTecOMiX0xpq+H0 QyUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=7rSg8hMDbxh5Ynj4vudtmVMh0fqGHcvhaJSLScT4UXs=; b=iY2gKmGu5PZOd9m4Xdttp128aqgO1+sZ0Zx5IJdgwbO4IkN/yYss8pPb47oVPzvl71 iaosniC7MZyh5EdU0FZd1CFSyaX9F1PKVg/7ujNcYLTZzBooa6mUxHCgHkpUU4gKMD0e aVeoxFGcAx2DTrmp7UcTgAMsZm6Qr+OjQM0F3F/VymX4LMtj2tPR5q0nnlciQnMLmgGz /jfws32hjO3iakkViRXRVT8n3KRHQnQl/ofEh9twynrmhIH+6XB1M+URlfqiDVhVvWs+ Sf3wo1xKd8EOeluQja+7wI2rv5P48y8YVs+bEGSLiY5t5y1OvrsWIIGhPs+IUoBq5N+c zUlw== X-Gm-Message-State: AHPjjUgpEwPz8296314IVV/sIw9caabhcWUC8UiFQiBP22mmJhbF7pOR Fj0GulszVRDJoF2CrrybPCOowHzW X-Google-Smtp-Source: AOwi7QCGcGvnETR/MDRz1itCmDlE1SEJ7ndS3qMy4jl/PyZ0sZrMKdXjh6cqBhlAbKeTKm3JV3vtUQ== X-Received: by 10.223.171.167 with SMTP id s36mr2511938wrc.256.1506539751312; Wed, 27 Sep 2017 12:15:51 -0700 (PDT) Received: from dragon.local (8ta-246-177-15.telkomadsl.co.za. [41.246.177.15]) by smtp.googlemail.com with ESMTPSA id p13sm5627104wre.36.2017.09.27.12.15.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 12:15:50 -0700 (PDT) From: David Naylor To: freebsd-mono@freebsd.org Subject: Re: DotNet Core 2.0 - Status Update Date: Wed, 27 Sep 2017 21:15:48 +0200 Message-ID: <2132085.tK2LsFbDgl@dragon.local> Organization: Private User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1669566.FW0cLEmz9V"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 19:15:53 -0000 --nextPart1669566.FW0cLEmz9V Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sunday, 24 September 2017 23:36:32 Russell Haley wrote: > Hey, > > *This is my understanding of what's going on and I am looking for > Tomas or Karel to correct or clarify. > > I've continued poking around on the build to little effect so far. > Tomas has said there is an update to the official repository coming > soon that runs for the most part on his 11-release instance. (I'm sure > he will elaborate at some point). > > Progress for Users: > The ability to produce binaries that will allow people to compile and > run applications is still a little ways out but there is a "first > candidate" coming for the curious. > > For "the curious": > There are multiple repositories for DotNet Core but two main "halves" > to any runtime: the native parts and the managed code parts. Right > now, the native pieces build for Tomas. The managed code parts however > require there to be an existing copy of the .Net Framework to build > dotnet core 2.0. Because that doesn't exist on FreeBSD (and never > will), there are currently three solutions: > > - Build the managed parts on Windows > - Build the managed parts on Linux > - Build the managed parts on FreeBSD with mono (theoretical only) > > >From what I understand, this bootstrap conundrum will always exist for > > FreeBSD (except using a prior port to bootstrap the next one?). What I > think needs to happen is we need to create a first version of the port > that imports the managed code from a Windows or Linux repository. This > would become a boot strap port that could be replaced once the DotNet > Core team at Microsoft figure out a more permanent solution. Or not, > and we always have a bootstrap package. :P > > The alternative is to work towards getting the managed parts to build > in Mono and making mono a prerequisite to build. This would be a > FreeBSD only solution, but could get some traction from the Mono team > (now at Microsoft) and would be good for the FreeBSD mono port. We could do what Mono does to bootstrap the managed code (i.e. monolite): 1) Have a machine running a prior version of dotnet (say 2.0) 2) Use existing dotnet (2.0) to compile managed code for new dotnet (say 2.1) 3) Tarball the managed code and make available through FreeBSD's public distfiles infrastructure 4) Update port's version of dotnet native code to new version (2.1) 5) Use the tarball in step (3) to compile managed code in ports for new version (2.1) This is mostly the same as your first suggestion, except we compile the managed code from a prior version for dotnet instead of using a different OS. I would, personally, prefer directly compiling the managed code with mono as a backup (say, if someone wants to bootstrap the process themselves). --nextPart1669566.FW0cLEmz9V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEElI7FEaJ/AwLnmbU6rWP6jday2lUFAlnL+ORfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lX32RAAoUNrqh0tCQJjOig/U9PEauXrKHCZRl+m4v4yzDKXBsRZVcHzKyFXW8km 1H+zOLMx6dF3VwuATlAM1lpoEM/D8h0JYCSAZG450g9LhvdkN/0EZjsvYcOF8UXG OCNSMBsi7txLLDWDqnSjrsAKmVAQdazy1juej5VAGVm6J1GujOg6mDRVqZsnC0De KordX2aIi6gpljUUMYm227K25SBsdT1pEe7svqDcC6vnOMHEYc/TFQ4yD916UdzM 1kYoALHXTVkr107i0Xc7iBhD0depizjiX48OqfLF3p18ZENDVgvWXlKCPZsRq/6P PoAgbnG2fgEhSPaPgGynvSqe5O1T/cBeOE82tXwowB8X91HpvvRVZeAtqAZp0fGk M81SVDE+kB38zK4qKuJvwhPjbmTNbKO1O7xidGeAxaGDCZG01crtx5vvauS7pRDU 76rkJ+ETljjzPb0ArHjlbwEyrdFDKJeI8LRuCGq8BendIUj2dvKrGnTX2CbqJhdp Rs88mp6IhxjmcqJUI5wVZAcLalZcsM+5aWDNrDSQjKVIJ41J6g2kKElZEuOCWq6t MHDkKbKHroHLjFWpYH3SeHFkWEYjeSxDPLP0JrebvY83WrpPJZ5BK40EJmzYY9Sz klC9IdFaMyG3My7bkzF3lGonj6pcCXb/gI2Vu5oDFCjFKyLBJ+Y= =TgKJ -----END PGP SIGNATURE----- --nextPart1669566.FW0cLEmz9V--