pkgsrc-Bugs archive

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

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

>Number:         45248
>Category:       pkg
>Synopsis:       net/samba35 build fails on i386-5.99.55 (201108122100Z)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 13 18:50:00 +0000 2011
>Originator:     John D. Baker
>Release:        i386-current (5.99.55, 201108122100Z), pkgsrc-2011Q2
NetBSD detox 5.99.55 NetBSD 5.99.55 (GENERIC_R5RS) #4: Fri Aug 12 16:22:08 CDT 
2011  sysop@detox:/r0/build/current/obj/i386/sys/arch/i386/compile/GENERIC_R5RS 

Following update build from -current sources of about 201108122100Z
with new toolchain, with pkgsrc-2011Q2, building net/samba35 fails as

Compiling modules/vfs_default.c
modules/vfs_default.c: In function 'copy_reg':
modules/vfs_default.c:549:13: error: 'AT_FDCWD' undeclared (first use in this 
modules/vfs_default.c:549:13: note: each undeclared identifier is reported only 
once for each function it appears in
modules/vfs_default.c:549:33: error: 'AT_SYMLINK_NOFOLLOW' undeclared (first 
use in this function)
modules/vfs_default.c: In function 'vfswrap_ntimes':
modules/vfs_default.c:897:22: error: 'AT_FDCWD' undeclared (first use in this 
The following command failed:
gcc -O2 -I/usr/pkg/include -I. 
-I/var/tmp/pkgsrc/net/samba35/work/samba-3.5.10/source3/iniparser/src -Iinclude 
-I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns 
-I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H  
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -Iinclude -I./include 
-I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. 
-I./../lib/popt  -I/var/tmp/pkgsrc/net/samba35/work/samba-3.5.10/source3/lib 
-I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -fPIC -DPIC -c 
modules/vfs_default.c -o modules/vfs_default.o
gmake: *** [modules/vfs_default.o] Error 1

The symbols in the compiler's complaint are defined in
/usr/include/fcntl.h, but I can find no evidence that this file
is included in any chain that leads to the source being compiled.

I tried manually inserting

#include <fcntl.h>

in the affected source file, but it seems to have been ignored.
Attempt to build net/samba35 from pkgsrc-2011Q2 on i386-current
(5.99.55, 201108122100Z).


Home | Main Index | Thread Index | Old Index