Bug 2763

Summary: qemu-native fails to build when both 32 and 64 bit libraries are installed.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Fredrik Markström <fredrik.markstrom>
Component: devtools / tool chainAssignee: Bogdan Marinescu <bogdan.a.marinescu>
Status: VERIFIED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: corneliux.stoicescu, jessica.zhang, meta.mr.watcher, meta.watcher, sgw, song.liu
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Fredrik Markström 2012-07-13 14:04:05 UTC
Line 28 in  http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu/qemu-0.15.1/glflags.patch?id=d63298e566324cf4cc4fa457348fdce56615ecf6 reads:

+  test -e /usr/lib/*-linux-gnu/libGL.so && libgl='yes'

Which obviously doesn't work very well if you have both the 32 and 64 bit libraries installed. Then shell then expands it to:

test -e /usr/lib/i386-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGL.so && libgl=yes

Which is a syntax error.


/Fredrik
Comment 1 Jessica 2012-09-14 14:20:16 UTC
We removed qemu gl passthrough
Comment 2 Stoicescu Cornel 2012-09-25 13:46:56 UTC
glflags.patch (source of problem) was removed in master: 

"
commit 0b0db813a5cd549d4c82a27c440e268845c18cc5
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Mon Aug 20 11:20:12 2012 +0000

qemu-0.15: Drop GL passthrough support

    These patches are a maintenance nightmare and impacting our abaility to
    keep up to date with qemu. They are also a source of various bugs.

    Remove them until someone is willing to step up and maintain them,
    or upstream gains GL support.
"

I mark this as verified. Issue no longer present.