Bug 312 - "make torture" doesn't work anymore
Summary: "make torture" doesn't work anymore
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-18 07:00 UTC by Andreas Hasenack (mail address dead)
Modified: 2005-11-14 09:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hasenack (mail address dead) 2003-08-18 07:00:19 UTC
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
Comment 1 Christoph Mertins 2003-08-19 05:05:40 UTC
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"
Comment 2 Andreas Hasenack (mail address dead) 2003-08-19 06:35:05 UTC
Parallel build (make -j#) doesn't work with the main target, I don't think it
would work with "make torture".
Comment 3 Gerald (Jerry) Carter (dead mail address) 2003-08-19 20:00:16 UTC
"make bin/smbtorture" fix in CVS
Comment 4 Andreas Hasenack (mail address dead) 2003-08-20 09:15:17 UTC
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.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-02-07 09:05:57 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:16:02 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 7 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:24:56 UTC
database cleanup