<?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>7931</bug_id>
          
          <creation_ts>2015-06-29 11:55:50 +0000</creation_ts>
          <short_desc>No wayland-scanner in target or nativesdk packages</short_desc>
          <delta_ts>2015-10-21 13:09:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.7</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Kuhne">dakuit00</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>cristina-danielax.agurida</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51999</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Kuhne">dakuit00</who>
    <bug_when>2015-06-29 11:55:50 +0000</bug_when>
    <thetext>When populating sdk for i686 SDKMACHINE on a x86_64 machine, wayland-scanner is missing in the nativesdk. We can find wayland-scanner in x86_64-linux sysroot, but not in i686-nativelinux-* sysroot.

Steps to reproduce:

A. use x86_64 buildmachine
B. add SDKMACHINE=&quot;i686&quot; to your local.conf
C. bitbake core-image-weston
D. bitbake -c populate_sdk core-image-weston
E. install sdk out of tmp/deploy/sdk
F. find wayland-scanner in installation path - or - search tmp/sysroots for wayland-scanner

You will not be able to find wayland-scanner in sdk installation path or in i686-* sysroot in tmp/sysroots.

Correct behavior: We should be able to find wayland-scanner in the nativesdk (SDKMACHINE) to be used on sdk machines different to the build machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52003</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-06-29 12:45:02 +0000</bug_when>
    <thetext>To rephrase this bug report:

It would be good if core-image-weston&apos;s SDK included the weston and wayland SDK packages.  In theory wayland is moderately trivial:

BBCLASSEXTEND=&quot;native nativesdk&quot;
EXTRA_OECONF_class-nativesdk = &quot;--enable-scanner&quot;

But that then tries to execute the built scanner during the build, which won&apos;t work:

| /bin/mkdir -p protocol/ &amp;&amp; ./wayland-scanner client-header &lt; /data/poky-master/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-wayland/1.6.0-r0/wayland-1.6.0/protocol/wayland.xml &gt; protocol/wayland-client-protocol.h
| /bin/bash: ./wayland-scanner: No such file or directory
| /bin/bash: ./wayland-scanner: No such file or directory
| /bin/bash: ./wayland-scanner: No such file or directory

File not found as the loader can&apos;t find the interpretter, as that&apos;s in the sysroot.  I get this as my SDK is for x86-64, if it were for ARM it would be running an ARM binary.

Looks like we need to fix the build process to build wayland-scanner twice - once to run at buuld time and once to install.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52082</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-07-01 22:21:19 +0000</bug_when>
    <thetext>$ bb contents nativesdk-wayland
[...]
nativesdk-wayland-dev
/opt/poky/1.8+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/wayland-scanner</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54375</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-09-21 12:56:13 +0000</bug_when>
    <thetext>Fixed in oe-core 1f19083eb8453d794c9532b9252d1ab2d330ec6e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55556</commentid>
    <comment_count>4</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-10-21 13:09:37 +0000</bug_when>
    <thetext>Verified on master: a9053ac0829eb01f6f002587854d01e47a78e6f0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>