Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 36218

Summary: Samba 3.0.1 fails to compile
Product: Gentoo Linux Reporter: Daniel Harik <dan>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Harik 2003-12-21 01:39:38 UTC
checking for utime... yes
checking for utimes... yes
checking for getrlimit... yes
checking for fsync... yes
checking for bzero... yes
checking for memset... yes
checking for strlcpy... no
checking for strlcat... no
checking for setpgid... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for setsid... yes
checking for glob... yes
checking for strpbrk... yes
checking for pipe... yes
checking for crypt16... no
checking for getauthuid... no
checking for strftime... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for sigaction... yes
checking for sigset... yes
checking for innetgr... yes
checking for setnetgrent... yes
checking for getnetgrent... yes
checking for endnetgrent... yes
checking for initgroups... yes
checking for select... yes
checking for poll... yes
checking for rdchk... no
checking for getgrnam... yes
checking for getgrent... yes
checking for pathconf... yes
checking for realpath... yes
checking for setpriv... no
checking for setgidx... no
checking for setuidx... no
checking for setgroups... yes
checking for sysconf... yes
checking for mktime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for fopen64... yes
checking for atexit... yes
checking for grantpt... yes
checking for dup2... yes
checking for lseek64... yes
checking for ftruncate64... yes
checking for readdir64... yes
checking for fseek64... no
checking for fseeko64... yes
checking for ftell64... no
checking for ftello64... yes
checking for setluid... no
checking for getpwanam... no
checking for setlinebuf... yes
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for setenv... yes
checking for usleep... yes
checking for strcasecmp... yes
checking for fcvt... yes
checking for fcvtl... no
checking for symlink... yes
checking for readlink... yes
checking for syslog... yes
checking for vsyslog... yes
checking for timegm... yes
checking for setlocale... yes
checking for nl_langinfo... yes
checking for setbuffer... yes
checking for shmget... yes
checking for shm_open... no
checking for backtrace_symbols... yes
checking for syscall... yes
checking for _dup... no
checking for _dup2... no
checking for _opendir... no
checking for _readdir... no
checking for _seekdir... no
checking for _telldir... no
checking for _closedir... no
checking for __dup... no
checking for __dup2... yes
checking for __opendir... no
checking for __readdir... no
checking for __seekdir... no
checking for __telldir... no
checking for __closedir... no
checking for __getcwd... no
checking for _getcwd... no
checking for __xstat... yes
checking for __fxstat... yes
checking for __lxstat... yes
checking for _stat... no
checking for _lstat... no
checking for _fstat... no
checking for __stat... yes
checking for __lstat... yes
checking for __fstat... yes
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking for _open... no
checking for __open... yes
checking for _chdir... no
checking for __chdir... no
checking for _close... no
checking for __close... yes
checking for _fchdir... no
checking for __fchdir... no
checking for _fcntl... no
checking for __fcntl... yes
checking for getdents... no
checking for _getdents... no
checking for __getdents... no
checking for _lseek... no
checking for __lseek... yes
checking for _read... no
checking for __read... yes
checking for getdirentries... yes
checking for _write... no
checking for __write... yes
checking for _fork... no
checking for __fork... yes
checking for _stat64... no
checking for __stat64... no
checking for _fstat64... no
checking for __fstat64... no
checking for _lstat64... no
checking for __lstat64... no
checking for __sys_llseek... no
checking for llseek... yes
checking for _llseek... no
checking for __llseek... no
checking for readdir64... (cached) yes
checking for _readdir64... no
checking for __readdir64... no
checking for pread... yes
checking for _pread... no
checking for __pread... no
checking for pread64... yes
checking for _pread64... no
checking for __pread64... yes
checking for pwrite... yes
checking for _pwrite... no
checking for __pwrite... no
checking for pwrite64... yes
checking for _pwrite64... no
checking for __pwrite64... yes
checking for open64... yes
checking for _open64... no
checking for __open64... yes
checking for creat64... yes
checking for dn_expand in -lresolv... yes
checking for putprpwnam in -lsecurity... no
checking for putprpwnam... no
checking for putprpwnam in -lsec... no
checking for putprpwnam... (cached) no
checking for set_auth_parameters in -lsecurity... no
checking for set_auth_parameters... no
checking for set_auth_parameters in -lsec... no
checking for set_auth_parameters... (cached) no
checking for getspnam in -lgen... no
checking for getspnam... yes
checking for getspnam in -lsecurity... no
checking for getspnam... (cached) yes
checking for getspnam in -lsec... no
checking for getspnam... (cached) yes
checking for bigcrypt in -lsecurity... no
checking for bigcrypt... no
checking for bigcrypt in -lsec... no
checking for bigcrypt... (cached) no
checking for getprpwnam in -lsecurity... no
checking for getprpwnam... no
checking for getprpwnam in -lsec... no
checking for getprpwnam... (cached) no
checking for library containing getxattr... none required
checking for getxattr... yes
checking for lgetxattr... yes
checking for fgetxattr... yes
checking for listxattr... yes
checking for llistxattr... yes
checking for flistxattr... yes
checking for removexattr... yes
checking for lremovexattr... yes
checking for fremovexattr... yes
checking for setxattr... yes
checking for lsetxattr... yes
checking for fsetxattr... yes
checking for attr_get... no
checking for attr_list... no
checking for attr_set... no
checking for attr_remove... no
checking for attr_getf... no
checking for attr_listf... no
checking for attr_setf... no
checking for attr_removef... no
checking ability to build shared libraries... true
checking linker flags for shared libraries... -shared
checking compiler flags for position-independent code... -fPIC
checking whether building shared libraries actually works... yes
checking for long long... yes
checking for LL suffix on long long integers... yes
checking for 64 bit off_t... yes
checking for off64_t... no
checking for 64 bit ino_t... yes
checking for ino64_t... no
checking for dev64_t... no
checking for struct dirent64... yes
checking for major macro... yes
checking for minor macro... yes
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... yes
checking for __FUNCTION__ macro... yes
checking if gettimeofday takes tz argument... yes
checking for va_copy... yes
checking for C99 vsnprintf... yes
checking for broken readdir... no
checking for utimbuf... yes
checking for pututline... yes
checking for pututxline... yes
checking for updwtmp... yes
checking for updwtmpx... yes
checking for getutmpx... yes
checking for ut_name in utmp... yes
checking for ut_user in utmp... yes
checking for ut_id in utmp... yes
checking for ut_host in utmp... yes
checking for ut_time in utmp... yes
checking for ut_tv in utmp... yes
checking for ut_type in utmp... yes
checking for ut_pid in utmp... yes
checking for ut_exit in utmp... yes
checking for ut_addr in utmp... yes
checking whether pututline returns pointer... yes
checking for ut_syslen in utmpx... no
checking for iconv in /usr... yes
checking can we convert from CP850 to UCS2-LE?... CP850
checking can we convert from ASCII to UCS2-LE?... ASCII
checking can we convert from UTF-8 to UCS2-LE?... UTF-8
checking for Linux kernel oplocks... yes
checking for kernel change notify support... yes
checking for kernel share modes... yes
checking for IRIX kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
checking for test routines... yes
checking for ftruncate extend... yes
checking for AF_LOCAL socket support... no
checking for broken getgroups... no
checking whether getpass should be replaced... yes
checking for broken inet_ntoa... no
checking for secure mkstemp... yes
checking for sysconf(_SC_NGROUPS_MAX)... yes
checking for sysconf(_SC_NPROC_ONLN)... no
checking for root... yes
checking for iface AIX... no
checking for iface ifconf... got 2 interfaces:
eth0       IP=192.168.0.2 NETMASK=255.255.255.0
lo         IP=127.0.0.1 NETMASK=255.0.0.0
yes
checking for setresuid... OK
yes
checking for working mmap... yes
checking for ftruncate needs root... no
checking for fcntl locking... yes
checking for broken (glibc2.1/x86) 64 bit fcntl locking... no
checking for 64 bit fcntl locking... yes
checking for st_blocks in struct stat... yes
checking for st_blksize in struct stat... yes
checking for broken RedHat 7.2 system header files... no
checking for broken nisplus include files... yes
checking whether to use smbwrapper... no
checking whether to use AFS clear-text auth... no
checking whether to use AFS fake-kaserver... no
checking whether to use DFS clear-text auth... no
checking for LDAP support... no
checking for Active Directory and krb5 support... no
checking whether to build experimental passdb libraries...
checking whether to use automount... yes
checking whether to use smbmount... yes
checking whether to use PAM... yes
checking for pam_get_data in -lpam... yes
checking whether to use pam_smbpass... yes
checking for library containing crypt... -lcrypt
checking whether to use LDAP SAM 2.2 compatible configuration... no
checking whether to use NISPLUS_HOME... no
checking whether to use syslog logging... yes
checking whether to use profiling... no
checking whether to try disk-quotas support... yes
checking whether to try the new lib/sysquotas.c interface... auto
checking whether to try the lib/sysquotas.c interface on linux-gnu... yes
checking sys/fs/vx_quota.h usability... no
checking sys/fs/vx_quota.h presence... no
checking for sys/fs/vx_quota.h... no
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/quota.h usability... no
checking linux/quota.h presence... yes
configure: WARNING: linux/quota.h: present but cannot be compiled
configure: WARNING: linux/quota.h: check for missing prerequisite headers?
configure: WARNING: linux/quota.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/quota.h... yes
checking linux/xqm.h usability... no
checking linux/xqm.h presence... no
checking for linux/xqm.h... no
checking linux/xfs_fs.h usability... no
checking linux/xfs_fs.h presence... no
checking for linux/xfs_fs.h... no
checking xfs/libxfs.h usability... no
checking xfs/libxfs.h presence... no
checking for xfs/libxfs.h... no
checking xfs/xqm.h usability... no
checking xfs/xqm.h presence... no
checking for xfs/xqm.h... no
checking xfs/xfs_fs.h usability... no
checking xfs/xfs_fs.h presence... no
checking for xfs/xfs_fs.h... no
checking linux/dqblk_xfs.h usability... no
checking linux/dqblk_xfs.h presence... no
checking for linux/dqblk_xfs.h... no
checking for struct if_dqblk in <linux/quota.h>... no
checking for struct mem_dqblk in <linux/quota.h>... no
checking if struct dqblk has .dqb_fsoftlimit... no
checking for long quotactl(int cmd, char *special, qid_t id, caddr_t addr)... nochecking for int quotactl(const char *path, int cmd, int id, char *addr)... no
checking for CRAY int quotactl (char *spec, int request, char *arg)... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking for setmntent... yes
checking for getmntent... yes
checking for endmntent... yes
checking devnm.h usability... no
checking devnm.h presence... no
checking for devnm.h... no
checking for devnm... no
checking whether the old quota support works... yes
checking whether to use the old quota support... yes
checking whether to support utmp accounting... yes
checking chosen man pages' language(s)... en
checking whether to build the libsmbclient shared library... yes
configure: checking how to get filesystem space usage...
checking statvfs64 function (SVR4)... yes
checking if large file support can be enabled... yes
checking whether to support ACLs... no
checking whether to check to support sendfile... yes
checking for linux sendfile64 support... yes
checking for linux sendfile support... yes
checking for broken linux sendfile support... yes
checking whether to build winbind... yes
checking for struct passwd.pw_comment... no
checking for struct passwd.pw_age... no
checking for poptGetContext in -lpopt... yes
checking whether to use included popt... no
checking how to build pdb_xml... not
checking how to build pdb_mysql... not
checking how to build pdb_ldap... not
checking how to build pdb_smbpasswd... static
checking how to build pdb_tdbsam... static
checking how to build pdb_guest... static
checking how to build rpc_lsa... static
checking how to build rpc_reg... static
checking how to build rpc_lsa_ds... static
checking how to build rpc_wks... static
checking how to build rpc_net... static
checking how to build rpc_dfs... static
checking how to build rpc_srv... static
checking how to build rpc_spoolss... static
checking how to build rpc_samr... static
checking how to build rpc_echo... not
checking how to build idmap_ldap... not
checking how to build idmap_tdb... static
checking how to build charset_weird... not
checking how to build charset_CP850... shared
checking how to build charset_CP437... shared
checking how to build charset_macosxfs... not
checking how to build auth_rhosts... static
checking how to build auth_sam... static
checking how to build auth_unix... static
checking how to build auth_winbind... static
checking how to build auth_server... static
checking how to build auth_domain... static
checking how to build auth_builtin... static
checking how to build vfs_recycle... shared
checking how to build vfs_audit... shared
checking how to build vfs_extd_audit... shared
checking how to build vfs_netatalk... shared
checking how to build vfs_fake_perms... shared
checking how to build vfs_default_quota... shared
checking how to build vfs_readonly... shared
checking how to build vfs_cap... shared
Using libraries:
    LIBS = -lcrypt -lresolv -lnsl -ldl
    AUTH_LIBS = -lcrypt  -lpam -lpam
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h
Using FLAGS =  -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Iinclude -I/var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/include -I/var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/ubiqx -I/var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/smbwrapper  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source                                                                                 
      LIBS = -lcrypt -lresolv -lnsl -ldl
      LDSHFLAGS = -shared  -Wl,-rpath,/usr/lib
      LDFLAGS = -Wl,-rpath,/usr/lib
