Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 11:32:52 +0200
From:      Jiri Pridal <jiri.pridal@firebrno.cz>
To:        timur@FreeBSD.org
Cc:        ports@FreeBSD.org, autotools@FreeBSD.org
Subject:   FreeBSD Port: autoconf-2.67 cause failure building of many samba3 versions on FBSD6
Message-ID:  <4C99CD44.5090600@firebrno.cz>

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

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 ns-zn.hasici.znojmo.cz 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 #0: 
Sat May  9 07:29:31 CEST 2009 
yura@ns-zn.hasici.znojmo.cz:/usr/obj/usr/src/sys/Znojmo-6_4  i386



[root@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 
function)
smbd/statvfs.c:80: error: `MNT_RDONLY' undeclared (first use in this 
function)
The following command failed:
cc -O2 -fno-strict-aliasing -pipe -I. 
-I/usr/ports/net/samba34/work/samba-3.4.8/source3 
-I/usr/ports/net/samba34/work/samba-3.4.8/source3/../lib/popt 
-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 
-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

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


--
Jiri Pridal



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