Bug 6709 - Fail to build torture suite when using --enable-external-libtalloc
Summary: Fail to build torture suite when using --enable-external-libtalloc
Status: RESOLVED DUPLICATE of bug 6808
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.4.1
Hardware: Other Linux
: P3 normal
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 12:38 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2009-11-07 14:01 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 Debian samba package maintainers (PUBLIC MAILING LIST) 2009-09-10 12:38:36 UTC
This happens when trying to build Debian 3.4.1 packages.

We build with:
conf_args = \
                --cache-file=./config.cache \
                --with-fhs \
                --enable-shared \
                --enable-static \
                --disable-pie \
                --prefix=/usr \
                --sysconfdir=/etc \
                --libdir=/usr/lib/samba \
                --with-privatedir=/etc/samba \
                --with-piddir=/var/run/samba \
                --localstatedir=/var \
                --with-rootsbindir=/sbin \
                --with-pammodulesdir=/lib/security \
                --with-pam \
                --with-syslog \
                --with-utmp \
                --with-readline \
                --with-pam_smbpass \
                --with-libsmbclient \
                --with-winbind \
                --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2 \
                --with-automount \
                --with-ldap \
                --with-ads \
                --without-smbmount \
                --with-dnsupdate \
                --without-libtdb \
                --without-libnetapi \
                --with-modulesdir=/usr/lib/samba \
                --datarootdir=/usr/share \
                --datadir=/usr/share/samba \
                --with-swatdir=/usr/share/samba/swat \
                --with-lockdir=/var/run/samba \
                --with-statedir=/var/lib/samba \
                --with-cachedir=/var/cache/samba \
                --enable-external-libtalloc \
                --without-libtalloc \
                --with-ctdb --with-cluster-support=yes \
                --with-cifsmount \
                --with-cifsupcall \
                --with-acl-support \
                --with-quotas
Then:
        $(MAKE) -C source3 # headers
        $(MAKE) -C source3 everything
        $(MAKE) -C source3 nsswitch

We get a faillure when the torture suite tools are linked:

Compiling utils/debug2html.c                                                                                                                  
Compiling utils/debugparse.c                                                                                                                  
Linking bin/debug2html                                                                                                                        
Compiling utils/smbfilter.c                                                                                                                   
Linking bin/smbfilter                                                                                                                         
make[1]: *** No rule to make target `/testsuite.o', needed by `bin/talloctort'.  Stop.                                                       


That seems related to recent changes introducing --with-external-talloc.

Steve Langasek's comment:
06:17 < vorlon> so the main build has been fixed, but not the 'make torture' target
Comment 1 Björn Jacke 2009-11-07 14:01:53 UTC
Thanks for the report. According to #6808 I think everything okay also in 3.4. However if this is still broken, please reopen!

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