pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48412 (sysutils/cdrtools fails to build on NetBSD-6.1.2/amd64)



The following reply was made to PR pkg/48412; it has been noted by GNATS.

From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: oster%netbsd.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/48412 (sysutils/cdrtools fails to build on
 NetBSD-6.1.2/amd64)
Date: Thu, 28 Nov 2013 16:42:09 +0000

 On Thu, Nov 28, 2013 at 03:35:00PM +0000, Greg Oster wrote:
 >  >  Yeah, it's hidden specifically to keep configure tests from finding
 >  >  and latching onto that stuff.
 >  
 >  The test for openat() seems to be just the equivalent to:
 >  
 >   #include <fcntl.h>
 >   int main()
 >   {
 >     openat();
 >   }
 >  
 >  which compiles just fine on NetBSD 6.1.2.  That compilation enables
 >  HAVE_OPENAT, which turns off the schily version, but is not sufficient
 >  to guarantee the availability of the AT_FDCWD #defines
 >  from /usr/include/sys/fcntl.h :(
 
 Correct. This is why my patch tries to bypass the "configure" script
 and deactivates all the configure checks for these function. But I don't
 understand why this doesn't work on your system.
 
 Are you perhaps setting "PKGSRC_SETENV" to a non-default value?
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index