Openembedded Core Discussions
 help / color / mirror / Atom feed
* mpc8315e-rdb core-image-minimal fails
@ 2011-07-28 14:26 Kumar Gala
  2011-07-28 15:42 ` [yocto] " Crossley, Malcolm (GE Intelligent Platforms)
  0 siblings, 1 reply; 9+ messages in thread
From: Kumar Gala @ 2011-07-28 14:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Yocto discussion list

Anyone got any ideas about the following:

| ERROR: Function 'do_rootfs' failed (see /local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu
rther information)
| Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb...
|    total:               1      0.000000 MB      1.573137 secs
|    fingerprint:       816      0.004148 MB      0.062215 secs
|    install:           272      0.000000 MB      0.384963 secs
|    dbadd:             272      0.000000 MB      0.375238 secs
|    dbget:            1111      0.000000 MB      0.003093 secs
|    dbput:             272      1.315744 MB      0.302582 secs
|    readhdr:          2721      2.573624 MB      0.178385 secs
|    hdrload:          1360      3.828344 MB      0.007262 secs
|    hdrget:          49259      0.000000 MB      0.048944 secs
| Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.111129 secs
|    fingerprint:        18      0.000024 MB      0.000280 secs
|    install:             6      0.000000 MB      0.044466 secs
|    dbadd:               6      0.000000 MB      0.039504 secs
|    dbget:              19      0.000000 MB      0.000103 secs
|    dbput:               6      0.018916 MB      0.006250 secs
|    readhdr:            61      0.038096 MB      0.000212 secs
|    hdrload:            33      0.063864 MB      0.000327 secs
|    hdrget:            983      0.000000 MB      0.001306 secs
| Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
| Processing task-core-boot...
| error: Failed dependencies:
|       tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       modutils-initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       update-alternatives-cworth is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb
|       initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb
|       /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb
NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'
ERROR: '/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.bb' failed

- k


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails
  2011-07-28 14:26 mpc8315e-rdb core-image-minimal fails Kumar Gala
@ 2011-07-28 15:42 ` Crossley, Malcolm (GE Intelligent Platforms)
  2011-07-28 15:45   ` Kumar Gala
  0 siblings, 1 reply; 9+ messages in thread
From: Crossley, Malcolm (GE Intelligent Platforms) @ 2011-07-28 15:42 UTC (permalink / raw)
  To: Kumar Gala, Patches and discussions about the oe-core layer
  Cc: Yocto discussion list

Hi Kumar,

I'm just debugging the same issue.

It's caused by folder for the target specific packages being mis-named
"powerpcppc603e" instead of "ppc603e" which the rpm package bbclass is
expecting. 

I haven't figured out why this is happening yet but I have a workaround
which is to move ${BUILD_DIR}/deploy/rpm/powerpcppc603e to
${BUILD_DIR}/deploy/rpm/ppc603e.

I will let you know as soon as I find the cause. 

Regards

Malcolm

-----Original Message-----
From: yocto-bounces@yoctoproject.org
[mailto:yocto-bounces@yoctoproject.org] On Behalf Of Kumar Gala
Sent: 28 July 2011 15:26
To: Patches and discussions about the oe-core layer
Cc: Yocto discussion list
Subject: [yocto] mpc8315e-rdb core-image-minimal fails

Anyone got any ideas about the following:

| ERROR: Function 'do_rootfs' failed (see
/local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-i
mage-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu
rther information)
| Generating solve db for
/local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb...
|    total:               1      0.000000 MB      1.573137 secs
|    fingerprint:       816      0.004148 MB      0.062215 secs
|    install:           272      0.000000 MB      0.384963 secs
|    dbadd:             272      0.000000 MB      0.375238 secs
|    dbget:            1111      0.000000 MB      0.003093 secs
|    dbput:             272      1.315744 MB      0.302582 secs
|    readhdr:          2721      2.573624 MB      0.178385 secs
|    hdrload:          1360      3.828344 MB      0.007262 secs
|    hdrget:          49259      0.000000 MB      0.048944 secs
| Generating solve db for
/local/home/galak/git/poky/build/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.111129 secs
|    fingerprint:        18      0.000024 MB      0.000280 secs
|    install:             6      0.000000 MB      0.044466 secs
|    dbadd:               6      0.000000 MB      0.039504 secs
|    dbget:              19      0.000000 MB      0.000103 secs
|    dbput:               6      0.018916 MB      0.006250 secs
|    readhdr:            61      0.038096 MB      0.000212 secs
|    hdrload:            33      0.063864 MB      0.000327 secs
|    hdrget:            983      0.000000 MB      0.001306 secs
| Generating solve db for
/local/home/galak/git/poky/build/tmp/deploy/rpm/all...
| Processing task-core-boot...
| error: Failed dependencies:
|       tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       modutils-initscripts is needed by
task-core-boot-1.0-r7.mpc8315e_rdb
|       initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       update-alternatives-cworth is needed by
task-core-boot-1.0-r7.mpc8315e_rdb
|       udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb
|       console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb
|       initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb
|       /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb
NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task 8
(/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
bb, do_rootfs) failed with exit code '1'
ERROR:
'/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
bb' failed

- k
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails
  2011-07-28 15:42 ` [yocto] " Crossley, Malcolm (GE Intelligent Platforms)
