From nobody@FreeBSD.org  Sat Jan 26 05:54:43 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 48C5E16A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2008 05:54:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 31AAF13C46B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2008 05:54:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0Q5r4av015203
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2008 05:53:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0Q5r4lI015202;
	Sat, 26 Jan 2008 05:53:04 GMT
	(envelope-from nobody)
Message-Id: <200801260553.m0Q5r4lI015202@www.freebsd.org>
Date: Sat, 26 Jan 2008 05:53:04 GMT
From: Tsung-Hsi Weng <chwong.bsd@cs.nctu.edu.tw>
To: freebsd-gnats-submit@FreeBSD.org
Subject: procmail install fail while /tmp is a tmpfs
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119994
>Category:       kern
>Synopsis:       [tmpfs] procmail install fail while /tmp is a tmpfs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 06:00:04 UTC 2008
>Closed-Date:    Tue Feb 24 10:14:25 UTC 2009
>Last-Modified:  Tue Feb 24 10:14:25 UTC 2009
>Originator:     Tsung-Hsi Weng
>Release:        FreeBSD 7.0-RC1
>Organization:
CS, NCTU, Taiwan, ROC
>Environment:
FreeBSD csmx2 7.0-RC1 FreeBSD 7.0-RC1 #0: Tue Jan 22 23:04:09 CST 2008     root@csmx2:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Recently, I installed FreeBSD 7.0-RC1 and mount a tmpfs on /tmp

while installing ports/mail/procmail, following errors occur:

===>  Building for procmail-3.22_6
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln"  "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun  -lgen -lsockdns -ldl"  "/lib /usr/lib /usr/local/lib"  /dev/null "make" o  "cc" "" "-s " "procmail lockfile formail mailstat"  "procmail formail lockfile"  "procmailrc procmailsc procmailex" "src man"  "/usr/local/bin"  "strip"
cc seems to work fine, using that as the C-compiler
        ...scanning for 13 libraries...
        ...scanning for 12 libraries...
        ...scanning for 11 libraries...
        ...scanning for 10 libraries...
        ...scanning for 9 libraries...
        ...scanning for 8 libraries...
        ...scanning for 7 libraries...
        ...scanning for 6 libraries...
        ...scanning for 5 libraries...
        ...scanning for 4 libraries...
        ...scanning for 3 libraries...
        ...scanning for 2 libraries...
Added LDFLAGS= -lm -lc
make make all
cd src; make ../autoconf.h
cd ..; make make init
make make ../autoconf.h
cd ..; make make init
make: don't know how to make make. Stop
*** Error code 2

Stop in /tmp/WRKDIR/usr/ports/mail/procmail/work/procmail-3.22/src.
*** Error code 1

Stop in /tmp/WRKDIR/usr/ports/mail/procmail/work/procmail-3.22.
*** Error code 1

Stop in /tmp/WRKDIR/usr/ports/mail/procmail/work/procmail-3.22.
*** Error code 1

Stop in /usr/ports/mail/procmail.


After I umount the tmpfs, the installation success,
so I think this problem were brought from tmpfs.
>How-To-Repeat:
mount tmpfs on /tmp
cd /usr/ports/mail/procmail ; make
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->delphij 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Mon Mar 24 07:49:55 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119994 
State-Changed-From-To: open->analyzed 
State-Changed-By: delphij 
State-Changed-When: Mon Mar 24 07:52:48 UTC 2008 
State-Changed-Why:  
We have observed this as well here, and I think it was caused by 
some recent VM change and our tmpfs change to fix some problem 
has triggered this.  A rewrite of these code is under the way 
and we hope that we can resolve the problem before 7.1. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119994 

From: Yoshihiro Ota <ota@j.email.ne.jp>
To: bug-followup@FreeBSD.org, delphij@FreeBSD.org
Cc: chwong.bsd@cs.nctu.edu.tw
Subject: Re: kern/119994: [tmpfs] procmail install fail while /tmp is a
 tmpfs
Date: Wed, 4 Feb 2009 19:10:44 -0500

 The patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/131356
 fixes this problem, too.
 
 I have also noticed that gpgme also fails if compiled on tmpfs
 a while ago.  This one is also fixed with the above patch.
 
 Thanks,
 Hiro
State-Changed-From-To: analyzed->closed 
State-Changed-By: kib 
State-Changed-When: Tue Feb 24 10:13:22 UTC 2009 
State-Changed-Why:  
Yoshihiro Ota <ota@j.email.ne.jp> reported that this is dup of 
the kern/131356. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119994 
>Unformatted:
