<?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>11370</bug_id>
          
          <creation_ts>2017-04-16 06:10:04 +0000</creation_ts>
          <short_desc>core-image-clutter: ERROR: mesa is trying to install files into a shared area</short_desc>
          <delta_ts>2017-06-16 16:18:51 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="MOHIT">goel.mohit006</reporter>
          <assigned_to name="MOHIT">goel.mohit006</assigned_to>
          <cc>jku</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72530</commentid>
    <comment_count>0</comment_count>
    <who name="MOHIT">goel.mohit006</who>
    <bug_when>2017-04-16 06:10:04 +0000</bug_when>
    <thetext>this is my details
Build Configuration:
BB_VERSION        = &quot;1.26.0&quot;
BUILD_SYS         = &quot;i686-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;
TARGET_SYS        = &quot;arm-phytec-linux-gnueabi&quot;
MACHINE           = &quot;phyboard-mira-imx6-3&quot;
DISTRO            = &quot;yogurt&quot;
DISTRO_VERSION    = &quot;i.MX6-PD15.3.0&quot;
TUNE_FEATURES     = &quot;arm armv7a vfp neon callconvention-hard cortexa9&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;(nobranch):06d9c894636352a6c93711c7284d02b0c794a527&quot;
meta-phytec       = &quot;(nobranch):e8166e3e8bf2c26b8665fd52f61890cd851927da&quot;
meta-yogurt       = &quot;(nobranch):8f8487fd45b70e7bb68c3ee84463dfb76c72fc2b&quot;
meta-oe           
meta-networking   
meta-python       
meta-multimedia   = &quot;(nobranch):a7c1a2b0e6947740758136216e45ca6ca66321fc&quot;
meta-qt5          = &quot;(nobranch):90919b9d86988e7da01fa2c0a07246b5b5600a5d&quot;
meta-ruby         = &quot;(nobranch):a7c1a2b0e6947740758136216e45ca6ca66321fc&quot;





when i am making core-image clutter then it is showing this error 

ERROR: The recipe mesa is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libGLESv1_CM.so.1
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libEGL.so
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libGLESv1_CM.so
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libGLESv2.so
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libGLESv1_CM.so.1.1.0
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libEGL.so.1
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libGLESv2.so.2
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/libGLESv2.so.2.0.0
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/pkgconfig/glesv2.pc
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/pkgconfig/egl.pc
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/lib/pkgconfig/glesv1_cm.pc
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/KHR/khrplatform.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES/egl.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES/glext.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES/glplatform.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES/gl.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES2/gl2ext.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES2/gl2platform.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/GLES2/gl2.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/EGL/egl.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/EGL/eglext.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
 /home/mk/shhiv/build/tmp-glibc/sysroots/phyboard-mira-imx6-3/usr/include/EGL/eglplatform.h
 Matched in manifest-phyboard-mira-imx6-3-imx-gpu-viv.populate_sysroot
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we&apos;ve seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don&apos;t know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you&apos;re advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/mk/shhiv/build/tmp-glibc/work/cortexa9hf-vfp-neon-phytec-linux-gnueabi/mesa/2_10.4.4-r0/temp/log.do_populate_sysroot.2583
ERROR: Task 3 (/home/mk/shhiv/sources/poky/meta/recipes-graphics/mesa/mesa_10.4.4.bb, do_populate_sysroot) failed with exit code &apos;1&apos;



and if i remove the mesa then
is is asking that nothing provide liborc-.04
and it is required i googlgled it and found that replace liborc with orc solve the problem but i dnt know where to replace this 
so please help 

thanks in advance</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72712</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-04-20 11:33:55 +0000</bug_when>
    <thetext>The beef is here:

&gt; ERROR: If the above message is too much, the simpler version is you&apos;re advised
&gt; to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix
&gt; things in most (but not all) cases.

Can you try that (without &quot;removing mesa&quot; or other changes like that) please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72723</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-04-20 14:34:09 +0000</bug_when>
    <thetext>FYI: The original title was:

in bitbake when i am making core-image-clutter it is showing ERROR: The recipe mesa is trying to install files into a shared area when those files already exist. Those files and their manifest location are:    /home/mk/shhiv/build/tmp-glibc/sysroots/phybo

I shortened it to help readers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73097</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2017-05-07 14:05:40 +0000</bug_when>
    <thetext>He e-mailed me to say:
If I am removing mesa then it will show that liborc is missing .

I am new to yocto so plz if want anu details plz elaborate 
I am having some question that is not bug can you suggest me any better community from where I can clear my doubts 
Thank you for your support</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73098</commentid>
    <comment_count>4</comment_count>
    <who name="MOHIT">goel.mohit006</who>
    <bug_when>2017-05-07 15:01:05 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; The beef is here:
&gt; 
&gt; &gt; ERROR: If the above message is too much, the simpler version is you&apos;re advised
&gt; &gt; to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix
&gt; &gt; things in most (but not all) cases.
&gt; 
&gt; Can you try that (without &quot;removing mesa&quot; or other changes like that) please



ya i have tried so many times but still it is showing same error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73191</commentid>
    <comment_count>5</comment_count>
    <who name="MOHIT">goel.mohit006</who>
    <bug_when>2017-05-11 14:48:17 +0000</bug_when>
    <thetext>I have already provide info 
if any info ie required please update 
thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73204</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-05-11 15:47:17 +0000</bug_when>
    <thetext>This appears to be a bug in the meta-phytec BSP, if it provides its own GL implementation (which it appears to in imx-gpu-viv) then it should ensure that mesa can&apos;t be built.  The meta-phytec README says to conect support@phytec.de directly.

Note that the release of oe-core/meta-oe that you&apos;re using is two years old now, so ideally attempt upgrading to a newer release.  There appears to be a release of meta-phytec for 2.2/morty, which is the current stable release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73447</commentid>
    <comment_count>7</comment_count>
    <who name="MOHIT">goel.mohit006</who>
    <bug_when>2017-05-23 18:00:03 +0000</bug_when>
    <thetext>in this if first i bitbaked mesa is installed without any error 
after installing the mesa i changed the file name like egl.h changed to eglmesa.h like i have changed all the error files 
after yhis if i will bitbake it will install without any error image build successfully with out any error 
i know this is wrong but this could be the solution if my build knows that ehl.h provided by mesa is eglmesa.h 
now i dont knw how to do that if any one know please help me i have mailed to pytec.de but didnt get any answer 
plz help in that 


thanks in advance</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73450</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-05-23 19:20:19 +0000</bug_when>
    <thetext>Renaming files is wrong, you need to follow the dependencies (&apos;bitbake core-image-clutter -g -u depexp&apos; can help) to find out why it wants to build both mesa and the BSP GL stack, and stop it building mesa.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>