From owner-freebsd-java@freebsd.org Wed Jan 25 01:56: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 67911CBE65F for ; Wed, 25 Jan 2017 01:56:42 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 55EDDD99 for ; Wed, 25 Jan 2017 01:56:42 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 554BBCBE65B; Wed, 25 Jan 2017 01:56: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 54D53CBE65A; Wed, 25 Jan 2017 01:56:42 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 277F9D98; Wed, 25 Jan 2017 01:56:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-247.lns20.per1.internode.on.net [121.45.228.247]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v0P1uVTs072092 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 24 Jan 2017 17:56:34 -0800 (PST) (envelope-from julian@freebsd.org) To: java@freebsd.org, "ports@FreeBSD.org" From: Julian Elischer Subject: unable to build java in poudriere Message-ID: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> Date: Wed, 25 Jan 2017 09:56:26 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 01:56:42 -0000 from he log file: (see below) This dies almost immediately. Do we need to prime the build with an older java? (e.g. the bootstrap pkg)? If so why does poudriere not do this? I actually want jdk8 but iti insists on building 7 first, which fails. Since I don't care about 7 I can prime the pump by downloading a 7 pkg but should all this be automatic somehow? Log: ######################################################################## ######################################################################## ##### Entering langtools for target(s) all ##### ######################################################################## (cd ./langtools/make && \ gmake JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) gmake[3]: Entering directory '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' JAVA_HOME=/usr/local/bootstrap-openjdk ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant -diagnostics > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log ; \ JAVA_HOME=/usr/local/bootstrap-openjdk ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant -version >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log Could not create the Java virtual machine. Could not create the Java virtual machine. gmake[3]: *** [Makefile:196: /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2 gmake[2]: Leaving directory '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' gmake[1]: *** [Makefile:251: build_product_image] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' *** Error code 1 From owner-freebsd-java@freebsd.org Wed Jan 25 02:36:38 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 35FEACBF267 for ; Wed, 25 Jan 2017 02:36:38 +0000 (UTC) (envelope-from ultima1252@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 15C4B8B for ; Wed, 25 Jan 2017 02:36:38 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 125ECCBF265; Wed, 25 Jan 2017 02:36:38 +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 0FF96CBF264; Wed, 25 Jan 2017 02:36:38 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C25B48A; Wed, 25 Jan 2017 02:36:37 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id l19so177621773ywc.2; Tue, 24 Jan 2017 18:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lgpFQ9ZgD4Af5tucSIW3ezNyUm5VXUrFpMKtdYd8jtI=; b=ju701k24u3H47aV9Ylt95i9n2UtBq1ox8TWtIeRKVQGoW523fK5L+0aXoEWJv53bnh il0bn/R6z496YZxBdFWFUjeHDe1Nx3RlYVc0aVmGbSDFQVDpxWHg4CApyoMcc8VAN58n T1PgMxa5iE/0Y/7Bcg/1sF3UY6BI793RcsGrpROOiX9naRT90lfCymICka5Ry55T0JpT LYwA0yzYhCPRJdX3tii8cCeBVzd/QNHPwxaq5DpUe03lXdwe69ldAh1zFQN8ELVnT5wZ JByL9m6MdMHLR576a8BMjSolN/C0tkdU3JXM0yaFxlTclXEbIMkuFkoNoybOBOzooJIR OaEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lgpFQ9ZgD4Af5tucSIW3ezNyUm5VXUrFpMKtdYd8jtI=; b=eAg0W+/v2xUEYeyWo+iTn/w7/IoMybJCNNcyeynVAVy4hiwif+AOCgfIPugMYlTCmj eTCvUwl/c9GCCvzshpBGYSQNdnF9Q155oK6wv2XWJ6MgSw/F3IUoDMsjXvQtgQ7PbVNu gEhviFQOIKS/u17MN3KQvRX++IJkOBZt7XlN1e6SBOujbhC9otkcth3iWJCIHr5gGX1D GIKIAd+LxuF79RG4LjGvC5rHCOG8e2bUWo/FtgYrqD90J/cFAwjVL15+h891nZHK8Dwk 84KBnJEwpVYo0qThUcVysHb8iPzhTsYlbOyiZcaTVOIBTFZBclIjJLB54gdXPFyPs6Bp D9XQ== X-Gm-Message-State: AIkVDXJ0m3R2FZx9ySGmx1+WbjWac42KCDjIQeb0OZc9XvkXXKthCq1NEEs+KsG7CiRabgiUQE+fZ5z2FKMHNA== X-Received: by 10.129.125.6 with SMTP id y6mr28102457ywc.234.1485311796547; Tue, 24 Jan 2017 18:36:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.52.65 with HTTP; Tue, 24 Jan 2017 18:36:36 -0800 (PST) In-Reply-To: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> References: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> From: Ultima Date: Tue, 24 Jan 2017 21:36:36 -0500 Message-ID: Subject: Re: unable to build java in poudriere To: Julian Elischer Cc: java@freebsd.org, "ports@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 02:36:38 -0000 Sorry Julian but your details are kind of vague. Are you on head? I'm not sure when my last build for openjdk7 or 8 were but I have them built in my repo. Is there enough memory on the system building it? or is it limited? that is usually the culprit for the openjdk ports. I ask if you were on head because I know java was broken for sometime in January but was fixed, or at least r312388 is working. On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer wrote: > from he log file: (see below) > > This dies almost immediately. > Do we need to prime the build with an older java? (e.g. the bootstrap pkg)? > If so why does poudriere not do this? > I actually want jdk8 but iti insists on building 7 first, which fails. > Since I don't care about 7 I can prime the pump by downloading a 7 pkg but > should all this be automatic somehow? > > Log: > > ######################################################################## > ######################################################################## > ##### Entering langtools for target(s) all ##### > ######################################################################## > > (cd ./langtools/make && \ > gmake JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk > JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared > EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 > MILESTONE=fcs BUILD_NUMBER=b01 JDK_BUILD_NUMBER=b01 > FULL_VERSION=1.7.0_111-b01 PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 > JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 > JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 > PREVIOUS_MICRO_VERSION= PAX_COMMAND=/usr/sbin/paxmark.sh > PAX_COMMAND_ARGS="-vm" ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 > ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" > ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools > ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) > gmake[3]: Entering directory '/wrkdirs/usr/ports/java/openj > dk7/work/openjdk/langtools/make' > JAVA_HOME=/usr/local/bootstrap-openjdk ANT_OPTS=-Djava.io.tmpdir='/wr > kdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' > /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant > -diagnostics > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- > amd64/langtools/build/ant-diagnostics.log ; \ > JAVA_HOME=/usr/local/bootstrap-openjdk ANT_OPTS=-Djava.io.tmpdir='/wr > kdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' > /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant -version > >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- > amd64/langtools/build/ant-diagnostics.log > Could not create the Java virtual machine. > Could not create the Java virtual machine. > gmake[3]: *** [Makefile:196: /wrkdirs/usr/ports/java/openjd > k7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] > Error 1 > gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/openj > dk7/work/openjdk/langtools/make' > gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2 > gmake[2]: Leaving directory '/wrkdirs/usr/ports/java/openj > dk7/work/openjdk' > gmake[1]: *** [Makefile:251: build_product_image] Error 2 > gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/openj > dk7/work/openjdk' > *** Error code 1 > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Wed Jan 25 10:30:51 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 856D5CBF652 for ; Wed, 25 Jan 2017 10:30:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6F98F1BE for ; Wed, 25 Jan 2017 10:30:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6BE52CBF650; Wed, 25 Jan 2017 10:30:51 +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 6B65FCBF64F; Wed, 25 Jan 2017 10:30:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D0601BC; Wed, 25 Jan 2017 10:30:50 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-247.lns20.per1.internode.on.net [121.45.228.247]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v0PAUiaq074196 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 25 Jan 2017 02:30:48 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: unable to build java in poudriere To: Ultima References: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> Cc: java@freebsd.org, "ports@FreeBSD.org" From: Julian Elischer Message-ID: <75f47512-bbb7-d8e7-64a6-8437953b2b04@freebsd.org> Date: Wed, 25 Jan 2017 18:30:38 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 10:30:51 -0000 On 25/1/17 10:36 am, Ultima wrote: > Sorry Julian but your details are kind of vague. Are you on head? > I'm not sure when my last build for openjdk7 or 8 were but I have > them built in my repo. Is there enough memory on the system building > it? or is it limited? that is usually the culprit for the openjdk > ports. > > I ask if you were on head because I know java was broken for > sometime in January but was fixed, or at least r312388 is working. Sorry, one item missing.. compile is on FreeBSD 10.3 Poudriere is populated with the head ports tree as of yesterday, but I had hte same problem a few weeks ago. the list of packages includes openjdk8 it would probably have the same issue if openjdk8 was the ONLY port to make, because jdk8 wants jdk7 to jdb7 won't build. Should poudriere or ports give a warning "you need to install package X before we can do this compile"? > > On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer > wrote: > > from he log file: (see below) > > This dies almost immediately. > Do we need to prime the build with an older java? (e.g. the > bootstrap pkg)? > If so why does poudriere not do this? > I actually want jdk8 but iti insists on building 7 first, which > fails. > Since I don't care about 7 I can prime the pump by downloading a > 7 pkg but should all this be automatic somehow? > > Log: > > ######################################################################## > ######################################################################## > ##### Entering langtools for target(s) all ##### > ######################################################################## > > (cd ./langtools/make && \ > gmake > JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk > JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared > EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 > TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 > JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 > PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 > JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 > JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 > PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= > PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" > ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 > ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" > ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools > ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) > gmake[3]: Entering directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' > JAVA_HOME=/usr/local/bootstrap-openjdk > ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' > /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant > -diagnostics > > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log > ; \ > JAVA_HOME=/usr/local/bootstrap-openjdk > ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' > /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant > -version >> > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log > Could not create the Java virtual machine. > Could not create the Java virtual machine. > gmake[3]: *** [Makefile:196: > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] > Error 1 > gmake[3]: Leaving directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' > gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2 > gmake[2]: Leaving directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' > gmake[1]: *** [Makefile:251: build_product_image] Error 2 > gmake[1]: Leaving directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' > *** Error code 1 > > > _______________________________________________ > freebsd-ports@freebsd.org > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org > " > > From owner-freebsd-java@freebsd.org Wed Jan 25 10:48: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 31C1BCC003C for ; Wed, 25 Jan 2017 10:48:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5361443 for ; Wed, 25 Jan 2017 10:48:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 19F23CC003A; Wed, 25 Jan 2017 10:48:37 +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 17BE6CC0038; Wed, 25 Jan 2017 10:48:37 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E817C1442; Wed, 25 Jan 2017 10:48:36 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-247.lns20.per1.internode.on.net [121.45.228.247]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v0PAmVFj074324 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 25 Jan 2017 02:48:34 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: unable to build java in poudriere To: Ultima References: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> <75f47512-bbb7-d8e7-64a6-8437953b2b04@freebsd.org> Cc: "ports@FreeBSD.org" , java@freebsd.org From: Julian Elischer Message-ID: Date: Wed, 25 Jan 2017 18:48:25 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <75f47512-bbb7-d8e7-64a6-8437953b2b04@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 10:48:37 -0000 On 25/1/17 6:30 pm, Julian Elischer wrote: > On 25/1/17 10:36 am, Ultima wrote: >> Sorry Julian but your details are kind of vague. Are you on head? >> I'm not sure when my last build for openjdk7 or 8 were but I have >> them built in my repo. Is there enough memory on the system >> building it? or is it limited? that is usually the culprit for the >> openjdk ports. >> >> I ask if you were on head because I know java was broken for >> sometime in January but was fixed, or at least r312388 is working. > Sorry, one item missing.. compile is on FreeBSD 10.3 > > Poudriere is populated with the head ports tree as of yesterday, but > I had hte same problem a few weeks ago. > the list of packages includes openjdk8 > it would probably have the same issue if openjdk8 was the ONLY port > to make, because jdk8 wants jdk7 to jdb7 won't build. > Should poudriere or ports give a warning "you need to install > package X before we can do this compile"? I will add that bootstrap-openjdk-r351880_1.txz is already finished and available. I'm guessing that openjdk7 should be using that, but isn't for some reason. in fact is it possible that 8 should be using that to bootstrap itself up as well instead of using 7? I'm not experienced with java, I just need to get it into the machine image at $JOB for others to use. > > > >> >> On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer >> > wrote: >> >> from he log file: (see below) >> >> This dies almost immediately. >> Do we need to prime the build with an older java? (e.g. the >> bootstrap pkg)? >> If so why does poudriere not do this? >> I actually want jdk8 but iti insists on building 7 first, which >> fails. >> Since I don't care about 7 I can prime the pump by downloading a >> 7 pkg but should all this be automatic somehow? >> >> Log: >> >> ######################################################################## >> >> ######################################################################## >> >> ##### Entering langtools for target(s) all ##### >> ######################################################################## >> >> >> (cd ./langtools/make && \ >> gmake >> JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk >> JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared >> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 >> TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 >> JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 >> PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 >> JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 >> JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 >> PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= >> PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" >> ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 >> ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" >> ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools >> ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) >> gmake[3]: Entering directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >> JAVA_HOME=/usr/local/bootstrap-openjdk >> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >> -diagnostics > >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log >> ; \ >> JAVA_HOME=/usr/local/bootstrap-openjdk >> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >> -version >> >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log >> Could not create the Java virtual machine. >> Could not create the Java virtual machine. >> gmake[3]: *** [Makefile:196: >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] >> Error 1 >> gmake[3]: Leaving directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >> gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] >> Error 2 >> gmake[2]: Leaving directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >> gmake[1]: *** [Makefile:251: build_product_image] Error 2 >> gmake[1]: Leaving directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >> *** Error code 1 >> >> >> _______________________________________________ >> freebsd-ports@freebsd.org >> mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> >> To unsubscribe, send any mail to >> "freebsd-ports-unsubscribe@freebsd.org >> " >> >> > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" > From owner-freebsd-java@freebsd.org Wed Jan 25 23:32:25 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 0491DCC125A for ; Wed, 25 Jan 2017 23:32:25 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D660AEB5 for ; Wed, 25 Jan 2017 23:32:24 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D5A22CC1258; Wed, 25 Jan 2017 23:32:24 +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 D5270CC1257; Wed, 25 Jan 2017 23:32:24 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x22e.google.com (mail-yb0-x22e.google.com [IPv6:2607:f8b0:4002:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 929DAEB3; Wed, 25 Jan 2017 23:32:24 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x22e.google.com with SMTP id j82so26892245ybg.1; Wed, 25 Jan 2017 15:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=O7J9vKrEw2+rC+vYV1Vv3JMVz9zyPpDOYSTTTlIp5ok=; b=kbPZTJ0SeHAnF0Q373fea9qgQidqCcK/DaXj9TrOi7HGQA8WhzY4wmk6HOMM/c/bYv jKrLBHPd/oUCV8Vs2hJMBHPnCMcqMKTRjWNh/GJox8ZcIH6Ol8rCUe9xPZe7Pc8VcwsK H8jnNYv7Pe4pAFwQaUIRgDlxqL3Yvn5NFp1jewZAq24JR+fwQufRlRBuILUFXiNwQh/e LwmWVl/7Gd/gdokTVxWFs4bigFywN32p+YmQmAgDo0vV4f9JyBildqkpp+ltp7XurYny LHYVi8oIklp6tSPE8sgY4PLnRBuBFszHU/o1S1rxgZJOk6oQUYGNQfhuK/3UtlGPevEk QXkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O7J9vKrEw2+rC+vYV1Vv3JMVz9zyPpDOYSTTTlIp5ok=; b=i3TDw38u0uuqkhsftZoJEYK9/4eIatvHSCsN3nHW3e0KsZkV3gx/MkjVsjs1GVcuCw QwZQeGOvLs+cx7g5l7X0VLh0yw9gF4FoJ4ktCssAic18QkGah+lOkVsMCdQV+nyjTuF7 WjYRl2mixJ5T9eok7eQl68qtflIsFrIBftkQTZiRoOjUsPP6SHS/0tAjDEHIZgL9MoKQ afwBNTpM1szmgKZB08f5jZ8/MyzFlhRXlT0xxpwY8Ql3buLo4ycI1HIF7z3KfQraIldN xrNqW4CHFha7BPxer760HrIe3oQQISvSzup8NsJxF+MeW5AtRQ6nJuKH++uvay0Fitwh 4P+Q== X-Gm-Message-State: AIkVDXJVsO9DBjjF0WDuyASTQIm7sGViCKRAfVOOgXO0sO4z9PI9biznG/DUUIDP9XW2qoCjQ+x40JN+rg3AFw== X-Received: by 10.13.248.66 with SMTP id i63mr31180612ywf.132.1485387143533; Wed, 25 Jan 2017 15:32:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.52.65 with HTTP; Wed, 25 Jan 2017 15:32:23 -0800 (PST) In-Reply-To: References: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> <75f47512-bbb7-d8e7-64a6-8437953b2b04@freebsd.org> From: Ultima Date: Wed, 25 Jan 2017 18:32:23 -0500 Message-ID: Subject: Re: unable to build java in poudriere To: Julian Elischer Cc: "ports@FreeBSD.org" , java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 23:32:25 -0000 I just finished building openjdk8 with a fresh repo and it built just fine. poudriere bulk -p git -j 103amd64 java/openjdk8 ref: https://poudriere.ultimasbox.com/build.html?mastername=103amd64-git&build=2017-01-25_14h51m15s A google search on the error suggests that it is most likely related to some form of memory issue. If you follow this post from a few years ago, it could lead you to the same conclusion. More or less it seemed to be a problem with java determining incorrect memory values which was causing that error. Could be completely wrong but it is worth looking into. https://lists.freebsd.org/pipermail/freebsd-java/2013-December/010441.html Explicit setting maximum memory starts the vm, but being that this is a port building, I'm not really sure what to suggest. I guess you could try add an arg on the Makefile setting max memory, but I'm not sure how much memory it requires to build. I know building openjdk does need quite a bit. Another solution, likely less desired is using another system to build it or using the FreeBSD repo to download it. Sorry if this isn't helpful. Someone else may have a better solution. Good luck, Ultima On Wed, Jan 25, 2017 at 5:48 AM, Julian Elischer wrote: > On 25/1/17 6:30 pm, Julian Elischer wrote: > >> On 25/1/17 10:36 am, Ultima wrote: >> >>> Sorry Julian but your details are kind of vague. Are you on head? I'm >>> not sure when my last build for openjdk7 or 8 were but I have them built in >>> my repo. Is there enough memory on the system building it? or is it >>> limited? that is usually the culprit for the openjdk ports. >>> >>> I ask if you were on head because I know java was broken for sometime in >>> January but was fixed, or at least r312388 is working. >>> >> Sorry, one item missing.. compile is on FreeBSD 10.3 >> >> Poudriere is populated with the head ports tree as of yesterday, but I >> had hte same problem a few weeks ago. >> the list of packages includes openjdk8 >> it would probably have the same issue if openjdk8 was the ONLY port to >> make, because jdk8 wants jdk7 to jdb7 won't build. >> Should poudriere or ports give a warning "you need to install package X >> before we can do this compile"? >> > > I will add that bootstrap-openjdk-r351880_1.txz is already finished and > available. > I'm guessing that openjdk7 should be using that, but isn't for some reason. > > in fact is it possible that 8 should be using that to bootstrap itself up > as well instead of using 7? > > I'm not experienced with java, I just need to get it into the machine > image at $JOB for others to use. > > > >> >> >> >>> On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer >> > wrote: >>> >>> from he log file: (see below) >>> >>> This dies almost immediately. >>> Do we need to prime the build with an older java? (e.g. the >>> bootstrap pkg)? >>> If so why does poudriere not do this? >>> I actually want jdk8 but iti insists on building 7 first, which >>> fails. >>> Since I don't care about 7 I can prime the pump by downloading a >>> 7 pkg but should all this be automatic somehow? >>> >>> Log: >>> >>> ######################################################################## >>> >>> ######################################################################## >>> >>> ##### Entering langtools for target(s) all ##### >>> ######################################################################## >>> >>> >>> (cd ./langtools/make && \ >>> gmake >>> JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk >>> JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/op >>> enjdk/jdk/make/common/shared >>> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 >>> TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 >>> JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 >>> PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 >>> JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 >>> JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 >>> PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= >>> PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" >>> ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 >>> ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" >>> ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/ >>> build/bsd-amd64/langtools >>> ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) >>> gmake[3]: Entering directory >>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >>> JAVA_HOME=/usr/local/bootstrap-openjdk >>> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/ >>> work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >>> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >>> -diagnostics > >>> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- >>> amd64/langtools/build/ant-diagnostics.log >>> ; \ >>> JAVA_HOME=/usr/local/bootstrap-openjdk >>> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/ >>> work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >>> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >>> -version >> >>> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- >>> amd64/langtools/build/ant-diagnostics.log >>> Could not create the Java virtual machine. >>> Could not create the Java virtual machine. >>> gmake[3]: *** [Makefile:196: >>> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- >>> amd64/langtools/build/ant-diagnostics.log] >>> Error 1 >>> gmake[3]: Leaving directory >>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >>> gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2 >>> gmake[2]: Leaving directory >>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >>> gmake[1]: *** [Makefile:251: build_product_image] Error 2 >>> gmake[1]: Leaving directory >>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >>> *** Error code 1 >>> >>> >>> _______________________________________________ >>> freebsd-ports@freebsd.org >>> mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> >>> To unsubscribe, send any mail to >>> "freebsd-ports-unsubscribe@freebsd.org >>> " >>> >>> >>> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> >> > From owner-freebsd-java@freebsd.org Thu Jan 26 00:12:45 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 7DC58CC1EF0 for ; Thu, 26 Jan 2017 00:12:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8E31FE1 for ; Thu, 26 Jan 2017 00:12:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6CF70CC1EEE; Thu, 26 Jan 2017 00:12:45 +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 6C7EBCC1EED; Thu, 26 Jan 2017 00:12:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3AECC1FE0; Thu, 26 Jan 2017 00:12:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id v0Q0CXKj013197; Wed, 25 Jan 2017 16:12:37 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201701260012.v0Q0CXKj013197@gw.catspoiler.org> Date: Wed, 25 Jan 2017 16:12:33 -0800 (PST) From: Don Lewis Subject: Re: unable to build java in poudriere To: ultima1252@gmail.com cc: julian@freebsd.org, ports@freebsd.org, java@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 00:12:45 -0000 On 25 Jan, Ultima wrote: > I just finished building openjdk8 with a fresh repo and it built just fine. > > poudriere bulk -p git -j 103amd64 java/openjdk8 > ref: > https://poudriere.ultimasbox.com/build.html?mastername=103amd64-git&build=2017-01-25_14h51m15s > > > > A google search on the error suggests that it is most likely related to > some form of memory issue. > > If you follow this post from a few years ago, it could lead you to the same > conclusion. More or less it seemed to be a problem with java determining > incorrect memory values which was causing that error. Could be completely > wrong but it is worth looking into. > > https://lists.freebsd.org/pipermail/freebsd-java/2013-December/010441.html > > Explicit setting maximum memory starts the vm, but being that this is a > port building, I'm not really sure what to suggest. I guess you could try > add an arg on the Makefile setting max memory, but I'm not sure how much > memory it requires to build. I know building openjdk does need quite a bit. > Another solution, likely less desired is using another system to build it > or using the FreeBSD repo to download it. Sorry if this isn't helpful. > Someone else may have a better solution. > > Good luck, > Ultima > > On Wed, Jan 25, 2017 at 5:48 AM, Julian Elischer wrote: > >> On 25/1/17 6:30 pm, Julian Elischer wrote: >> >>> On 25/1/17 10:36 am, Ultima wrote: >>> >>>> Sorry Julian but your details are kind of vague. Are you on head? I'm >>>> not sure when my last build for openjdk7 or 8 were but I have them built in >>>> my repo. Is there enough memory on the system building it? or is it >>>> limited? that is usually the culprit for the openjdk ports. >>>> >>>> I ask if you were on head because I know java was broken for sometime in >>>> January but was fixed, or at least r312388 is working. >>>> >>> Sorry, one item missing.. compile is on FreeBSD 10.3 >>> >>> Poudriere is populated with the head ports tree as of yesterday, but I >>> had hte same problem a few weeks ago. >>> the list of packages includes openjdk8 >>> it would probably have the same issue if openjdk8 was the ONLY port to >>> make, because jdk8 wants jdk7 to jdb7 won't build. >>> Should poudriere or ports give a warning "you need to install package X >>> before we can do this compile"? >>> >> >> I will add that bootstrap-openjdk-r351880_1.txz is already finished and >> available. >> I'm guessing that openjdk7 should be using that, but isn't for some reason. >> >> in fact is it possible that 8 should be using that to bootstrap itself up >> as well instead of using 7? >> >> I'm not experienced with java, I just need to get it into the machine >> image at $JOB for others to use. >> >> >> >>> >>> >>> >>>> On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer >>> > wrote: >>>> >>>> from he log file: (see below) >>>> >>>> This dies almost immediately. >>>> Do we need to prime the build with an older java? (e.g. the >>>> bootstrap pkg)? >>>> If so why does poudriere not do this? >>>> I actually want jdk8 but iti insists on building 7 first, which >>>> fails. >>>> Since I don't care about 7 I can prime the pump by downloading a >>>> 7 pkg but should all this be automatic somehow? >>>> >>>> Log: >>>> >>>> ######################################################################## >>>> >>>> ######################################################################## >>>> >>>> ##### Entering langtools for target(s) all ##### >>>> ######################################################################## >>>> >>>> >>>> (cd ./langtools/make && \ >>>> gmake >>>> JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk >>>> JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/op >>>> enjdk/jdk/make/common/shared >>>> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 >>>> TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 >>>> JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 >>>> PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 >>>> JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 >>>> JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 >>>> PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= >>>> PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" >>>> ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 >>>> ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" >>>> ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/ >>>> build/bsd-amd64/langtools >>>> ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) >>>> gmake[3]: Entering directory >>>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >>>> JAVA_HOME=/usr/local/bootstrap-openjdk >>>> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/ >>>> work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >>>> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >>>> -diagnostics > >>>> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- >>>> amd64/langtools/build/ant-diagnostics.log >>>> ; \ >>>> JAVA_HOME=/usr/local/bootstrap-openjdk >>>> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/ >>>> work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >>>> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >>>> -version >> >>>> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- >>>> amd64/langtools/build/ant-diagnostics.log >>>> Could not create the Java virtual machine. >>>> Could not create the Java virtual machine. >>>> gmake[3]: *** [Makefile:196: >>>> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd- >>>> amd64/langtools/build/ant-diagnostics.log] >>>> Error 1 >>>> gmake[3]: Leaving directory >>>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >>>> gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2 >>>> gmake[2]: Leaving directory >>>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >>>> gmake[1]: *** [Makefile:251: build_product_image] Error 2 >>>> gmake[1]: Leaving directory >>>> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >>>> *** Error code 1 That sounds familiar. I seemed to recall having java problems on a machine that had a non-default datasize setting in /boot/loader.conf. I was able to work around it by setting some memory size knobs in an environment variable that java looks at. I think I did something like this: setenv _JAVA_OPTIONS -Xmx512m From owner-freebsd-java@freebsd.org Thu Jan 26 18:21:17 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 32BE0CC32AF for ; Thu, 26 Jan 2017 18:21:17 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC0C2EB for ; Thu, 26 Jan 2017 18:21:17 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1A106CC32AD; Thu, 26 Jan 2017 18:21:17 +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 19871CC32AC; Thu, 26 Jan 2017 18:21:17 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D54AC2E8; Thu, 26 Jan 2017 18:21:16 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-247.lns20.per1.internode.on.net [121.45.228.247]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v0QIL9u0083735 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 26 Jan 2017 10:21:13 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: unable to build java in poudriere To: Ultima References: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> <75f47512-bbb7-d8e7-64a6-8437953b2b04@freebsd.org> Cc: "ports@FreeBSD.org" , java@freebsd.org From: Julian Elischer Message-ID: Date: Fri, 27 Jan 2017 02:21:03 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 18:21:17 -0000 On 26/1/17 7:32 am, Ultima wrote: > I just finished building openjdk8 with a fresh repo and it built > just fine. > > poudriere bulk -p git -j 103amd64 java/openjdk8 > ref: > https://poudriere.ultimasbox.com/build.html?mastername=103amd64-git&build=2017-01-25_14h51m15s yeah but not so for me.. remember openjdk8 compiles just fine for me too. but only after openjdb7 is available. did yours compile jdk7? > > > > A google search on the error suggests that it is most likely related > to some form of memory issue. > > If you follow this post from a few years ago, it could lead you to > the same conclusion. More or less it seemed to be a problem with > java determining incorrect memory values which was causing that > error. Could be completely wrong but it is worth looking into. > > https://lists.freebsd.org/pipermail/freebsd-java/2013-December/010441.html > > Explicit setting maximum memory starts the vm, but being that this > is a port building, I'm not really sure what to suggest. I guess you > could try add an arg on the Makefile setting max memory, but I'm not > sure how much memory it requires to build. I know building openjdk > does need quite a bit. Another solution, likely less desired is > using another system to build it or using the FreeBSD repo to > download it. Sorry if this isn't helpful. Someone else may have a > better solution. > > Good luck, > Ultima > > On Wed, Jan 25, 2017 at 5:48 AM, Julian Elischer > wrote: > > On 25/1/17 6:30 pm, Julian Elischer wrote: > > On 25/1/17 10:36 am, Ultima wrote: > > Sorry Julian but your details are kind of vague. Are you > on head? I'm not sure when my last build for openjdk7 or > 8 were but I have them built in my repo. Is there enough > memory on the system building it? or is it limited? that > is usually the culprit for the openjdk ports. > > I ask if you were on head because I know java was broken > for sometime in January but was fixed, or at least > r312388 is working. > > Sorry, one item missing.. compile is on FreeBSD 10.3 > > Poudriere is populated with the head ports tree as of > yesterday, but I had hte same problem a few weeks ago. > the list of packages includes openjdk8 > it would probably have the same issue if openjdk8 was the > ONLY port to make, because jdk8 wants jdk7 to jdb7 won't build. > Should poudriere or ports give a warning "you need to > install package X before we can do this compile"? > > > I will add that bootstrap-openjdk-r351880_1.txz is already > finished and available. > I'm guessing that openjdk7 should be using that, but isn't for > some reason. > > in fact is it possible that 8 should be using that to bootstrap > itself up as well instead of using 7? > > I'm not experienced with java, I just need to get it into the > machine image at $JOB for others to use. > > > > > > > On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer > > >> > wrote: > > from he log file: (see below) > > This dies almost immediately. > Do we need to prime the build with an older java? > (e.g. the > bootstrap pkg)? > If so why does poudriere not do this? > I actually want jdk8 but iti insists on building 7 > first, which > fails. > Since I don't care about 7 I can prime the pump by > downloading a > 7 pkg but should all this be automatic somehow? > > Log: > > ######################################################################## > > ######################################################################## > > ##### Entering langtools for target(s) all ##### > ######################################################################## > > > (cd ./langtools/make && \ > gmake > > JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk > JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared > EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 > TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 > JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 > PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 > JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 > JDK_MINOR_VERSION=7 > JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 > PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= > PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" > ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 > ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" > ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools > ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) > gmake[3]: Entering directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' > JAVA_HOME=/usr/local/bootstrap-openjdk > ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' > /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant > -diagnostics > > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log > ; \ > JAVA_HOME=/usr/local/bootstrap-openjdk > ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' > /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant > -version >> > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log > Could not create the Java virtual machine. > Could not create the Java virtual machine. > gmake[3]: *** [Makefile:196: > /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] > Error 1 > gmake[3]: Leaving directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' > gmake[2]: *** [make/langtools-rules.gmk:39: > langtools-build] Error 2 > gmake[2]: Leaving directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' > gmake[1]: *** [Makefile:251: build_product_image] > Error 2 > gmake[1]: Leaving directory > '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' > *** Error code 1 > > > _______________________________________________ > freebsd-ports@freebsd.org > > > > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org > > >" > > > > _______________________________________________ > freebsd-ports@freebsd.org > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org > " > > > From owner-freebsd-java@freebsd.org Thu Jan 26 18:36:25 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 96D90CC36C3 for ; Thu, 26 Jan 2017 18:36:25 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 76B4EEBD for ; Thu, 26 Jan 2017 18:36:25 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: by mailman.ysv.freebsd.org (Postfix) id 760DECC36C1; Thu, 26 Jan 2017 18:36:25 +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 7591ACC36C0; Thu, 26 Jan 2017 18:36:25 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E47FBEBC; Thu, 26 Jan 2017 18:36:24 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [192.168.100.100] ([87.139.233.65]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lxu7U-1cTe1p1DaG-015GiN; Thu, 26 Jan 2017 19:36:13 +0100 Subject: Re: unable to build java in poudriere To: "ports@FreeBSD.org" References: <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org> <75f47512-bbb7-d8e7-64a6-8437953b2b04@freebsd.org> Cc: Julian Elischer , Ultima , java@freebsd.org From: olli hauer Message-ID: <8ddec2b3-b961-9cf8-b447-580db6b9fd94@gmx.de> Date: Thu, 26 Jan 2017 19:36:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:DnLiv008RSNIcnoTOcQ25geY2Ygw+zhlwDjlr26iV/UwIPyNhny xvipGGVVYNkrVpGosGUp1dzDuS3P73XI6MyA5J3yjKoVOah0laO24U32y2nxSe2pZJdloJ+ rkJpZTV9bKjlh9xLbDESyj+xyCfCwpRMGsN0wg3KuS4lq9jK+oM0SuCtBlEfC2M0hK9ps99 a+qfehvz9Bb2VRZdiOgzQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:sOeo4pv40uo=:FnqzMhYqlZGgN1DOfwxVVl SuamZ7psCoakNheP3RsfvwaWmBsppXSDiVPdkC4VmLitI1kzCOw2PEoiSi+dCg+/73T9pYJcD VONZiUER5ZjqhsML+KpFiE425xVcjhpjYfT318tdygTj8fp03ykfATlOFHdjh39JPxxBjotLl CRse20nn/hSWeh2C6yQ56SNcS8p+gnYii/fcTdv6VmGXIVBTc8KWX5HA5pK7ZzifupIerf7FN Zmk0YfBE/MjV3XxsaNaNLNMylJMaEHcMylVq/TzK9bOTqX5YRv/G3+3kgheFo2MlLeMlRc+Fc 6QW95ZXkLMeLQTp1a0BPCOqR9zW513CDLEtVn7t/OI3MX6Up07QJ4ICQ1TZNsSX0q4Fmdccd/ 976NEw1kb7vvoJ7m4PAoANR+ShDdIjNAUD1KXWz4oalD4SZzn600NHE5lkDBOpHaDg0hyfYir WP+pAZ7xcopkJznxmblTxFE9j90IVrW1asGvVT7Y3RKCDKmztpzI1f9a6kzkQBcB5z/+lk82m MDVkXfKR9tXWmKxEbhlrk5zaCgjXcKeLoKvISB3moPUw09rf7ifIg4slpwss0Ki532WBcM2a4 1GmokuE04/Tyzkps7hBqzmFURvcg9xDPxPwrgB45ygaZ1oGs8fIvxHQyPEYv3o5J+wE1FLwYY ixG7Hq1ZkP0ruyLHWxl2jok+wUXmu0/Gsg+wQC1ZTBtuE9eIo5G+9a8Z1JLQshFRstyddmeA1 9RZzkwya9V1FqYJ+YvV6D6COq7X2L8ZR97VvYB5cbQq5UAoxb5aGPd0UeYuPCIa6HqQxoVCSg HR7XDRXpnkDruLG/Fvlq7wdKac4jUoWcbkp92KkcJudTwvcDpbwCcuTZt6EAQ680WjEvRmYTQ WC1RIjnz5fMFDjZlFDx7mH27anmHAUWNDCtoiOQFAg++iLRIVV/IgeA3d9wA85T7csI8Am6wY T+iVCVKo9GNPu+C4DMznSD0OLBv8k4AOldguTw4ilLe9FrnJFIbDgyrxC3/05o8bOKnT1o3gG /m3GlxU9ZAgw7k3xXDMmmUo= X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 18:36:25 -0000 On 2017-01-26 19:21, Julian Elischer wrote: > On 26/1/17 7:32 am, Ultima wrote: >> I just finished building openjdk8 with a fresh repo and it built just fine. >> >> poudriere bulk -p git -j 103amd64 java/openjdk8 >> ref: https://poudriere.ultimasbox.com/build.html?mastername=103amd64-git&build=2017-01-25_14h51m15s > > yeah but not so for me.. remember openjdk8 compiles just fine for me too. but only after openjdb7 is available. > did yours compile jdk7? >> >> >> >> A google search on the error suggests that it is most likely related to some form of memory issue. >> >> If you follow this post from a few years ago, it could lead you to the same conclusion. More or less it seemed to be a problem with java determining incorrect memory values which was causing that error. Could be completely wrong but it is worth looking into. >> >> https://lists.freebsd.org/pipermail/freebsd-java/2013-December/010441.html >> >> Explicit setting maximum memory starts the vm, but being that this is a port building, I'm not really sure what to suggest. I guess you could try add an arg on the Makefile setting max memory, but I'm not sure how much memory it requires to build. I know building openjdk does need quite a bit. Another solution, likely less desired is using another system to build it or using the FreeBSD repo to download it. Sorry if this isn't helpful. Someone else may have a better solution. >> >> Good luck, >> Ultima >> >> On Wed, Jan 25, 2017 at 5:48 AM, Julian Elischer > wrote: >> >> On 25/1/17 6:30 pm, Julian Elischer wrote: >> >> On 25/1/17 10:36 am, Ultima wrote: >> >> Sorry Julian but your details are kind of vague. Are you >> on head? I'm not sure when my last build for openjdk7 or >> 8 were but I have them built in my repo. Is there enough >> memory on the system building it? or is it limited? that >> is usually the culprit for the openjdk ports. >> >> I ask if you were on head because I know java was broken >> for sometime in January but was fixed, or at least >> r312388 is working. >> >> Sorry, one item missing.. compile is on FreeBSD 10.3 >> >> Poudriere is populated with the head ports tree as of >> yesterday, but I had hte same problem a few weeks ago. >> the list of packages includes openjdk8 >> it would probably have the same issue if openjdk8 was the >> ONLY port to make, because jdk8 wants jdk7 to jdb7 won't build. >> Should poudriere or ports give a warning "you need to >> install package X before we can do this compile"? >> >> >> I will add that bootstrap-openjdk-r351880_1.txz is already >> finished and available. >> I'm guessing that openjdk7 should be using that, but isn't for >> some reason. >> >> in fact is it possible that 8 should be using that to bootstrap >> itself up as well instead of using 7? >> >> I'm not experienced with java, I just need to get it into the >> machine image at $JOB for others to use. >> >> >> >> >> >> >> On Tue, Jan 24, 2017 at 8:56 PM, Julian Elischer >> >> >> >> wrote: >> >> from he log file: (see below) >> >> This dies almost immediately. >> Do we need to prime the build with an older java? >> (e.g. the >> bootstrap pkg)? >> If so why does poudriere not do this? >> I actually want jdk8 but iti insists on building 7 >> first, which >> fails. >> Since I don't care about 7 I can prime the pump by >> downloading a >> 7 pkg but should all this be automatic somehow? >> >> Log: >> >> ######################################################################## >> >> ######################################################################## >> >> ##### Entering langtools for target(s) all ##### >> ######################################################################## >> >> >> (cd ./langtools/make && \ >> gmake >> JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk >> JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared >> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 >> TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 >> JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 >> PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 >> JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 >> JDK_MINOR_VERSION=7 >> JDK_MICRO_VERSION=0_111 PREVIOUS_MAJOR_VERSION=1 >> PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION= >> PAX_COMMAND=/usr/sbin/paxmark.sh PAX_COMMAND_ARGS="-vm" >> ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 >> ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" >> ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools >> ALT_BOOTDIR=/usr/local/bootstrap-openjdk all) >> gmake[3]: Entering directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >> JAVA_HOME=/usr/local/bootstrap-openjdk >> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >> -diagnostics > >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log >> ; \ >> JAVA_HOME=/usr/local/bootstrap-openjdk >> ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' >> /wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant >> -version >> >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log >> Could not create the Java virtual machine. >> Could not create the Java virtual machine. >> gmake[3]: *** [Makefile:196: >> /wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] >> Error 1 >> gmake[3]: Leaving directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make' >> gmake[2]: *** [make/langtools-rules.gmk:39: >> langtools-build] Error 2 >> gmake[2]: Leaving directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >> gmake[1]: *** [Makefile:251: build_product_image] >> Error 2 >> gmake[1]: Leaving directory >> '/wrkdirs/usr/ports/java/openjdk7/work/openjdk' >> *** Error code 1 >> >> Could you check if fdescfs and procfs is mounted on the host? >From my openjdk7 buildlogs (2017-01-16): ... # pw groupmod _tss -m your_account ===> openjdk-7.111.01_3,1 depends on file: /usr/local/include/cups/cups.h - found ===> Returning to build of openjdk-7.111.01_3,1 ===> openjdk-7.111.01_3,1 depends on file: /usr/local/bootstrap-openjdk/bin/javac - not found ===> Installing existing package /packages/All/bootstrap-openjdk-r351880_1.txz [10amd64-default-job-01] Installing bootstrap-openjdk-r351880_1... [10amd64-default-job-01] `-- Installing java-zoneinfo-2016.j... [10amd64-default-job-01] `-- Extracting java-zoneinfo-2016.j: .......... done [10amd64-default-job-01] Extracting bootstrap-openjdk-r351880_1: .......... done Message from bootstrap-openjdk-r351880_1: ====================================================================== WARNING: This port only exists for bootstrapping java/openjdk[67]. You are advised to remove this port as soon as a stable JDK is built. This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc