yocto-autobuild world -k Failed with the following error: ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/temp/log.do_install.12276 Log data follows: | DEBUG: Executing shell function do_install | NOTE: make -j 16 -C /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf O=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/perf-3.4 CROSS_COMPILE=i586-poky-linux- ARCH=x86 CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 AR=i586-poky-linux-ar prefix=/usr NO_GTK2=1 NO_NEWT=1 NO_DWARF=1 DESTDIR=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image install | make: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf' | GEN perf-archive | install -d -m 755 '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/bin' | install /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/perf-3.4/perf '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/bin' | install -d -m 755 '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace' | install -d -m 755 '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/perl/bin' | install /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/perf-3.4/perf-archive -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core' | install scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/perl/Perf-Trace-Util/lib/Perf/Trace' | install scripts/perl/*.pl -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/perl' | install scripts/perl/bin/* -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/perl/bin' | install -d -m 755 '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace' | install -d -m 755 '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/python/bin' | install scripts/python/Perf-Trace-Util/lib/Perf/Trace/* -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/python/Perf-Trace-Util/lib/Perf/Trace' | install scripts/python/*.py -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/python' | install scripts/python/bin/* -t '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/libexec/perf-core/scripts/python/bin' | make: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf' | NOTE: make -j 16 -C /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf O=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/perf-3.4 CROSS_COMPILE=i586-poky-linux- ARCH=x86 CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 AR=i586-poky-linux-ar prefix=/usr NO_GTK2=1 NO_NEWT=1 NO_DWARF=1 DESTDIR=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image install-python_ext | make: Entering directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf' | util/setup.py --quiet install --root='//srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image' | make: execvp: util/setup.py: Permission denied | make: *** [install-python_ext] Error 127 | make: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf' | ERROR: oe_runmake failed | ERROR: Function failed: do_install (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/temp/log.do_install.12276 for further information) NOTE: package perf-3.4-r1: task do_install: Failed
See root cause below: (09:54:56 AM) tomz: RP: the problem with the build is indeed that the python-ext install is added unconditionally and the later patch which didn't get pulled in made that conditional, as it should be. until I come up with a proper per-arch enablement, this patch should fix the build: (09:55:05 AM) tomz: RP: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/perf-python-install-fix (09:55:41 AM) RP: tomz: thanks, I'll pull that one in now This is a temporary fix to get the build going again: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/perf-python-install-fix I'm working on a per-architecture solution for selecting perf-scripting but allowing per-machine override, something like "PERF_tune-x86 = "perf-scripting perf-tui" ??? but the above should work until then.
The temporary fix has now been pulled in as poky commit b502bc282d8ebf03fd34aeafa53646965903676a
Properly fixed by commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2dac207e392cd9d94a0812d9bba350e1d8c322eb
Verified as it the issue was not reproduced on the latest world builds from the autobuilder. Verified with commit id: 1e4c63867c7dbf450e91a186cdb0e22fa39c4b9c on branch 1.3_M3