Python3 seems to be failing intermittently on the autobuilder - some kind of race condition? | i586-poky-linux-gcc -m32 -march=i586 -DNDEBUG -fno-inline --sysroot=/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getargs.o Python/getargs.c | In file included from Python/bltinmodule.c:10:0: | Include/ast.h:7:1: warning: parameter names (without types) in function declaration [enabled by default] | PyAPI_FUNC(int) PyAST_Validate(mod_ty); | ^ | In file included from Include/Python.h:50:0, | from Python/bltinmodule.c:3: | Include/ast.h:8:12: error: unknown type name 'mod_ty' | PyAPI_FUNC(mod_ty) PyAST_FromNode( | ^ | Include/pyport.h:777:34: note: in definition of macro 'PyAPI_FUNC' | # define PyAPI_FUNC(RTYPE) RTYPE | ^ | Python/bltinmodule.c: In function 'builtin_compile': | Python/bltinmodule.c:641:13: error: unknown type name 'mod_ty' | mod_ty mod; | ^ | Python/bltinmodule.c:647:21: warning: comparison between pointer and integer [enabled by default] | if (mod == NULL) { | ^ | Python/bltinmodule.c:656:49: warning: passing argument 1 of 'PyAST_CompileEx' makes pointer from integer without a cast [enabled by default] | &cf, optimize, arena); | ^ | In file included from Include/Python.h:122:0, | from Python/bltinmodule.c:3: | Include/compile.h:33:28: note: expected 'struct _mod *' but argument is of type 'int' | PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx( | ^ | i586-poky-linux-gcc -m32 -march=i586 -DNDEBUG -fno-inline --sysroot=/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getcompiler.o Python/getcompiler.c | make: *** [Python/bltinmodule.o] Error 1 | make: *** Waiting for unfinished jobs.... | i586-poky-linux-gcc -m32 -march=i586 -DNDEBUG -fno-inline --sysroot=/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c | i586-poky-linux-gcc -m32 -march=i586 -DNDEBUG -fno-inline --sysroot=/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/parsetok_pgen.o Parser/parsetok_pgen.c | i586-poky-linux-gcc -m32 -march=i586 -DNDEBUG -fno-inline --sysroot=/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/pgenmain.o Parser/pgenmain.c | i586-poky-linux-gcc -m32 -march=i586 -DNDEBUG -fno-inline --sysroot=/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -L. -L/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/dynamic_annotations.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/parsetok_pgen.o Parser/pgenmain.o -lpthread -ldl -lpthread -lutil -o Parser/pgen | make[1]: Leaving directory `/home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.3-r0.0/Python-3.3.3' | /home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/python3-native/pgen ./Grammar/Grammar Include/graminit.h Python/graminit.c | ERROR: oe_runmake failed | WARNING: /home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.3-r0.0/temp/run.do_compile.31892:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder-dev/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.3-r0.0/temp/log.do_compile.31892) NOTE: recipe python3-3.3.3-r0.0: task do_compile: Failed Original log: http://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/52/steps/BuildImages/logs/stdio
I have sent a patch for review
Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8a33c5dd3be1a0f1697cf27291947bc91550050e
the issue has been fixed.