From owner-freebsd-java@freebsd.org Mon Nov 9 15:40:59 2015 Return-Path: Delivered-To: freebsd-java@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 39C5FA290A4 for ; Mon, 9 Nov 2015 15:40:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1F56A14E8 for ; Mon, 9 Nov 2015 15:40:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1BA78A290A3; Mon, 9 Nov 2015 15:40:59 +0000 (UTC) Delivered-To: java@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 1B409A290A2 for ; Mon, 9 Nov 2015 15:40:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 0840914E7 for ; Mon, 9 Nov 2015 15:40:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA9Fewis045452 for ; Mon, 9 Nov 2015 15:40:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 203747] java/openjdk8: Respect CC Date: Mon, 09 Nov 2015 15:40:58 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2015 15:40:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203747 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #161992|0 |1 is obsolete| | --- Comment #4 from Sean Bruno --- Created attachment 162925 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162925&action=edit patch toolchain.m4 with support for non-default CC Regenerate patch file with svn diff -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. From owner-freebsd-java@freebsd.org Wed Nov 11 14:50:41 2015 Return-Path: Delivered-To: freebsd-java@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 ABA91A2B627; Wed, 11 Nov 2015 14:50:41 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E1611B30; Wed, 11 Nov 2015 14:50:38 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.7/8.14.7) with ESMTP id tABEZ6jh013628; Wed, 11 Nov 2015 16:35:06 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <5643521A.4090803@matrix.gatewaynet.com> Date: Wed, 11 Nov 2015 16:35:06 +0200 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "freebsd-java@freebsd.org" CC: freebsd-eclipse@FreeBSD.org Subject: Eclipse 4.5 (Mars) on FreeBSD. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 14:50:41 -0000 Hello, fellow BSD'ers, I have seen this : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203689 Have there been any news on this? Anyone tried the submitted patch? -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt From owner-freebsd-java@freebsd.org Wed Nov 11 16:00:38 2015 Return-Path: Delivered-To: freebsd-java@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 474B4A2C94D; Wed, 11 Nov 2015 16:00:38 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::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 C440317D4; Wed, 11 Nov 2015 16:00:37 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by lbbkw15 with SMTP id kw15so19306169lbb.0; Wed, 11 Nov 2015 08:00:35 -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=FPyAiHm6TO701mFuzHGGaRRTiVTneky7QaGFy4UFsok=; b=yKKfKgQ1GuRO8g9mSyayKW6idZxXt5iQi6qeyIJjf+URJ+lsvE1AGLAOnal+RHyE3H Z/T6us4ZMKc9KG5rQqQ0xx4+64iEnN1wqBZBkHu6sGDlt489LH/Bigo80aZ8afu7uDTr xWNqby8HFq0TcRZXBkMCxqYafBHbhHUhlB51Y2tqZuhgzCdnW+jszZicABMv3MipL+DA ptMsls42YI5yXaa+5nZa6LHAV/YYJwBi4Kpv+gMF0eICqmyGoH6Qh/zjnvmoFdHhvhF0 P6TTCW9dEXZRVyrm0Udmtzx8bhg8IyKqAjYkO2OhZTWHF+0vM0vGSSLBxa6unuIYexVU lT6w== MIME-Version: 1.0 X-Received: by 10.112.180.131 with SMTP id do3mr4805372lbc.123.1447257635480; Wed, 11 Nov 2015 08:00:35 -0800 (PST) Received: by 10.112.63.230 with HTTP; Wed, 11 Nov 2015 08:00:35 -0800 (PST) In-Reply-To: <5643521A.4090803@matrix.gatewaynet.com> References: <5643521A.4090803@matrix.gatewaynet.com> Date: Wed, 11 Nov 2015 19:00:35 +0300 Message-ID: Subject: Re: Eclipse 4.5 (Mars) on FreeBSD. From: Michael Zhilin To: Achilleas Mantzios Cc: "freebsd-java@freebsd.org" , freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 16:00:38 -0000 Hi, I haven't tried yet, because eclipse returns error: [mizhka@gidrarium ~]$ eclipse (:14193): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported [mizhka@gidrarium ~]$ pkg info eclipse eclipse-4.5 Name : eclipse Version : 4.5 Installed on : Wed Nov 11 18:54:02 MSK 2015 Origin : java/eclipse Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : devel java Licenses : EPL Maintainer : ljboiler@gmail.com WWW : http://www.eclipse.org/ Comment : Eclipse Mars Options : FULL_SDK : on PLATFORM : off PLATFORM_SDK : off SWT_GTK3_SUPPORT: off Annotations : repo_type : binary repository : myrepo Flat size : 214MiB Description : The Eclipse Platform is an open extensible IDE for anything and yet nothing in particular. The Eclipse Platform provides building blocks and a foundation for constructing and running integrated software- development tools. The Eclipse Platform allows tool builders to independently develop tools that integrate with other people's tools so seamlessly you can't tell where one tool ends and another starts. WWW: http://www.eclipse.org/ I suppose that it's my personal problem, but not sure. I'm going to update my packages to latest version. Thanks! On Wed, Nov 11, 2015 at 5:35 PM, Achilleas Mantzios < achill@matrix.gatewaynet.com> wrote: > Hello, fellow BSD'ers, > > I have seen this : > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203689 > Have there been any news on this? Anyone tried the submitted patch? > > -- > Achilleas Mantzios > IT DEV Lead > IT DEPT > Dynacom Tankers Mgmt > > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Wed Nov 11 17:06:26 2015 Return-Path: Delivered-To: freebsd-java@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 1136AA2C5B2; Wed, 11 Nov 2015 17:06:26 +0000 (UTC) (envelope-from ljboiler@gmail.com) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::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 C11DF1BC8; Wed, 11 Nov 2015 17:06:25 +0000 (UTC) (envelope-from ljboiler@gmail.com) Received: by ykdr82 with SMTP id r82so58864168ykd.3; Wed, 11 Nov 2015 09:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=GWsQJpnkAINO93GNeT79cjFLLYaSalF5C69EVONzqs0=; b=j6JdzypziU5JppT+bzKPZpv5KQjDV4e1HjpG4FtRMbGgZ2yfmLaAv934WZ9oQiZ8iY LyBSgczEeqipiegma22LPtq5R8RP4EF7eyKFLMXBdnyvAG3db8ZheAQvkXoJR1vafkMa V8JAbsaGXTBJ0+acQ5VEf9+neJlhY09wRznWBNZK7xdO1OfBHlCq1njLeaWvwZobUQH1 mggeuRdyr2fpQzzPjG2TcpyFzCvs3/giwKDsSyRoeLSZ734j+5LtlrLYZv2u3qWXu4RM px7jUA0I2BmpBLcca1fERzCPydkNAlr5+G8UpJv7H+S2JLe5a8UnIxRTvL1q+n0FAnED G2jA== X-Received: by 10.13.251.193 with SMTP id l184mr10647399ywf.342.1447261584982; Wed, 11 Nov 2015 09:06:24 -0800 (PST) Received: from jmobile.jimmy.local (24-107-210-189.dhcp.stls.mo.charter.com. [24.107.210.189]) by smtp.gmail.com with ESMTPSA id s189sm11551313ywe.35.2015.11.11.09.06.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Nov 2015 09:06:24 -0800 (PST) Received: by jmobile.jimmy.local (sSMTP sendmail emulation); Wed, 11 Nov 2015 11:06:21 -0600 Date: Wed, 11 Nov 2015 11:06:21 -0600 From: Jimmy Kelley To: Michael Zhilin Cc: Achilleas Mantzios , freebsd-eclipse@freebsd.org, "freebsd-java@freebsd.org" Subject: Re: Eclipse 4.5 (Mars) on FreeBSD. Message-ID: <20151111170620.GA77032@tower1.jimmy.localnet> References: <5643521A.4090803@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 17:06:26 -0000 By default, the FreeBSD Eclipse port is built without Gtk3 support. However, Eclipse still tries to use the Gtk3 libraries if it detects them on your system. The 'fix' is to set an environment variable: SWT_GTK3=0 Jimmy Kelley FreeBSD Eclipse port maintainer On Wed, Nov 11, 2015 at 07:00:35PM +0300, Michael Zhilin wrote: > Hi, > > I haven't tried yet, because eclipse returns error: > > [mizhka@gidrarium ~]$ eclipse > > (:14193): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x > and GTK+ 3 in the same process is not supported > [mizhka@gidrarium ~]$ pkg info eclipse > eclipse-4.5 > Name : eclipse > Version : 4.5 > Installed on : Wed Nov 11 18:54:02 MSK 2015 > Origin : java/eclipse > Architecture : freebsd:10:x86:64 > Prefix : /usr/local > Categories : devel java > Licenses : EPL > Maintainer : ljboiler@gmail.com > WWW : http://www.eclipse.org/ > Comment : Eclipse Mars > Options : > FULL_SDK : on > PLATFORM : off > PLATFORM_SDK : off > SWT_GTK3_SUPPORT: off > Annotations : > repo_type : binary > repository : myrepo > Flat size : 214MiB > Description : > The Eclipse Platform is an open extensible IDE for anything and yet > nothing in particular. The Eclipse Platform provides building blocks > and a foundation for constructing and running integrated software- > development tools. The Eclipse Platform allows tool builders to > independently develop tools that integrate with other people's tools > so seamlessly you can't tell where one tool ends and another starts. > > WWW: http://www.eclipse.org/ > > I suppose that it's my personal problem, but not sure. I'm going to update > my packages to latest version. > > Thanks! > > On Wed, Nov 11, 2015 at 5:35 PM, Achilleas Mantzios < > achill@matrix.gatewaynet.com> wrote: > > > Hello, fellow BSD'ers, > > > > I have seen this : > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203689 > > Have there been any news on this? Anyone tried the submitted patch? > > > > -- > > Achilleas Mantzios > > IT DEV Lead > > IT DEPT > > Dynacom Tankers Mgmt > > > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-eclipse@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-eclipse > To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org" From owner-freebsd-java@freebsd.org Thu Nov 12 08:26:33 2015 Return-Path: Delivered-To: freebsd-java@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 54536A2C1BE; Thu, 12 Nov 2015 08:26:33 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADA5F1A1B; Thu, 12 Nov 2015 08:26:32 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.7/8.14.7) with ESMTP id tAC8QTUI093082; Thu, 12 Nov 2015 10:26:29 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <56444D35.2030307@matrix.gatewaynet.com> Date: Thu, 12 Nov 2015 10:26:29 +0200 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Jimmy Kelley , Michael Zhilin CC: freebsd-eclipse@freebsd.org, "freebsd-java@freebsd.org" Subject: Re: Eclipse 4.5 (Mars) on FreeBSD. References: <5643521A.4090803@matrix.gatewaynet.com> <20151111170620.GA77032@tower1.jimmy.localnet> In-Reply-To: <20151111170620.GA77032@tower1.jimmy.localnet> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 08:26:33 -0000 On 11/11/2015 19:06, Jimmy Kelley wrote: > By default, the FreeBSD Eclipse port is built without Gtk3 support. > However, Eclipse still tries to use the Gtk3 libraries if it detects > them on your system. > > The 'fix' is to set an environment variable: > > SWT_GTK3=0 Thank you Jimmy, any plans for an official port soon? Any potential gotchas to watch out for? (unrepairable workspace, etc...) > > Jimmy Kelley > FreeBSD Eclipse port maintainer > > On Wed, Nov 11, 2015 at 07:00:35PM +0300, Michael Zhilin wrote: >> Hi, >> >> I haven't tried yet, because eclipse returns error: >> >> [mizhka@gidrarium ~]$ eclipse >> >> (:14193): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x >> and GTK+ 3 in the same process is not supported >> [mizhka@gidrarium ~]$ pkg info eclipse >> eclipse-4.5 >> Name : eclipse >> Version : 4.5 >> Installed on : Wed Nov 11 18:54:02 MSK 2015 >> Origin : java/eclipse >> Architecture : freebsd:10:x86:64 >> Prefix : /usr/local >> Categories : devel java >> Licenses : EPL >> Maintainer : ljboiler@gmail.com >> WWW : http://www.eclipse.org/ >> Comment : Eclipse Mars >> Options : >> FULL_SDK : on >> PLATFORM : off >> PLATFORM_SDK : off >> SWT_GTK3_SUPPORT: off >> Annotations : >> repo_type : binary >> repository : myrepo >> Flat size : 214MiB >> Description : >> The Eclipse Platform is an open extensible IDE for anything and yet >> nothing in particular. The Eclipse Platform provides building blocks >> and a foundation for constructing and running integrated software- >> development tools. The Eclipse Platform allows tool builders to >> independently develop tools that integrate with other people's tools >> so seamlessly you can't tell where one tool ends and another starts. >> >> WWW: http://www.eclipse.org/ >> >> I suppose that it's my personal problem, but not sure. I'm going to update >> my packages to latest version. >> >> Thanks! >> >> On Wed, Nov 11, 2015 at 5:35 PM, Achilleas Mantzios < >> achill@matrix.gatewaynet.com> wrote: >> >>> Hello, fellow BSD'ers, >>> >>> I have seen this : >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203689 >>> Have there been any news on this? Anyone tried the submitted patch? >>> >>> -- >>> Achilleas Mantzios >>> IT DEV Lead >>> IT DEPT >>> Dynacom Tankers Mgmt >>> >>> _______________________________________________ >>> freebsd-java@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-java >>> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >>> >> _______________________________________________ >> freebsd-eclipse@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-eclipse >> To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org" -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt From owner-freebsd-java@freebsd.org Thu Nov 12 12:47:47 2015 Return-Path: Delivered-To: freebsd-java@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 39E01A2B0CF; Thu, 12 Nov 2015 12:47:47 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 432821389; Thu, 12 Nov 2015 12:47:45 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.7/8.14.7) with ESMTP id tACClgxe051358; Thu, 12 Nov 2015 14:47:42 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <56448A6E.2010600@matrix.gatewaynet.com> Date: Thu, 12 Nov 2015 14:47:42 +0200 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Michael Zhilin , Jimmy Kelley CC: freebsd-eclipse@freebsd.org, "freebsd-java@freebsd.org" Subject: Re: Eclipse 4.5 (Mars) on FreeBSD. References: <5643521A.4090803@matrix.gatewaynet.com> <20151111170620.GA77032@tower1.jimmy.localnet> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 12:47:47 -0000 On 11/11/2015 19:22, Michael Zhilin wrote: > Thank you, Jimmy! It works now. > > It worth also to note that custom gtkrc file make eclipse UI more comfortable. > Here is screenshot with and without gtkrc file (file is attached): > > > ​ > Main advantage of custom gtkrc file is removing huge spacing between elements. > > Jimmy, > Is it possible to include gtkrc file into port? > Thanx for your feedback Michael. > Thanks! > > On Wed, Nov 11, 2015 at 8:06 PM, Jimmy Kelley > wrote: > > By default, the FreeBSD Eclipse port is built without Gtk3 support. > However, Eclipse still tries to use the Gtk3 libraries if it detects > them on your system. > > The 'fix' is to set an environment variable: > > SWT_GTK3=0 > > Jimmy Kelley > FreeBSD Eclipse port maintainer > > On Wed, Nov 11, 2015 at 07:00:35PM +0300, Michael Zhilin wrote: > > Hi, > > > > I haven't tried yet, because eclipse returns error: > > > > [mizhka@gidrarium ~]$ eclipse > > > > (:14193): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x > > and GTK+ 3 in the same process is not supported > > [mizhka@gidrarium ~]$ pkg info eclipse > > eclipse-4.5 > > Name : eclipse > > Version : 4.5 > > Installed on : Wed Nov 11 18:54:02 MSK 2015 > > Origin : java/eclipse > > Architecture : freebsd:10:x86:64 > > Prefix : /usr/local > > Categories : devel java > > Licenses : EPL > > Maintainer : ljboiler@gmail.com > > WWW : http://www.eclipse.org/ > > Comment : Eclipse Mars > > Options : > > FULL_SDK : on > > PLATFORM : off > > PLATFORM_SDK : off > > SWT_GTK3_SUPPORT: off > > Annotations : > > repo_type : binary > > repository : myrepo > > Flat size : 214MiB > > Description : > > The Eclipse Platform is an open extensible IDE for anything and yet > > nothing in particular. The Eclipse Platform provides building blocks > > and a foundation for constructing and running integrated software- > > development tools. The Eclipse Platform allows tool builders to > > independently develop tools that integrate with other people's tools > > so seamlessly you can't tell where one tool ends and another starts. > > > > WWW: http://www.eclipse.org/ > > > > I suppose that it's my personal problem, but not sure. I'm going to update > > my packages to latest version. > > > > Thanks! > > > > On Wed, Nov 11, 2015 at 5:35 PM, Achilleas Mantzios < > > achill@matrix.gatewaynet.com > wrote: > > > > > Hello, fellow BSD'ers, > > > > > > I have seen this : > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203689 > > > Have there been any news on this? Anyone tried the submitted patch? > > > > > > -- > > > Achilleas Mantzios > > > IT DEV Lead > > > IT DEPT > > > Dynacom Tankers Mgmt > > > > > > _______________________________________________ > > > freebsd-java@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-java > > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org " > > > > > _______________________________________________ > > freebsd-eclipse@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-eclipse > > To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org " > > -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt From owner-freebsd-java@freebsd.org Thu Nov 12 16:18:25 2015 Return-Path: Delivered-To: freebsd-java@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 51913A2D984 for ; Thu, 12 Nov 2015 16:18:25 +0000 (UTC) (envelope-from sp@smartspb.net) Received: from quix.smartspb.net (quix.smartspb.net [217.119.16.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B40FB11EA for ; Thu, 12 Nov 2015 16:18:23 +0000 (UTC) (envelope-from sp@smartspb.net) Received: from spws.smartspb.net ([217.119.16.20]) by quix.smartspb.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.61 (FreeBSD)) (envelope-from ) id 1ZwuZo-000LJn-LY for freebsd-java@freebsd.org; Thu, 12 Nov 2015 19:18:20 +0300 To: freebsd-java@freebsd.org From: Sergey Potapov Subject: Thread.sleep is very incorrect on kern.hz FreeBSD-10 + openjdk8. Organization: Smart Telecom Message-ID: <5644BB9A.4060807@smartspb.net> Date: Thu, 12 Nov 2015 20:17:30 +0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030100030800040405040106" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 16:18:25 -0000 This is a multi-part message in MIME format. --------------030100030800040405040106 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello! FreeBSD-10.1 without tunning. openjdk8 without tunning (pkg install). Thread.sleep depends on kern.hz sysctl variable. Simple program and more detailed version information attched. openjdk7 tested with kern.hz=2000 -- same results. kern.hz: 100 1000 times Thread.sleep(1) 19994 milliseconds 1000 times Thread.sleep(2) 19997 milliseconds 1000 times TimeUnit.MICROSECONDS.sleep(100) 20000 milliseconds kern.hz: 1000 1000 times Thread.sleep(1) 2002 milliseconds 1000 times Thread.sleep(2) 3000 milliseconds 1000 times TimeUnit.MICROSECONDS.sleep(100) 2001 milliseconds kern.hz: 2000 1000 times Thread.sleep(1) 1500 milliseconds 1000 times Thread.sleep(2) 2500 milliseconds 1000 times TimeUnit.MICROSECONDS.sleep(100) 1500 milliseconds Linux and Windows are much better (but don't support anything less 1ms too). Linux: sysctl: cannot stat /proc/sys/kern/hz: No such file or directory. 1000 times Thread.sleep(1) 1077 milliseconds 1000 times Thread.sleep(2) 2078 milliseconds 1000 times TimeUnit.MICROSECONDS.sleep(100) 1079 milliseconds Windows (with sysctl command removed): 1000 times Thread.sleep(1) 1002 milliseconds 1000 times Thread.sleep(2) 2000 milliseconds 1000 times TimeUnit.MICROSECONDS.sleep(100) 1002 milliseconds -- Sergey Potapov. --------------030100030800040405040106 Content-Type: application/octet-stream; name="javaSleep.tgz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="javaSleep.tgz" H4sIAKK0RFYAA+1cW3PjRnZuemasGax2bY93vbZ3bbflbJbaASl0AwQpziWmSOoyFiVaoOSZ dZwJCDQpWCTABUBdnPJT8rL5G3nIc/bB60oq+QH5JXlJVSqPqdxONwASlERKc/F4UxGqRBDo 0+ec/vrcugHqS/PQNHqMDZbQd3YoilIsFDCcSbFA0ufRgQnVKSEqVWgRK4QqRQ3hwnen0vgY BqHpgyrBYDbdRe3xOEbn/yPHl6P5F595fv2iZQAeuqZNnX+40JP5V/QChfnXFEoRVl60Iucd /8/n3+kPPD/EfNrzw9Dp5S3PtYa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O1ma6NR 2ZzJsel7fPPAh7rHsZd8Rfyvh8NJMaPZF0/JK03xKstHFG+aQ5fvkn042UCmNaiphokHYC2j mut5RxPPzaAIVugyFHCnHp0p0g5PA33eF/Of93K/AaXLcbyPU0s6H4Iz0GiRFq3bKCSNvncY Je6A9TrQeMTfVEqSzlNQQ8iiZIKcTKV/OsVFkucZ8JBB3eNDOcsL+NO5Xj1NgAe+Zw+tMLok 5+dKZUbOp5NCoYwons7L2mmClFBeck8VWoiF0nSCjgqNGUKjgqMwW2jpaYSSBDstPXXqzJmG Qetpan0mdeHy1GKiJ+exUChOTPRB21ZOE6SGTzWynAxfSYYPtdtEUUTTE80ZCgH8y2zDTExR m1RA109rSE4TpDSEJRydqiGJNVRPaUgTDYnU8k+4VhDUIjVFKSgC3rATlJcgbS/FAWxA8ef+ 0Rf5PKwK+sGLRS1iqOJoXwFSKeTuz3/9BSxZPd92YEHAArxRu8890zk9Yc8Jx/f9UurV8dKO 8fvf/Fsu3pd9ub//ooo6fv9b5b//KlD16v+/vZTDGzD3S/tgtCG/QPKlvPJEVxakbWh6WPsE 70AM5O9P1d1Dx/dcsVGabfN/lYIT4lybaoujDrqWW3FCvqLhjzf3Ggk1LeQFqSrjPn81D8Kr zRavos3VcXVcHVfH93H8L1DuKisAWAAA --------------030100030800040405040106-- From owner-freebsd-java@freebsd.org Thu Nov 12 16:26:09 2015 Return-Path: Delivered-To: freebsd-java@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 16C0DA2DBB0 for ; Thu, 12 Nov 2015 16:26:09 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 456B3186B for ; Thu, 12 Nov 2015 16:26:07 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.7/8.14.7) with ESMTP id tACGPwxF049788 for ; Thu, 12 Nov 2015 18:25:58 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <5644BD96.9000005@matrix.gatewaynet.com> Date: Thu, 12 Nov 2015 18:25:58 +0200 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: Thread.sleep is very incorrect on kern.hz FreeBSD-10 + openjdk8. References: <5644BB9A.4060807@smartspb.net> In-Reply-To: <5644BB9A.4060807@smartspb.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 16:26:09 -0000 On 12/11/2015 18:17, Sergey Potapov wrote: > Hello! > > FreeBSD-10.1 without tunning. > openjdk8 without tunning (pkg install). > > > Thread.sleep depends on kern.hz sysctl variable. > > Simple program and more detailed version information attched. > openjdk7 tested with kern.hz=2000 -- same results. > > kern.hz: 100 > > 1000 times Thread.sleep(1) 19994 milliseconds > 1000 times Thread.sleep(2) 19997 milliseconds > 1000 times TimeUnit.MICROSECONDS.sleep(100) 20000 milliseconds > > kern.hz: 1000 > > 1000 times Thread.sleep(1) 2002 milliseconds > 1000 times Thread.sleep(2) 3000 milliseconds > 1000 times TimeUnit.MICROSECONDS.sleep(100) 2001 milliseconds > > > kern.hz: 2000 > > 1000 times Thread.sleep(1) 1500 milliseconds > 1000 times Thread.sleep(2) 2500 milliseconds > 1000 times TimeUnit.MICROSECONDS.sleep(100) 1500 milliseconds > How about using even larger values for kern.hz ? > Linux and Windows are much better (but don't support anything less 1ms too). > > Linux: > > sysctl: cannot stat /proc/sys/kern/hz: No such file or directory. > > 1000 times Thread.sleep(1) 1077 milliseconds > 1000 times Thread.sleep(2) 2078 milliseconds > 1000 times TimeUnit.MICROSECONDS.sleep(100) 1079 milliseconds > > Windows (with sysctl command removed): > > 1000 times Thread.sleep(1) 1002 milliseconds > 1000 times Thread.sleep(2) 2000 milliseconds > 1000 times TimeUnit.MICROSECONDS.sleep(100) 1002 milliseconds > > -- > Sergey Potapov. > > > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt From owner-freebsd-java@freebsd.org Thu Nov 12 17:19:34 2015 Return-Path: Delivered-To: freebsd-java@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 2F2F2A2C9C2 for ; Thu, 12 Nov 2015 17:19:34 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD1391CF3 for ; Thu, 12 Nov 2015 17:19:33 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id tACHBWjf010908; Thu, 12 Nov 2015 12:11:32 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Thu, 12 Nov 2015 12:11:32 -0500 (EST) Date: Thu, 12 Nov 2015 12:11:32 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Achilleas Mantzios cc: freebsd-java@freebsd.org Subject: Re: Thread.sleep is very incorrect on kern.hz FreeBSD-10 + openjdk8. In-Reply-To: <5644BD96.9000005@matrix.gatewaynet.com> Message-ID: References: <5644BB9A.4060807@smartspb.net> <5644BD96.9000005@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 17:19:34 -0000 On Thu, 12 Nov 2015, Achilleas Mantzios wrote: > On 12/11/2015 18:17, Sergey Potapov wrote: >> Hello! >> >> FreeBSD-10.1 without tunning. >> openjdk8 without tunning (pkg install). >> >> >> Thread.sleep depends on kern.hz sysctl variable. >> >> Simple program and more detailed version information attched. >> openjdk7 tested with kern.hz=2000 -- same results. >> >> kern.hz: 100 >> >> 1000 times Thread.sleep(1) 19994 milliseconds >> 1000 times Thread.sleep(2) 19997 milliseconds >> 1000 times TimeUnit.MICROSECONDS.sleep(100) 20000 milliseconds >> >> kern.hz: 1000 >> >> 1000 times Thread.sleep(1) 2002 milliseconds >> 1000 times Thread.sleep(2) 3000 milliseconds >> 1000 times TimeUnit.MICROSECONDS.sleep(100) 2001 milliseconds >> >> >> kern.hz: 2000 >> >> 1000 times Thread.sleep(1) 1500 milliseconds >> 1000 times Thread.sleep(2) 2500 milliseconds >> 1000 times TimeUnit.MICROSECONDS.sleep(100) 1500 milliseconds What timer are you using (kern.eventtimer.timer ?) and what scheduler (kern.sched.name)? Can you repeat the test by just using a C program and nanosleep()? Sleep is at the mercy of the granularity of HZ. If you ask to sleep for 1 millisecond at time T+.5msec, the kernel checks for wakeups at time T+1msec, but your thread isn't ready then - it has only slept for .5msec. So the next chance for a wakeup is at T+2msec. Hence, you effectively sleep for 1.5msec. When you are calling Thread.sleep(1) in a tight loop, most of the time you are probably going to be woken up just after a kernel timing tick. That means you will go to sleep just after the tick, e.g. T+.01msec, so the kernel can't wake you up at T+1msec because you haven't slept for the entire time. This is for HZ=100 example. It is similar for other HZ, and is probably why your sleep times all seem to have an extra kernel tick per sleep. You could also try Thread.sleep(0, 900000) which would be just under 1msec. If your program knows HZ, it could sleep for 1/2 of that relative tick, so on average it might sleep 1 tick. -- DE From owner-freebsd-java@freebsd.org Sat Nov 14 09:55:49 2015 Return-Path: Delivered-To: freebsd-java@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 3990CA2D200 for ; Sat, 14 Nov 2015 09:55:49 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::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 B1D7F1796 for ; Sat, 14 Nov 2015 09:55:48 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: by lfs39 with SMTP id 39so64777808lfs.3 for ; Sat, 14 Nov 2015 01:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=R/PALiHb6JwLsmRw+4WiVOJE6ANavCX5TGy/5tSnKEY=; b=rK8ONaGm4Mmj/SAMxVosqAEJKq/QpPkWKnnuIhKj+8fRR0tjk18sdIIHeDhbDrcDrq zpFalqoCzHsiDwehxj94/46bpX5NTojjewNXpVPZUEo1BTzPYuLi5l0lQojByZvUVo98 l8zQxjTFUdGwJc+hgnbRVcaJxNBLiL66lNAJT5YbEQ7jM2qF03BZENjge0+Cvx5aw1vl hMpsk0sNd1M0MGb22PYX6ZGolB5IggLfx1VhPDR61wMnnXZkcIa4X1UyzDxh/Pfzurc9 dLD/fe1ejZPRqtBTKLdUu4u56OoHx9fTrdB3WObv6MVtG872VIdpJhDVcvnnm8wJ3h/b 9HIA== X-Received: by 10.25.18.209 with SMTP id 78mr12317412lfs.54.1447494946343; Sat, 14 Nov 2015 01:55:46 -0800 (PST) Received: from [10.0.1.2] (broadband-5-228-251-240.nationalcablenetworks.ru. [5.228.251.240]) by smtp.gmail.com with ESMTPSA id o199sm3874746lfa.12.2015.11.14.01.55.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Nov 2015 01:55:45 -0800 (PST) From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to build a port with java-7 and maven? Message-Id: <13866652-CEA0-4CE1-A38C-10703EC9FA5C@gmail.com> Date: Sat, 14 Nov 2015 12:55:44 +0300 To: freebsd-java@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 09:55:49 -0000 Hello, Imagine a port which requires Java 7 (say, devel/hadoop2). It uses maven build system. Since default java version is Java 8, build cluster will install Java 8 = package as maven's dependency (since maven does not require specific = java version). After that, despite JAVA_VERSION=3D1.7 in hadoop2 port, maven will use = Java8 to compile hadoop's sources. What is the proper way to fix that? Thanks!=