pkgsrc-Bugs archive

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

Re: pkg/45248 (net/samba35 build fails on i386-5.99.55 (201108122100Z))



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

From: manu%netbsd.org@localhost (Emmanuel Dreyfus)
To: gnats-bugs%NetBSD.org@localhost, pkg-manager%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, dholland%NetBSD.org@localhost, 
jdbaker%mylinuxisp.com@localhost
Cc: 
Subject: Re: pkg/45248 (net/samba35 build fails on i386-5.99.55 (201108122100Z))
Date: Sun, 14 Aug 2011 03:42:36 +0200

 <dholland%NetBSD.org@localhost> wrote:
 
 > manu@ committed a half-baked *at() implementation that samba is now trying
 > to compile against.
 
 I see: I guarded the new functions by #ifdef to make sure they would not
 be visible to programs unaware it was not finished, but I did not though
 about GNU configure's way of discovering things that are not defined in
 the headers.
 
 There are multiple fixes possible:
 
 1) GNU libc defines macros to spot unimplemented functions, and GNU
 configure uses that feature to spare them. We can quickly workaround
 Samba build failure by adding in pkgsrc/net/samba35/Makefile
 CFLAGS+=        -D__stub_utimensat
 This is should work arround the build problem immediatly. Can you let me
 know if it does?
 
 2) #define __stub_utimensat in <limits.h> to obtain the same effect
 system-wide.
 
 3) Samba does not use the file descriptor argument of utimensat(),
 therefore we can quickly implement enough of it for Samba to use it in
 -current, it does not depend on namei upgrade. This is just a utime able
 to return struct timespec.
 
 
 
 -- 
 Emmanuel Dreyfus
 http://hcpnet.free.fr/pubz
 manu%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index