@ 2011-07-28 15:45   ` Kumar Gala
  2011-07-28 16:05     ` Saul Wold
  0 siblings, 1 reply; 9+ messages in thread
From: Kumar Gala @ 2011-07-28 15:45 UTC (permalink / raw)
  To: Crossley, Malcolm (GE Intelligent Platforms)
  Cc: Yocto discussion list,
	Patches and discussions about the oe-core layer

I think I know the cause, let me dig up the change that is related.  What bit is looking for just ppc603e?

- k

On Jul 28, 2011, at 10:42 AM, Crossley, Malcolm (GE Intelligent Platforms) wrote:

> Hi Kumar,
> 
> I'm just debugging the same issue.
> 
> It's caused by folder for the target specific packages being mis-named
> "powerpcppc603e" instead of "ppc603e" which the rpm package bbclass is
> expecting. 
> 
> I haven't figured out why this is happening yet but I have a workaround
> which is to move ${BUILD_DIR}/deploy/rpm/powerpcppc603e to
> ${BUILD_DIR}/deploy/rpm/ppc603e.
> 
> I will let you know as soon as I find the cause. 
> 
> Regards
> 
> Malcolm
> 
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org
> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Kumar Gala
> Sent: 28 July 2011 15:26
> To: Patches and discussions about the oe-core layer
> Cc: Yocto discussion list
> Subject: [yocto] mpc8315e-rdb core-image-minimal fails
> 
> Anyone got any ideas about the following:
> 
> | ERROR: Function 'do_rootfs' failed (see
> /local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-i
> mage-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu
> rther information)
> | Generating solve db for
> /local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb...
> |    total:               1      0.000000 MB      1.573137 secs
> |    fingerprint:       816      0.004148 MB      0.062215 secs
> |    install:           272      0.000000 MB      0.384963 secs
> |    dbadd:             272      0.000000 MB      0.375238 secs
> |    dbget:            1111      0.000000 MB      0.003093 secs
> |    dbput:             272      1.315744 MB      0.302582 secs
> |    readhdr:          2721      2.573624 MB      0.178385 secs
> |    hdrload:          1360      3.828344 MB      0.007262 secs
> |    hdrget:          49259      0.000000 MB      0.048944 secs
> | Generating solve db for
> /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
> |    total:               1      0.000000 MB      0.111129 secs
> |    fingerprint:        18      0.000024 MB      0.000280 secs
> |    install:             6      0.000000 MB      0.044466 secs
> |    dbadd:               6      0.000000 MB      0.039504 secs
> |    dbget:              19      0.000000 MB      0.000103 secs
> |    dbput:               6      0.018916 MB      0.006250 secs
> |    readhdr:            61      0.038096 MB      0.000212 secs
> |    hdrload:            33      0.063864 MB      0.000327 secs
> |    hdrget:            983      0.000000 MB      0.001306 secs
> | Generating solve db for
> /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
> | Processing task-core-boot...
> | error: Failed dependencies:
> |       tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       modutils-initscripts is needed by
> task-core-boot-1.0-r7.mpc8315e_rdb
> |       initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       update-alternatives-cworth is needed by
> task-core-boot-1.0-r7.mpc8315e_rdb
> |       udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb
> |       console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb
> |       initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb
> |       /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb
> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
> ERROR: Task 8
> (/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
> bb, do_rootfs) failed with exit code '1'
> ERROR:
> '/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
> bb' failed
> 
> - k
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails
  2011-07-28 15:45   ` Kumar Gala
@ 2011-07-28 16:05     ` Saul Wold
  2011-07-28 16:08       ` Kumar Gala
  2011-07-28 18:43       ` [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question) Kumar Gala
  0 siblings, 2 replies; 9+ messages in thread
