Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 07:03:38 GMT
From:      Arnis Rozentals <admin@liepajaport.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150637: samba build error after  autoconf 2.67 update
Message-ID:  <201009170703.o8H73cct085998@www.freebsd.org>
Resent-Message-ID: <201009170710.o8H7A1Kl091722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150637
>Category:       ports
>Synopsis:       samba build error after  autoconf 2.67 update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 07:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Arnis Rozentals
>Release:        6.4-RELEASE
>Organization:
>Environment:
FreeBSD lolm 6.4-RELEASE-p7 FreeBSD 6.4-RELEASE-p7 #0: Fri Oct  2 02:46:10 UTC 2009     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP  i386
>Description:
upgrade to samba-3.3.13_1 ends with:

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 function)
smbd/statvfs.c:80: error: `MNT_RDONLY' undeclared (first use in this function)
The following command failed:
cc -I. -I/usr/ports/net/samba33/work/samba-3.3.13/source  -I/usr/ports/net/samba33/work/samba-3.3.13/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -O -D_SAMBA_BUILD_=3    -I/usr/ports/net/samba33/work/samba-3.3.13/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c smbd/statvfs.c -o smbd/statvfs.o
gmake: *** [smbd/statvfs.o] Error 1
*** Error code 1

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

----

Building for samba34-3.4.8_1 ends with the same:

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 function)
smbd/statvfs.c:80: error: `MNT_RDONLY' undeclared (first use in this function)
The following command failed:
cc -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -I. -I/usr/ports/net/samba34/work/samba-3.4.8/source3 -I/usr/ports/net/samba34/work/samba-3.4.8/source3/iniparser/src -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/local/include -DLDAP_DEPRECATED  -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 smbd/statvfs.o
gmake: *** [smbd/statvfs.o] Error 1
*** Error code 1

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

>How-To-Repeat:
make install in /usr/ports/net/samba33 or /usr/ports/net/samba34

make config settings: LDAP, ADS, WINBIND, UTMP
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009170703.o8H73cct085998>