[Samba] 3.0.25b-1.1.72-1411 - copy from and to the same samba share

Franz Sirl Franz.Sirl-kernel at lauterbach.com
Thu Jul 19 09:41:29 GMT 2007

Jeremy Allison wrote:
> On Wed, Jul 18, 2007 at 04:01:45PM +0200, Franz Sirl wrote:
>> Hi,
>> I can confirm that a re-build of the current SUSE 3.0.25b RPMs plus 
>> today's diff between SAMBA_3_0_RELEASE and SAMBA_3_0_25 fixes the 
>> strange file corruption problem I was seeing with LIB.EXE from 
>> VisualStudio6 working on a Samba share. Though this was already true 
>> with yesterdays diff, but didn't work with a diff from last week.
> Great - thanks for the update. I'm hoping I've now got this
> right for 3.0.25c.

Ok, since it seems you are heading for a 3.0.25c release soon, I'd 
better report this little build failure with the python stuff:

building 'smb' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686 
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -O2 -g -m32 -march=i586 
-mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-D_SAMBA_BUILD_=3 -fPIC -I/usr/include/python2.4 -c python/py_smb.c -o 
build/temp.linux-i686-2.4/python/py_smb.o -O2 -g -m32 -march=i586 
-mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 
-D_SAMBA_BUILD_=3 -Iinclude -I./include -I. -I. -I./lib/replace 
-I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H 
-DLDAP_DEPRECATED -I/home/fsirl/BUILD/samba-3.0.25b/source/lib 
In file included from /usr/include/python2.4/Python.h:8,
                  from ./python/py_common.h:33,
                  from ./python/py_smb.h:24,
                  from python/py_smb.c:21:
/usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" 
In file included from /usr/include/stdio.h:28,
                  from ./lib/replace/replace.h:39,
                  from include/includes.h:29,
                  from ./python/py_common.h:24,
                  from ./python/py_smb.h:24,
                  from python/py_smb.c:21:
/usr/include/features.h:154:1: warning: this is the location of the 
previous definition
python/py_smb.c: In function ‘py_smb_connect’:
python/py_smb.c:51: error: wrong type argument to unary exclamation mark
python/py_smb.c: In function ‘py_smb_session_request’:
python/py_smb.c:71: warning: assignment discards qualifiers from pointer 
target type
error: command 'gcc' failed with exit status 1
make: *** [python_ext] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.90950 (%build)

This is on SLES10SP1 with gcc-4.1.2 and python-2.4.2.


More information about the samba mailing list