From: Saul Wold @ 2011-07-28 16:05 UTC (permalink / raw)
  To: Kumar Gala
  Cc: Yocto discussion list,
	Patches and discussions about the oe-core layer,
	Crossley, Malcolm (GE Intelligent Platforms)

On 07/28/2011 08:45 AM, Kumar Gala wrote:
> I think I know the cause, let me dig up the change that is related.  What bit is looking for just ppc603e?
>
This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try 
the patch that Koen posted.

Thanks
	Sau!

> - k
>
> On Jul 28, 2011, at 10:42 AM, Crossley, Malcolm (GE Intelligent Platforms) wrote:
>
>> Hi Kumar,
>>
>> I'm just debugging the same issue.
>>
>> It's caused by folder for the target specific packages being mis-named
>> "powerpcppc603e" instead of "ppc603e" which the rpm package bbclass is
>> expecting.
>>
>> I haven't figured out why this is happening yet but I have a workaround
>> which is to move ${BUILD_DIR}/deploy/rpm/powerpcppc603e to
>> ${BUILD_DIR}/deploy/rpm/ppc603e.
>>
>> I will let you know as soon as I find the cause.
>>
>> Regards
>>
>> Malcolm
>>
>> -----Original Message-----
>> From: yocto-bounces@yoctoproject.org
>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Kumar Gala
>> Sent: 28 July 2011 15:26
>> To: Patches and discussions about the oe-core layer
>> Cc: Yocto discussion list
>> Subject: [yocto] mpc8315e-rdb core-image-minimal fails
>>
>> Anyone got any ideas about the following:
>>
>> | ERROR: Function 'do_rootfs' failed (see
>> /local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-i
>> mage-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu
>> rther information)
>> | Generating solve db for
>> /local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb...
>> |    total:               1      0.000000 MB      1.573137 secs
>> |    fingerprint:       816      0.004148 MB      0.062215 secs
>> |    install:           272      0.000000 MB      0.384963 secs
>> |    dbadd:             272      0.000000 MB      0.375238 secs
>> |    dbget:            1111      0.000000 MB      0.003093 secs
>> |    dbput:             272      1.315744 MB      0.302582 secs
>> |    readhdr:          2721      2.573624 MB      0.178385 secs
>> |    hdrload:          1360      3.828344 MB      0.007262 secs
>> |    hdrget:          49259      0.000000 MB      0.048944 secs
>> | Generating solve db for
>> /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
>> |    total:               1      0.000000 MB      0.111129 secs
>> |    fingerprint:        18      0.000024 MB      0.000280 secs
>> |    install:             6      0.000000 MB      0.044466 secs
>> |    dbadd:               6      0.000000 MB      0.039504 secs
>> |    dbget:              19      0.000000 MB      0.000103 secs
>> |    dbput:               6      0.018916 MB      0.006250 secs
>> |    readhdr:            61      0.038096 MB      0.000212 secs
>> |    hdrload:            33      0.063864 MB      0.000327 secs
>> |    hdrget:            983      0.000000 MB      0.001306 secs
>> | Generating solve db for
>> /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
>> | Processing task-core-boot...
>> | error: Failed dependencies:
>> |       tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       modutils-initscripts is needed by
>> task-core-boot-1.0-r7.mpc8315e_rdb
>> |       initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       update-alternatives-cworth is needed by
>> task-core-boot-1.0-r7.mpc8315e_rdb
>> |       udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>> |       console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb
>> |       initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb
>> |       /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb
>> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
>> ERROR: Task 8
>> (/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
>> bb, do_rootfs) failed with exit code '1'
>> ERROR:
>> '/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
>> bb' failed
>>
>> - k
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails
  2011-07-28 16:05     ` Saul Wold
@ 2011-07-28 16:08       ` Kumar Gala
  2011-07-28 18:43       ` [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question) Kumar Gala
  1 sibling, 0 replies; 9+ messages in thread
From: Kumar Gala @ 2011-07-28 16:08 UTC (permalink / raw)
  To: Saul Wold
  Cc: Yocto discussion list,
	Patches and discussions about the oe-core layer,
	Crossley, Malcolm (GE Intelligent Platforms)

I have, it doesn't help.  I believe its partly due to how we are appending to TUNE_PKGARCH, but what's not clear to me is what case is failing and looking for just ppc603e instead of powerpcppc603e

- k

On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:

> On 07/28/2011 08:45 AM, Kumar Gala wrote:
>> I think I know the cause, let me dig up the change that is related.  What bit is looking for just ppc603e?
>> 
> This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted.
> 
> Thanks
> 	Sau!
> 
>> - k
>> 
>> On Jul 28, 2011, at 10:42 AM, Crossley, Malcolm (GE Intelligent Platforms) wrote:
>> 
>>> Hi Kumar,
>>> 
>>> I'm just debugging the same issue.
>>> 
>>> It's caused by folder for the target specific packages being mis-named
>>> "powerpcppc603e" instead of "ppc603e" which the rpm package bbclass is
>>> expecting.
>>> 
>>> I haven't figured out why this is happening yet but I have a workaround
>>> which is to move ${BUILD_DIR}/deploy/rpm/powerpcppc603e to
>>> ${BUILD_DIR}/deploy/rpm/ppc603e.
>>> 
>>> I will let you know as soon as I find the cause.
>>> 
>>> Regards
>>> 
>>> Malcolm
>>> 
>>> -----Original Message-----
>>> From: yocto-bounces@yoctoproject.org
>>> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Kumar Gala
>>> Sent: 28 July 2011 15:26
>>> To: Patches and discussions about the oe-core layer
>>> Cc: Yocto discussion list
>>> Subject: [yocto] mpc8315e-rdb core-image-minimal fails
>>> 
>>> Anyone got any ideas about the following:
>>> 
>>> | ERROR: Function 'do_rootfs' failed (see
>>> /local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-i
>>> mage-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu
>>> rther information)
>>> | Generating solve db for
>>> /local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb...
>>> |    total:               1      0.000000 MB      1.573137 secs
>>> |    fingerprint:       816      0.004148 MB      0.062215 secs
>>> |    install:           272      0.000000 MB      0.384963 secs
>>> |    dbadd:             272      0.000000 MB      0.375238 secs
>>> |    dbget:            1111      0.000000 MB      0.003093 secs
>>> |    dbput:             272      1.315744 MB      0.302582 secs
>>> |    readhdr:          2721      2.573624 MB      0.178385 secs
>>> |    hdrload:          1360      3.828344 MB      0.007262 secs
>>> |    hdrget:          49259      0.000000 MB      0.048944 secs
>>> | Generating solve db for
>>> /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
>>> |    total:               1      0.000000 MB      0.111129 secs
>>> |    fingerprint:        18      0.000024 MB      0.000280 secs
>>> |    install:             6      0.000000 MB      0.044466 secs
>>> |    dbadd:               6      0.000000 MB      0.039504 secs
>>> |    dbget:              19      0.000000 MB      0.000103 secs
>>> |    dbput:               6      0.018916 MB      0.006250 secs
>>> |    readhdr:            61      0.038096 MB      0.000212 secs
>>> |    hdrload:            33      0.063864 MB      0.000327 secs
>>> |    hdrget:            983      0.000000 MB      0.001306 secs
>>> | Generating solve db for
>>> /local/home/galak/git/poky/build/tmp/deploy/rpm/all...
>>> | Processing task-core-boot...
>>> | error: Failed dependencies:
>>> |       tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       modutils-initscripts is needed by
>>> task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       update-alternatives-cworth is needed by
>>> task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb
>>> |       console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb
>>> |       initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb
>>> |       /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb
>>> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
>>> ERROR: Task 8
>>> (/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
>>> bb, do_rootfs) failed with exit code '1'
>>> ERROR:
>>> '/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.
>>> bb' failed
>>> 
>>> - k
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>> 




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
  2011-07-28 16:05     ` Saul Wold
  2011-07-28 16:08       ` Kumar Gala
@ 2011-07-28 18:43       ` Kumar Gala
  2011-07-28 18:54         ` Martin Jansa
  1 sibling, 1 reply; 9+ messages in thread
From: Kumar Gala @ 2011-07-28 18:43 UTC (permalink / raw)
  To: Saul Wold
  Cc: Yocto discussion list,
	Patches and discussions about the oe-core layer,
	Crossley, Malcolm (GE Intelligent Platforms)


On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:

> On 07/28/2011 08:45 AM, Kumar Gala wrote:
>> I think I know the cause, let me dig up the change that is related.  What bit is looking for just ppc603e?
>> 
> This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted.
> 
> Thanks
> 	Sau!

so in conf/bitbake.conf

PACKAGE_ARCH = "${TUNE_PKGARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}"
PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"


Shouldn't PACKAGE_ARCHS be:

PACKAGE_ARCHS = "all any noarch ${PACKAGE_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"

- k


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
  2011-07-28 18:43       ` [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question) Kumar Gala
