From timlee@xpeed.com Tue Mar  9 18:04:01 1999
Return-Path: <timlee@xpeed.com>
Received: from charon-e.xpeed.com (charon-e.xpeed.com [209.101.240.10])
	by hub.freebsd.org (Postfix) with SMTP id 2079D1505B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Mar 1999 18:04:00 -0800 (PST)
	(envelope-from timlee@xpeed.com)
Received: (qmail 25293 invoked from network); 10 Mar 1999 02:03:42 -0000
Received: from styx.dsllogic.com (172.16.2.128)
  by charon.dsllogic.com with SMTP; 10 Mar 1999 02:03:42 -0000
Received: (from timlee@localhost)
	by styx.dsllogic.com (8.9.2/8.9.0) id SAA13849;
	Tue, 9 Mar 1999 18:03:42 -0800 (PST)
Message-Id: <199903100203.SAA13849@styx.dsllogic.com>
Date: Tue, 9 Mar 1999 18:03:42 -0800 (PST)
From: <timlee@xpeed.com>
Reply-To: timlee@netcom.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: "No space left on [NFS] device" while building Pine 4.10
X-Send-Pr-Version: 3.2

>Number:         10519
>Category:       kern
>Synopsis:       Pine 4.10 build gives spurious "No space left on [NFS] device"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar  9 18:10:00 PST 1999
>Closed-Date:    Mon Apr 19 01:57:31 PDT 1999
>Last-Modified:  Mon Apr 19 01:58:38 PDT 1999
>Originator:     Timothy J. Lee
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
>Environment:

	FreeBSD 3.1-RELEASE
	AMD K6-2, 300 MHz
	FIC PA2013 motherboard, VIA chipset
	64 MB memory
	200 MB swap space
	4 GB local EIDE disk
	NFS server is a Sun SPARCstation 5 with Solaris 2.5.1 (with
		recommended patches from http://sunsolve.sun.com)
	NFS mounted filesystem has 794 MB of free space
	NFS mounted filesystem is mounted with the amd automounter.

>Description:

	Pine 4.10 is being built from source code from UW
	(not the port, which is looking for the older 4.05).
	The following error does not occur if the source code
	is unpacked in /var/tmp, which on this computer has
	187 MB free (compared to 794 MB for the NFS filesystem
	where the "No space left on device" error occurs).
	Note that this occurs whether or not -pipe is left in
	the compiler command line (-pipe is the default).

	styx (pine4.10) 285 % ./build bsf
	[various files being compiled successfully]
	cc -g -O -DNFSKLUDGE  -c utf8.c
	In file included from osdep.h:40,
			 from utf8.c:40:
	/usr/include/sys/dir.h:41: warning: #warning "The information in this file should be obtained from <dirent.h>"
	/usr/include/sys/dir.h:42: warning: #warning "and is provided solely (and temporarily) for backward compatibility."
	utf8.o: No space left on device
	/var/tmp/ccT13793.s: Assembler messages:
	/var/tmp/ccT13793.s:92688: FATAL: Can't write utf8.o: No space left on device
	*** Error code 1
	 
	Stop.
	*** Error code 1
	 
	Stop.
	*** Error code 1
	 
	Stop.
	*** Error code 1
	 
	Stop.
	^C

	styx (pine4.10) 286 %  df .
	Filesystem                    1K-blocks     Used    Avail Capacity  Mounted on
	lathe:/export/lathe4s0/local    4123582  3287680   794667    81%    /amd_mnt/lathe/export/lathe4s0/local
 

>How-To-Repeat:

	See above.

>Fix:
	
	The workaround for pine 4.10 is to unpack and build it on a local
	filesystem instead of an NFS filesystem.


>Release-Note:
>Audit-Trail:

From: Brian Somers <brian@Awfulhak.org>
To: timlee@netcom.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/10519: "No space left on [NFS] device" while building Pine 4.10 
Date: Wed, 10 Mar 1999 08:04:28 +0000

 > 
 > >Number:         10519
 > >Category:       kern
 > >Synopsis:       Pine 4.10 build gives spurious "No space left on [NFS] device"
 
 FWIW I can confirm that this has been happening for the last week or 
 so in my environment with /home mounted on a -current box from a 3.1 
 box (the 3.1 box was updated from source, no ports have yet been 
 elfified).
 
 I haven't had time to look into it, but it's consistent in that it's 
 always /usr/libexec/elf/ld that moans (although I haven't tried 
 building other things - just ppp in my case).
 -- 
 Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
       <http://www.Awfulhak.org>
 Don't _EVER_ lose your sense of humour !
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: brian 
State-Changed-When: Thu Apr 1 00:12:35 PST 1999 
State-Changed-Why:  
Is it possible to recheck this on -stable or -current ? 
The problem's gone for me after upgrading the server to --stable (Mar 25) 


Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Thu Apr 1 00:12:35 PST 1999 
Responsible-Changed-Why:  
I think this has been fixed 
State-Changed-From-To: feedback->closed 
State-Changed-By: brian 
State-Changed-When: Mon Apr 19 01:57:31 PDT 1999 
State-Changed-Why:  
The submitter agrees that this was fixed somewhere between 
3.1-RELEASE and 3.1-19990416-STABLE. 
>Unformatted:
