Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 08:57:39 -0400
From:      Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
To:        Marko =?utf-8?Q?Cupa=C4=87?= <marko.cupac@mimar.rs>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: lang/gcc and tmpfs no space let on device
Message-ID:  <44r43tx4n0.fsf@lowell-desk.lan>
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 %2B0200")
References:  <20140516144309.1527d24cdfdcbb1b7bcfea25@mimar.rs>

next in thread | previous in thread | raw e-mail | index | archive | help
Marko Cupa=C4=87 <marko.cupac@mimar.rs> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44r43tx4n0.fsf>