@ 2011-07-28 18:54         ` Martin Jansa
  2011-07-28 19:04           ` Phil Blundell
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2011-07-28 18:54 UTC (permalink / raw)
  To: Kumar Gala
  Cc: Yocto discussion list,
	Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

On Thu, Jul 28, 2011 at 01:43:45PM -0500, Kumar Gala wrote:
> 
> On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:
> 
> > On 07/28/2011 08:45 AM, Kumar Gala wrote:
> >> I think I know the cause, let me dig up the change that is related.  What bit is looking for just ppc603e?
> >> 
> > This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted.
> > 
> > Thanks
> > 	Sau!
> 
> so in conf/bitbake.conf
> 
> PACKAGE_ARCH = "${TUNE_PKGARCH}"
> MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
> PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}"
> PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
> 
> 
> Shouldn't PACKAGE_ARCHS be:
> 
> PACKAGE_ARCHS = "all any noarch ${PACKAGE_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"

this change causes ERROR here with nokia900:
Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: armv7a-vfp-neon

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
  2011-07-28 18:54         ` Martin Jansa
@ 2011-07-28 19:04           ` Phil Blundell
  2011-07-28 20:17             ` Kumar Gala
  0 siblings, 1 reply; 9+ messages in thread
From: Phil Blundell @ 2011-07-28 19:04 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Yocto discussion list

On Thu, 2011-07-28 at 20:54 +0200, Martin Jansa wrote:
> this change causes ERROR here with nokia900:
> Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: armv7a-vfp-neon

It isn't totally obvious to me that it needs to be an error for
PACKAGE_ARCHS to contain dupes.  AFAIK there is no reason that it
couldn't simply be uniquified before use.

p.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
  2011-07-28 19:04           ` Phil Blundell
