From owner-freebsd-ports@FreeBSD.ORG Fri May 16 12:57:47 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52174D2D for ; Fri, 16 May 2014 12:57:47 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4562BA1 for ; Fri, 16 May 2014 12:57:47 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 2BCD433C22; Fri, 16 May 2014 08:57:41 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id A7C0439846; Fri, 16 May 2014 08:57:40 -0400 (EDT) From: Lowell Gilbert To: Marko =?utf-8?Q?Cupa=C4=87?= Subject: Re: lang/gcc and tmpfs no space let on device References: <20140516144309.1527d24cdfdcbb1b7bcfea25@mimar.rs> Reply-To: freebsd-ports@freebsd.org Date: Fri, 16 May 2014 08:57:39 -0400 In-Reply-To: <20140516144309.1527d24cdfdcbb1b7bcfea25@mimar.rs> ("Marko =?utf-8?Q?Cupa=C4=87=22's?= message of "Fri, 16 May 2014 14:43:09 +0200") Message-ID: <44r43tx4n0.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 12:57:47 -0000 Marko Cupa=C4=87 writes: > Hi, > > I am using 10.0-RELEASE-p3 amd64, and am trying to build lang/gcc as a > dependency for emulators/virtualbox-ose. Building fails giving the > following messages: > > jc1: fatal error: error writing to /tmp/ccwgXZ8m.s: No space left on > device compilation terminated. > gmake[5]: *** [javax/crypto/spec.lo] Error 1 > gmake[5]: *** Waiting for unfinished jobs.... > jc1: fatal error: error writing to /tmp/ccaXjTvk.s: No space left on > device compilation terminated. > gmake[5]: *** [java/util/zip.lo] Error 1 > jc1: fatal error: error writing to /tmp/cc9iMz48.s: No space left on > device compilation terminated. > > I am using 128mb tmpfs file system mounted at /tmp: > tmpfs /tmp tmpfs rw,size=3D128m,mode=3D1777 0 0 > > Does anyone know how big /tmp do I need to have in order to compile > lang/gcc successfully? I don't know the answer to the question you asked, but I'd recommend not using tmpfs for it; just use disk space instead. In this case I *think* that setting WRKDIRPREFIX is the way to do that, but it might be TMPDIR instead.=20 (modern) Bourne shell syntax: export WRKDIRPREFIX=3D/usr/scratch/tmp ;export TMPDIR=3D/usr/scratch/temp