<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2705</bug_id>
          
          <creation_ts>2012-07-05 17:06:12 +0000</creation_ts>
          <short_desc>perf issue in world build</short_desc>
          <delta_ts>2012-08-19 11:01:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>laurentiu.serban</cc>
    
    <cc>song.liu</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22845</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-05 17:06:12 +0000</bug_when>
    <thetext>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&apos;
|     GEN perf-archive
| install -d -m 755 &apos;/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/bin&apos;
| 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 &apos;/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image/usr/bin&apos;
| install -d -m 755 &apos;/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&apos;
| install -d -m 755 &apos;/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&apos;
| 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 &apos;/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&apos;
| install scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* -t &apos;/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&apos;
| install scripts/perl/*.pl -t &apos;/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&apos;
| install scripts/perl/bin/* -t &apos;/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&apos;
| install -d -m 755 &apos;/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&apos;
| install -d -m 755 &apos;/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&apos;
| install scripts/python/Perf-Trace-Util/lib/Perf/Trace/* -t &apos;/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&apos;
| install scripts/python/*.py -t &apos;/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&apos;
| install scripts/python/bin/* -t &apos;/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&apos;
| make: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/src/kernel/tools/perf&apos;
| 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&apos;
| util/setup.py --quiet install --root=&apos;//srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/qemux86-poky-linux/perf-3.4-r1/image&apos;
| 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&apos;
| 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22848</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-05 17:27:46 +0000</bug_when>
    <thetext>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&apos;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&apos;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&apos;m working on a per-architecture solution for selecting perf-scripting but allowing per-machine override, something like &quot;PERF_tune-x86 = &quot;perf-scripting perf-tui&quot; ??? but the above should work until then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22852</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-05 18:32:02 +0000</bug_when>
    <thetext>The temporary fix has now been pulled in as poky commit b502bc282d8ebf03fd34aeafa53646965903676a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23124</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-16 16:55:33 +0000</bug_when>
    <thetext>Properly fixed by commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2dac207e392cd9d94a0812d9bba350e1d8c322eb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24190</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-19 11:01:29 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>