Patchwork [4/4] qemu: add bash and python to qemu's RDEPENDS

login
register
mail settings
Submitter Hongxu Jia
Date Nov. 21, 2013, 1:14 p.m.
Message ID <0e29f77b1778e75f547289c20e670fc0ffd5e070.1385039538.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/62151/
State New
Headers show

Comments

Hongxu Jia - Nov. 21, 2013, 1:14 p.m.
| Note: adding Smart RPM DB channel
|
| Note: to be installed:  qemu@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
| Loading cache...
| Updating cache...               ######################################## [100%]
|
| Computing transaction...error: Can't install qemu-1.5.0-r0.0@x86_64: no package provides /usr/bin/python
|
| Saving cache...
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.21373)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)
Saul Wold - Nov. 21, 2013, 6:42 p.m.
Why are you adding bash to qemu?

Sau!


On 11/21/2013 05:14 AM, Hongxu Jia wrote:
> | Note: adding Smart RPM DB channel
> |
> | Note: to be installed:  qemu@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
> | Loading cache...
> | Updating cache...               ######################################## [100%]
> |
> | Computing transaction...error: Can't install qemu-1.5.0-r0.0@x86_64: no package provides /usr/bin/python
> |
> | Saving cache...
> |
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.21373)
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
>   meta/recipes-devtools/qemu/qemu.inc | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
> index 21ce489..3f3431d 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -5,6 +5,7 @@ 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-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
>   RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
> +RDEPENDS_${PN}_class-target += "bash python"
>
>   require qemu-targets.inc
>   inherit autotools
>
Mark Hatle - Nov. 21, 2013, 7:40 p.m.
On 11/21/13, 12:42 PM, Saul Wold wrote:
>
> Why are you adding bash to qemu?

My understanding is that there was a bash script that was added as well, once 
the python rdepends was resolved.

--Mark

> Sau!
>
>
> On 11/21/2013 05:14 AM, Hongxu Jia wrote:
>> | Note: adding Smart RPM DB channel
>> |
>> | Note: to be installed:  qemu@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
>> | Loading cache...
>> | Updating cache...               ######################################## [100%]
>> |
>> | Computing transaction...error: Can't install qemu-1.5.0-r0.0@x86_64: no package provides /usr/bin/python
>> |
>> | Saving cache...
>> |
>> | WARNING: exit code 1 from a shell command.
>> | ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.21373)
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> ---
>>    meta/recipes-devtools/qemu/qemu.inc | 1 +
>>    1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
>> index 21ce489..3f3431d 100644
>> --- a/meta/recipes-devtools/qemu/qemu.inc
>> +++ b/meta/recipes-devtools/qemu/qemu.inc
>> @@ -5,6 +5,7 @@ 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-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
>>    RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
>> +RDEPENDS_${PN}_class-target += "bash python"
>>
>>    require qemu-targets.inc
>>    inherit autotools
>>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
Saul Wold - Nov. 21, 2013, 7:42 p.m.
On 11/21/2013 11:40 AM, Mark Hatle wrote:
> On 11/21/13, 12:42 PM, Saul Wold wrote:
>>
>> Why are you adding bash to qemu?
>
> My understanding is that there was a bash script that was added as well,
> once the python rdepends was resolved.
>
Any chance of "de-bashing" the script?

Sau!
> --Mark
>
>> Sau!
>>
>>
>> On 11/21/2013 05:14 AM, Hongxu Jia wrote:
>>> | Note: adding Smart RPM DB channel
>>> |
>>> | Note: to be installed:  qemu@x86_64 run-postinsts@x86_64
>>> kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
>>> | Loading cache...
>>> | Updating cache...
>>> ######################################## [100%]
>>> |
>>> | Computing transaction...error: Can't install
>>> qemu-1.5.0-r0.0@x86_64: no package provides /usr/bin/python
>>> |
>>> | Saving cache...
>>> |
>>> | WARNING: exit code 1 from a shell command.
>>> | ERROR: Function failed: do_rootfs (log file is located at
>>> tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.21373)
>>>
>>>
>>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>>> ---
>>>    meta/recipes-devtools/qemu/qemu.inc | 1 +
>>>    1 file changed, 1 insertion(+)
>>>
>>> diff --git a/meta/recipes-devtools/qemu/qemu.inc
>>> b/meta/recipes-devtools/qemu/qemu.inc
>>> index 21ce489..3f3431d 100644
>>> --- a/meta/recipes-devtools/qemu/qemu.inc
>>> +++ b/meta/recipes-devtools/qemu/qemu.inc
>>> @@ -5,6 +5,7 @@ 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-nativesdk = "nativesdk-zlib nativesdk-libsdl
>>> nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
>>>    RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
>>> +RDEPENDS_${PN}_class-target += "bash python"
>>>
>>>    require qemu-targets.inc
>>>    inherit autotools
>>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
Hongxu Jia - Nov. 22, 2013, 1:52 a.m.
On 11/22/2013 03:42 AM, Saul Wold wrote:
> On 11/21/2013 11:40 AM, Mark Hatle wrote:
>> On 11/21/13, 12:42 PM, Saul Wold wrote:
>>>
>>> Why are you adding bash to qemu?
>>
>> My understanding is that there was a bash script that was added as well,
>> once the python rdepends was resolved.
Actually the bash script break the build first, and then the python's.

>>
> Any chance of "de-bashing" the script?
I will try it.

//Hongxu

>
> Sau!
>> --Mark
>>
>>> Sau!
>>>
>>>
>>> On 11/21/2013 05:14 AM, Hongxu Jia wrote:
>>>> | Note: adding Smart RPM DB channel
>>>> |
>>>> | Note: to be installed:  qemu@x86_64 run-postinsts@x86_64
>>>> kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
>>>> | Loading cache...
>>>> | Updating cache...
>>>> ######################################## [100%]
>>>> |
>>>> | Computing transaction...error: Can't install
>>>> qemu-1.5.0-r0.0@x86_64: no package provides /usr/bin/python
>>>> |
>>>> | Saving cache...
>>>> |
>>>> | WARNING: exit code 1 from a shell command.
>>>> | ERROR: Function failed: do_rootfs (log file is located at
>>>> tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.21373) 
>>>>
>>>>
>>>>
>>>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>>>> ---
>>>>    meta/recipes-devtools/qemu/qemu.inc | 1 +
>>>>    1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/meta/recipes-devtools/qemu/qemu.inc
>>>> b/meta/recipes-devtools/qemu/qemu.inc
>>>> index 21ce489..3f3431d 100644
>>>> --- a/meta/recipes-devtools/qemu/qemu.inc
>>>> +++ b/meta/recipes-devtools/qemu/qemu.inc
>>>> @@ -5,6 +5,7 @@ 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-nativesdk = "nativesdk-zlib nativesdk-libsdl
>>>> nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
>>>>    RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
>>>> +RDEPENDS_${PN}_class-target += "bash python"
>>>>
>>>>    require qemu-targets.inc
>>>>    inherit autotools
>>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 21ce489..3f3431d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -5,6 +5,7 @@  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-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
 RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
+RDEPENDS_${PN}_class-target += "bash python"
 
 require qemu-targets.inc
 inherit autotools