From owner-freebsd-java@freebsd.org Sun Dec 3 17:05:01 2017 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 97C76E56A02 for ; Sun, 3 Dec 2017 17:05:01 +0000 (UTC) (envelope-from gerald@pfeifer.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 824807EF6E for ; Sun, 3 Dec 2017 17:05:01 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: by mailman.ysv.freebsd.org (Postfix) id 7E6BAE56A00; Sun, 3 Dec 2017 17:05:01 +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 7E0A1E569FE for ; Sun, 3 Dec 2017 17:05:01 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (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 5D0F87EF6D; Sun, 3 Dec 2017 17:05:01 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (localhost [127.0.0.1]) by ainaz.pair.com (Postfix) with ESMTP id 36E013F6C1; Sun, 3 Dec 2017 12:04:54 -0500 (EST) Received: from [172.20.10.60] (unknown [12.235.85.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id BD3E63F6C0; Sun, 3 Dec 2017 12:04:53 -0500 (EST) Date: Sun, 3 Dec 2017 10:04:52 -0700 (MST) From: Gerald Pfeifer To: java@FreeBSD.org, Joe Nosay , Rene Ladan Subject: Re: Remove dead code from java/cacao/Makefile In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 17:05:01 -0000 On Sun, 28 May 2017, Gerald Pfeifer wrote: > I did not propose to remove that option, I merely wanted to relay > that (a) currently this alternative codepath is simply broken and > (b) remove three lines of dead code at least. Let me follow-up on this again. Rene, I saw that you recently updated java/cacao. Can you approve? I verified that WITH_GCC has exactly two occurrences in the _entire_ Ports tree, and that is this dead code in java/cacao/Makefile. Any real objections towards removing this _dead_ code? Gerald PS: There is more, but let's focus on this most straightforward one for now where I'm surprised (a) nobody else cared and (b) even this was hard to get in. Index: java/cacao/Makefile =================================================================== --- java/cacao/Makefile (revision 455410) +++ java/cacao/Makefile (working copy) @@ -37,9 +37,6 @@ JAR= ${LOCALBASE}/bootstrap-openjdk6/bin/jar JAVAC= ${LOCALBASE}/bootstrap-openjdk6/bin/javac .else -.if defined(WITH_GCC) -GCC_SUFX= ${WITH_GCC:S/.//} -.endif GCC_SUFX?= 46 BUILD_DEPENDS+= gcj${GCC_SUFX}:lang/gcc${GCC_SUFX} EXTRA_PATCHES= ${FILESDIR}/gcj.patch From owner-freebsd-java@freebsd.org Sun Dec 3 19:32:54 2017 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 AFDCEE65125 for ; Sun, 3 Dec 2017 19:32:54 +0000 (UTC) (envelope-from r.c.ladan@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 8624E63B51 for ; Sun, 3 Dec 2017 19:32:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 856D9E65124; Sun, 3 Dec 2017 19:32:54 +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 85143E65123 for ; Sun, 3 Dec 2017 19:32:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::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 0E65563B50 for ; Sun, 3 Dec 2017 19:32:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id y82so11961025wmg.1 for ; Sun, 03 Dec 2017 11:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=QlmItn1ewq1zAYi+Kk350+wCeLnOfJZlnM3ERn2sXBE=; b=Tke3pcw3ytyN/JwuUQYcaE2vOhFT8LA8dGdebIjDx/zR5EhtjbbBBElIOF7EQ20wSu psgY7kpu2QJ4vO6JHn56fI6CHZpG5/+pXiCqd2VaQ7mNhHQRNMh8owU3Oan0DbcT+Gsl z56HgyF2jJrayiBAAkZNOFfOGcwiE1g/BrAVyON6X7wKTN/J3DfwUD1GA2It90Jlybpm 9SmlV9U6g6LrJBJKxpQNeZudSPsj43QnoSe8umq/uWkjB6DSU9NqWkhpKayqkeTdeMB4 vUNNMzbTO5h6iIMrEbqUag4vTo4aG3Uf2T/++QYVH8K+JLwSaVwK07Px6rIy2NP/gCZq b0qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=QlmItn1ewq1zAYi+Kk350+wCeLnOfJZlnM3ERn2sXBE=; b=n82yzcBWWX6MccTS7V9XNs4JW9bbCvqt3clLYx6jLJeaNboCB9qmcSxOpfAs20XSko KWM97kHPq0//2ZPidMDJl1AStv+8Ff8jXqZy0pd/+2fPMKBD0V2miltLAQpVB+kZx6Qn cTWnpjFjRObIAxqDc2p6imFjICMEm++/vqnMTQdhOVappW9oRjGxgA7F3JqmmAfLd84N g/z/Vl7VjBt98dyihs7WsEb0wIadqcJT52UcwADOEdk6M7agdbG/Hawkw2ZAUUuQSt38 ysEpTGwq9jtQi970lKggZB/QCQFjbiTZcEpVRwl8EC33o88BTkz/O/5vE/0DJdhZFbK5 j3pw== X-Gm-Message-State: AJaThX63ok//Lwvor7B/xSOgVdAjFxWVcN4NsYGbIUbVvb34cdrCny7s Op4ZxErX4N/GjMxLZhfIi5U= X-Google-Smtp-Source: AGs4zMZu8mMS2HxRP+Na7zx7zPuwLO+Im1smgCoYIHhcqzwUY7mC9SDvl/uXXr2BW6vYeGbJ2yh3pA== X-Received: by 10.80.154.67 with SMTP id o61mr12027505edb.291.1512329571831; Sun, 03 Dec 2017 11:32:51 -0800 (PST) Received: from ?IPv6:2001:980:d7ed:1:3265:ecff:fe8f:d3ec? ([2001:980:d7ed:1:3265:ecff:fe8f:d3ec]) by smtp.gmail.com with ESMTPSA id y1sm6907391edl.39.2017.12.03.11.32.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Dec 2017 11:32:51 -0800 (PST) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Subject: Re: Remove dead code from java/cacao/Makefile To: Gerald Pfeifer , java@FreeBSD.org, Joe Nosay References: From: =?UTF-8?Q?Ren=c3=a9_Ladan?= Message-ID: <09dc739b-fef9-ca35-f930-0e9ca9720b23@freebsd.org> Date: Sun, 3 Dec 2017 20:32:49 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 19:32:54 -0000 On 03-12-2017 18:04, Gerald Pfeifer wrote: > On Sun, 28 May 2017, Gerald Pfeifer wrote: >> I did not propose to remove that option, I merely wanted to relay >> that (a) currently this alternative codepath is simply broken and >> (b) remove three lines of dead code at least. > Let me follow-up on this again. > > Rene, I saw that you recently updated java/cacao. Can you approve? You would have to ask java@, I just updated the port to use a supported version of bootstrap-openjdk and then fixed my previous commit. > I verified that WITH_GCC has exactly two occurrences in the _entire_ > Ports tree, and that is this dead code in java/cacao/Makefile. > > Any real objections towards removing this _dead_ code? So WITH_GCC is not defined anywhere in usr/ports/Mk/ nor in lang/gcc*, which would indeed render the if statement useless. So yes, the change should be fine. You could also remove the GCC_SUFX?=46 line? > Gerald > > PS: There is more, but let's focus on this most straightforward one > for now where I'm surprised (a) nobody else cared and (b) even this > was hard to get in. > > Index: java/cacao/Makefile > =================================================================== > --- java/cacao/Makefile (revision 455410) > +++ java/cacao/Makefile (working copy) > @@ -37,9 +37,6 @@ > JAR= ${LOCALBASE}/bootstrap-openjdk6/bin/jar > JAVAC= ${LOCALBASE}/bootstrap-openjdk6/bin/javac > .else > -.if defined(WITH_GCC) > -GCC_SUFX= ${WITH_GCC:S/.//} > -.endif > GCC_SUFX?= 46 > BUILD_DEPENDS+= gcj${GCC_SUFX}:lang/gcc${GCC_SUFX} > EXTRA_PATCHES= ${FILESDIR}/gcj.patch > René From owner-freebsd-java@freebsd.org Mon Dec 4 12:53:59 2017 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 18547DFBFCD for ; Mon, 4 Dec 2017 12:53: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 0000D67785 for ; Mon, 4 Dec 2017 12:53:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F38A4DFBFCB; Mon, 4 Dec 2017 12:53:58 +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 F3338DFBFCA for ; Mon, 4 Dec 2017 12:53:58 +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 E037167784 for ; Mon, 4 Dec 2017 12:53:58 +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 vB4CrwE1062251 for ; Mon, 4 Dec 2017 12:53:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Date: Mon, 04 Dec 2017 12:53:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bra@fsn.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 12:53:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079 Bug ID: 224079 Summary: java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: bra@fsn.hu Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org When I start Elasticsearch (5.6.4, with the default configuration) with OpenJDK8 8.152.16, it dies with: [2017-12-04T13:49:57,971][INFO ][o.e.n.Node ] initialized [2017-12-04T13:49:57,972][INFO ][o.e.n.Node ] [amnEplp] start= ing ... [2017-12-04T13:49:58,317][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandle= r] [] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed= to bind to [9300-9400]]; nested: BindException[Can't assign requested address]; at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareComma= nd.java:70) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.4.jar:5.6.4] Caused by: org.elasticsearch.transport.BindTransportException: Failed to bi= nd to [9300-9400] at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:783) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:748) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.= java:174) ~[?:?] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(Abstrac= tLifecycleComponent.java:69) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.TransportService.doStart(TransportService.java:= 219) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(Abstrac= tLifecycleComponent.java:69) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.node.Node.start(Node.java:694) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:278) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.4.jar:5.6.4] ... 6 more Caused by: java.net.BindException: Can't assign requested address at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:433) ~[?:?] at sun.nio.ch.Net.bind(Net.java:425) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?] at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketCh= annel.java:128) ~[?:?] at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:5= 54) ~[?:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipe= line.java:1258) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHa= ndlerContext.java:501) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerC= ontext.java:486) ~[?:?] at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:98= 0) ~[?:?] at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[?:?] at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) ~[?:= ?] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExe= cutor.java:163) ~[?:?] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThread= EventExecutor.java:403) ~[?:?] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) ~[?= :?] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventE= xecutor.java:858) ~[?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152] [2017-12-04T13:49:59,027][INFO ][o.e.n.Node ] [amnEplp] stopp= ing ... Taking a look at it with ktrace shows that this is where it stops: 99579 java CALL bind(0x79,0x7fffdeeec278,0x1c) 99579 java STRU struct sockaddr { AF_INET6, [::1%2]:9300 } 99579 java RET bind -1 errno 49 Can't assign requested address Elasticsearch works fine with the previous OpenJDK version: 8.144.1 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 12:53:58 2017 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 C3F5DDFBFC3 for ; Mon, 4 Dec 2017 12:53:58 +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 ABE8D67782 for ; Mon, 4 Dec 2017 12:53:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AB30EDFBFC2; Mon, 4 Dec 2017 12:53:58 +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 AAC0BDFBFC1 for ; Mon, 4 Dec 2017 12:53:58 +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 9913067781 for ; Mon, 4 Dec 2017 12:53:58 +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 vB4CrwDv062251 for ; Mon, 4 Dec 2017 12:53:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Date: Mon, 04 Dec 2017 12:53:58 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 12:53:58 -0000 bra@fsn.hu has reassigned Bugzilla Automation 's requ= est for maintainer-feedback to java@FreeBSD.org: Bug 224079: java/openjdk8: Elasticsearch won't start after OpenJDK upgrade https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079 --- Description --- When I start Elasticsearch (5.6.4, with the default configuration) with OpenJDK8 8.152.16, it dies with: [2017-12-04T13:49:57,971][INFO ][o.e.n.Node ] initialized [2017-12-04T13:49:57,972][INFO ][o.e.n.Node ] [amnEplp] starting ... [2017-12-04T13:49:58,317][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandle= r] [] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed= to bind to [9300-9400]]; nested: BindException[Can't assign requested address]; at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareComma= nd.j ava:70) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.4.jar:5.6.4] Caused by: org.elasticsearch.transport.BindTransportException: Failed to bi= nd to [9300-9400] at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:783) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:748) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.= java :174) ~[?:?] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(Abstrac= tLif ecycleComponent.java:69) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.transport.TransportService.doStart(TransportService.java:= 219) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(Abstrac= tLif ecycleComponent.java:69) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.node.Node.start(Node.java:694) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:278) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.6.4.jar:5.6.4] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.4.jar:5.6.4] ... 6 more Caused by: java.net.BindException: Can't assign requested address at sun.nio.ch.Net.bind0(Native Method) ~[?:?] at sun.nio.ch.Net.bind(Net.java:433) ~[?:?] at sun.nio.ch.Net.bind(Net.java:425) ~[?:?] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?] at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketCh= anne l.java:128) ~[?:?] at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:5= 54) ~[?:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipe= line .java:1258) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHa= ndle rContext.java:501) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerC= onte xt.java:486) ~[?:?] at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:98= 0) ~[?:?] at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[?:?] at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) ~[?:= ?] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExe= cuto r.java:163) ~[?:?] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThread= Even tExecutor.java:403) ~[?:?] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) ~[?:?] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventE= xecu tor.java:858) ~[?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152] [2017-12-04T13:49:59,027][INFO ][o.e.n.Node ] [amnEplp] stopping ... Taking a look at it with ktrace shows that this is where it stops: 99579 java CALL bind(0x79,0x7fffdeeec278,0x1c) 99579 java STRU struct sockaddr { AF_INET6, [::1%2]:9300 } 99579 java RET bind -1 errno 49 Can't assign requested address Elasticsearch works fine with the previous OpenJDK version: 8.144.1 From owner-freebsd-java@freebsd.org Mon Dec 4 14:56:02 2017 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 5134CDFE816 for ; Mon, 4 Dec 2017 14:56:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 393516B0C5 for ; Mon, 4 Dec 2017 14:56:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3889DDFE815; Mon, 4 Dec 2017 14:56:02 +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 3744BDFE814 for ; Mon, 4 Dec 2017 14:56:02 +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 255956B0C3 for ; Mon, 4 Dec 2017 14:56:02 +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 vB4Eu1qv067603 for ; Mon, 4 Dec 2017 14:56:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Date: Mon, 04 Dec 2017 14:56:01 +0000 X-Bugzilla-Reason: 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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 14:56:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079 Palle Girgensohn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |girgen@FreeBSD.org --- Comment #1 from Palle Girgensohn --- Hi! just a couple of things to check. It fails to open a socket. This could be because it tries IPv6 first. Could you try changing the /etc/hosts entry for localhost between=20 127.0.0.1 localhost ::1 localhost and just 127.0.0.1 localhost # ::1 localhost and just see if this is the culprit? this indicates that it is trying IPv6 and fails: 99579 java CALL bind(0x79,0x7fffdeeec278,0x1c) 99579 java STRU struct sockaddr { AF_INET6, [::1%2]:9300 } 99579 java RET bind -1 errno 49 Can't assign requested address perhaps running in IPv4 would be OK? also, make sure, using `sockstat|grep 9300`, that no other process hogs the socket. Palle --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 15:47:37 2017 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 0D7C1DFF9BD for ; Mon, 4 Dec 2017 15:47:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E92766D313 for ; Mon, 4 Dec 2017 15:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5B14DFF9BB; Mon, 4 Dec 2017 15:47:36 +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 E561DDFF9BA for ; Mon, 4 Dec 2017 15:47:36 +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 D37946D312 for ; Mon, 4 Dec 2017 15:47:36 +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 vB4FlZWr054491 for ; Mon, 4 Dec 2017 15:47:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 223806] java/openjdk8: [PATCH] arm64 package builds do not allow enough time for build to complete Date: Mon, 04 Dec 2017 15:47:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 15:47:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223806 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|java/openjdk8: arm64 |java/openjdk8: [PATCH] |package builds do not allow |arm64 package builds do not |enough time for build to |allow enough time for build |complete |to complete Keywords| |patch --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 17:29:42 2017 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 6B1FEE5EE2D for ; Mon, 4 Dec 2017 17:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 52A5571B3F for ; Mon, 4 Dec 2017 17:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 51FFFE5EE2C; Mon, 4 Dec 2017 17:29:42 +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 515E3E5EE2B for ; Mon, 4 Dec 2017 17:29:42 +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 3EF6F71B3E for ; Mon, 4 Dec 2017 17:29:42 +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 vB4HTfmC006536 for ; Mon, 4 Dec 2017 17:29:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Date: Mon, 04 Dec 2017 17:29:42 +0000 X-Bugzilla-Reason: 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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bra@fsn.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 17:29:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079 --- Comment #2 from bra@fsn.hu --- Hi, Of course nothing listens on that port. I should've tell what I did so far. Listening on directly specified addresses work (be it IPv4 or IPv6, setting network.host to a given address in elasticsearch.yml). Only the default doesn't work, with the given scoped address. OpenJDK 8.144 is fine, 152 is not. I'm not sure whether it's FreeBSD relate= d or not. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 20:53:19 2017 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 2609FE6A940 for ; Mon, 4 Dec 2017 20:53:19 +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 0D53679195 for ; Mon, 4 Dec 2017 20:53:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0C815E6A93F; Mon, 4 Dec 2017 20:53:19 +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 09A45E6A93E for ; Mon, 4 Dec 2017 20:53:19 +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 EBB7279194 for ; Mon, 4 Dec 2017 20:53:18 +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 vB4KrIqU069245 for ; Mon, 4 Dec 2017 20:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 223806] java/openjdk8: [PATCH] arm64 package builds do not allow enough time for build to complete Date: Mon, 04 Dec 2017 20:53:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 20:53:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223806 Jung-uk Kim changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkim@FreeBSD.org --- Comment #10 from Jung-uk Kim --- (In reply to Zak from comment #9) If my memory serves, it won't fix the problem. Basically, all you can see = is "javac ..." after "Compiling 9467 files for BUILD_JDK" because just one com= mand is taking too long. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 22:55:01 2017 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 614EBE6D47F for ; Mon, 4 Dec 2017 22:55:01 +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 4882B7D2AF for ; Mon, 4 Dec 2017 22:55:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 44F77E6D47E; Mon, 4 Dec 2017 22:55:01 +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 442ACE6D47C for ; Mon, 4 Dec 2017 22:55:01 +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 325E27D2AE for ; Mon, 4 Dec 2017 22:55:01 +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 vB4MsxWO031645 for ; Mon, 4 Dec 2017 22:55:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 223806] java/openjdk8: [PATCH] arm64 package builds do not allow enough time for build to complete Date: Mon, 04 Dec 2017 22:54:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 22:55:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223806 --- Comment #11 from Ed Maste --- (In reply to Jung-uk Kim from comment #10) I thought LOG=3Ddebug produced some output for each of the files in that st= age. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 23:15:56 2017 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 EAA20E6DD65 for ; Mon, 4 Dec 2017 23:15:56 +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 D251E7DD7F for ; Mon, 4 Dec 2017 23:15:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CEB31E6DD64; Mon, 4 Dec 2017 23:15:56 +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 CE592E6DD63 for ; Mon, 4 Dec 2017 23:15:56 +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 BC5B27DD7E for ; Mon, 4 Dec 2017 23:15:56 +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 vB4NFtTN086104 for ; Mon, 4 Dec 2017 23:15:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 223806] java/openjdk8: [PATCH] arm64 package builds do not allow enough time for build to complete Date: Mon, 04 Dec 2017 23:15:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 23:15:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223806 --- Comment #12 from Jung-uk Kim --- (In reply to Ed Maste from comment #11) I just tested the patch and I verified that the exact command you see on am= d64 is: (/usr/local/bootstrap-openjdk8/bin/java -Xms64M -Xmx1600M -XX:ThreadStackSize=3D1536 "-Xbootclasspath/p:/wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-= x86_64-normal-server-release/langtools/dist/bootstrap/lib/javac.jar" -cp /wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serve= r-release/langtools/dist/bootstrap/lib/javac.jar com.sun.tools.javac.Main -bootclasspath /wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serve= r-release/jdk/classes -source 8 -target 8 -encoding ascii -XDignore.symbol.file=3Dtrue -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,classfile,dep-ann,= divzero,empty,try,varargs -Werror -implicit:none -sourcepath "/wrkdirs/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/classes:/wrkdi= rs/usr/ports/java/openjdk8/work/openjdk/jdk/src/solaris/classes:/wrkdirs/us= r/ports/java/openjdk8/work/openjdk/jdk/src/bsd/classes:/wrkdirs/usr/ports/j= ava/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/jdk/gensrc= :/wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serv= er-release/jdk/gensrc_no_srczip" -d /wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serve= r-release/jdk/classes -h /wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serve= r-release/jdk/gensrc_headers.BUILD_JDK.tmp @/wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serv= er-release/jdk/classes/_the.BUILD_JDK_batch.tmp && /bin/mv /wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serve= r-release/jdk/classes/_the.BUILD_JDK_batch.tmp /wrkdirs/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-serve= r-release/jdk/classes/_the.BUILD_JDK_batch) This one liner compiles 9469 files. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-java@freebsd.org Mon Dec 4 23:30:55 2017 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 E0862E6E327 for ; Mon, 4 Dec 2017 23:30:55 +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 C7D157E594 for ; Mon, 4 Dec 2017 23:30:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C3EE2E6E326; Mon, 4 Dec 2017 23:30:55 +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 C394CE6E325 for ; Mon, 4 Dec 2017 23:30:55 +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 B18DF7E593 for ; Mon, 4 Dec 2017 23:30:55 +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 vB4NUt71018698 for ; Mon, 4 Dec 2017 23:30:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 223806] java/openjdk8: [PATCH] arm64 package builds do not allow enough time for build to complete Date: Mon, 04 Dec 2017 23:30:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 23:30:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223806 --- Comment #13 from Jung-uk Kim --- If there are many cores, we can improve compile time with sjavac. I tried = it couple of years ago but I had to back it out because some people reported it didn't work for them. See bug 205544. https://svnweb.freebsd.org/changeset/ports/403748 I didn't try harder at the time, though. --=20 You are receiving this mail because: You are on the CC list for the bug.=