<?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>4848</bug_id>
          
          <creation_ts>2013-07-12 20:08:28 +0000</creation_ts>
          <short_desc>Multiple installation of GL-related files</short_desc>
          <delta_ts>2013-09-26 14:11:57 +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>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>1.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Opensource">opensource</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <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>34549</commentid>
    <comment_count>0</comment_count>
    <who name="Opensource">opensource</who>
    <bug_when>2013-07-12 20:08:28 +0000</bug_when>
    <thetext>When building

1) Using the meta-intel/cedartrail BSP;
2) Building under Danny 8.0.2;
3) Custom image;
4) Custom task;
5) OpenGLES application which runs under &apos;X&apos;.

If I do a clean build (i.e. after deleting tmp/ sstate-cache/) then my application produces &apos;fuzz&apos; on the screen - some vertical strips visible, but nothing recognisable.

If I then &apos;cleanall&apos; the image, task and application and rebuild the image I get an image with an application that works as expected.

I suspect this is something to do with some warning messages I get during the clean build:

WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are:
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/KHR/khrplatform.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES/gl.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES/egl.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES/glext.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES/glplatform.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/EGL/egl.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/EGL/eglplatform.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/EGL/eglext.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES2/gl2platform.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES2/gl2.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/include/GLES2/gl2ext.h
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/lib/libGLESv1_CM.so
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/lib/libGLESv2.so.2
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/lib/libGLESv2.so
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/lib/libGLESv1_CM.so.1
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/lib/libEGL.so.1
  /media/SSD-RAID/build-danny-cedartrail/tmp/sysroots/cedartrail/usr/lib/libEGL.so

I initially brought this up on the mailing list : http://comments.gmane.org/gmane.linux.embedded.yocto.general/12533

Since then, John Weber has reported what looks to be the same or a related issue : http://comments.gmane.org/gmane.linux.embedded.yocto.meta-freescale/3512

Ross Burton CC&apos;ed at his request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34570</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-07-15 13:31:08 +0000</bug_when>
    <thetext>BTW, I&apos;m pretty sure this has been fixed in master (if not Dylan).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37245</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-26 14:11:57 +0000</bug_when>
    <thetext>Hate to say it, but this is quite intrusive to fix in a stable release.  It&apos;s definitely fixed in 1.5 and I&apos;m pretty sure 1.4 was 99% fixed (the last 1% only being a problem if you swap machines frequently).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>