quicktest fails after building Samba4

Jelmer Vernooij jelmer at samba.org
Mon Apr 5 18:27:45 MDT 2010


Hi Dave,

On Mon, 2010-04-05 at 16:40 -0400, Dave Allison wrote:
> As per the instructions for installing Samba4 I am inquiring about an error I received when I ran quicktest.  Any information would be greatly appreciated.  Here is the error:
> 
> [root at VM-QARHTOOLS-01 source4]# make quicktest
> Samba will be compiled with flags:
>   CPP        = gcc -E
>   CPPFLAGS   = -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
>   CC         = gcc
>   CFLAGS     = -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k -Wno-unused-parameter
>   PICFLAG    = -fPIC
>   BNLD       = gcc
>   BNLD_FLAGS =  -Wl,--export-dynamic
>   STLD       = /usr/bin/ar
>   STLD_FLAGS = -rcs
>   SHLD       = gcc
>   SHLD_FLAGS = -shared -Wl,-Bsymbolic
>   MDLD       = gcc
>   MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined
>   SHLIBEXT   = so
>   srcdir     = .
>   builddir   = .
>   pwd        = /tools/samba/samba-master/source4
> ( rm -f ./st/st_done &&  LD_LIBRARY_PATH=./bin/shared:$LD_LIBRARY_PATH PYTHON=/usr/bin/python2.4 /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/python2.4 ./../selftest/filter-subunit --expected-failures=./selftest/knownfail | /usr/bin/python2.4 ./../selftest/format-subunit --prefix=./st --immediate
> Traceback (most recent call last):
>   File "./../selftest/filter-subunit", line 14, in ?
>     import subunithelper
>   File "/tools/samba/samba-master/selftest/subunithelper.py", line 201
>     yield (regex.strip(), reason.strip())
> SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
> Traceback (most recent call last):
>   File "./../selftest/format-subunit", line 15, in ?
>     import subunithelper
>   File "/tools/samba/samba-master/selftest/subunithelper.py", line 201
>     yield (regex.strip(), reason.strip())
> SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
> make: *** [quicktest] Error 1
It looks like I introduced some python2.5-specific code. I've run a fix
that I'm testing at the moment and will push to master in the next hour
or so.

Thanks for pointing out this issue.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100406/da8bcb3a/attachment.pgp>


More information about the samba-technical mailing list