Generating smbd/build_options.c
Building include/proto.h
creating /var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/include/proto.h
Building include/wrepld_proto.h
creating /var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/include/wrepld_proto.h
Building include/build_env.h
creating /var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/nsswitch/winbindd_proto.h
creating /var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/web/swat_proto.h
creating /var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/client/client_proto.h
creating /var/tmp/portage/samba-3.0.1/work/samba-3.0.1/source/utils/net_proto.h
Compiling dynconfig.c
Compiling param/loadparm.c
Compiling param/params.c
Compiling smbd/files.c
Compiling smbd/chgpasswd.c
Compiling smbd/connection.c
Compiling smbd/utmp.c
Compiling smbd/session.c
Compiling smbd/dfree.c
Compiling smbd/dir.c
Compiling smbd/password.c
Compiling smbd/conn.c
Compiling smbd/fileio.c
Compiling smbd/ipc.c
Compiling smbd/lanman.c
Compiling smbd/negprot.c
Compiling smbd/message.c
Compiling smbd/nttrans.c
Compiling smbd/pipes.c
Compiling smbd/reply.c
Compiling smbd/sesssetup.c
Compiling smbd/trans2.c
Compiling smbd/uid.c
Compiling smbd/dosmode.c
Compiling smbd/filename.c
Compiling smbd/open.c
Compiling smbd/close.c
Compiling smbd/blocking.c
Compiling smbd/sec_ctx.c
Compiling smbd/srvstr.c
Compiling smbd/vfs.c
Compiling smbd/vfs-wrap.c
Compiling smbd/statcache.c
Compiling smbd/posix_acls.c
Compiling lib/sysacls.c
Compiling lib/server_mutex.c
Compiling smbd/process.c
Compiling smbd/service.c
Compiling smbd/error.c
Compiling printing/printfsp.c
Compiling lib/sysquotas.c
Compiling smbd/change_trust_pw.c
Compiling smbd/fake_file.c
Compiling smbd/quotas.c
smbd/quotas.c: In function `get_smb_linux_vfs_quota':
smbd/quotas.c:135: storage size of `D' isn't known
make: *** [smbd/quotas.o] Error 1
 
!!! ERROR: net-fs/samba-3.0.1 failed.
!!! Function src_compile, Line 164, Exitcode 2
!!! SAMBA pieces
 


emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.3_pre20031212-r0, 2.6.0)
=================================================================
System uname: 2.6.0 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.8p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"



Reproducible: Always
Steps to Reproduce:
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2003-12-21 02:55:52 UTC
This is a duplicate of bug #36200.
Comment 2 David Holm (RETIRED) gentoo-dev 2003-12-21 07:19:31 UTC

*** This bug has been marked as a duplicate of 36200 ***