Bug 4020 - EMGD - Backport missing symlinks patch to 1.3
Summary: EMGD - Backport missing symlinks patch to 1.3
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3.2
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-03-13 15:58 UTC by Marc Ferland
Modified: 2013-04-04 23:57 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Ferland 2013-03-13 15:58:52 UTC
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?
Comment 1 Nitin Kamble 2013-03-13 16:44:42 UTC
Ross, can you pull this commit in the 1.3.x branch?
Comment 2 Nitin Kamble 2013-03-13 16:51:51 UTC
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
Comment 3 Tom Zanussi 2013-03-18 05:07:45 UTC
I tried cherry-picking from master, but it doesn'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 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Comment 4 Tom Zanussi 2013-03-19 15:12:42 UTC
Assigning to Nitin as the author of the patch, need a backport to 1.3.
Comment 5 Nitin Kamble 2013-04-04 23:57:17 UTC
Fixed by this commit in danny:

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

    emgd-driver-bin: remove duplicate files & 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 <nitin.a.kamble@intel.com>
    Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>