@ 2011-07-28 20:17             ` Kumar Gala
  0 siblings, 0 replies; 9+ messages in thread
From: Kumar Gala @ 2011-07-28 20:17 UTC (permalink / raw)
  To: Phil Blundell
  Cc: Yocto discussion list,
	Patches and discussions about the oe-core layer


On Jul 28, 2011, at 2:04 PM, Phil Blundell wrote:

> On Thu, 2011-07-28 at 20:54 +0200, Martin Jansa wrote:
>> this change causes ERROR here with nokia900:
>> Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: armv7a-vfp-neon
> 
> It isn't totally obvious to me that it needs to be an error for
> PACKAGE_ARCHS to contain dupes.  AFAIK there is no reason that it
> couldn't simply be uniquified before use.
> 
> p.
> 

Ok, maybe we want:

-PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
+PACKAGE_ARCHS = "all any noarch ${TUNE_PKGARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"

instead as we redefine PACKAGE_ARCH in different places.

- k


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-28 20:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 14:26 mpc8315e-rdb core-image-minimal fails Kumar Gala
2011-07-28 15:42 ` [yocto] " Crossley, Malcolm (GE Intelligent Platforms)
2011-07-28 15:45   ` Kumar Gala
2011-07-28 16:05     ` Saul Wold
2011-07-28 16:08       ` Kumar Gala
2011-07-28 18:43       ` [yocto] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question) Kumar Gala
2011-07-28 18:54         ` Martin Jansa
2011-07-28 19:04           ` Phil Blundell
2011-07-28 20:17             ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox