* [PATCH] recipes-devtools/qemu/qemu.inc: Add jpeg as a dependency
@ 2012-05-22 18:06 Jason Wessel
2012-05-22 18:46 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Jason Wessel @ 2012-05-22 18:06 UTC (permalink / raw)
To: Openembedded-core
If you use a shared state cache and build a large file system,
followed by a small one, the qemu will be built with jpeg support.
Building ultra small file systems leaves out jpeg as a dependency
for the host tool, and when using a sstate cache you end up with
the following error using runqemu:
qemu: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
The work around is to execute:
bitbake jpeg-native
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
---
meta/recipes-devtools/qemu/qemu.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 93325c3..bd9e5bf 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -1,7 +1,7 @@
DESCRIPTION = "open source processor emulator"
HOMEPAGE = "http://qemu.org"
LICENSE = "GPLv2 & LGPLv2.1"
-DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11"
+DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 jpeg"
# QEMU_TARGETS is overridable variable
QEMU_TARGETS ?= "arm i386 mips mipsel mips64 mips64el ppc sh4 x86_64"
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] recipes-devtools/qemu/qemu.inc: Add jpeg as a dependency
2012-05-22 18:06 [PATCH] recipes-devtools/qemu/qemu.inc: Add jpeg as a dependency Jason Wessel
@ 2012-05-22 18:46 ` Saul Wold
2012-05-22 23:39 ` Jason Wessel
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2012-05-22 18:46 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 05/22/2012 11:06 AM, Jason Wessel wrote:
> If you use a shared state cache and build a large file system,
> followed by a small one, the qemu will be built with jpeg support.
>
Is jpeg optional for qemu? Do you know why it's included in the first
place? Can it be disabled via a --disable in the configure stage?
Sau!
> Building ultra small file systems leaves out jpeg as a dependency
> for the host tool, and when using a sstate cache you end up with
> the following error using runqemu:
>
> qemu: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
>
> The work around is to execute:
> bitbake jpeg-native
>
> Signed-off-by: Jason Wessel<jason.wessel@windriver.com>
> ---
> meta/recipes-devtools/qemu/qemu.inc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
> index 93325c3..bd9e5bf 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -1,7 +1,7 @@
> DESCRIPTION = "open source processor emulator"
> HOMEPAGE = "http://qemu.org"
> LICENSE = "GPLv2& LGPLv2.1"
> -DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11"
> +DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 jpeg"
>
> # QEMU_TARGETS is overridable variable
> QEMU_TARGETS ?= "arm i386 mips mipsel mips64 mips64el ppc sh4 x86_64"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] recipes-devtools/qemu/qemu.inc: Add jpeg as a dependency
2012-05-22 18:46 ` Saul Wold
@ 2012-05-22 23:39 ` Jason Wessel
0 siblings, 0 replies; 3+ messages in thread
From: Jason Wessel @ 2012-05-22 23:39 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
On 05/22/2012 01:46 PM, Saul Wold wrote:
> On 05/22/2012 11:06 AM, Jason Wessel wrote:
>> If you use a shared state cache and build a large file system,
>> followed by a small one, the qemu will be built with jpeg support.
>>
> Is jpeg optional for qemu? Do you know why it's included in the first
> place? Can it be disabled via a --disable in the configure stage?
>
Yes to both.
Looks like you have already patched it a different way. I guess
if someone needs the libjpeg they'll bbappend away.
Thanks,
Jason.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-22 23:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 18:06 [PATCH] recipes-devtools/qemu/qemu.inc: Add jpeg as a dependency Jason Wessel
2012-05-22 18:46 ` Saul Wold
2012-05-22 23:39 ` Jason Wessel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.