* [PATCH 0/1] Fix qemu failed to start on Fedora 19 @ 2013-08-16 10:05 Kai Kang 2013-08-16 10:05 ` [PATCH 1/1] qemu: update dependency of native package Kai Kang 0 siblings, 1 reply; 6+ messages in thread From: Kai Kang @ 2013-08-16 10:05 UTC (permalink / raw) To: sgw; +Cc: Zhangle.Yang, openembedded-core The following changes since commit ff10f72abda52315b892c64f711096772d9a4c1c: meta-skeleton: Add busybox config fragment example (2013-08-13 23:06:04 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib kangkai/qemu-native http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/qemu-native Kai Kang (1): qemu: update dependency of native package meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.1.2 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] qemu: update dependency of native package 2013-08-16 10:05 [PATCH 0/1] Fix qemu failed to start on Fedora 19 Kai Kang @ 2013-08-16 10:05 ` Kai Kang 2013-08-16 10:47 ` Richard Purdie 0 siblings, 1 reply; 6+ messages in thread From: Kai Kang @ 2013-08-16 10:05 UTC (permalink / raw) To: sgw; +Cc: Zhangle.Yang, openembedded-core [YOCTO #4973] It fails to start qemu with core-image-sato on Fedora 19. The error message shows: Could not initialize SDL(No available video device) - exiting Add dependecy libxext-native to qemu-native to fix this error. Signed-off-by: Kai Kang <kai.kang@windriver.com> --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 97e9b7b..a96e00c 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -2,7 +2,7 @@ DESCRIPTION = "open source processor emulator" HOMEPAGE = "http://qemu.org" LICENSE = "GPLv2 & LGPLv2.1" DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" -DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" +DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native libxext-native" DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] qemu: update dependency of native package 2013-08-16 10:05 ` [PATCH 1/1] qemu: update dependency of native package Kai Kang @ 2013-08-16 10:47 ` Richard Purdie 2013-08-16 15:55 ` Stanacar, StefanX 2013-08-19 2:02 ` Kang Kai 0 siblings, 2 replies; 6+ messages in thread From: Richard Purdie @ 2013-08-16 10:47 UTC (permalink / raw) To: Kai Kang; +Cc: openembedded-core, Zhangle.Yang On Fri, 2013-08-16 at 18:05 +0800, Kai Kang wrote: > [YOCTO #4973] > > It fails to start qemu with core-image-sato on Fedora 19. The error > message shows: > > Could not initialize SDL(No available video device) - exiting > > Add dependecy libxext-native to qemu-native to fix this error. > > Signed-off-by: Kai Kang <kai.kang@windriver.com> > --- > meta/recipes-devtools/qemu/qemu.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc > index 97e9b7b..a96e00c 100644 > --- a/meta/recipes-devtools/qemu/qemu.inc > +++ b/meta/recipes-devtools/qemu/qemu.inc > @@ -2,7 +2,7 @@ DESCRIPTION = "open source processor emulator" > HOMEPAGE = "http://qemu.org" > LICENSE = "GPLv2 & LGPLv2.1" > DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" > -DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" > +DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native libxext-native" > DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" > RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" This is one of the ugly dependencies we've tried to ignore. We basically assume if your build machine has graphics, you have the devel headers/libs there and qemu will autodetect and include graphics support. Equally, if your build machine doesn't, it just won't build graphics support. In general most people seem happy with this even if its imperfect. Adding libxext-native upsets this balance a little... Cheers, Richard ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] qemu: update dependency of native package 2013-08-16 10:47 ` Richard Purdie @ 2013-08-16 15:55 ` Stanacar, StefanX 2013-08-19 2:06 ` Kang Kai 2013-08-19 2:02 ` Kang Kai 1 sibling, 1 reply; 6+ messages in thread From: Stanacar, StefanX @ 2013-08-16 15:55 UTC (permalink / raw) To: Richard Purdie, Kai Kang Cc: Zhangle.Yang@windriver.com, openembedded-core@lists.openembedded.org > -----Original Message----- > From: openembedded-core-bounces@lists.openembedded.org > [mailto:openembedded-core-bounces@lists.openembedded.org] On > Behalf Of Richard Purdie > Sent: Friday, August 16, 2013 1:48 PM > To: Kai Kang > Cc: openembedded-core@lists.openembedded.org; > Zhangle.Yang@windriver.com > Subject: Re: [OE-core] [PATCH 1/1] qemu: update dependency of native > package > > On Fri, 2013-08-16 at 18:05 +0800, Kai Kang wrote: > > [YOCTO #4973] > > > > It fails to start qemu with core-image-sato on Fedora 19. The error > > message shows: > > > > Could not initialize SDL(No available video device) - exiting > > > > Add dependecy libxext-native to qemu-native to fix this error. > > > > Signed-off-by: Kai Kang <kai.kang@windriver.com> > > --- > > meta/recipes-devtools/qemu/qemu.inc | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes- > devtools/qemu/qemu.inc > > index 97e9b7b..a96e00c 100644 > > --- a/meta/recipes-devtools/qemu/qemu.inc > > +++ b/meta/recipes-devtools/qemu/qemu.inc > > @@ -2,7 +2,7 @@ DESCRIPTION = "open source processor emulator" > > HOMEPAGE = "http://qemu.org" > > LICENSE = "GPLv2 & LGPLv2.1" > > DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" > > -DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native > pixman-native dtc-native" > > +DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native > pixman-native dtc-native libxext-native" > > DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk- > glib-2.0 nativesdk-pixman nativesdk-dtc" > > RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" > > This is one of the ugly dependencies we've tried to ignore. > > We basically assume if your build machine has graphics, you have the > devel headers/libs there and qemu will autodetect and include graphics > support. Equally, if your build machine doesn't, it just won't build > graphics support. In general most people seem happy with this even if > its imperfect. > But, but... I do have libxext and libxext-devel installed... (and minimal works just fine as the bug says) libXext-1.3.2-1.fc19.x86_64 libXext-devel-1.3.2-1.fc19.x86_64 Also strace shows: open("/lib64/libXext.so.6", O_RDONLY|O_CLOEXEC) = 11 read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`7`U1\0\0\0"..., 832) = 832 fstat(11, {st_mode=S_IFREG|0755, st_size=77376, ...}) = 0 mmap(NULL, 2169112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f0a493ee000 mprotect(0x7f0a493ff000, 2093056, PROT_NONE) = 0 mmap(0x7f0a495fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x10000) = 0x7f0a495fe000 close(11) = 0 The F18 system which doesn't have a problem with sato has: libXext-1.3.1-3.20130524gitdfe6e1f3b.fc18.x86_64 libXext-devel-1.3.1-3.20130524gitdfe6e1f3b.fc18.x86_64 Cheers, Stefan > Adding libxext-native upsets this balance a little... > > Cheers, > > Richard > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] qemu: update dependency of native package 2013-08-16 15:55 ` Stanacar, StefanX @ 2013-08-19 2:06 ` Kang Kai 0 siblings, 0 replies; 6+ messages in thread From: Kang Kai @ 2013-08-19 2:06 UTC (permalink / raw) To: Stanacar, StefanX Cc: Zhangle.Yang@windriver.com, openembedded-core@lists.openembedded.org On 2013年08月16日 23:55, Stanacar, StefanX wrote: >> -----Original Message----- >> From: openembedded-core-bounces@lists.openembedded.org >> [mailto:openembedded-core-bounces@lists.openembedded.org] On >> Behalf Of Richard Purdie >> Sent: Friday, August 16, 2013 1:48 PM >> To: Kai Kang >> Cc: openembedded-core@lists.openembedded.org; >> Zhangle.Yang@windriver.com >> Subject: Re: [OE-core] [PATCH 1/1] qemu: update dependency of native >> package >> >> On Fri, 2013-08-16 at 18:05 +0800, Kai Kang wrote: >>> [YOCTO #4973] >>> >>> It fails to start qemu with core-image-sato on Fedora 19. The error >>> message shows: >>> >>> Could not initialize SDL(No available video device) - exiting >>> >>> Add dependecy libxext-native to qemu-native to fix this error. >>> >>> Signed-off-by: Kai Kang <kai.kang@windriver.com> >>> --- >>> meta/recipes-devtools/qemu/qemu.inc | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes- >> devtools/qemu/qemu.inc >>> index 97e9b7b..a96e00c 100644 >>> --- a/meta/recipes-devtools/qemu/qemu.inc >>> +++ b/meta/recipes-devtools/qemu/qemu.inc >>> @@ -2,7 +2,7 @@ DESCRIPTION = "open source processor emulator" >>> HOMEPAGE = "http://qemu.org" >>> LICENSE = "GPLv2 & LGPLv2.1" >>> DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" >>> -DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native >> pixman-native dtc-native" >>> +DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native >> pixman-native dtc-native libxext-native" >>> DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk- >> glib-2.0 nativesdk-pixman nativesdk-dtc" >>> RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" >> This is one of the ugly dependencies we've tried to ignore. >> >> We basically assume if your build machine has graphics, you have the >> devel headers/libs there and qemu will autodetect and include graphics >> support. Equally, if your build machine doesn't, it just won't build >> graphics support. In general most people seem happy with this even if >> its imperfect. >> > But, but... I do have libxext and libxext-devel installed... (and minimal works just fine as the bug says) > libXext-1.3.2-1.fc19.x86_64 > libXext-devel-1.3.2-1.fc19.x86_64 > > Also strace shows: > open("/lib64/libXext.so.6", O_RDONLY|O_CLOEXEC) = 11 > read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`7`U1\0\0\0"..., 832) = 832 > fstat(11, {st_mode=S_IFREG|0755, st_size=77376, ...}) = 0 > mmap(NULL, 2169112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0x7f0a493ee000 > mprotect(0x7f0a493ff000, 2093056, PROT_NONE) = 0 > mmap(0x7f0a495fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x10000) = 0x7f0a495fe000 > close(11) = 0 It is a little weird, and it seems we need more work. :) Regards, Kai > > The F18 system which doesn't have a problem with sato has: > > libXext-1.3.1-3.20130524gitdfe6e1f3b.fc18.x86_64 > libXext-devel-1.3.1-3.20130524gitdfe6e1f3b.fc18.x86_64 > > > Cheers, > Stefan > >> Adding libxext-native upsets this balance a little... >> >> Cheers, >> >> Richard >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Regards, Neil | Kai Kang ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] qemu: update dependency of native package 2013-08-16 10:47 ` Richard Purdie 2013-08-16 15:55 ` Stanacar, StefanX @ 2013-08-19 2:02 ` Kang Kai 1 sibling, 0 replies; 6+ messages in thread From: Kang Kai @ 2013-08-19 2:02 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core, Zhangle.Yang On 2013年08月16日 18:47, Richard Purdie wrote: > On Fri, 2013-08-16 at 18:05 +0800, Kai Kang wrote: >> [YOCTO #4973] >> >> It fails to start qemu with core-image-sato on Fedora 19. The error >> message shows: >> >> Could not initialize SDL(No available video device) - exiting >> >> Add dependecy libxext-native to qemu-native to fix this error. >> >> Signed-off-by: Kai Kang <kai.kang@windriver.com> >> --- >> meta/recipes-devtools/qemu/qemu.inc | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc >> index 97e9b7b..a96e00c 100644 >> --- a/meta/recipes-devtools/qemu/qemu.inc >> +++ b/meta/recipes-devtools/qemu/qemu.inc >> @@ -2,7 +2,7 @@ DESCRIPTION = "open source processor emulator" >> HOMEPAGE = "http://qemu.org" >> LICENSE = "GPLv2 & LGPLv2.1" >> DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" >> -DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" >> +DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native libxext-native" >> DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" >> RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" > This is one of the ugly dependencies we've tried to ignore. > > We basically assume if your build machine has graphics, you have the > devel headers/libs there and qemu will autodetect and include graphics > support. Equally, if your build machine doesn't, it just won't build > graphics support. In general most people seem happy with this even if > its imperfect. If qemu has autodected the devel headers/libs and include graphics support, it should be able to boot a target with the graphics. But it fails. I'll check it and find out the reason. Thanks a lot. Kai > > Adding libxext-native upsets this balance a little... > > Cheers, > > Richard > > > > -- Regards, Neil | Kai Kang ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-08-19 2:06 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-08-16 10:05 [PATCH 0/1] Fix qemu failed to start on Fedora 19 Kai Kang 2013-08-16 10:05 ` [PATCH 1/1] qemu: update dependency of native package Kai Kang 2013-08-16 10:47 ` Richard Purdie 2013-08-16 15:55 ` Stanacar, StefanX 2013-08-19 2:06 ` Kang Kai 2013-08-19 2:02 ` Kang Kai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox