<?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>4020</bug_id>
          
          <creation_ts>2013-03-13 15:58:52 +0000</creation_ts>
          <short_desc>EMGD - Backport missing symlinks patch to 1.3</short_desc>
          <delta_ts>2013-04-04 23:57:17 +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</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.3.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marc Ferland">marc.ferland</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>nitin.a.kamble</cc>
    
    <cc>tom.zanussi</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>30676</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Ferland">marc.ferland</who>
    <bug_when>2013-03-13 15:58:52 +0000</bug_when>
    <thetext>Hi,

I just tried to compile an application that links against EGL and I get the following error during configure:

...core2-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lEGL

I verified and this is caused by symlinks not being created by the emgd-driver-bin recipe. Fortunatly a patch was already made for this:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb?id=154156a4db56f7b33fb1765cf6b87e683d027af9

Would it be possible to backport this patch to the 1.3 branch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30679</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-03-13 16:44:42 +0000</bug_when>
    <thetext>Ross, can you pull this commit in the 1.3.x branch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30680</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-03-13 16:51:51 +0000</bug_when>
    <thetext>Tom,
  Ross does not touch meta-intel for the 1.3.x release. So can you pull in the commit in the meta-intel 1.3.x release?

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30780</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-03-18 05:07:45 +0000</bug_when>
    <thetext>I tried cherry-picking from master, but it doesn&apos;t apply:

trz@empanada meta-intel]$ git cherry-pick 154156a4db56f7b33fb1765cf6b87e683d027af9
error: could not apply 154156a... emgd-driver-bin: add further needed soft links
hint: after resolving the conflicts, mark the corrected paths
hint: with &apos;git add &lt;paths&gt;&apos; or &apos;git rm &lt;paths&gt;&apos;
hint: and commit the result with &apos;git commit&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30857</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-03-19 15:12:42 +0000</bug_when>
    <thetext>Assigning to Nitin as the author of the patch, need a backport to 1.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31583</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-04-04 23:57:17 +0000</bug_when>
    <thetext>Fixed by this commit in danny:

commit d7dbbcba891c18d5134e4ff8f0c51f44f2a4b1dd
Author: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
Date:   Thu Nov 15 18:12:59 2012 -0800

    emgd-driver-bin: remove duplicate files &amp; fix soft links
    
    Replace all the duplicate files by soft links, and also fix targets of
    some of the broken soft links.
    
    These changes avoid link issues like following, where detailed
    library versions included in the .so filenames cause linking issues.
    
    [...]/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.7.2/ld: warning: libEMGDegl.so, needed by [...]/tmp/sysroots/fri2/usr/lib/libGLESv2.so, not found (try using -rpath or -rpath-link)
    [...]/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.7.2/ld: warning: libemgdsrv_um.so, needed by [...]/tmp/sysroots/fri2/usr/lib/libGLESv2.so, not found (try using -rpath or -rpath-link)
    
    This fixes Bug:
    [YOCTO #4020]
    
    Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
    Signed-off-by: Tom Zanussi &lt;tom.zanussi@intel.com&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>