Package: samba
Version: 3.0.11-1
Severity: normal

I can complete the first build of samba package.
But then I do the second buid and I get the following message.

dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Clean first the Samba package
/usr/bin/make -C source python_clean distclean
make[1]: Entering directory 
`/pub2/debian/pkg/samba/sid-samba-3.0.11/samba-3.0.11/source'
WARNING: you need to run ./configure
WARNING: you need to run ./config.status
running clean
removing 'build/temp.linux-i686-2.3' (and everything under it)
Removing prototype headers
rm -f core */*~ *~ */*.o */*.po */*.so \
        dynconfig.o dynconfig.po bin/smbclient bin/net bin/smbspool 
bin/testparm bin/testprns bin/smbstatus  bin/smbcontrol bin/smbtree 
bin/tdbbackup bin/nmblookup bin/pdbedit bin/tdbdump bin/tdbtool bin/smbpasswd 
bin/rpcclient bin/smbcacls bin/profiles bin/ntlm_auth bin/smbcquotas  
bin/smbmount bin/smbmnt bin/smbumount bin/wbinfo bin/smbd bin/nmbd bin/swat  
bin/winbindd bin/recycle.so bin/audit.so bin/extd_audit.so bin/full_audit.so 
bin/netatalk.so bin/fake_perms.so bin/default_quota.so bin/readonly.so 
bin/cap.so bin/expand_msdfs.so bin/shadow_copy.so    bin/CP850.so bin/CP437.so  
bin/smbtorture bin/msgtest bin/masktest bin/locktest bin/locktest2 bin/nsstest 
bin/vfstest \
        bin/libsmbclient.a bin/libsmbclient.so bin/debug2html bin/smbfilter 
bin/talloctort bin/log2pcap .headers.stamp
rm -f config.log bin/.dummy script/findsmb
rm -f include/stamp-h
rm -f script/gen-8bit-gap.sh smbadduser
rm -f include/config.h Makefile
rm -f config.status config.cache so_locations
rm -rf .deps TAGS
make[1]: Leaving directory 
`/pub2/debian/pkg/samba/sid-samba-3.0.11/samba-3.0.11/source'
# Delete stuff left after a build that is not deleted by 'make clean'
rm -f source/bin/wbinfo source/bin/winbindd source/bin/debug2html \
        source/bin/libsmbclient.a source/bin/mount.cifs \
        source/include/stamp-h
sed -e "s/@libacl@/`type-handling any linux-gnu`/g" \
        < debian/control.in > debian/control
dh_clean
 dpkg-source -b samba-3.0.11
dpkg-source: building samba using existing samba_3.0.11.orig.tar.gz
dpkg-source: building samba in samba_3.0.11-1.diff.gz
dpkg-source: cannot represent change to source/client/mount.cifs: binary file 
contents changed
dpkg-source: building samba in samba_3.0.11-1.dsc
dpkg-source: unrepresentable changes to source
debuild: fatal error at line 764:
dpkg-buildpackage failed!

The reason is that 'make clean' doesn't remove 'source/client/mount.cifs'.
I think that I need to apply the following patch.

------------------------------------------------------------
diff -urN samba-3.0.11.orig/debian/rules samba-3.0.11/debian/rules
--- samba-3.0.11.orig/debian/rules      2005-04-02 00:45:06.000000000 +0900
+++ samba-3.0.11/debian/rules   2005-04-06 09:30:53.000000000 +0900
@@ -136,7 +136,7 @@
        # Delete stuff left after a build that is not deleted by 'make clean'
        rm -f source/bin/wbinfo source/bin/winbindd source/bin/debug2html \
                source/bin/libsmbclient.a source/bin/mount.cifs \
-               source/include/stamp-h
+               source/include/stamp-h source/client/mount.cifs

        sed -e "s/@libacl@/`type-handling any linux-gnu`/g" \
                < debian/control.in > debian/control
------------------------------------------------------------

-- System Information:
Debian Release: 3.1
Architecture: i686
Kernel: Linux 2.6.9

Versions of packages samba depends on:
ii  debconf [debconf-2.0]       1.4.40       Debian configuration management sy
ii  libacl1                     2.2.26-1     Access control list shared library
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libcomerr2                  1.37-1       common error description library
ii  libcupsys2-gnutls10         1.1.23-7     Common UNIX Printing System(tm) -
ii  libkrb53                    1.3.6-1      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libpam-modules              0.76-22      Pluggable Authentication Modules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  logrotate                   3.7-2        Log rotation utility
ii  netbase                     4.19         Basic TCP/IP networking system
ii  samba-common                3.0.11-1     Samba common files used by both th




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to