From owner-freebsd-mono@freebsd.org Fri Oct 30 06:34:09 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 D3D79A21E94 for ; Fri, 30 Oct 2015 06:34:09 +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 B51FD1770 for ; Fri, 30 Oct 2015 06:34:09 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B2B72A21E93; Fri, 30 Oct 2015 06:34:09 +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 B1405A21E92 for ; Fri, 30 Oct 2015 06:34:09 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (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 6E6D4176F for ; Fri, 30 Oct 2015 06:34:09 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkex70 with SMTP id x70so41385754vke.3 for ; Thu, 29 Oct 2015 23:34:08 -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=IhNzSFRoFn4rFd7Tlr9+oxNyMceGbgr5V7j4l7+IKxM=; b=mFGNpz49CbuYfJ21FfhE3M1LVel6kWv4qcW1+ZylYYgtqMfmCJeD+aJfvLZcI+wKlu 3Ull2221cBO5ULU9SQ05TMbjGlWJng+HOugRCcheoqzL9qgo2wO8PqAa/vgYQM6Mtn7d HdX408vcFv8tMquMAzDOPPAlXdKuffhYVVZOuwIZ0Ax/LWL/Lj9g0ajoAy7EYE0c+VdP DfItM9FvYNMz+1uyWha5Yo28AP3+j2QoHfgwY/8FqiI4sLOAZufV91sN4tu8FthmvIrt 2Y5yfGjUTBbqrAPubM4hO9v/J+q3JLWHc9EWLlUfny766WmrdHdXc5U8qYLUPNLjBR8O 2e5w== MIME-Version: 1.0 X-Received: by 10.31.33.75 with SMTP id h72mr4382800vkh.144.1446186848512; Thu, 29 Oct 2015 23:34:08 -0700 (PDT) Received: by 10.31.66.9 with HTTP; Thu, 29 Oct 2015 23:34:08 -0700 (PDT) Date: Thu, 29 Oct 2015 23:34:08 -0700 Message-ID: Subject: Monodevelop 5.10 From: Russell Haley To: mono@freebsd.org, monodevelop-list@lists.ximian.com 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, 30 Oct 2015 06:34:09 -0000 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 load 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 :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 fireAddedEvent) [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 the 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 = "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 = 4096; private const string libgit2 = 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 = UniqueId.UniqueIdentifier, MarshalTypeRef = 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