Error in provision

Matthias Dieter Wallnöfer mdw at samba.org
Sat Mar 13 04:33:34 MST 2010


Yeah, abartlet introduced this "try/except" syntax which is not 
compatible with Python 2.4+ (with Python 2.6 it is). I will revert this 
part.

Matthias

Anton Löthman wrote:
> I just got a new s4 install from git, ./configure and make goes fine, but make quicktest returns
>
> ( rm -f ./st/st_done&&   LD_LIBRARY_PATH=./bin/shared:$LD_LIBRARY_PATH PYTHON=/usr/bin/python2.5 /usr/bin/perl -W ./../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="./selftest/tests.sh|"  --exclude=./selftest/slow --quick --include=./selftest/quick --socket-wrapper&&  touch ./st/st_done )  | /usr/bin/perl -W ./../selftest/filter-subunit.pl --expected-failures=./selftest/knownfail | /usr/bin/perl -W ./../selftest/format-subunit.pl --prefix=./st --format=plain --immediate
> SOCKET_WRAPPER_DIR=/root/samba-master/source4/st/w
> Version 4.0.0alpha12-GIT-b52b357
> OPTIONS  --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba4 --basedir=/root/samba-master/source4/st/s4client --option=torture:progress=no --format=subunit --option=torture:quick=yes
>    File "./setup/provision", line 248
>      except ProvisioningError as e:
>                                ^
> SyntaxError: invalid syntax
> Unable to provision:
> NSS_WRAPPER_PASSWD="/root/samba-master/source4/st/dc/etc/passwd" NSS_WRAPPER_GROUP="/root/samba-master/source4/st/dc/etc/group" /usr/bin/python2.5 ./setup/provision --configfile=/root/samba-master/source4/st/dc/etc/smb.conf --host-name=localdc1 --host-ip=127.0.0.1 --quiet --domain=SAMBADOMAIN --realm=SAMBA.EXAMPLE.COM --adminpass=localdcpass --krbtgtpass=krbtgtlocaldcpass --machinepass=machinelocaldcpass --root=root --server-role="domain controller"
> PROVISIONING DC...
> A summary with detailed information can be found in:
>    ./st/summary
>
> ALL OK (0 tests in 0 testsuites)
> SELFTEST FAILED
> make: *** [quicktest] Fel 1
>
>
>
> also if i run make install, provision returns
>   File "./setup/provision", line 248
>      except ProvisioningError as e:
>                                ^
> SyntaxError: invalid syntax
>
>
>
> Im running a new install of debian 5.0.
>   		 	   		
> _________________________________________________________________
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
> https://signup.live.com/signup.aspx?id=60969
>    



More information about the samba-technical mailing list