FreeBSD Port: autoconf-2.67 cause failure building of many samba3 versions on FBSD6

Jiri Pridal jiri.pridal at
Wed Sep 22 09:49:38 UTC 2010


After update from autoconf-2.62 to 2.67, I can't install samba3x ports 
on FBSD6 machines, compilation failed with:
(I've tried other versions of samba3/31/32/33/34, problem is the same. 
Downgrade of autoconf to version 2.62 helped. Only FBSD6 is affected, 
FBSD7 works fine..)
(Problem repeated on four machines..)

# uname -a
FreeBSD 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 #0: 
Sat May  9 07:29:31 CEST 2009 
yura at  i386

[root at ns-zn /usr/ports/net/samba34]# make clean config install clean
Compiling smbd/statvfs.c
smbd/statvfs.c: In function `bsd_statvfs':
smbd/statvfs.c:54: error: storage size of 'statfs_buf' isn't known
smbd/statvfs.c:76: error: `MNT_ACLS' undeclared (first use in this function)
smbd/statvfs.c:76: error: (Each undeclared identifier is reported only once
smbd/statvfs.c:76: error: for each function it appears in.)
smbd/statvfs.c:78: error: `MNT_QUOTA' undeclared (first use in this 
smbd/statvfs.c:80: error: `MNT_RDONLY' undeclared (first use in this 
The following command failed:
cc -O2 -fno-strict-aliasing -pipe -I. 
-Iinclude -I./include  -I. -I. -I./../lib/replace -I/usr/local/include 
  -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc 
-I./.. -DHAVE_CONFIG_H  -I/usr/local/include -Iinclude -I./include -I. 
-I. -I./../lib/replace -I/usr/local/include -I./../lib/tevent 
-I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt 
-I/usr/ports/net/samba34/work/samba-3.4.8/source3/lib -I.. -I../source4 
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c smbd/statvfs.c -o 
gmake: *** [smbd/statvfs.o] Error 1
*** Error code 1

Stop in /usr/ports/net/samba34.
*** Error code 1

Stop in /usr/ports/net/samba34.
[root at ns-zn /usr/ports/net/samba34]#

Jiri Pridal

More information about the freebsd-ports mailing list