| Summary: | Attempted emerge update of samba-3.0.1 on AMD64 system which fails during compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | John Thomas <John.Thomas> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | blocker | CC: | adrian.nabarro |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| URL: | amd64@gentoo.org | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 36274 has been marked as a duplicate of this bug. *** Same here, on a Intel Pentium 4. This is a duplicate bug. Look here: http://bugs.gentoo.org/show_bug.cgi?id=36200 Update your linux-headers, and compiling samba works fine. |
Emerge update of samba-3.0.1 fails on compile. The following is the tail of the console output including the failure: checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking for ber_scanf in -llber... yes checking for ldap_init in -lldap... yes checking for ldap_domain2hostlist... yes checking for ldap_set_rebind_proc... yes checking whether ldap_set_rebind_proc takes 3 arguments... 3 checking for ldap_initialize... yes checking whether LDAP support is used... yes checking for Active Directory and krb5 support... no checking whether to build experimental passdb libraries... xml checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.6.3) 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: see the Autoconf documentation configure: WARNING: linux/quota.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/quota.h: proceeding with the preprocessor's result configure: WARNING: linux/quota.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## 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)... no checking 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... shared checking how to build pdb_mysql... not checking how to build pdb_ldap... static 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... static 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 -lnsl -ldl LDAP_LIBS = -lldap -llber 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 -I/usr/include/libxml2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. LIBS = -lcrypt -lnsl -ldl LDSHFLAGS = -shared -Wl,-rpath,/usr/lib LDFLAGS = -Wl,-rpath,/usr/lib Generating smbd/build_options.c Building include/proto.h creating ./include/proto.h Building include/wrepld_proto.h creating ./include/wrepld_proto.h Building include/build_env.h creating ./nsswitch/winbindd_proto.h creating ./web/swat_proto.h creating ./client/client_proto.h creating ./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: error: 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 Reproducible: Always Steps to Reproduce: 1. emerge -u samba --deep 2. watch it fail - fairly early in the compile 3. Actual Results: See details above. Expected Results: Successfully compiled. My machine is a TYAN dual Opteron 1.4 system with 3GB RAM. Was built using the 11/26 AMD64 Live CD. Running latest Gentoo dev kernel (2.6.0).