From owner-freebsd-mono@freebsd.org Mon Nov 13 21:11:09 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 9053BDD70D0 for ; Mon, 13 Nov 2017 21:11:09 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 1D7A87E89A for ; Mon, 13 Nov 2017 21:11:09 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id 9so12459949wme.4 for ; Mon, 13 Nov 2017 13:11:09 -0800 (PST) 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=s/eE4gMDXZUMxpTuCroNsUtPkzkUVeiXT0YWqsDnZjE=; b=mdreCH85Qi5DZYnQDehsRy9bPouAnvnXWjJkoChLoZKaMLHjP53h75EDCrtG+W3LN0 Sv/kG5kaLgwVjkN7IPesQ3FqaAySI+8cS/MJTbt+NKeoA04ImxqMCmpiMws0KzNXRqHU ON9lY5C/U/AH+nDMbEhlQ4EoQmylkvV3afv3WssmfkDdv8KBAKqy+XJuQFE6QYcReFDN JIia8HPjszot0m1CQDAQ0asaAz2XkS2okGCeeafwNVd1jkGv2u+Qo+ti0DVbYSZB7QX0 2icsuU2Ly+ZXF4jrb5NFG0LaWi2TRjqL10t2FewO5qagE42hiokFgTAL+exKxnGopYC4 hIvA== 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=s/eE4gMDXZUMxpTuCroNsUtPkzkUVeiXT0YWqsDnZjE=; b=fxNr3374K9T/SFQYgR6L0DoT0/RYha2vyKAROVlMDgcLkUV/GmgSMg1es+EbZwymwM AlkQJ6xtByWt0TTna3MbLuaqVxQu+2SX+bCrm+VeymRtYy6otCs/ETWkU36xKwOTTB3w nR2pdW8ufN8nswzUL0E2XezTnTfjRWhzyorcRQelJHJMhKMkMu0epediNbRTOEHeIM3S blZTdwUce+jXgVFcyWFHqNxaB2IUHjanhzzqebE7fXQHIjYmCjFufuLC0x6YBp42u/Kq xuP35+Y5TKBBAmzixxLrUL6/6FSJTQ/boSA0juZZclWE7CrTOgfBLT4eg/nr4GWO2u0m smgw== X-Gm-Message-State: AJaThX4WkHwssZjrTMPmel6e0JIJ9NodSEWcMsZkvzAv4l8wnrBOcQ/z zLhzAZ1KaBq2XSB9v42+3pJn7Idx X-Google-Smtp-Source: AGs4zMYvEWCKe385PMTjn6k90/f/mAKSqLjbC2loE9XZBwVFpK7EQRx3uHGQPQR6fQN9P1dcuCxclg== X-Received: by 10.80.240.138 with SMTP id v10mr10969852edl.52.1510607466907; Mon, 13 Nov 2017 13:11:06 -0800 (PST) Received: from dragon.local ([41.247.219.7]) by smtp.googlemail.com with ESMTPSA id m8sm14450802edl.74.2017.11.13.13.11.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 13:11:06 -0800 (PST) From: David Naylor To: Freebsd-mono Subject: Re: Update on porting mono 5 Date: Mon, 13 Nov 2017 23:11:03 +0200 Message-ID: <1723656.WBGSMfOCjc@dragon.local> Organization: Private User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: References: <17078253.u2dgjZK1Z6@dragon.local> <3186981.TyGdqNibkJ@dragon.local> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1522441.eQh28l4OM0"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 21:11:09 -0000 --nextPart1522441.eQh28l4OM0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Thursday, 21 September 2017 22:20:54 David Naylor wrote: > Hi > > A quick update on the update to mono5. In theory everything should be > working (i.e. mono, monodevelop, etc). > > A review has also been created (so you can access the patch). Please test > it. > > https://reviews.freebsd.org/D12440 Another update, the review has been updated: - summary of work done (thanks Russel) - commit message and an exp-run has been requested. Github has also been updated. In the interim, I tried my hand at my own exp-run [1][2][3]. And things didn't go well (well the exp-run was a success, but the results...). It appears that somehow the assemblies are being delay signed during build, instead of signed. It appears csc(1) [the replacement for mcs(1)] does not support signing on non-Windows machines [4]. Mono recommends sn(1) should be used to sign the dll after build. I suggest we patch Microsoft.Common.CurrentVersion.target to restore signing functionality. Any help with the above or the following will be most appreciated: - Bumping the PORTREVISION of all ports that depend on mono - Patching security/ca_root_nss to update/sync/clear the mono certificate (see cet-sync(1)) - (Optional) Patch mono to store the certificates in $PREFIX, instead of /usr/local/ Regards [1] http://dbn.westeurope.cloudapp.azure.com/10_3-i386-default/latest [2] http://dbn.westeurope.cloudapp.azure.com/11_0-i386-default/latest [3] http://dbn.westeurope.cloudapp.azure.com/12-i386-default/latest [4] https://github.com/dotnet/roslyn/issues/8210 --nextPart1522441.eQh28l4OM0 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/AwLnmbU6rWP6jday2lUFAloKCmdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lWPNw//UT1uYAZJ/2TyQ8OyYwrSJ7ZJWf4t0TpUmk9+nzD9N81FINewXa6y2eRz fYMjA6wZ9aMYAg+9OPSHWp+vd+lvCmNgFa4mFidQMbl/rfM/v6GzKVGmlK6hCrFq PCbXSMaX/gOJ2QfXHLZS4WThMr7af6VuKFKAjInuUIwBNDLuswv2zz7eT7IwHGv6 ee9xbs7l3NanTLvyHwadjxA+tlgkuQ0EEqNxLnpSyrmulWx+bljyfWSYDUjj7fpz s/IpKeke2R72cOkQPXP+hoWaMRo5iLvnAFPH61K0g9BY926yhoqT7Nb8H/4a9jsL gl+USePLSd/+dPJVftkr6W/oFiJFDYRPfcZ054GcYVIjQa/98TZ3PxpTPt7uATYX 2jmbDkfW3tpF8OC1CqDrHtKyIUKKQYeZDAI7gqLiBgAMKvTsu74qd2ppZYsD9qNO q3Lf0J24TmSSVNf2wbwsEwgDYj55tC3CU46BbDgEhHhjjOGlzgzJYgTMfj7xXrbw /P/my/6q9dr1VZAl4cJO7+R0LaySXkxF7dfvkQCyssNlO5T8xnCNvWFKc/5fnL4W iGveeEM5k5CSmehnw57Y0oBK0lTknAhPSxxbnyyWq9NhgC6MarDLPltGxivW6EYh MtpdQphP7NBZ3Am4le7GPJHieHudwKprNFK+3plHLaSUyhIKJEM= =CKP7 -----END PGP SIGNATURE----- --nextPart1522441.eQh28l4OM0-- From owner-freebsd-mono@freebsd.org Tue Nov 14 18:35:19 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 0A250DDAA10 for ; Tue, 14 Nov 2017 18:35:19 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 8AC4D6A723 for ; Tue, 14 Nov 2017 18:35:18 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id b189so17111917wmd.0 for ; Tue, 14 Nov 2017 10:35:18 -0800 (PST) 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=d1POHd10PdEDsqAjdhezwNs4gm6okhNjib8ACOe2oU4=; b=Ua+OU+Bo+G/IPUsWw3bi8d6k+VWxb3E52t60Cn+Bh44UJaGAMnOSNq6ykV5QV1gSFO LrfH3pdWxT+qohEbj98JgURwqIIJQ5SQ66AheMk9/qq7NtzIxu3E2O3z2cyZMh4t9Faq eolhmyBa/KgpyvqCQ6hTjKNQ32AleQOi9awcDflQNcZ35ZWmwTzuVP9xw81HgQuelWLA biN7Zwfs5kqE+9Yk6ahe36VbYbqqG5l5uHfrfIpLcmowqE1QKUepgbHDGD8sGlAxJftu Ztb9KjpzgSwoxjU/K7FIRW20QJ8VDGROtKTWuBmz+GseBGlSRCZnWQzXOIchG4eDzuIh JKhA== 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=d1POHd10PdEDsqAjdhezwNs4gm6okhNjib8ACOe2oU4=; b=DB0YxRguaFjB5uh25RKnupDLZnoyKh6Wh6fx+JMIGrgaCKhCrQeM1iBz8p5YRxkE/j gPLFQ0Q1F7FMeu7z2YmD92NoxrIN2gl5liL02Heagy6HKIjS1O5ZEPydOZaj3lnc9uIa vtMhl6ukBrReN49MP/IQppm9cK7hh4RK2Nmkr3CwDz8ndb0b79drBnoksqVBx93hi5yD m0xNgKkR2VPsEloWG5nC+sK3gM0w6nweZc/BsxKD1nkSxfbSX+iqO0YlWR/nU3YljSTg ro6gChJb2YTjGYisYNURQrsWOs7Y5hDBvtwM/k3jb3rda6MUMKGTCMkNz64+UFIuyaf9 IJ8g== X-Gm-Message-State: AJaThX4LWZ2pyQbcfMdm1cMJaZqWxoJ5XdHzyC5hgifd9EJrbU6QbaMZ +XKshv/ykq/VhfvfjrzstSV0N4m9 X-Google-Smtp-Source: AGs4zMbCuAZ/4M8Nak3gJy/9DUDC0qlNXJIZuVsM2wfxZtNAEv5o19UUQigwDWjUjjgRxX9ou8KAdQ== X-Received: by 10.80.140.203 with SMTP id r11mr18298924edr.299.1510684516798; Tue, 14 Nov 2017 10:35:16 -0800 (PST) Received: from dragon.local (8ta-228-198-134.telkomadsl.co.za. [197.228.198.134]) by smtp.googlemail.com with ESMTPSA id w51sm16599186edd.60.2017.11.14.10.35.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Nov 2017 10:35:15 -0800 (PST) From: David Naylor To: Russell Haley Cc: Freebsd-mono , Geoffrey Huntley Subject: Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD Date: Tue, 14 Nov 2017 20:35:12 +0200 Message-ID: <3874746.2gREa1HZ8R@dragon.local> Organization: Private User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: References: <1684766.0xPbmRNaJ3@dragon.local> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2376486.hnIPfgAnxz"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 18:35:19 -0000 --nextPart2376486.hnIPfgAnxz Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday, 8 November 2017 22:59:56 Russell Haley wrote: > On Wed, Nov 8, 2017 at 10:15 AM, David Naylor wrote: > > On Wednesday, 27 September 2017 22:02:43 Russell Haley wrote: > >> +1 > >> I threw some comments on the open issues. > > > > Hi > > > > I hope the porting of .NET Core has been progressing. I must apologise, I > > have dropped the ball on updating mono. This will come with a working > > version of msbuild which I am sure would be helpful in the porting > > process. > > > > I'm slowly picking up the mono porting work on my side, and hope to get > > something committed in the next few weeks. > > > > Do you perhaps have an update on your side? > > > > Regards > > > > David > > Hi David, > > Tomas has been working dilligently over the last couple of weeks, but > I have been in limbo with no computer and no time until a few days > ago. The changes Tomas is making have been integrated into the head > repos and I am attempting to build from that using the instructions > provided on the dotnetcore wiki. > > Nothing I am doing is unique. Anyone can pull corefx and coreclr repos > and follow along in the instructions. > https://github.com/dotnet/corefx/wiki/Building-.NET-Core--2.x-on-FreeBSD > > I was able to get everything to build on Windows last night, and have > the SDK (corefx) built on FreeBSD. The runtime (coreclr) is failing in > some sections of the test code. I forwarded my errors but have not > gotten back to them yet. I am currently fighting with virtualbox to > try and get shared folders working. It looks like I need to rebuild my > guest additions from ports. Nothing for free my friend. XD Good to hear. I had three questions around bootstrapping: 1) If I understand correctly, we only need to do this once. Once DNC runs on FreeBSD we can bootstrap further versions ourselves (like Linux does). 2) Is there any difference in the managed code (corelib?) between platforms (i.e. i386/amd64/arm)? 3) Cannot we currently use DNC for CentOS + linuxulator to bootstrap DNC? > I sincerely would like to help again with the Mono build but finding > time will be difficult. I'd like to unburden you from the Mono 5 port > so you can play on DNC! As soon as I have confirmed Tomas' build and > finish a step in an unrelated project > (https://reviews.freebsd.org/D12921), I will get back to your port > (unless someone else can step in). I've made some progress on this. The only major block is to add sn(1) to the build framework to overcome the shortcoming of the new compiler csc(1) that cannot produce signed assemblies. Regards David --nextPart2376486.hnIPfgAnxz 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/AwLnmbU6rWP6jday2lUFAloLN2BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lWVYQ/9EVJgAuKgMnfcYg01U8tO3TfSRAXWv2hA6gCd8BhwV61dmansGLlvs46K 8y1Xm4ooSjCEC3byWWOhMW29wf9089MGrDR8p430nEoG8RAPtCyE7Ww5fREI1iYh dzKTpzHKpTbWtRx8bNdT4FHQOd1yoVq9rmrlQ6RwtekPoq0MQSpqRDw+arq9d2VR qgRagFUl/ZVzcXpnjT01rQNyADUpBlJKuW6xzHZYbOpBTB+g/2d72kkvTNFaXYFk /OVoGusqBQTmS6fkbXxOO06kHtfqErnLpfRhzSK03oMLI2ndixmNkA8auSn0E24V 73QvSiGw8J2mx6xLdHc1geVLv3qk69DQjLB0lS2GEEmo2zixzYSd7AJ/UTmIJ6PT RzTXenHt6vSNFFnGnEytlmSIMG67M2LJEHERZFkmLI+hRSCdBpxKYgkdy6okN0hL qiS72TdEwyLnlLdfYpg0Zr2d+l2wWp+UOngH/X90S3UXD7zM+4gD+9H///PjAXKZ oKlQgPUvMfBm+PnOry9U6SFz7wpJGIvRKnXuFFWNpMQnNLDixFqZ6rWb6Eo6ulav V8A53VVtOKmIQgHkuxqAvG4iDMjVmQSP21uaXyAvQ9/hq3kePgQCkR/izbBw6RVQ DrvGIAg6dOYlsZ3YLmsiN3wZgvbx6ysGdiyErLstrODTFQbOqnI= =gBIn -----END PGP SIGNATURE----- --nextPart2376486.hnIPfgAnxz--