Up to 3.0.0beta3, "make torture" was working. Now with rc1 it gives this error: (...) + make torture Using FLAGS = -O2 -march=i386 -Iinclude -I/storage/andreas/svn/samba/BUILD/samba-3.0.0rc1/source/include -I/storage/andreas/svn/samba/BUILD/samba-3.0.0rc1/source/ubiqx -I/storage/andreas/svn/samba/BUILD/samba-3.0.0rc1/source/smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/storage/andreas/svn/samba/BUILD/samba-3.0.0rc1/source LIBS = -lcrypt -lresolv -lnsl -ldl LDSHFLAGS = -shared -Wl,-rpath,/usr/lib LDFLAGS = -Wl,-rpath,/usr/lib Compiling torture/torture.c (...) Compiling torture/denytest.c Compiling torture/mangle_test.c torture/mangle_test.c: In function `test_one': torture/mangle_test.c:99: warning: assignment discards qualifiers from pointer target type Linking bin/smbtorture passdb/secrets.o(.text+0x0): In function `secrets_init': : multiple definition of `secrets_init' passdb/secrets.o(.text+0x0): first defined here passdb/secrets.o(.text+0xd8): In function `secrets_fetch': : multiple definition of `secrets_fetch' passdb/secrets.o(.text+0xd8): first defined here passdb/secrets.o(.text+0x130): In function `secrets_store': : multiple definition of `secrets_store' passdb/secrets.o(.text+0x130): first defined here passdb/secrets.o(.text+0x1a0): In function `secrets_delete': : multiple definition of `secrets_delete' passdb/secrets.o(.text+0x1a0): first defined here passdb/secrets.o(.text+0x1ec): In function `secrets_store_domain_sid': : multiple definition of `secrets_store_domain_sid' passdb/secrets.o(.text+0x1ec): first defined here passdb/secrets.o(.text+0x230): In function `secrets_fetch_domain_sid': : multiple definition of `secrets_fetch_domain_sid' passdb/secrets.o(.text+0x230): first defined here passdb/secrets.o(.text+0x2bc): In function `secrets_store_domain_guid': : multiple definition of `secrets_store_domain_guid' passdb/secrets.o(.text+0x2bc): first defined here passdb/secrets.o(.text+0x300): In function `secrets_fetch_domain_guid': : multiple definition of `secrets_fetch_domain_guid' passdb/secrets.o(.text+0x300): first defined here passdb/secrets.o(.text+0x448): In function `trust_keystr': : multiple definition of `trust_keystr' passdb/secrets.o(.text+0x448): first defined here passdb/secrets.o(.text+0x4b0): In function `secrets_lock_trust_account_password': : multiple definition of `secrets_lock_trust_account_password' passdb/secrets.o(.text+0x4b0): first defined here passdb/secrets.o(.text+0x518): In function `get_default_sec_channel': : multiple definition of `get_default_sec_channel' passdb/secrets.o(.text+0x518): first defined here passdb/secrets.o(.text+0x540): In function `secrets_fetch_trust_account_password': : multiple definition of `secrets_fetch_trust_account_password' passdb/secrets.o(.text+0x540): first defined here passdb/secrets.o(.text+0xad0): In function `secrets_fetch_machine_password': : multiple definition of `secrets_fetch_machine_password' passdb/secrets.o(.text+0xad0): first defined here passdb/secrets.o(.text+0x6f4): In function `secrets_fetch_trusted_domain_password': : multiple definition of `secrets_fetch_trusted_domain_password' passdb/secrets.o(.text+0x6f4): first defined here passdb/secrets.o(.text+0x850): In function `secrets_store_trust_account_password': : multiple definition of `secrets_store_trust_account_password' passdb/secrets.o(.text+0x850): first defined here passdb/secrets.o(.text+0x89c): In function `secrets_store_trusted_domain_password': : multiple definition of `secrets_store_trusted_domain_password' passdb/secrets.o(.text+0x89c): first defined here passdb/secrets.o(.text+0x970): In function `secrets_store_machine_password': : multiple definition of `secrets_store_machine_password' passdb/secrets.o(.text+0x970): first defined here passdb/secrets.o(.text+0xc34): In function `trust_password_delete': : multiple definition of `trust_password_delete' passdb/secrets.o(.text+0xc34): first defined here passdb/secrets.o(.text+0xc50): In function `trusted_domain_password_delete': : multiple definition of `trusted_domain_password_delete' passdb/secrets.o(.text+0xc50): first defined here passdb/secrets.o(.text+0xc6c): In function `reset_globals_after_fork': : multiple definition of `reset_globals_after_fork' passdb/secrets.o(.text+0xc6c): first defined here passdb/secrets.o(.text+0xcc8): In function `secrets_store_ldap_pw': : multiple definition of `secrets_store_ldap_pw' passdb/secrets.o(.text+0xcc8): first defined here passdb/secrets.o(.text+0xd8c): In function `secrets_get_trusted_domains': : multiple definition of `secrets_get_trusted_domains' passdb/secrets.o(.text+0xd8c): first defined here passdb/secrets.o(.text+0x1340): In function `secrets_named_mutex': : multiple definition of `secrets_named_mutex' passdb/secrets.o(.text+0x1340): first defined here passdb/secrets.o(.text+0x13cc): In function `secrets_named_mutex_release': : multiple definition of `secrets_named_mutex_release' passdb/secrets.o(.text+0x13cc): first defined here passdb/secrets.o(.text+0x143c): In function `must_use_pdc': : multiple definition of `must_use_pdc' passdb/secrets.o(.text+0x143c): first defined here collect2: ld returned 1 exit status make: ** [bin/smbtorture] Erro 1 gcc is version 3.3.1, and glibc is 2.3.2
I can confirm this error from gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.22_pre2-gss i686 Pentium II (Deschutes) GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java gpm tcpd pam ssl perl python esd imlib opengl -X gtk kde mysql crypt -ldap -gnome -alsa" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Parallel build (make -j#) doesn't work with the main target, I don't think it would work with "make torture".
"make bin/smbtorture" fix in CVS
Which branch? I'm sorry, I don't seem to be able to find it either via CVS web nor browsing the CVS commit mailing list.
originally reported against one of the 3.0.0rc[1-4] releases. Cleaning up non-production versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup