Subject: Re: pkg/31918
To: None <rillig@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 11/18/2005 10:41:02
The following reply was made to PR pkg/31918; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: gnats-bugs@netbsd.org, Gilles.Dauphin@enst.fr, rillig@NetBSD.org
Cc: 
Subject: Re: pkg/31918
Date: Fri, 18 Nov 2005 11:40:46 +0100 (CET)

 > From: Roland Illig <rillig@NetBSD.org>
 > 
 > 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".
 > 
 
 You got the true :-)
 
 here is what i add in configure:
     echo before .....................................
     ls -l /dev/null
     gcc conftest.c -o /dev/null > /dev/null 2> /dev/null
     echo after........................................
     ls -l /dev/null
 
 and  
     bmake configure >out 2>&1
     
 Here is the log part:
     
     checking for strtok_r... yes
     checking for mallinfo in malloc.h... before .....................................lrwxrwxrwx   1 root     root          27 Nov 18 11:14 
 /dev/null -> ../devices/pseudo/mm@0:null
     after........................................
     /dev/null: No such file or directory
     no
 
 Gilles
 Now, let's check for problems with what we've found...