Subject: Re: pkg/31918
To: None <rillig@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 11/17/2005 20:31:02
The following reply was made to PR pkg/31918; it has been noted by GNATS.

From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@netbsd.org, Gilles Dauphin <Gilles.Dauphin@enst.fr>
Cc: 
Subject: Re: pkg/31918
Date: Thu, 17 Nov 2005 21:30:51 +0100

 Gilles Dauphin wrote:
 >  The problem is here:
 >  bmake configure
 
 Fine.
 
 I have found one suspicious place in the ./configure file, line 41721, 
 which is:
 
 gcc conftest.c -o /dev/null > /dev/null 2> /dev/null
 
 To check whether this is the cause, I suggest that you run "bmake clean; 
 bmake wrapper", add an "ls -l /dev/null" before and after this line, and 
 finally run "bmake configure >out", "grep /dev/null out".
 
 If that doesn't reveal the cause, please try this:
 
 bmake clean
 bmake wrapper
 truss -o /tmp/truss.out -e -a -i -f bmake configure
 grep "/dev/null" /tmp/truss.out
 
 If you find a rename(), this is most likely the cause. On my system I 
 got lots of open64() and create64() calls, but I think these were all 
 innocent. Please send the grep(1) output anyway, if it's not too long.
 
 Roland