Bug 2763 - qemu-native fails to build when both 32 and 64 bit libraries are installed.
Summary: qemu-native fails to build when both 32 and 64 bit libraries are installed.
Status: VERIFIED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Bogdan Marinescu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-13 14:04 UTC by Fredrik Markström
Modified: 2012-09-25 13:46 UTC (History)
6 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 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.