From owner-freebsd-ports@freebsd.org Thu Apr 28 11:02:24 2016 Return-Path: Delivered-To: freebsd-ports@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 28A62B1F87E; Thu, 28 Apr 2016 11:02:24 +0000 (UTC) (envelope-from mikej@mikej.com) Received: from mx2.paymentallianceintl.com (mx2.paymentallianceintl.com [216.26.158.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.paymentallianceintl.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 007731D0A; Thu, 28 Apr 2016 11:02:23 +0000 (UTC) (envelope-from mikej@mikej.com) Received: from firewall.mikej.com (162-230-214-65.lightspeed.lsvlky.sbcglobal.net [162.230.214.65]) by mx2.paymentallianceintl.com (8.15.1/8.15.1) with ESMTPS id u3SB2EBT047363 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Apr 2016 07:02:15 -0400 (EDT) (envelope-from mikej@mikej.com) X-Authentication-Warning: mx2.paymentallianceintl.com: Host 162-230-214-65.lightspeed.lsvlky.sbcglobal.net [162.230.214.65] claimed to be firewall.mikej.com Received: from mail.mikej.com (firewall.mikej.com [192.168.6.63]) by firewall.mikej.com (8.15.2/8.15.2) with ESMTP id u3SB1tOt088105; Thu, 28 Apr 2016 07:01:57 -0400 (EDT) (envelope-from mikej@mikej.com) DMARC-Filter: OpenDMARC Filter v1.3.1 firewall.mikej.com u3SB1tOt088105 Authentication-Results: mail.mikej.com; dmarc=none header.from=mikej.com DKIM-Filter: OpenDKIM Filter v2.10.3 firewall.mikej.com u3SB1tOt088105 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mikej.com; s=mail; t=1461841318; bh=VU1vHyB4q785K4Htk4vtgHiloPdn8sqNkjkeOTiRR9s=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=K4CT0epJWFYnxW2xSBPZbUb9+R67u2AgA+aKlLR2A3aSceD0nPdda+jWmia0jWGcd 7UOxiHnhhki4euokFmTABZJO2Tr4HYedTmMNebDSJYp9F3YqX+Los+vVBzQ2KNpzlY tm00F4MRouyEg42hrDF8XlA3PGwH+djeiXtkgHXNYzc/e/ouu3hwDO1xnF+9fa1QSs 0h59svet/Mh5oBzTTpjEKmfFQuNaw0SI7YMHFjnh2Fs4rdKZv61O9YE5UHUvWIfxn3 eLA+xQzLk1XNzyKwIHtTZZm835DGQkgM7oXuSAkTUn+sVhfSGaWE8ig3aTfJTVTwI4 qGaALZIN7aZ4Q== X-Authentication-Warning: firewall.mikej.com: Host firewall.mikej.com [192.168.6.63] claimed to be mail.mikej.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 28 Apr 2016 07:01:55 -0400 From: Michael Jung To: Willem@offermans.rompen.nl Cc: Matthias Andree , freebsd-ports@freebsd.org, owner-freebsd-ports@freebsd.org Subject: Re: Failure compiling java/openjdk8 In-Reply-To: <20160428093017.GA30477@vpn.offrom.nl> References: <20160423100248.GA4742@vpn.offrom.nl> <571C8850.90604@gmx.de> <20160428093017.GA30477@vpn.offrom.nl> Message-ID: <95e1e82cea31617deb6718aebf0826ef@mail.mikej.com> X-Sender: mikej@mikej.com User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 11:02:24 -0000 On 2016-04-28 05:30, Willem Offermans wrote: > Dear Matthias and FreeBSD friends, > > On Sun, Apr 24, 2016 at 10:48:16AM +0200, Matthias Andree wrote: >> Am 23.04.2016 um 12:02 schrieb Willem Offermans: >> > Dear FreeBSD friends, >> > >> > In my attempt to juvenile an old FreeBSD beast, I encountered another >> > hurdle: a failure compiling java/openjdk8 >> > >> > >> > gmake[4]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make' >> > gmake[4]: Entering directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make' >> > Compiling 9455 files for BUILD_JDK >> > Killed >> > gmake[4]: *** [/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86-normal-server-release/jdk/classes/_the.BUILD_JDK_batch] Error 137 >> >> That Error 137 is "signal 9 (SIGKILL)" and added 128 for "core dump >> requested". Typically an indication of a last-resort cleanup by the >> kernel. >> >> Has the machine run out of memory during the compile? >> >> Can you reduce the number of CPU cores used for the compile, in an >> attempt to reduce RAM usage? > > You were right about the memory usage during the compilation. The > system is > an old one and has only 512 MB RAM and one CPU core. During compilation > of > openjdk8 it run out of memory. The swap file, which is 512 MB as well, > was > completely used. Shortly after this state was reached, the above error > message appeared, but the system __did not__ freeze. > > The bad part is that I cannot upgrade the old system totally. The good > part > is that all other programs could be updated without any problem. Many > thnx > to the good work of the FreeBSD community. I really appreciate this. > > I like to test some things on this rejuvenated beast and probably I > don't > need openjdk8 for that. So I can live with the situation. I only > announced > it, so that other people do not run into the same situation. But who is > running a FreeBSD system with 512 MB RAM nowadays anyway? > > -- > Met vriendelijke groeten, > With kind regards, > Mit freundlichen Gruessen, > De jrus wah, > > Will > > ************************************* > W.K. Offermans > > Powered by .... > > (__) > \\\'',) > \/ \ ^ > .\._/_) > > www.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" If you really want to try and build it on that system and have some free disk space you could always add a file instead of a partition as extra swap. Instuctions here: https://www.freebsd.org/doc/handbook/adding-swap-space.html --mikej