* Re: Yocto Project 1.2 Beta testing instructions [not found] ` <F9AC6E797E022941A4CD80AAEDFAD67D43756F@PGSMSX103.gar.corp.intel.com> @ 2012-04-04 18:08 ` Liu, Song 2012-04-10 9:18 ` Paul Eggleton 0 siblings, 1 reply; 6+ messages in thread From: Liu, Song @ 2012-04-04 18:08 UTC (permalink / raw) To: Khor, Boon Pin, yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1312 bytes --] Can someone help answer the following question? This happens during Boon Pin's beta testing using the build at: http://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2.tar.bz2 . Song From: Khor, Boon Pin Sent: Tuesday, April 03, 2012 6:32 PM To: Liu, Song Subject: RE: Yocto Project 1.2 Beta testing instructions Hi Song On my ubuntu 11 .10 64bits machine I run till | Processing task-core-boot... | Manifest: /home/nemo/yp-beta-build/tmp/work/qemux86-poky-linux/core-image-minimal-1.0-r0/rootfs/install/install.manifest | local: 1: -Uhv: bad variable name NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 1329 tasks of which 287 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, do_rootfs Summary: There were 12 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. # Install manifest /home/nemo/yp-beta-build/tmp/deploy/rpm/qemux86/task-core-boot-1.0-r9.qemux86.rpm Maybe I am missing rpm packages in ubuntu ? Thanks Boon Pin [-- Attachment #2: Type: text/html, Size: 6783 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yocto Project 1.2 Beta testing instructions 2012-04-04 18:08 ` Yocto Project 1.2 Beta testing instructions Liu, Song @ 2012-04-10 9:18 ` Paul Eggleton 2012-04-10 17:21 ` Mark Hatle 0 siblings, 1 reply; 6+ messages in thread From: Paul Eggleton @ 2012-04-10 9:18 UTC (permalink / raw) To: yocto; +Cc: Khor, Boon Pin On Wednesday 04 April 2012 18:08:58 Liu, Song wrote: > Can someone help answer the following question? This happens during Boon > Pin's beta testing using the build at: > http://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-8e9f6fc77ac476 > 3f4ed1f6e7b720420c220ba6e2.tar.bz2 . > ... > | Processing task-core-boot... > | Manifest: > | /home/nemo/yp-beta-build/tmp/work/qemux86-poky-linux/core-image-minimal-1 > | .0-r0/rootfs/install/install.manifest local: 1: -Uhv: bad variable name > > NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed > ERROR: Task 8 > (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, > do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 1329 > tasks of which 287 didn't need to be rerun and 1 failed. Sorry for the late reply, presumably this issue is still present? > Maybe I am missing rpm packages in ubuntu ? You don't need to install rpm on the host system, we build rpm-native for that. Mark, any clues what could be going wrong here? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yocto Project 1.2 Beta testing instructions 2012-04-10 9:18 ` Paul Eggleton @ 2012-04-10 17:21 ` Mark Hatle 2012-04-10 23:06 ` Khor, Boon Pin 0 siblings, 1 reply; 6+ messages in thread From: Mark Hatle @ 2012-04-10 17:21 UTC (permalink / raw) To: Paul Eggleton; +Cc: yocto, Khor, Boon Pin On 4/10/12 4:18 AM, Paul Eggleton wrote: > On Wednesday 04 April 2012 18:08:58 Liu, Song wrote: >> Can someone help answer the following question? This happens during Boon >> Pin's beta testing using the build at: >> http://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-8e9f6fc77ac476 >> 3f4ed1f6e7b720420c220ba6e2.tar.bz2 . >> ... >> | Processing task-core-boot... >> | Manifest: >> | /home/nemo/yp-beta-build/tmp/work/qemux86-poky-linux/core-image-minimal-1 >> | .0-r0/rootfs/install/install.manifest local: 1: -Uhv: bad variable name >> >> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed >> ERROR: Task 8 >> (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, >> do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 1329 >> tasks of which 287 didn't need to be rerun and 1 failed. > > Sorry for the late reply, presumably this issue is still present? > >> Maybe I am missing rpm packages in ubuntu ? > > You don't need to install rpm on the host system, we build rpm-native for > that. > > Mark, any clues what could be going wrong here? I've never seen any problem like this before. Below is some analysis and a question at the very end... There are only two places in the system where the string -Uhv exists: package_rpm.bbclass: rpm_common_comand --replacepkgs \ -Uhv ${target_rootfs}/install/total_solution.manifest (rpm_common_comand is a shell function it appears... the arguments to the function are passed, via $@ to an RPM command) rootfs_rpm.bbclass: rootfs_install_packages() { # The pkg to be installed here is not controlled by the # package_install_internal_rpm, so it may have already been # installed(e.g, installed in the first time when generate the # rootfs), use '--replacepkgs' to always install them for pkg in $@; do ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \ -D "__dbi_txn create nofsync private" \ --noscripts --notriggers --noparentdirs --nolinktos \ --replacepkgs -Uhv $pkg || true done } I would guess from the error that it's the one in package_rpm.bbclass that failed.. if that is the case, then all I can think of is what shell? Are we using a bash-ism? Does "dash" on ubuntu have shell functions enabled in it, if not that might be the problem. Please check your system's /bin/sh.. is it a symlink, if so, what does it point to? If it points to "dash", change it to "bash" and see if the error still occurs. --Mark ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yocto Project 1.2 Beta testing instructions 2012-04-10 17:21 ` Mark Hatle @ 2012-04-10 23:06 ` Khor, Boon Pin 2012-04-10 23:39 ` Mark Hatle 0 siblings, 1 reply; 6+ messages in thread From: Khor, Boon Pin @ 2012-04-10 23:06 UTC (permalink / raw) To: Mark Hatle, Paul Eggleton; +Cc: yocto@yoctoproject.org Hi all On my ubuntu 11.10 64bits machines , once I change the default shell to bash , the problem solved . Thanks Boon pin -----Original Message----- From: Mark Hatle [mailto:mark.hatle@windriver.com] Sent: Wednesday, April 11, 2012 1:22 AM To: Paul Eggleton Cc: yocto@yoctoproject.org; Liu, Song; Khor, Boon Pin Subject: Re: [yocto] Yocto Project 1.2 Beta testing instructions On 4/10/12 4:18 AM, Paul Eggleton wrote: > On Wednesday 04 April 2012 18:08:58 Liu, Song wrote: >> Can someone help answer the following question? This happens during >> Boon Pin's beta testing using the build at: >> http://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-8e9f6fc7 >> 7ac476 >> 3f4ed1f6e7b720420c220ba6e2.tar.bz2 . >> ... >> | Processing task-core-boot... >> | Manifest: >> | /home/nemo/yp-beta-build/tmp/work/qemux86-poky-linux/core-image-min >> | imal-1 .0-r0/rootfs/install/install.manifest local: 1: -Uhv: bad >> | variable name >> >> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed >> ERROR: Task 8 >> (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, >> do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted >> 1329 tasks of which 287 didn't need to be rerun and 1 failed. > > Sorry for the late reply, presumably this issue is still present? > >> Maybe I am missing rpm packages in ubuntu ? > > You don't need to install rpm on the host system, we build rpm-native > for that. > > Mark, any clues what could be going wrong here? I've never seen any problem like this before. Below is some analysis and a question at the very end... There are only two places in the system where the string -Uhv exists: package_rpm.bbclass: rpm_common_comand --replacepkgs \ -Uhv ${target_rootfs}/install/total_solution.manifest (rpm_common_comand is a shell function it appears... the arguments to the function are passed, via $@ to an RPM command) rootfs_rpm.bbclass: rootfs_install_packages() { # The pkg to be installed here is not controlled by the # package_install_internal_rpm, so it may have already been # installed(e.g, installed in the first time when generate the # rootfs), use '--replacepkgs' to always install them for pkg in $@; do ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \ -D "__dbi_txn create nofsync private" \ --noscripts --notriggers --noparentdirs --nolinktos \ --replacepkgs -Uhv $pkg || true done } I would guess from the error that it's the one in package_rpm.bbclass that failed.. if that is the case, then all I can think of is what shell? Are we using a bash-ism? Does "dash" on ubuntu have shell functions enabled in it, if not that might be the problem. Please check your system's /bin/sh.. is it a symlink, if so, what does it point to? If it points to "dash", change it to "bash" and see if the error still occurs. --Mark ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yocto Project 1.2 Beta testing instructions 2012-04-10 23:06 ` Khor, Boon Pin @ 2012-04-10 23:39 ` Mark Hatle 2012-04-10 23:57 ` Khor, Boon Pin 0 siblings, 1 reply; 6+ messages in thread From: Mark Hatle @ 2012-04-10 23:39 UTC (permalink / raw) To: Khor, Boon Pin; +Cc: Paul Eggleton, yocto@yoctoproject.org On 4/10/12 6:06 PM, Khor, Boon Pin wrote: > Hi all > > On my ubuntu 11.10 64bits machines , once I change the default shell to bash , the problem solved . I believe we expect dash to be fully supported, so this is a bug. Please file a bug in the Yocto Project bugzilla (http://bugzilla.yoctoproject.org) if you are not able to do so, let me know and I will file it. --Mark > Thanks > Boon pin > > -----Original Message----- > From: Mark Hatle [mailto:mark.hatle@windriver.com] > Sent: Wednesday, April 11, 2012 1:22 AM > To: Paul Eggleton > Cc: yocto@yoctoproject.org; Liu, Song; Khor, Boon Pin > Subject: Re: [yocto] Yocto Project 1.2 Beta testing instructions > > On 4/10/12 4:18 AM, Paul Eggleton wrote: >> On Wednesday 04 April 2012 18:08:58 Liu, Song wrote: >>> Can someone help answer the following question? This happens during >>> Boon Pin's beta testing using the build at: >>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-8e9f6fc7 >>> 7ac476 >>> 3f4ed1f6e7b720420c220ba6e2.tar.bz2 . >>> ... >>> | Processing task-core-boot... >>> | Manifest: >>> | /home/nemo/yp-beta-build/tmp/work/qemux86-poky-linux/core-image-min >>> | imal-1 .0-r0/rootfs/install/install.manifest local: 1: -Uhv: bad >>> | variable name >>> >>> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed >>> ERROR: Task 8 >>> (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, >>> do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted >>> 1329 tasks of which 287 didn't need to be rerun and 1 failed. >> >> Sorry for the late reply, presumably this issue is still present? >> >>> Maybe I am missing rpm packages in ubuntu ? >> >> You don't need to install rpm on the host system, we build rpm-native >> for that. >> >> Mark, any clues what could be going wrong here? > > I've never seen any problem like this before. Below is some analysis and a question at the very end... > > There are only two places in the system where the string -Uhv exists: > > package_rpm.bbclass: > > rpm_common_comand --replacepkgs \ > -Uhv ${target_rootfs}/install/total_solution.manifest > > (rpm_common_comand is a shell function it appears... the arguments to the function are passed, via $@ to an RPM command) > > rootfs_rpm.bbclass: > > rootfs_install_packages() { > # The pkg to be installed here is not controlled by the > # package_install_internal_rpm, so it may have already been > # installed(e.g, installed in the first time when generate the > # rootfs), use '--replacepkgs' to always install them > for pkg in $@; do > ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \ > -D "__dbi_txn create nofsync private" \ > --noscripts --notriggers --noparentdirs --nolinktos \ > --replacepkgs -Uhv $pkg || true > done > } > > I would guess from the error that it's the one in package_rpm.bbclass that failed.. if that is the case, then all I can think of is what shell? Are we using a bash-ism? Does "dash" on ubuntu have shell functions enabled in it, if not that might be the problem. > > Please check your system's /bin/sh.. is it a symlink, if so, what does it point to? If it points to "dash", change it to "bash" and see if the error still occurs. > > --Mark ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Yocto Project 1.2 Beta testing instructions 2012-04-10 23:39 ` Mark Hatle @ 2012-04-10 23:57 ` Khor, Boon Pin 0 siblings, 0 replies; 6+ messages in thread From: Khor, Boon Pin @ 2012-04-10 23:57 UTC (permalink / raw) To: Mark Hatle; +Cc: Paul Eggleton, yocto@yoctoproject.org I just filed this in bugzilla . -----Original Message----- From: Mark Hatle [mailto:mark.hatle@windriver.com] Sent: Wednesday, April 11, 2012 7:40 AM To: Khor, Boon Pin Cc: Paul Eggleton; yocto@yoctoproject.org; Liu, Song Subject: Re: [yocto] Yocto Project 1.2 Beta testing instructions On 4/10/12 6:06 PM, Khor, Boon Pin wrote: > Hi all > > On my ubuntu 11.10 64bits machines , once I change the default shell to bash , the problem solved . I believe we expect dash to be fully supported, so this is a bug. Please file a bug in the Yocto Project bugzilla (http://bugzilla.yoctoproject.org) if you are not able to do so, let me know and I will file it. --Mark > Thanks > Boon pin > > -----Original Message----- > From: Mark Hatle [mailto:mark.hatle@windriver.com] > Sent: Wednesday, April 11, 2012 1:22 AM > To: Paul Eggleton > Cc: yocto@yoctoproject.org; Liu, Song; Khor, Boon Pin > Subject: Re: [yocto] Yocto Project 1.2 Beta testing instructions > > On 4/10/12 4:18 AM, Paul Eggleton wrote: >> On Wednesday 04 April 2012 18:08:58 Liu, Song wrote: >>> Can someone help answer the following question? This happens during >>> Boon Pin's beta testing using the build at: >>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-8e9f6fc >>> 7 >>> 7ac476 >>> 3f4ed1f6e7b720420c220ba6e2.tar.bz2 . >>> ... >>> | Processing task-core-boot... >>> | Manifest: >>> | /home/nemo/yp-beta-build/tmp/work/qemux86-poky-linux/core-image-mi >>> | n >>> | imal-1 .0-r0/rootfs/install/install.manifest local: 1: -Uhv: bad >>> | variable name >>> >>> NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed >>> ERROR: Task 8 >>> (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, >>> do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted >>> 1329 tasks of which 287 didn't need to be rerun and 1 failed. >> >> Sorry for the late reply, presumably this issue is still present? >> >>> Maybe I am missing rpm packages in ubuntu ? >> >> You don't need to install rpm on the host system, we build rpm-native >> for that. >> >> Mark, any clues what could be going wrong here? > > I've never seen any problem like this before. Below is some analysis and a question at the very end... > > There are only two places in the system where the string -Uhv exists: > > package_rpm.bbclass: > > rpm_common_comand --replacepkgs \ > -Uhv ${target_rootfs}/install/total_solution.manifest > > (rpm_common_comand is a shell function it appears... the arguments to > the function are passed, via $@ to an RPM command) > > rootfs_rpm.bbclass: > > rootfs_install_packages() { > # The pkg to be installed here is not controlled by the > # package_install_internal_rpm, so it may have already been > # installed(e.g, installed in the first time when generate the > # rootfs), use '--replacepkgs' to always install them > for pkg in $@; do > ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \ > -D "__dbi_txn create nofsync private" \ > --noscripts --notriggers --noparentdirs --nolinktos \ > --replacepkgs -Uhv $pkg || true > done > } > > I would guess from the error that it's the one in package_rpm.bbclass that failed.. if that is the case, then all I can think of is what shell? Are we using a bash-ism? Does "dash" on ubuntu have shell functions enabled in it, if not that might be the problem. > > Please check your system's /bin/sh.. is it a symlink, if so, what does it point to? If it points to "dash", change it to "bash" and see if the error still occurs. > > --Mark ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-04-10 23:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <7E680CB2A76BB8438D08CF13C09FC53A46AE31E3@ORSMSX101.amr.corp.intel.com>
[not found] ` <F9AC6E797E022941A4CD80AAEDFAD67D43756F@PGSMSX103.gar.corp.intel.com>
2012-04-04 18:08 ` Yocto Project 1.2 Beta testing instructions Liu, Song
2012-04-10 9:18 ` Paul Eggleton
2012-04-10 17:21 ` Mark Hatle
2012-04-10 23:06 ` Khor, Boon Pin
2012-04-10 23:39 ` Mark Hatle
2012-04-10 23:57 ` Khor, Boon Pin
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.