From owner-freebsd-mono@freebsd.org Tue Aug 4 06:42:02 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 221E19B3145 for ; Tue, 4 Aug 2015 06:42:02 +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 F1B251BCE for ; Tue, 4 Aug 2015 06:42:01 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E3FE49B3144; Tue, 4 Aug 2015 06:42:01 +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 E37B59B3143 for ; Tue, 4 Aug 2015 06:42:01 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (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 517FA1BCA for ; Tue, 4 Aug 2015 06:42:01 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by labsr2 with SMTP id sr2so407343lab.2 for ; Mon, 03 Aug 2015 23:41:58 -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 :cc:content-type; bh=RM91mSpuIX/7XlhEYO5HVShjBrNgcm0EEjvxZC6CR30=; b=O2PwYCv//jtYQEtIaC+ZkLADglmBhYpSlgu6bdSAd2tfCTzligs5gFJ2in+6Bkmvhv witrMiz6Dx/5JQD9o2h3p1U8Rh6NVra8NTdnRTBhlCGr9cnzzXitTq1vmAYPh5/gz9yj C08blc5Kf89ZEN9TcJ9RDPS9OQojfAjp5KHPSnXIe/qzkOnVdY/DmwFOyASskknvAE3l nRU+Le5vHvO55VBvmEdqMaqjnyC4kXU0eM74WCVb9+Ubv9LArCvq7IRLWcOCx2SLfBYx IqP95v2S56uJvOukU5uDyRX+356hBK0y3QR/0yfL9EZCRShhWGwTz1CmLN+XaeDnI1aE TlTg== MIME-Version: 1.0 X-Received: by 10.112.186.35 with SMTP id fh3mr1646304lbc.82.1438670518532; Mon, 03 Aug 2015 23:41:58 -0700 (PDT) Received: by 10.152.180.166 with HTTP; Mon, 3 Aug 2015 23:41:58 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 Aug 2015 23:41:58 -0700 Message-ID: Subject: Re: Mono Develop 5.0.1_1 Not Launching? From: Russell Haley To: Tony Narlock Cc: mono@freebsd.org, sergey.v.brunov@gmail.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: Tue, 04 Aug 2015 06:42:02 -0000 Okay, last post, I promise. I need some sleep! So what I reported previously is not a real issue ERROR [2015-08-03 22:24:30Z]: GLib-Critical: Source ID 2077 was not found when attempting to remove it Stack trace: at GLib.Source.g_source_remove(UInt32 ) at GLib.Source.Remove(UInt32 tag) at GLib.Timeout+TimeoutProxy.Dispose(Boolean disposing) at GLib.Timeout+TimeoutProxy.Finalize() Is only a warning apparently??? Anyway, are we running an old version of gtk-sharp? Seems to be updated here: https://github.com/mono/gtk-sharp/commit/7ea0c4afaf405df2dfc5a42e098e9023ecc1c51c The REAL error is this: [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: persistent kevent() error, error code = '22' at System.IO.KqueueMonitor.Monitor () [0x00000] in :0 at System.IO.KqueueMonitor.DoMonitor () [0x00000] in :0 I drilled into KqueueMonitor and found that in the Monitor() routine it throws this exception if it retries three times with no success. '22' is called fromMarshall.GetLastWin32Error, so it could be: 0x00000016 ERROR_BAD_COMMAND or 0x00000022 ERROR_WRONG_DISK Depending how you interpret '22'. :D Once again, hope I'm helping more than hindering. Goodnight, Russ On Mon, Aug 3, 2015 at 10:30 PM, Russell Haley wrote: > Ha! So I worked through it and I installed the following ports: > > p5-XML-LibXML: > cd /usr/ports/textproc/p5-XML-LibXML/ && make install clean > > gtk-sharp20 -> gtk-sharp30 doesn't work! oops > /ports/x11-toolkits/gtk-sharp20/ && make install clean > > gnome-sharp20 > cd /usr/ports/x11-toolkits/gnome-sharp20/ && make install clean -> had to > run REinstall for this one??? > > and finished the build, but I get a runtime error. When running > monodevelop --no-redirect I get this: > > INFO [2015-08-03 22:24:26Z]: Add-in loaded: MonoDevelop.CBinding > INFO [2015-08-03 22:24:26Z]: > [MonoDevelop.DesignerSupport.Toolbox.ExternalLoader] Add-in loaded: > MonoDevelop.CBinding > INFO [2015-08-03 22:24:26Z]: Add-in loaded: MonoDevelop.GtkCore > INFO [2015-08-03 22:24:26Z]: > [MonoDevelop.DesignerSupport.Toolbox.ExternalLoader] Add-in loaded: > MonoDevelop.GtkCore > ERROR [2015-08-03 22:24:26Z]: GLib-Critical: Source ID 1927 was not found > when attempting to remove it > Stack trace: > at GLib.Source.g_source_remove(UInt32 ) > at GLib.Source.Remove(UInt32 tag) > at GLib.Timeout+TimeoutProxy.Dispose(Boolean disposing) > at GLib.Timeout+TimeoutProxy.Finalize() > ERROR [2015-08-03 22:24:26Z]: GLib-Critical: Source ID 1924 was not found > when attempting to remove it > Stack trace: > at GLib.Source.g_source_remove(UInt32 ) > at GLib.Source.Remove(UInt32 tag) > at GLib.Timeout+TimeoutProxy.Dispose(Boolean disposing) > at GLib.Timeout+TimeoutProxy.Finalize() > ERROR [2015-08-03 22:24:26Z]: GLib-Critical: Source ID 1923 was not found > when attempting to remove it > > Ad-nausium. NOW I am out of my depth... > > > Yay, I'm helping! :D > > Russ > > > On Mon, Aug 3, 2015 at 9:35 PM, Russell Haley > wrote: > >> Okay, so this is where I am at: >> >> 1) built mono from /usr/ports/lang/mono (version 4.0.1.28) >> 2) downloaded current Monodevelop from github. >> 3) Tried to build, but ran into the following issues: >> a) *%-recursive: $(CONFIG_MAKE)* -> Doesn't work with make. I called >> gmake and got past this. >> b) *DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"* -> This >> fails in tcsh. Not sure what the repalcement is. Hard coded path got me >> past this. >> c) Monodevelop/main contains a (generated?) Makefile has a target called >> restore-packages which has the following line: *nuget restore* (or >> something like that) It fails for two reasons. >> i) it needs to be replaces with *mono >> /usr/home/rhaley/git/monodevelop/main/external/nuget-binary/NuGet.exe >> restore* >> ii) *mozroots --import --sync* -> NuGet.exe needs this run or download >> fail with WARNING: Error: SendFailure (Error writing headers). Not sure >> what it does >> >> Now I am getting build errors and i think it is because I don't have >> mono-addins (gtk failing). >> >> When I try to run mono-addins from /usr/ports/devel/mono-addins, I get >> the following error: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *make install clean===> Installing for mono-addins-1.1===> >> mono-addins-1.1 depends on executable: mono - found===> mono-addins-1.1 >> depends on file: /usr/local/libdata/pkgconfig/gtk-sharp-2.0.pc - not >> found===> mono-addins-1.1 depends on file: >> /usr/local/libdata/pkgconfig/gtk-sharp-2.0.pc - not found*** Error code >> 1Stop.make[1]: stopped in /usr/ports/devel/mono-addins*** Error code >> 1Stop.make: stopped in /usr/ports/devel/mono-addins* >> >> Few! okay, that's as far as I got. Why is the mono-addins port not >> fetching dependencies? >> >> Thanks, >> >> Russ >> >> On Mon, Aug 3, 2015 at 6:45 PM, Russell Haley >> wrote: >> >>> Very exciting. I would like to be involved if you need a tester. I >>> just read about creating ports in BSD Journal and I started looking >>> into why make was failing on the source from the github repository >>> (some bash specific stuff, NuGet gets called incorrectly and fails >>> etc) but that's as far as I got. >>> >>> Thanks, >>> >>> Russell >>> >>> On Mon, Aug 3, 2015 at 4:11 PM, Tony Narlock wrote: >>> > Thank you for posting this. I also am getting the same experience as >>> you and >>> > others on the thread. >>> > >>> > I made a bugzilla issue at >>> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202067 and linked >>> to the >>> > thread here as well. >>> > >>> > Also, there is a patch to update monodevelop (to 5.5) at >>> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194915. This was >>> last >>> > modified 2014-12-19 12:38 PST. Unfortunately no one caught it. Sergey, >>> I am >>> > CC'ing you on this. >>> > >>> > It being almost 9 months since, I think we may as well make a patch >>> for the >>> > newest monodevelop if possible (latest release as of August 3rd, 2015 >>> is >>> > 5.9.5.5) >>> > >>> > On Wed, Jul 29, 2015 at 1:16 AM, Russell Haley >>> wrote: >>> >> >>> >> Hi there, >>> >> >>> >> I am trying to run Monodevelop on PC-BSD 10.1 release 25. First, ports >>> >> wouldn't build any of the dependency files and then when I finally got >>> >> it installed through the AppCafe using a binary, the application fails >>> >> to start. There is no error or pop-up. It just fails to start. >>> >> >>> >> I'd really like to debug this and fix the issue. Is there any logging >>> >> or any way I can figure out what the next step in debuggin this issue >>> >> is? >>> >> >>> >> Thanks, >>> >> >>> >> Russ >>> >> _______________________________________________ >>> >> freebsd-mono@freebsd.org mailing list >>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-mono >>> >> To unsubscribe, send any mail to " >>> freebsd-mono-unsubscribe@freebsd.org" >>> > >>> > >>> >> >> >