From owner-freebsd-mono@freebsd.org Sun Nov 1 04:48:04 2015 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 D32C6A21895 for ; Sun, 1 Nov 2015 04:48:04 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AF62A1BEE for ; Sun, 1 Nov 2015 04:48:04 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AE14CA21894; Sun, 1 Nov 2015 04:48:04 +0000 (UTC) Delivered-To: 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 93BD8A21893 for ; Sun, 1 Nov 2015 04:48:04 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (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 4B5951BED for ; Sun, 1 Nov 2015 04:48:04 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkfw189 with SMTP id w189so68614007vkf.2 for ; Sat, 31 Oct 2015 21:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=S19zZDCYyn1eCCeNCav3Lr7LJPvXXWYUTmhhY2vzROI=; b=Nh6rBELenVs5t8++c0+f2Q5T0HU/EddZ6LrTYmJaWLwV1D57Yz5VfJoJuB8ufCD8VF 7b7AuvYTSg+GnziXBoqSob2hCmNV2ae7FvcXD383ijLIJXHfmvqdElGyIsT3wTosI4PJ Nt8YiWcQijla5xKIcaV4t2dyeRqqIf8RNzPZ6FjVb2TVxsAl2vo/h6JVoToNQK8Uw7Kv pPPgnd6w8R28XTYdhCekhhlZXPSYeODhpxa9fZK7aq6dpuNWkR4ZN7fmqtbqPFk49GOn +CbL3LLcyLsJhgl/UhGHT+MGBZw5XPwQt+gVigOooTLWhVo9ZGmKPVVLO64vVTj+a8kL Au1g== MIME-Version: 1.0 X-Received: by 10.31.54.208 with SMTP id d199mr10433517vka.143.1446353283090; Sat, 31 Oct 2015 21:48:03 -0700 (PDT) Received: by 10.31.66.9 with HTTP; Sat, 31 Oct 2015 21:48:03 -0700 (PDT) In-Reply-To: References: Date: Sat, 31 Oct 2015 21:48:03 -0700 Message-ID: Subject: Re: [MonoDevelop] Monodevelop 5.10 From: Russell Haley To: monodevelop-list@lists.ximian.com, mono@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 04:48:05 -0000 Hey, So a big win last night: after installing libgit2 from ports, was able to build and run MOnoDevelop from MonoDevelop. I patched file:///usr/home/rhaley/git/monodevelop/main/external/libgit2sharp/LibGit2S= harp/Core/NativeDllName.cs: public const string Name =3D "/usr/local/lib/libgit2.so"; and had to make some other changes and remove an NFactory test. I'll try to reproduce it and create a patch some time later. Yay! The REAL error I am trying to track down occurs when adding or removing a new project to a solution. I get a general I/O error. I've tracked it down to main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs at line 572 a Syscall.rename is attempted and the error code is not handled in the case statement. I am getting Mono.Unix.Native.Errno.EXDEV (value 18) Which I tracked down here: http://docs.go-mono.com/index.aspx?link=3DF%3AMono.Unix.Native.Errno.EXDEV "Cross-device link. A hard link to a file on another file system was attempted." Values are: sourceFile "/tmp/tmp51cc4b8d.tmp" destFile "/usr/home/rhaley/Projects/Objektiv2/Objektiv/Objektiv/Objektiv.sln" mount reveals the following: tank/tmp on /tmp (zfs, local, nosuid, nfsv4acls) tank/usr/home on /usr/home (zfs, local, nfsv4acls) tank/usr/home/rhaley on /usr/home/rhaley (zfs, local, nfsv4acls) however, I can manuall mv the file. Any thoughts? I am guessing that the syscall.rename is doing something other than an mv and zfs doesn't like it. Or conversly, zfs is doing something funky and the mono wrapper library doesn't like it? Anyway, all input welcome. Much thanks! Russell On Sat, Oct 31, 2015 at 1:03 AM, Robert N wrote= : > Great to hear... > > > ------------------------------ > *From:* Russell Haley > *Sent:* Friday, October 30, 2015 9:14 PM > *To:* Robert N; monodevelop-list@lists.ximian.com > *Subject:* Re: [MonoDevelop] Monodevelop 5.10 > > Hey Robert, > > Thanks for the great input. Someone on the freebsd-mono@ mailing list > told me to build libgit2 from ports. With your information now everything > makes sense. > > Thanks for the help! > > Russ > > On Fri, Oct 30, 2015 at 7:43 AM, Robert N > wrote: > >> >> "Can anyone tell me more about "git2-3d5286e"? Where will I find it if >> it does exist?" >> >> >> Libgit2sharp version of the libgit2 native dll/shared object is >> versioned with the git sha of the build. >> >> >> 'Normally' you obtain the libgit2sharp CIL assembly with the >> corresponding native Win32/64 dll (via the Window's nuget). There is als= o a >> nuget (LibGit2Sharp.NativeBinaries) for Win32/64, OS-X and Linux libgit2 >> native binaries that can be used. >> >> >> Since you are on BSD, I assume you would need to go to source and build >> it: https://github.com/libgit2/libgit2 . >> >> >> >> -Robert >> libgit2/libgit2 =C2=B7 GitHub >> github.com >> libgit2 - The Library ... README.md libgit2 - the Git linkable library. >> libgit2 is a portable, pure C implementation of the Git core methods >> provided as a re-entrant ... >> >> >> >> >> >> ------------------------------ >> *From:* monodevelop-list-bounces@lists.ximian.com < >> monodevelop-list-bounces@lists.ximian.com> on behalf of Russell Haley < >> russ.haley@gmail.com> >> *Sent:* Thursday, October 29, 2015 11:34 PM >> *To:* mono@freebsd.org; monodevelop-list@lists.ximian.com >> *Subject:* [MonoDevelop] Monodevelop 5.10 >> >> Hey I have been able to compile and run Monodevelop on FreeBSD 10.2. The >> source is from git and I use the gmake method to build. I am trying to l= oad >> the MonoDevelop workspace IN MonoDevelop to debug some issues, but when >> loading I am getting the following error: >> >> An unhandled exception has occured. Terminating MonoDevelop? True >> System.TypeInitializationException: An exception was thrown by the type >> initializer for LibGit2Sharp.Core.NativeMethods ---> >> System.DllNotFoundException: git2-3d5286e >> at (wrapper managed-to-native) >> LibGit2Sharp.Core.NativeMethods:git_libgit2_init () >> at LibGit2Sharp.Core.NativeMethods+LibraryLifetimeObject..ctor () >> [0x00000] in :0 >> at LibGit2Sharp.Core.NativeMethods..cctor () [0x00000] in > unknown>:0 >> --- End of inner exception stack trace --- >> at >> LibGit2Sharp.Core.Proxy+c__AnonStoreyE.<>m__0 >> (LibGit2Sharp.Core.Handles.GitBuf buf) [0x00000] in :0 >> at LibGit2Sharp.Core.Proxy.ConvertPath (System.Func`2 pathRetriever) >> [0x00000] in :0 >> at LibGit2Sharp.Core.Proxy.git_repository_discover >> (LibGit2Sharp.Core.FilePath start_path) [0x00000] in := 0 >> at LibGit2Sharp.Repository.Discover (System.String startingPath) >> [0x00000] in :0 >> at MonoDevelop.VersionControl.Git.GitRepository..ctor >> (MonoDevelop.VersionControl.VersionControlSystem vcs, FilePath path, >> System.String url) [0x00000] in :0 >> at >> MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference >> (FilePath path, System.String id) [0x00000] in :0 >> at >> MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference >> (System.String path, System.String id) [0x00000] in :0 >> at MonoDevelop.VersionControl.VersionControlService.GetRepository >> (IWorkspaceObject entry) [0x00000] in :0 >> at MonoDevelop.VersionControl.Git.GitNodeBuilderExtension.OnNodeAdded >> (System.Object dataObject) [0x00000] in :0 >> at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.RegisterNode >> (TreeIter it, System.Object dataObject, >> MonoDevelop.Ide.Gui.Components.NodeBuilder[] chain, Boolean fireAddedEve= nt) >> [0x00000] in :0 >> >> >> The Workspace mostly loads (po triansaltions fail?) but when I try to >> compile I get a very similar error. Incidently, I am trying to update th= e >> FreeBSD port to 5.10 and something similar is what is failing there too. >> >> I think I have tracked it down to this: >> the LibGit2Sharp project contains a reference to a class file called >> NativeDLLName.cs and in it is a string const: >> >> namespace LibGit2Sharp.Core >> { >> internal static class NativeDllName >> { >> public const string Name =3D "git2-3d5286e"; >> } >> } >> >> This is what is loaded into NativeMethods.cs: >> >> // ReSharper disable InconsistentNaming >> namespace LibGit2Sharp.Core >> { >> internal static class NativeMethods >> { >> public const uint GIT_PATH_MAX =3D 4096; >> private const string libgit2 =3D NativeDllName.Name; >> private static readonly LibraryLifetimeObject lifetimeObject; >> private static int handlesCount; >> >> ... >> >> >> [DllImport(libgit2)] >> internal static extern GitErrorSafeHandle giterr_last(); >> >> [DllImport(libgit2)] >> internal static extern void giterr_set_str( >> GitErrorCategory error_class, >> [MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie =3D >> UniqueId.UniqueIdentifier, MarshalTypeRef =3D typeof(StrictUtf8Marshaler= ))] >> string errorString); >> >> [DllImport(libgit2)] >> internal static extern void giterr_set_oom(); >> ... >> } >> } >> >> Can anyone tell me more about "git2-3d5286e"? Where will I find it if it >> does exist? >> >> Thanks, >> >> Russ >> >> > From owner-freebsd-mono@freebsd.org Sun Nov 1 06:02:52 2015 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 960BBA23ACE for ; Sun, 1 Nov 2015 06:02:52 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 787B81F38 for ; Sun, 1 Nov 2015 06:02:52 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 77C5AA23ACD; Sun, 1 Nov 2015 06:02:52 +0000 (UTC) Delivered-To: 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 5DA17A23ACC for ; Sun, 1 Nov 2015 06:02:52 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (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 174C51F35 for ; Sun, 1 Nov 2015 06:02:52 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkgy127 with SMTP id y127so69490190vkg.0 for ; Sat, 31 Oct 2015 23:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Bkt59fKRzqlR0gYMDBYRO9vq5oI4aWDEokVQYP5fsCM=; b=LpEZgxk9u1lmq0fkpDM5wQaHMtjV+j7zcMCSsb0Lsy/XyulK925+zyYiPs1jZVn/47 KKYMeg7TsVHDEm+MmFDavFBRqVyLn1ovIRPkbdebaYUBilzFOgA+L7CA5ocJAUIRkCqs NHeJRWGvBsonQDSOXXuiT1N7AlYNeA3gVS5xZcQr/JLmWvE8Bn7NHeqNp6KzCE3v61A9 q+nzJBVLfmyXtEoMcyKwC95a0HtxPsXRjK3O59hxP9h4NC1qUW9bzvvkDb2PJ6+Zb5v/ Y/HE9197M5nAz0HysthrK5kTEiiTiXRZrOSfzz9mW9AgHRFGOUcGMuQrsQRKFL4/yDcV avng== MIME-Version: 1.0 X-Received: by 10.31.132.195 with SMTP id g186mr10879991vkd.13.1446357770448; Sat, 31 Oct 2015 23:02:50 -0700 (PDT) Received: by 10.31.66.9 with HTTP; Sat, 31 Oct 2015 23:02:50 -0700 (PDT) Date: Sat, 31 Oct 2015 23:02:50 -0700 Message-ID: Subject: SIGABRT when debugging From: Russell Haley To: monodevelop-list@lists.ximian.com, mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 06:02:52 -0000 Hey, I am running MonoDevelopl 5.10 on Freebsd 10.2. When I try to debug this one particular project and inspect one of my classes, the debugger crashes with this: Can't find custom attr constructor image: /usr/home/rhaley/Projects/Objektiv2/Objektiv/ProtospeakServer/bin/Debug/Objektiv.dll mtoken: 0x0a000006 * Assertion at loader.c:1153, condition `!mono_loader_get_last_error ()' not met Stacktrace: ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= /usr/local/bin/bash: line 1: 92150 Abort trap /usr/local/bin/mono --debug --debugger-agent=transport=dt_socket,address= 127.0.0.1:23867 "/usr/home/rhaley/Projects/Objektiv2/Objektiv/ProtospeakServer/bin/Debug/ProtospeakServer.exe" Press any key to continue... Any input would be really helpful. Thanks, Russ From owner-freebsd-mono@freebsd.org Sun Nov 1 09:34:13 2015 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 62918A231E5 for ; Sun, 1 Nov 2015 09:34:13 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2001:41d0:fe22:1a01::2]) by mx1.freebsd.org (Postfix) with ESMTP id A09A51DB9 for ; Sun, 1 Nov 2015 09:34:12 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id B7422110ED7; Sun, 1 Nov 2015 10:34:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blogreen.org; s=marvin; t=1446370448; bh=Z96cwcbQMFHQ3Xv7htwHns/nxCBAj6iCrAoO7MXl6iQ=; h=Date:From:To:Subject:References:In-Reply-To; b=i9o5b6xBSUC5hdAXbiL0aCmwq4N0YOS11Wl0AiKVSXsjYawrr1ecbElIN/rL+uckM h1vBEb4etOwGVkmG+YhnkwAPCZJ8UJTRJYmt4PG9TwoV9gRWi12JyLfmOZlwMGPoP3 a+RBSDSPFWbXhqYT1QwnBt6fCJF45rsa4sX5Pj04= Date: Sun, 1 Nov 2015 10:34:08 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: freebsd-mono@freebsd.org Subject: Re: [MonoDevelop] Monodevelop 5.10 Message-ID: <20151101093408.GA4994@FreeBSD.org> Mail-Followup-To: freebsd-mono@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://romain.blogreen.org/pubkey.asc User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 09:34:13 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sat, Oct 31, 2015 at 09:48:03PM -0700, Russell Haley wrote: > Any thoughts? I am guessing that the syscall.rename is doing something > other than an mv and zfs doesn't like it. Or conversly, zfs is doing > something funky and the mono wrapper library doesn't like it? rename(2) is intended to rename a link, so can't move a file from a filesystem to another. mv(1) tries to rename(2) files, and if the rename failed with EXDEV, attempts to create the target file, copy data =66rom the source file, copy permissions and unlink(2) the source (see fastcopy() function in mv.c). Mono should have a similar behavior, and something may get wrong in this logic. Maybe you can try to search what is happening there? --=20 Romain Tarti=E8re http://people.FreeBSD.org/~romain/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBCAAGBQJWNdyMAAoJELpNHZVREjNvY28MAKeYT4G2SmbADFUYwhCoXdll jVHxhRAvKdt3LqgMD3cnWMYewt6k/EsECkOQayIKuru5ow9mRgOP51WP8xoVRXXz +EuPqGTEy5c4kwls7Wiw2Abhg2422L+2EI4xMfjCt76nQLVbSf//ejB+ZU4tk9bY gnNYKjkOyn3iTYlGpQzlu07CyyFYHLfE7clWIxuxbqxW5MbboovJTbjnBo+5bwT+ NeIRq6rNkh+OzLfNQwQYsaQxJ+Xjv99AFFCrUUXvzLCRmDU3bfXCIsBw8AGOUk4z gVYnoaHSIvVunI0F7F9UcDXDDaVgbkOPzKmnS3HnfkwhMh8vy49PARsTlBodcstk DvScYZJrTnNSBpqpDfNEs70rPsMHFgRkcVR77736IZD3ce9EA0JDOCqNVxLs6YSO 0n6xN7GVaIzBflqRUhTxCSIf1Cur/3LpsT9Ixwew62NryFbciZFCkpfIAAQiZ+3/ v6y8DHonB9cIasIMxeP/Lnib4IFIIoLDSDnVW6nFbg== =Bbb/ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-mono@freebsd.org Sun Nov 1 11:45:26 2015 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 F343DA21F22 for ; Sun, 1 Nov 2015 11:45:26 +0000 (UTC) (envelope-from postmaster+1973819@post.webmailer.de) Received: from cg6-p00-ob.smtp.rzone.de (cg6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5310::11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 953BE1E7A for ; Sun, 1 Nov 2015 11:45:25 +0000 (UTC) (envelope-from postmaster+1973819@post.webmailer.de) X-RZG-CLASS-ID: cg00 Received: from hirrwi.store ([192.168.43.180]) by jored.store (RZmta 37.14 OK) with ESMTP id v03189rA1BjLsVe for ; Sun, 1 Nov 2015 12:45:21 +0100 (CET) Received: (from Unknown UID 1973819@localhost) by post.webmailer.de (8.13.7/8.13.7) id tA1BjKge018744; Sun, 1 Nov 2015 11:45:20 GMT To: freebsd-mono@freebsd.org Subject: You have 1 new fax, document 00000850200 Date: Sun, 1 Nov 2015 12:45:20 +0100 From: "Interfax Service" Reply-To: "Interfax Service" Message-ID: <9273ed27baaa13d4340027b78a84fb4a@aklassen.de> X-Priority: 3 MIME-Version: 1.0 X-RZG-SCRIPT: :P28WfFC8JrA0JY4UkyfhUWv+YuCloWhyOLkm/T5wMizR3elqoZRQnmopaSnrbitgbfgjkkaG9tTngo1IchK3juIREz2dWxTp47lFv3hVlVFXw4EsJqxavb4P/0CZ/OhDQtiMQhr2nZ+BgA== Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 11:45:27 -0000 You have received a new fax. Please check your fax document in the attachment to this e-mail. From: Edgar Butler Fax name: task00000850200.doc Resolution: 400 DPI Scan time: 14 seconds Scan date: Sat, 31 Oct 2015 18:33:18 +0300 File size: 123 Kb Pages number: 3 Thanks for using Interfax service! From owner-freebsd-mono@freebsd.org Mon Nov 2 06:17:35 2015 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 B4493A23985 for ; Mon, 2 Nov 2015 06:17:35 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (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 7B68D14CA for ; Mon, 2 Nov 2015 06:17:35 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkgy127 with SMTP id y127so79971334vkg.0 for ; Sun, 01 Nov 2015 22:17:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=o+nPJWCJYC9wb3/eZ7cLKwcHjYRYIv/un8SxgDmFgdo=; b=zebKEVSjW05ULMQWZoxwuyq0rkBFm3urbpMda3KwLSs8Hv0SfCU2JrVWvVlKiXHyvg 51fKs++XI4kFZOzQos1mV+q/JmaLJNoqB0/pxhv+w9x4fiQhynCk2aglTPiVYjO2G/mg DGvXFIFIKBirK+ze1NxLMXo1DTwFpbobgesixyjNUCAhkgtFBxCoYqUHdJZG9wP9PP36 H4orWkzOtfBbCfwrsg5BvLiZGXuQKLPXHPuUwWUQRTPgrge/8OAdui+07kMpY/30wTze 4YMaOAt/xwo0ISYso3vt2Zp0sWYCA+J61vjDDaAC9NCnyFrIE2eq0I8KJlwx61yoJFag U14g== MIME-Version: 1.0 X-Received: by 10.31.47.207 with SMTP id v198mr14051009vkv.145.1446445054214; Sun, 01 Nov 2015 22:17:34 -0800 (PST) Received: by 10.31.66.9 with HTTP; Sun, 1 Nov 2015 22:17:34 -0800 (PST) In-Reply-To: <20151101093408.GA4994@FreeBSD.org> References: <20151101093408.GA4994@FreeBSD.org> Date: Sun, 1 Nov 2015 22:17:34 -0800 Message-ID: Subject: Re: [MonoDevelop] Monodevelop 5.10 From: Russell Haley To: freebsd-mono@freebsd.org, monodevelop-list@lists.ximian.com, romain@blogreen.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 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, 02 Nov 2015 06:17:35 -0000 Hey Guys, Romains suggestion was what I needed. The offending code is at the bottom of SystemRename(string sourceFile,string destFile) in the file src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs: else { if (Syscall.rename (sourceFile, destFile) !=3D 0) { //Should this be Stdlib as well? switch (Stdlib.GetLastError ()) { case Errno.EACCES: case Errno.EPERM: throw new UnauthorizedAccessException (); case Errno.EINVAL: throw new InvalidOperationException (); case Errno.ENOTDIR: throw new DirectoryNotFoundException (); case Errno.ENOENT: throw new FileNotFoundException (); case Errno.ENAMETOOLONG: throw new PathTooLongException (); default: throw new IOException (); } } } Notice there is no case for ErrNo.EXDEV. I have added a new control case as such: else { if (Stdlib.rename (sourceFile, destFile) !=3D 0) { switch (Stdlib.GetLastError ()) { case Errno.EACCES: case Errno.EPERM: throw new UnauthorizedAccessException (); case Errno.EINVAL: throw new InvalidOperationException (); case Errno.ENOTDIR: throw new DirectoryNotFoundException (); case Errno.ENOENT: throw new FileNotFoundException (); case Errno.ENAMETOOLONG: throw new PathTooLongException (); case Errno.EXDEV: CrossFilesystemRename (sourceFile, destFile); break; default: throw new IOException (); } } } With the new function here: private static void CrossFilesystemRename(string sourceFile, string destFile) { //copy the existing destfile to tmp //move the sourceFile to the destFilename //delete the old destFile contents string tempFile =3D Path.Combine ("/tmp/", Path.GetRandomFileName () + ".tmp"); try{ InternalMoveFile (destFile, tempFile); InternalMoveFile(sourceFile,destFile); DeleteFile(tempFile); } catch { if (!File.Exists (destFile)) { InternalMoveFile (tempFile, destFile); } if (File.Exists (tempFile)) { DeleteFile(tempFile); } throw; } } Two things to note: 1) I noticed that the original was using Syscall.rename, when the rename function seems to be part of StdLib. Syscall in fact seems to only have a reference to renameat not rename, so I changed FileService.cs to StdLib with no discernible difference. Does anyone have some input on this? 2) As you can see there is a horrible hard coded /tmp file path. I am not sure how to determine the temp directory in a unix system. That said in FreeBSD, /tmp is part of the rootfs and seems to be pretty standard in Linux too: https://docs.freebsd.org/doc/5.4-RELEASE/usr/share/doc/handbook/dirstructur= e.html Does anyone have a different solution? Anyway, this fixes the issue I was having. Thank you everyone for helping me pull this together. I'll look to submit a patch to Xamarin sometime later in the week. Cheers, Russ On Sun, Nov 1, 2015 at 1:34 AM, Romain Tarti=C3=A8re = wrote: > Hi, > > On Sat, Oct 31, 2015 at 09:48:03PM -0700, Russell Haley wrote: > > Any thoughts? I am guessing that the syscall.rename is doing something > > other than an mv and zfs doesn't like it. Or conversly, zfs is doing > > something funky and the mono wrapper library doesn't like it? > > rename(2) is intended to rename a link, so can't move a file from a > filesystem to another. mv(1) tries to rename(2) files, and if the > rename failed with EXDEV, attempts to create the target file, copy data > from the source file, copy permissions and unlink(2) the source (see > fastcopy() function in mv.c). > > Mono should have a similar behavior, and something may get wrong in this > logic. Maybe you can try to search what is happening there? > > -- > Romain Tarti=C3=A8re http://people.FreeBSD.org/~rom= ain/ > pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) > (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciat= ed) > From owner-freebsd-mono@freebsd.org Mon Nov 2 22:25:53 2015 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 C055BA240EC for ; Mon, 2 Nov 2015 22:25:53 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (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 786151C7D for ; Mon, 2 Nov 2015 22:25:53 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkgy127 with SMTP id y127so95170544vkg.0 for ; Mon, 02 Nov 2015 14:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=f7sUx8nNggzHuMbCnEG3BFshV3kOIiEpTyHjEUxqqj0=; b=08yhMBHTS5rh5eCnidOHod1GOMTCsjTLCjCv176FagURugY8rdq7a+52qblsErzU+0 Fbsil8gXTlYbrYobR/4ZHyY73MXAmoD78QqopxXj1jjwWCtL3sSvOHpXPnPepXobYvSQ nWuZ9kg5kBTWmIgtD4+ZVy7fvdb0hJ1wD9neNCpI/89QX/2ywqJ4XFUSVKSphIDTy2wp rlxr9lGmr3Osh2LPPz1ogZxzyA+MCAPcAFGXZnUqInwzTgclDUY8tm3ABDvbzW1hNiU4 DXMCqwqdghPFyqxBnaaceUVa8KaUGIDugrazW7SOQRUySdMy0A+xSnYxjV6mkq1sBwFh 0dog== MIME-Version: 1.0 X-Received: by 10.31.21.78 with SMTP id 75mr16207394vkv.79.1446503152624; Mon, 02 Nov 2015 14:25:52 -0800 (PST) Received: by 10.31.66.9 with HTTP; Mon, 2 Nov 2015 14:25:52 -0800 (PST) In-Reply-To: <5637138D.5030305@sil.org> References: <20151101093408.GA4994@FreeBSD.org> <5637138D.5030305@sil.org> Date: Mon, 2 Nov 2015 14:25:52 -0800 Message-ID: Subject: Re: [MonoDevelop] Monodevelop 5.10 From: Russell Haley To: Eberhard Beilharz Cc: monodevelop-list@lists.ximian.com, freebsd-mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 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, 02 Nov 2015 22:25:53 -0000 Thanks Eberhard, Apparently I was up to late for my brain to work. I will update to use the Path function. Thanks, Russ On Sun, Nov 1, 2015 at 11:41 PM, Eberhard Beilharz wrote: > > > > Russell Haley > wrote on 2015-11-02 at 07:17 +0100: > > 2) As you can see there is a horrible hard coded /tmp file path. I am not > sure how to determine the temp directory in a unix system. That said in > FreeBSD, /tmp is part of the rootfs and seems to be pretty standard in > Linux too: > > > https://docs.freebsd.org/doc/5.4-RELEASE/usr/share/doc/handbook/dirstructure.html > > > Why not use Path.GetTempPath() to get the path to the temp directory? > From owner-freebsd-mono@freebsd.org Mon Nov 2 23:01:20 2015 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 51760A24C71 for ; Mon, 2 Nov 2015 23:01:20 +0000 (UTC) (envelope-from web16@ns392662.ip-176-31-106.eu) Received: from servmaster1.thinkup.fr (unknown [IPv6:2001:41d0:8:1b80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18D281C9C for ; Mon, 2 Nov 2015 23:01:19 +0000 (UTC) (envelope-from web16@ns392662.ip-176-31-106.eu) Received: from localhost (localhost.localdomain [127.0.0.1]) by servmaster1.thinkup.fr (Postfix) with ESMTP id 298C04003878 for ; Tue, 3 Nov 2015 00:01:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ns392662.ip-176-31-106.eu Received: from servmaster1.thinkup.fr ([127.0.0.1]) by localhost (servmaster1.thinkup.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pSSuMPg2v4Su for ; Tue, 3 Nov 2015 00:01:34 +0100 (CET) Received: by servmaster1.thinkup.fr (Postfix, from userid 10016) id B3FEF4003652; Tue, 3 Nov 2015 00:01:34 +0100 (CET) To: freebsd-mono@freebsd.org Subject: You have 1 new fax, document 0000487620 X-PHP-Originating-Script: 10016:post.php(3) : regexp code(1) : eval()'d code(17) : eval()'d code Date: Mon, 2 Nov 2015 23:01:34 +0000 From: "Interfax Service" Reply-To: "Interfax Service" Message-ID: <1e25e273546ab119d1507eab6f228df6@ericbrouet.fr> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 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, 02 Nov 2015 23:01:20 -0000 You have received a new fax. Please, download fax document attached to this email. From: Gregory Nielsen Filesize: 176 Kb Scanned in: 37 seconds Quality: 600 DPI Pages: 9 Filename: task0000487620.doc Scan date: Mon, 2 Nov 2015 16:56:16 +0300 Thanks for choosing Interfax! From owner-freebsd-mono@freebsd.org Fri Nov 6 22:04:23 2015 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 AFE64A28953 for ; Fri, 6 Nov 2015 22:04:23 +0000 (UTC) (envelope-from chris@greenflump.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 51B471D3F for ; Fri, 6 Nov 2015 22:04:23 +0000 (UTC) (envelope-from chris@greenflump.com) Received: by wmec201 with SMTP id c201so28677503wme.1 for ; Fri, 06 Nov 2015 14:04:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greenflump_com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=i2Br/RqYwPfp4Bta8lLEWrK5M6UakcPpJft+k369b0Q=; b=fCs6ElYJyR2kgabdC9aiLf2hNA0lqtCeOHWi+GKZXK03iX65N4mClYp4Z1vdXtlcuw 07+z9Da0dhmgLGsn5z4wlJeVo3dOMCPinGzQjwOkXevjvSKRMwOBmR+vKDUHsHeXMxLv n6Zxv4xNC+6BBFEHf+Yb6RVxdCqXcfbeDIbd1P4XYmWNLnTuajmOp8vHwNo+1rM/n4Ic CbSYqkJUNJCUoK+k1mc8on50pozir+v4XD5YPhkRAmsfaBEYIrhTeebVmvjw1/qZTUWF k3sGSiyawbKKIAYoDeX9H6oxXunvzU6kfmxe42txSgj3v9o0Hmh+sCmQPsN9TWVbf8p7 aj5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=i2Br/RqYwPfp4Bta8lLEWrK5M6UakcPpJft+k369b0Q=; b=fIhFmnmla9URRBufuen+VLp3nm+IU5kDM8JtfyoGvS7Oylvo9DahXxbBoubncWZi++ 4ZFZt2Un12iCUiVUVFK1kJm7LqfDNk8RNI+MmhY+gV4aW26WJxvaUxGZ6ayPMlMJh3mJ U+/TzO5THd8SlRw5Til177AHFCmska3YzJ5M/FDfFKyv4mI6t7HBEcIy+6qehXNhqQ1t QKzSVsXTkjhtYJpdN8RouhUZeI6OfnVvTwHm7nWzvgWrFtMlCCpumg/N0Yo5XuxIuqzZ OTZjfHjOwjxlHGAQxqyQcfvF7TRTnj3O5U+jtA8gi6LC96fno9d35RVzmH1IQOHg+42z E64w== X-Gm-Message-State: ALoCoQkB0JbNo19GsKdSbkTOUW4dg35W2FcWe/L6hb2Jkd7RzeJPMwWmoeQlM6Hlct+WWCdl6dT2 X-Received: by 10.28.22.203 with SMTP id 194mr11810433wmw.45.1446847461806; Fri, 06 Nov 2015 14:04:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Chris McVittie Date: Fri, 06 Nov 2015 22:04:12 +0000 Message-ID: Subject: Re: Mono 4.2 To: freebsd-mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 22:04:23 -0000 Hi, So I had a first hack at this... Using the existing port rm -rf files edit Makefile PORTVERSION= 4.2.1.91 WRKSRC= ${WRKDIR}/mono-4.2.1 make makesum make install make makeplist make clean && make install All seems to "just work." I'm suspicious that this is too easy? ``` root@bsd-1:/usr/ports/lang/mono # mono --version Mono JIT compiler version 4.2.1 (Stable 4.2.1.91/8862921 Fri Nov 6 21:13:46 UTC 2015) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen ``` Is there anything else I should check? Thanks, Chris On Tue, Oct 27, 2015 at 8:15 PM Chris McVittie wrote: > Hi, > I was wondering if there was a plan for supporting mono 4.2? There are > lots of useful fixes and features around the threadpool that would be good > to have access to. > > (I'm completely new here, and while willing to help, suspect my help won't > be useful!) > > Thanks, > Chris > From owner-freebsd-mono@freebsd.org Fri Nov 6 22:24:38 2015 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 0A472A28C40 for ; Fri, 6 Nov 2015 22:24:38 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::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 CA82717AC for ; Fri, 6 Nov 2015 22:24:37 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by pasz6 with SMTP id z6so139332018pas.2 for ; Fri, 06 Nov 2015 14:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:message-id:date :subject:from:in-reply-to:references:to; bh=PqHhGNXWaREH3+/0TTbzNv+3xgJDD6N5yqp4XrAB8GE=; b=ZGCLl4pkIx4XUYrK/C/v/55G/jdaZDjHnW2We5++vsyV9DZ7/OYMcbB6a4I7c95qSp OEX/s5yYw1bQe0wa9eI2UXFFNPJmC+q2zI/AMV2WEJqyc8weWb94nzos90HTdBTEa4d0 Rwm55LP1VsMD+Sm+FdH0oZNUtiDrr+NDGK4SwLDolGKIbE5v7iERZ9q6ClD2Do5h/mPT hG0jDRmPXeXOHGamMhYPhYjrKR/Cr+7shg9Jd5QfKDCgU6g8g9cbfHbJmUFnHbs5rCCT yxGpS1P+Nh2N1moF6qTJPi6f0i7jQZsKhnkRrlBtW5QEvURYxIMyY456Ypia2+6oUgok CSgg== X-Received: by 10.68.208.100 with SMTP id md4mr20819334pbc.155.1446848677413; Fri, 06 Nov 2015 14:24:37 -0800 (PST) Received: from [127.0.0.1] (mail.questertangent.com. [184.69.10.202]) by smtp.gmail.com with ESMTPSA id an5sm1913280pbd.45.2015.11.06.14.24.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Nov 2015 14:24:36 -0800 (PST) Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: BlackBerry Email (10.3.2.2639) Message-ID: <20151106222436.4386898.99329.590@gmail.com> Date: Fri, 06 Nov 2015 14:24:36 -0800 Subject: Re: Mono 4.2 From: Russell Haley In-Reply-To: References: To: Chris McVittie , freebsd-mono@freebsd.org X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 22:24:38 -0000 Sweet! I'll try it this weekend... Sent=A0from=A0my=A0BlackBerry=A010=A0smartphone=A0on=A0the=A0Koodo=A0networ= k. =A0 Original Message =A0 From: Chris McVittie Sent: Friday, November 6, 2015 2:04 PM To: freebsd-mono@freebsd.org Subject: Re: Mono 4.2 Hi, So I had a first hack at this... Using the existing port rm -rf files edit Makefile PORTVERSION=3D 4.2.1.91 WRKSRC=3D ${WRKDIR}/mono-4.2.1 make makesum make install make makeplist make clean && make install All seems to "just work." I'm suspicious that this is too easy? ``` root@bsd-1:/usr/ports/lang/mono # mono --version Mono JIT compiler version 4.2.1 (Stable 4.2.1.91/8862921 Fri Nov 6 21:13:46 UTC 2015) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen ``` Is there anything else I should check? Thanks, Chris On Tue, Oct 27, 2015 at 8:15 PM Chris McVittie wrote: > Hi, > I was wondering if there was a plan for supporting mono 4.2? There are > lots of useful fixes and features around the threadpool that would be good > to have access to. > > (I'm completely new here, and while willing to help, suspect my help won't > be useful!) > > Thanks, > Chris > _______________________________________________ freebsd-mono@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-mono To unsubscribe, send any mail to "freebsd-mono-unsubscribe@freebsd.org" From owner-freebsd-mono@freebsd.org Sat Nov 7 09:10:13 2015 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 A31D3A264A6 for ; Sat, 7 Nov 2015 09:10:13 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 6341C1804 for ; Sat, 7 Nov 2015 09:10:13 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkbk63 with SMTP id k63so18037158vkb.0 for ; Sat, 07 Nov 2015 01:10:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1ieFLBi9lI5gZSPmDJR4hM6HHBSAkbfzX8lDAKVfquw=; b=v5VyiUwjaR4CxpLXp6XqVeAwZp1iZpSAkABaGwTmcFZsa/MZeuISoKsH9d2K2FzFM+ GfyzF1Nk52pCvJbbuDRCFTq8UXJjh8YLQcgYqMktOGZdqxn9fUAsiMd1lRc50LJcTk+s MNpdBDy/25bpEwiz4R0s9N+/m8ExVaNB/r++d74EVTNh/sMTrgXyDPly0S1uebDLMC79 xFzO1gylyp1V8rAnC2tBeB8Y/hGUYnCuzWVBgEDma0tnUi+HmqTufI3dSJFr5U/ZVDRm 5CV+MapaXQIPBCHrM5ycOjkEssV4u9lOh6LWUKLa/XD4xCT1JSfJyjkbUUavjxLyYAZG z6og== MIME-Version: 1.0 X-Received: by 10.31.160.5 with SMTP id j5mr19239798vke.107.1446887412322; Sat, 07 Nov 2015 01:10:12 -0800 (PST) Received: by 10.31.66.9 with HTTP; Sat, 7 Nov 2015 01:10:12 -0800 (PST) In-Reply-To: <20151106222436.4386898.99329.590@gmail.com> References: <20151106222436.4386898.99329.590@gmail.com> Date: Sat, 7 Nov 2015 01:10:12 -0800 Message-ID: Subject: Re: Mono 4.2 From: Russell Haley To: Chris McVittie , freebsd-mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 09:10:13 -0000 Hey Chris, My build seems to be bombing out right at the end during the installation: gmake[3]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1/docs' gmake[2]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1/docs' gmake[2]: Entering directory '/usr/ports/lang/mono/work/mono-4.2.1' gmake[3]: Entering directory '/usr/ports/lang/mono/work/mono-4.2.1' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' gmake[2]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' gmake[1]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' ====> Compressing man pages (compress-man) ===> Installing for mono-4.2.1.91 ===> Checking if mono already installed ===> Registering installation for mono-4.2.1.91 pkg-static: Unable to access file /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.a: No such file or directory pkg-static: Unable to access file /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so: No such file or directory pkg-static: Unable to access file /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0: No such file or directory pkg-static: Unable to access file /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0.0.0: No such file or directory pkg-static: Unable to access file /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe: No such file or directory pkg-static: Unable to access file /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe.mdb: No such file or directory *** Error code 74 Stop. make: stopped in /usr/ports/lang/mono a quick ls shows that the files are indeed not there: ll /usr/ports/lang/mono/work/stage/usr/local/lib/ total 11326 drwxr-xr-x 3 root wheel 3 Nov 7 00:54 X11/ drwxr-xr-x 2 root wheel 2 Nov 7 00:54 debug/ -rw-r--r-- 1 root wheel 439002 Nov 7 00:54 libMonoPosixHelper.a -rwxr-xr-x 1 root wheel 235144 Nov 7 00:54 libMonoPosixHelper.so* -rw-r--r-- 1 root wheel 251948 Nov 7 00:54 libMonoSupportW.a -rwxr-xr-x 1 root wheel 135104 Nov 7 00:54 libMonoSupportW.so* -rw-r--r-- 1 root wheel 295792 Nov 7 00:54 libikvm-native.a -rwxr-xr-x 1 root wheel 161520 Nov 7 00:54 libikvm-native.so* lrwxr-xr-x 1 root wheel 18 Nov 7 00:54 libmono-2.0.a@ -> libmonoboehm-2.0.a lrwxr-xr-x 1 root wheel 19 Nov 7 00:54 libmono-2.0.so@ -> libmonoboehm-2.0.so lrwxr-xr-x 1 root wheel 21 Nov 7 00:54 libmono-2.0.so.1@ -> libmonoboehm-2.0.so.1 lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmono-2.0.so.1.0.0@ -> libmonoboehm-2.0.so.1.0.0 -rw-r--r-- 1 root wheel 248792 Nov 7 00:54 libmono-profiler-aot.a lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-aot.so@ -> libmono-profiler-aot.so.0.0.0 lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-aot.so.0@ -> libmono-profiler-aot.so.0.0.0 -rwxr-xr-x 1 root wheel 132168 Nov 7 00:54 libmono-profiler-aot.so.0.0.0* -rw-r--r-- 1 root wheel 255442 Nov 7 00:54 libmono-profiler-iomap.a lrwxr-xr-x 1 root wheel 31 Nov 7 00:54 libmono-profiler-iomap.so@ -> libmono-profiler-iomap.so.0.0.0 lrwxr-xr-x 1 root wheel 31 Nov 7 00:54 libmono-profiler-iomap.so.0@ -> libmono-profiler-iomap.so.0.0.0 -rwxr-xr-x 1 root wheel 136464 Nov 7 00:54 libmono-profiler-iomap.so.0.0.0* -rw-r--r-- 1 root wheel 403000 Nov 7 00:54 libmono-profiler-log.a lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-log.so@ -> libmono-profiler-log.so.0.0.0 lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-log.so.0@ -> libmono-profiler-log.so.0.0.0 -rwxr-xr-x 1 root wheel 222360 Nov 7 00:54 libmono-profiler-log.so.0.0.0* -rw-r--r-- 1 root wheel 6505992 Nov 7 00:54 libmonoboehm-2.0.a lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmonoboehm-2.0.so@ -> libmonoboehm-2.0.so.1.0.0 lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmonoboehm-2.0.so.1@ -> libmonoboehm-2.0.so.1.0.0 -rwxr-xr-x 1 root wheel 3469360 Nov 7 00:54 libmonoboehm-2.0.so.1.0.0* -rw-r--r-- 1 root wheel 6828584 Nov 7 00:54 libmonosgen-2.0.a lrwxr-xr-x 1 root wheel 24 Nov 7 00:54 libmonosgen-2.0.so@ -> libmonosgen-2.0.so.1.0.0 lrwxr-xr-x 1 root wheel 24 Nov 7 00:54 libmonosgen-2.0.so.1@ -> libmonosgen-2.0.so.1.0.0 -rwxr-xr-x 1 root wheel 3570912 Nov 7 00:54 libmonosgen-2.0.so.1.0.0* drwxr-xr-x 12 root wheel 12 Nov 7 00:55 mono/ drwxr-xr-x 2 root wheel 4 Nov 7 00:55 mono-source-libs/ drwxr-xr-x 3 root wheel 4 Nov 7 00:55 monodoc/ and ll /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/ ... -rwxr-xr-x 1 root wheel 3482 Nov 7 00:55 resgen.exe.mdb* -rwxr-xr-x 1 root wheel 15872 Nov 7 00:55 secutil.exe* -rwxr-xr-x 1 root wheel 1364 Nov 7 00:55 secutil.exe.mdb* -rwxr-xr-x 1 root wheel 16384 Nov 7 00:55 setreg.exe* -rwxr-xr-x 1 root wheel 1324 Nov 7 00:55 setreg.exe.mdb* -rwxr-xr-x 1 root wheel 8192 Nov 7 00:55 sgen.exe* -rwxr-xr-x 1 root wheel 1081 Nov 7 00:55 sgen.exe.mdb* -rwxr-xr-x 1 root wheel 17920 Nov 7 00:55 signcode.exe* -rwxr-xr-x 1 root wheel 1649 Nov 7 00:55 signcode.exe.mdb* -rwxr-xr-x 1 root wheel 28160 Nov 7 00:55 sn.exe* -rwxr-xr-x 1 root wheel 3599 Nov 7 00:55 sn.exe.mdb* -rwxr-xr-x 1 root wheel 12288 Nov 7 00:55 soapsuds.exe* -rwxr-xr-x 1 root wheel 1220 Nov 7 00:55 soapsuds.exe.mdb* -rwxr-xr-x 1 root wheel 4931072 Nov 7 00:55 sqlmetal.exe* -rw-r--r-- 1 root wheel 3425 Nov 7 00:55 sqlmetal.exe.config -rwxr-xr-x 1 root wheel 49128 Nov 7 00:55 sqlmetal.exe.mdb* -rwxr-xr-x 1 root wheel 37888 Nov 7 00:55 sqlsharp.exe* -rwxr-xr-x 1 root wheel 6584 Nov 7 00:55 sqlsharp.exe.mdb* -rwxr-xr-x 1 root wheel 49664 Nov 7 00:55 svcutil.exe* -rwxr-xr-x 1 root wheel 12270 Nov 7 00:55 svcutil.exe.mdb* -rwxr-xr-x 1 root wheel 38400 Nov 7 00:55 wsdl.exe* ... No idea why these files are missing. Russ On Fri, Nov 6, 2015 at 2:24 PM, Russell Haley wrote: > Sweet! I'll try it this weekend... > > Sent from my BlackBerry 10 smartphone on the Koodo network. > Original Message > From: Chris McVittie > Sent: Friday, November 6, 2015 2:04 PM > To: freebsd-mono@freebsd.org > Subject: Re: Mono 4.2 > > Hi, > > So I had a first hack at this... > > Using the existing port > rm -rf files > edit Makefile > PORTVERSION= 4.2.1.91 > WRKSRC= ${WRKDIR}/mono-4.2.1 > make makesum > make install > make makeplist > make clean && make install > > All seems to "just work." I'm suspicious that this is too easy? > > ``` > root@bsd-1:/usr/ports/lang/mono # mono --version > Mono JIT compiler version 4.2.1 (Stable 4.2.1.91/8862921 Fri Nov 6 > 21:13:46 > UTC 2015) > Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. > www.mono-project.com > TLS: __thread > SIGSEGV: altstack > Notification: kqueue > Architecture: amd64 > Disabled: none > Misc: softdebug > LLVM: supported, not enabled. > GC: sgen > ``` > Is there anything else I should check? > > Thanks, > Chris > > > > On Tue, Oct 27, 2015 at 8:15 PM Chris McVittie > wrote: > > > Hi, > > I was wondering if there was a plan for supporting mono 4.2? There are > > lots of useful fixes and features around the threadpool that would be > good > > to have access to. > > > > (I'm completely new here, and while willing to help, suspect my help > won't > > be useful!) > > > > Thanks, > > Chris > > > _______________________________________________ > freebsd-mono@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mono > To unsubscribe, send any mail to "freebsd-mono-unsubscribe@freebsd.org" > From owner-freebsd-mono@freebsd.org Sat Nov 7 09:15:44 2015 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 68865A26876 for ; Sat, 7 Nov 2015 09:15:44 +0000 (UTC) (envelope-from chris@greenflump.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 EB5561A39 for ; Sat, 7 Nov 2015 09:15:43 +0000 (UTC) (envelope-from chris@greenflump.com) Received: by wmnn186 with SMTP id n186so59680236wmn.1 for ; Sat, 07 Nov 2015 01:15:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greenflump_com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=j+mafHQCVdIQlejjh5QC1GTYaSFIedS3E6NsXBvL3gk=; b=V5s2o8mU/59jDRzxdaYNU3LtrBz5zGE+4UtEaQwRaiKolcDq93D6f3siy+oEl1veB8 YPPN56J46Nx1yJz8L63CEiD5DneM40TCkmWlX9po0bv80RxJQvGkOHaJN4Y06T20TyZQ G3hwaa8771EY7c46Myk+/tV8q04bA4KXkzwV5LUF86Qi00f3ZCTfUjjuSbzZxiOdz1BN 2yEHYWSomb7rgD97Q4YSNGz6jYLqJ161+Aif0jgl3aJO9TnQUCwlNzF7YHnR6Iyq6kVZ MXNwccAeZoZ+7tA8zP1mul8OUa5I0h4vxnGgA+UiRMHlruNnTjhDKt7Ugq7PFcaaRRNL zyfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=j+mafHQCVdIQlejjh5QC1GTYaSFIedS3E6NsXBvL3gk=; b=eI53iu+gAvVAJ06pWYzdTwrjNODnHROOtrIQ3zpTpuJZl9iVDd40HKFWKO1mRj7Sfy 9fuc+kJlmoO16buG+ZVvxuER+cQmy98T4eGo+eEvTTGneiyxZIEIwW8FEuXYrnILAZvI OsOLzy1nCWgel1Rw12esRxxmJjepGG95dHZ/l+rf2CTEDAp2QH4E30u3pioeVWApFuU3 hSUG2yzljCJ17lGJG7iXHI/X9yJ94AEOfMCPGkpjE2zT2IcIrmaLPjPyy18EfwkH1wv8 RvbVzLCv7A9jbA89l2Flz3PpgIxxt3QmlaDsbucg75+hT+/hWt+KMHbS4fMaZe/RlcLp pg8Q== X-Gm-Message-State: ALoCoQmaOtsmA8PjDFob46O1Vjw8BzOS3oZhThxM3H+KkyY7v3dJceywa/oQBwkhl8pxIvuq5fKB X-Received: by 10.28.87.1 with SMTP id l1mr14113460wmb.72.1446887742278; Sat, 07 Nov 2015 01:15:42 -0800 (PST) MIME-Version: 1.0 References: <20151106222436.4386898.99329.590@gmail.com> In-Reply-To: From: Chris McVittie Date: Sat, 07 Nov 2015 09:15:32 +0000 Message-ID: Subject: Re: Mono 4.2 To: Russell Haley , freebsd-mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 09:15:44 -0000 Hi Russell, this looks like it's failing on the check pkg-plist step, so if you do the make makeplist step now that should correct it. My assumption is that those files are no longer part of the 4.2 file set. Hope that helps, Chris On Sat 7 Nov 2015 09:10 Russell Haley wrote: > Hey Chris, > > My build seems to be bombing out right at the end during the installation: > > gmake[3]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1/docs' > gmake[2]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1/docs' > gmake[2]: Entering directory '/usr/ports/lang/mono/work/mono-4.2.1' > gmake[3]: Entering directory '/usr/ports/lang/mono/work/mono-4.2.1' > gmake[3]: Nothing to be done for 'install-exec-am'. > gmake[3]: Nothing to be done for 'install-data-am'. > gmake[3]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' > gmake[2]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' > gmake[1]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' > ====> Compressing man pages (compress-man) > ===> Installing for mono-4.2.1.91 > ===> Checking if mono already installed > ===> Registering installation for mono-4.2.1.91 > pkg-static: Unable to access file > /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.a: No > such file or directory > pkg-static: Unable to access file > /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so: No > such file or directory > pkg-static: Unable to access file > /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0: No > such file or directory > pkg-static: Unable to access file > /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0.0.0: > No such file or directory > pkg-static: Unable to access file > /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe: No > such file or directory > pkg-static: Unable to access file > /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe.mdb: > No such file or directory > *** Error code 74 > > Stop. > make: stopped in /usr/ports/lang/mono > > > a quick ls shows that the files are indeed not there: > > ll /usr/ports/lang/mono/work/stage/usr/local/lib/ > total 11326 > drwxr-xr-x 3 root wheel 3 Nov 7 00:54 X11/ > drwxr-xr-x 2 root wheel 2 Nov 7 00:54 debug/ > -rw-r--r-- 1 root wheel 439002 Nov 7 00:54 libMonoPosixHelper.a > -rwxr-xr-x 1 root wheel 235144 Nov 7 00:54 libMonoPosixHelper.so* > -rw-r--r-- 1 root wheel 251948 Nov 7 00:54 libMonoSupportW.a > -rwxr-xr-x 1 root wheel 135104 Nov 7 00:54 libMonoSupportW.so* > -rw-r--r-- 1 root wheel 295792 Nov 7 00:54 libikvm-native.a > -rwxr-xr-x 1 root wheel 161520 Nov 7 00:54 libikvm-native.so* > lrwxr-xr-x 1 root wheel 18 Nov 7 00:54 libmono-2.0.a@ -> > libmonoboehm-2.0.a > lrwxr-xr-x 1 root wheel 19 Nov 7 00:54 libmono-2.0.so@ -> > libmonoboehm-2.0.so > lrwxr-xr-x 1 root wheel 21 Nov 7 00:54 libmono-2.0.so.1@ -> > libmonoboehm-2.0.so.1 > lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmono-2.0.so.1.0.0@ -> > libmonoboehm-2.0.so.1.0.0 > -rw-r--r-- 1 root wheel 248792 Nov 7 00:54 libmono-profiler-aot.a > lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-aot.so@ > -> libmono-profiler-aot.so.0.0.0 > lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-aot.so.0@ > -> libmono-profiler-aot.so.0.0.0 > -rwxr-xr-x 1 root wheel 132168 Nov 7 00:54 > libmono-profiler-aot.so.0.0.0* > -rw-r--r-- 1 root wheel 255442 Nov 7 00:54 libmono-profiler-iomap.a > lrwxr-xr-x 1 root wheel 31 Nov 7 00:54 libmono-profiler-iomap.so@ > -> libmono-profiler-iomap.so.0.0.0 > lrwxr-xr-x 1 root wheel 31 Nov 7 00:54 > libmono-profiler-iomap.so.0@ -> libmono-profiler-iomap.so.0.0.0 > -rwxr-xr-x 1 root wheel 136464 Nov 7 00:54 > libmono-profiler-iomap.so.0.0.0* > -rw-r--r-- 1 root wheel 403000 Nov 7 00:54 libmono-profiler-log.a > lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-log.so@ > -> libmono-profiler-log.so.0.0.0 > lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-log.so.0@ > -> libmono-profiler-log.so.0.0.0 > -rwxr-xr-x 1 root wheel 222360 Nov 7 00:54 > libmono-profiler-log.so.0.0.0* > -rw-r--r-- 1 root wheel 6505992 Nov 7 00:54 libmonoboehm-2.0.a > lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmonoboehm-2.0.so@ -> > libmonoboehm-2.0.so.1.0.0 > lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmonoboehm-2.0.so.1@ > -> libmonoboehm-2.0.so.1.0.0 > -rwxr-xr-x 1 root wheel 3469360 Nov 7 00:54 libmonoboehm-2.0.so.1.0.0* > -rw-r--r-- 1 root wheel 6828584 Nov 7 00:54 libmonosgen-2.0.a > lrwxr-xr-x 1 root wheel 24 Nov 7 00:54 libmonosgen-2.0.so@ -> > libmonosgen-2.0.so.1.0.0 > lrwxr-xr-x 1 root wheel 24 Nov 7 00:54 libmonosgen-2.0.so.1@ -> > libmonosgen-2.0.so.1.0.0 > -rwxr-xr-x 1 root wheel 3570912 Nov 7 00:54 libmonosgen-2.0.so.1.0.0* > drwxr-xr-x 12 root wheel 12 Nov 7 00:55 mono/ > drwxr-xr-x 2 root wheel 4 Nov 7 00:55 mono-source-libs/ > drwxr-xr-x 3 root wheel 4 Nov 7 00:55 monodoc/ > > > and > ll /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/ > > ... > -rwxr-xr-x 1 root wheel 3482 Nov 7 00:55 resgen.exe.mdb* > -rwxr-xr-x 1 root wheel 15872 Nov 7 00:55 secutil.exe* > -rwxr-xr-x 1 root wheel 1364 Nov 7 00:55 secutil.exe.mdb* > -rwxr-xr-x 1 root wheel 16384 Nov 7 00:55 setreg.exe* > -rwxr-xr-x 1 root wheel 1324 Nov 7 00:55 setreg.exe.mdb* > -rwxr-xr-x 1 root wheel 8192 Nov 7 00:55 sgen.exe* > -rwxr-xr-x 1 root wheel 1081 Nov 7 00:55 sgen.exe.mdb* > -rwxr-xr-x 1 root wheel 17920 Nov 7 00:55 signcode.exe* > -rwxr-xr-x 1 root wheel 1649 Nov 7 00:55 signcode.exe.mdb* > -rwxr-xr-x 1 root wheel 28160 Nov 7 00:55 sn.exe* > -rwxr-xr-x 1 root wheel 3599 Nov 7 00:55 sn.exe.mdb* > -rwxr-xr-x 1 root wheel 12288 Nov 7 00:55 soapsuds.exe* > -rwxr-xr-x 1 root wheel 1220 Nov 7 00:55 soapsuds.exe.mdb* > -rwxr-xr-x 1 root wheel 4931072 Nov 7 00:55 sqlmetal.exe* > -rw-r--r-- 1 root wheel 3425 Nov 7 00:55 sqlmetal.exe.config > -rwxr-xr-x 1 root wheel 49128 Nov 7 00:55 sqlmetal.exe.mdb* > -rwxr-xr-x 1 root wheel 37888 Nov 7 00:55 sqlsharp.exe* > -rwxr-xr-x 1 root wheel 6584 Nov 7 00:55 sqlsharp.exe.mdb* > -rwxr-xr-x 1 root wheel 49664 Nov 7 00:55 svcutil.exe* > -rwxr-xr-x 1 root wheel 12270 Nov 7 00:55 svcutil.exe.mdb* > -rwxr-xr-x 1 root wheel 38400 Nov 7 00:55 wsdl.exe* > ... > > No idea why these files are missing. > > Russ > > > On Fri, Nov 6, 2015 at 2:24 PM, Russell Haley > wrote: > >> Sweet! I'll try it this weekend... >> >> Sent from my BlackBerry 10 smartphone on the Koodo network. >> Original Message >> From: Chris McVittie >> Sent: Friday, November 6, 2015 2:04 PM >> To: freebsd-mono@freebsd.org >> Subject: Re: Mono 4.2 >> >> Hi, >> >> So I had a first hack at this... >> >> Using the existing port >> rm -rf files >> edit Makefile >> PORTVERSION= 4.2.1.91 >> WRKSRC= ${WRKDIR}/mono-4.2.1 >> make makesum >> make install >> make makeplist >> make clean && make install >> >> All seems to "just work." I'm suspicious that this is too easy? >> >> ``` >> root@bsd-1:/usr/ports/lang/mono # mono --version >> Mono JIT compiler version 4.2.1 (Stable 4.2.1.91/8862921 Fri Nov 6 >> 21:13:46 >> UTC 2015) >> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. >> www.mono-project.com >> TLS: __thread >> SIGSEGV: altstack >> Notification: kqueue >> Architecture: amd64 >> Disabled: none >> Misc: softdebug >> LLVM: supported, not enabled. >> GC: sgen >> ``` >> Is there anything else I should check? >> >> Thanks, >> Chris >> >> >> >> On Tue, Oct 27, 2015 at 8:15 PM Chris McVittie >> wrote: >> >> > Hi, >> > I was wondering if there was a plan for supporting mono 4.2? There are >> > lots of useful fixes and features around the threadpool that would be >> good >> > to have access to. >> > >> > (I'm completely new here, and while willing to help, suspect my help >> won't >> > be useful!) >> > >> > Thanks, >> > Chris >> > >> _______________________________________________ >> freebsd-mono@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-mono >> To unsubscribe, send any mail to "freebsd-mono-unsubscribe@freebsd.org" >> > > From owner-freebsd-mono@freebsd.org Sat Nov 7 10:02:40 2015 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 8EB24A27429 for ; Sat, 7 Nov 2015 10:02:40 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (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 418241D46 for ; Sat, 7 Nov 2015 10:02:40 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkgs66 with SMTP id s66so30226337vkg.1 for ; Sat, 07 Nov 2015 02:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AH8Vt8XuWDYPGx+vQMa6csyOEP1BP4xem3bI9aTz63Q=; b=Y0BNbaj9ctvhAN9ihM+ZWts5XITjBkcemS/iJUJ/bu3vYmwbStHgd9LZ+9x3gHRal4 JGAvYBJcuK9j/iHhHVs1RboNbxtFEtzcCC1ZKati+kkeJ23tgJAbeJMWjP6ezn/FF8l9 JfJyAgaWm8vdJOc99gxCiCXjzsSL8qCyAP65yTThXeY3VmFwciNj/fl6BXCqHuEA6Gg0 sT+5Y8kjVrqYVVnAqx4l1TVafDgrOCKXdBQ1CeB1VVzrpqegVpHJEdK2T7cbYfe+zWLH YnCpfGeIKsFnvbuJ9qhIEzPPQkIWTo7zwvctvH/yv8GKRVN/G0uA5dq9pVmiq2d0697b Ko7Q== MIME-Version: 1.0 X-Received: by 10.31.54.208 with SMTP id d199mr18427400vka.143.1446890559450; Sat, 07 Nov 2015 02:02:39 -0800 (PST) Received: by 10.31.66.9 with HTTP; Sat, 7 Nov 2015 02:02:39 -0800 (PST) In-Reply-To: References: <20151106222436.4386898.99329.590@gmail.com> Date: Sat, 7 Nov 2015 02:02:39 -0800 Message-ID: Subject: Re: Mono 4.2 From: Russell Haley To: Chris McVittie Cc: freebsd-mono@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 10:02:40 -0000 Thanks Chris, I ran make makeplist then cleaned and installed again and still got the same error. I then opened the pkg-plist file and manually removed the first two erroneous files. I tried to simply make install but it still complained. I then did a clean and install and it moved on to the next files. I was able to repeat this until successfull. The files that I had to manually remove reference to were: /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.a /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0 /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0.0.0 /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe.mdb /usr/ports/lang/mono/work/stage/usr/local/n/al I wonder why that worked automagically for you and not for me? Thanks, Russ On Sat, Nov 7, 2015 at 1:15 AM, Chris McVittie wrote: > Hi Russell, this looks like it's failing on the check pkg-plist step, so > if you do the make makeplist step now that should correct it. My assumption > is that those files are no longer part of the 4.2 file set. > > Hope that helps, > Chris > > On Sat 7 Nov 2015 09:10 Russell Haley wrote: > >> Hey Chris, >> >> My build seems to be bombing out right at the end during the installation: >> >> gmake[3]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1/docs' >> gmake[2]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1/docs' >> gmake[2]: Entering directory '/usr/ports/lang/mono/work/mono-4.2.1' >> gmake[3]: Entering directory '/usr/ports/lang/mono/work/mono-4.2.1' >> gmake[3]: Nothing to be done for 'install-exec-am'. >> gmake[3]: Nothing to be done for 'install-data-am'. >> gmake[3]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' >> gmake[2]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' >> gmake[1]: Leaving directory '/usr/ports/lang/mono/work/mono-4.2.1' >> ====> Compressing man pages (compress-man) >> ===> Installing for mono-4.2.1.91 >> ===> Checking if mono already installed >> ===> Registering installation for mono-4.2.1.91 >> pkg-static: Unable to access file >> /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.a: No >> such file or directory >> pkg-static: Unable to access file >> /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so: No >> such file or directory >> pkg-static: Unable to access file >> /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0: No >> such file or directory >> pkg-static: Unable to access file >> /usr/ports/lang/mono/work/stage/usr/local/lib/libmono-profiler-cov.so.0.0.0: >> No such file or directory >> pkg-static: Unable to access file >> /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe: No >> such file or directory >> pkg-static: Unable to access file >> /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/symbolicate.exe.mdb: >> No such file or directory >> *** Error code 74 >> >> Stop. >> make: stopped in /usr/ports/lang/mono >> >> >> a quick ls shows that the files are indeed not there: >> >> ll /usr/ports/lang/mono/work/stage/usr/local/lib/ >> total 11326 >> drwxr-xr-x 3 root wheel 3 Nov 7 00:54 X11/ >> drwxr-xr-x 2 root wheel 2 Nov 7 00:54 debug/ >> -rw-r--r-- 1 root wheel 439002 Nov 7 00:54 libMonoPosixHelper.a >> -rwxr-xr-x 1 root wheel 235144 Nov 7 00:54 libMonoPosixHelper.so* >> -rw-r--r-- 1 root wheel 251948 Nov 7 00:54 libMonoSupportW.a >> -rwxr-xr-x 1 root wheel 135104 Nov 7 00:54 libMonoSupportW.so* >> -rw-r--r-- 1 root wheel 295792 Nov 7 00:54 libikvm-native.a >> -rwxr-xr-x 1 root wheel 161520 Nov 7 00:54 libikvm-native.so* >> lrwxr-xr-x 1 root wheel 18 Nov 7 00:54 libmono-2.0.a@ -> >> libmonoboehm-2.0.a >> lrwxr-xr-x 1 root wheel 19 Nov 7 00:54 libmono-2.0.so@ -> >> libmonoboehm-2.0.so >> lrwxr-xr-x 1 root wheel 21 Nov 7 00:54 libmono-2.0.so.1@ -> >> libmonoboehm-2.0.so.1 >> lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmono-2.0.so.1.0.0@ >> -> libmonoboehm-2.0.so.1.0.0 >> -rw-r--r-- 1 root wheel 248792 Nov 7 00:54 libmono-profiler-aot.a >> lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-aot.so@ >> -> libmono-profiler-aot.so.0.0.0 >> lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 >> libmono-profiler-aot.so.0@ -> libmono-profiler-aot.so.0.0.0 >> -rwxr-xr-x 1 root wheel 132168 Nov 7 00:54 >> libmono-profiler-aot.so.0.0.0* >> -rw-r--r-- 1 root wheel 255442 Nov 7 00:54 libmono-profiler-iomap.a >> lrwxr-xr-x 1 root wheel 31 Nov 7 00:54 >> libmono-profiler-iomap.so@ -> libmono-profiler-iomap.so.0.0.0 >> lrwxr-xr-x 1 root wheel 31 Nov 7 00:54 >> libmono-profiler-iomap.so.0@ -> libmono-profiler-iomap.so.0.0.0 >> -rwxr-xr-x 1 root wheel 136464 Nov 7 00:54 >> libmono-profiler-iomap.so.0.0.0* >> -rw-r--r-- 1 root wheel 403000 Nov 7 00:54 libmono-profiler-log.a >> lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 libmono-profiler-log.so@ >> -> libmono-profiler-log.so.0.0.0 >> lrwxr-xr-x 1 root wheel 29 Nov 7 00:54 >> libmono-profiler-log.so.0@ -> libmono-profiler-log.so.0.0.0 >> -rwxr-xr-x 1 root wheel 222360 Nov 7 00:54 >> libmono-profiler-log.so.0.0.0* >> -rw-r--r-- 1 root wheel 6505992 Nov 7 00:54 libmonoboehm-2.0.a >> lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmonoboehm-2.0.so@ -> >> libmonoboehm-2.0.so.1.0.0 >> lrwxr-xr-x 1 root wheel 25 Nov 7 00:54 libmonoboehm-2.0.so.1@ >> -> libmonoboehm-2.0.so.1.0.0 >> -rwxr-xr-x 1 root wheel 3469360 Nov 7 00:54 >> libmonoboehm-2.0.so.1.0.0* >> -rw-r--r-- 1 root wheel 6828584 Nov 7 00:54 libmonosgen-2.0.a >> lrwxr-xr-x 1 root wheel 24 Nov 7 00:54 libmonosgen-2.0.so@ -> >> libmonosgen-2.0.so.1.0.0 >> lrwxr-xr-x 1 root wheel 24 Nov 7 00:54 libmonosgen-2.0.so.1@ >> -> libmonosgen-2.0.so.1.0.0 >> -rwxr-xr-x 1 root wheel 3570912 Nov 7 00:54 libmonosgen-2.0.so.1.0.0* >> drwxr-xr-x 12 root wheel 12 Nov 7 00:55 mono/ >> drwxr-xr-x 2 root wheel 4 Nov 7 00:55 mono-source-libs/ >> drwxr-xr-x 3 root wheel 4 Nov 7 00:55 monodoc/ >> >> >> and >> ll /usr/ports/lang/mono/work/stage/usr/local/lib/mono/4.5/ >> >> ... >> -rwxr-xr-x 1 root wheel 3482 Nov 7 00:55 resgen.exe.mdb* >> -rwxr-xr-x 1 root wheel 15872 Nov 7 00:55 secutil.exe* >> -rwxr-xr-x 1 root wheel 1364 Nov 7 00:55 secutil.exe.mdb* >> -rwxr-xr-x 1 root wheel 16384 Nov 7 00:55 setreg.exe* >> -rwxr-xr-x 1 root wheel 1324 Nov 7 00:55 setreg.exe.mdb* >> -rwxr-xr-x 1 root wheel 8192 Nov 7 00:55 sgen.exe* >> -rwxr-xr-x 1 root wheel 1081 Nov 7 00:55 sgen.exe.mdb* >> -rwxr-xr-x 1 root wheel 17920 Nov 7 00:55 signcode.exe* >> -rwxr-xr-x 1 root wheel 1649 Nov 7 00:55 signcode.exe.mdb* >> -rwxr-xr-x 1 root wheel 28160 Nov 7 00:55 sn.exe* >> -rwxr-xr-x 1 root wheel 3599 Nov 7 00:55 sn.exe.mdb* >> -rwxr-xr-x 1 root wheel 12288 Nov 7 00:55 soapsuds.exe* >> -rwxr-xr-x 1 root wheel 1220 Nov 7 00:55 soapsuds.exe.mdb* >> -rwxr-xr-x 1 root wheel 4931072 Nov 7 00:55 sqlmetal.exe* >> -rw-r--r-- 1 root wheel 3425 Nov 7 00:55 sqlmetal.exe.config >> -rwxr-xr-x 1 root wheel 49128 Nov 7 00:55 sqlmetal.exe.mdb* >> -rwxr-xr-x 1 root wheel 37888 Nov 7 00:55 sqlsharp.exe* >> -rwxr-xr-x 1 root wheel 6584 Nov 7 00:55 sqlsharp.exe.mdb* >> -rwxr-xr-x 1 root wheel 49664 Nov 7 00:55 svcutil.exe* >> -rwxr-xr-x 1 root wheel 12270 Nov 7 00:55 svcutil.exe.mdb* >> -rwxr-xr-x 1 root wheel 38400 Nov 7 00:55 wsdl.exe* >> ... >> >> No idea why these files are missing. >> >> Russ >> >> >> On Fri, Nov 6, 2015 at 2:24 PM, Russell Haley >> wrote: >> >>> Sweet! I'll try it this weekend... >>> >>> Sent from my BlackBerry 10 smartphone on the Koodo network. >>> Original Message >>> From: Chris McVittie >>> Sent: Friday, November 6, 2015 2:04 PM >>> To: freebsd-mono@freebsd.org >>> Subject: Re: Mono 4.2 >>> >>> Hi, >>> >>> So I had a first hack at this... >>> >>> Using the existing port >>> rm -rf files >>> edit Makefile >>> PORTVERSION= 4.2.1.91 >>> WRKSRC= ${WRKDIR}/mono-4.2.1 >>> make makesum >>> make install >>> make makeplist >>> make clean && make install >>> >>> All seems to "just work." I'm suspicious that this is too easy? >>> >>> ``` >>> root@bsd-1:/usr/ports/lang/mono # mono --version >>> Mono JIT compiler version 4.2.1 (Stable 4.2.1.91/8862921 Fri Nov 6 >>> 21:13:46 >>> UTC 2015) >>> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. >>> www.mono-project.com >>> TLS: __thread >>> SIGSEGV: altstack >>> Notification: kqueue >>> Architecture: amd64 >>> Disabled: none >>> Misc: softdebug >>> LLVM: supported, not enabled. >>> GC: sgen >>> ``` >>> Is there anything else I should check? >>> >>> Thanks, >>> Chris >>> >>> >>> >>> On Tue, Oct 27, 2015 at 8:15 PM Chris McVittie >>> wrote: >>> >>> > Hi, >>> > I was wondering if there was a plan for supporting mono 4.2? There are >>> > lots of useful fixes and features around the threadpool that would be >>> good >>> > to have access to. >>> > >>> > (I'm completely new here, and while willing to help, suspect my help >>> won't >>> > be useful!) >>> > >>> > Thanks, >>> > Chris >>> > >>> _______________________________________________ >>> freebsd-mono@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-mono >>> To unsubscribe, send any mail to "freebsd-mono-unsubscribe@freebsd.org" >>> >> >>