* Error in pulling cups package
@ 2011-05-05 11:25 chinmaya hoshing
2011-05-05 14:09 ` Tom Zanussi
2011-05-06 10:04 ` Kang Kai
0 siblings, 2 replies; 12+ messages in thread
From: chinmaya hoshing @ 2011-05-05 11:25 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 3912 bytes --]
Hi,
I am trying to port Poky to the "sandybridge platform" for "sugarbay"
machine.
I am getting error for cups package following is the error log:
Processing google-chrome...
| Processing bzip2...
| Processing cups...
| error: LOOP:
| error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc"
from tsort relations.
| error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh"
from tsort relations.
| error: LOOP:
| error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from
tsort relations.
| error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from tsort
relations.
| error: LOOP:
| error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from tsort
relations.
| error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from
tsort relations.
| error: LOOP:
| error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog"
from tsort relations.
| error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh"
from tsort relations.
| error: LOOP:
| error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort
relations.
| error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from tsort
relations.
| error: LOOP:
| error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from
tsort relations.
| error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" from
tsort relations.
| Manifest:
/home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest
| error: LOOP:
| error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from tsort
relations.
| error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from
tsort relations.
| error: LOOP:
| error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc"
from tsort relations.
| error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh"
from tsort relations.
| error: LOOP:
| error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from
tsort relations.
| error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from tsort
relations.
| error: LOOP:
| error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh"
from tsort relations.
| error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog"
from tsort relations.
| error: LOOP:
| error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" from
tsort relations.
| error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from
tsort relations.
| error: LOOP:
| error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from tsort
relations.
| error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort
relations.
| Preparing...
/home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768:
line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm
--define='_openall_before_chroot 1' --root ${target_rootfs} --predefine
"_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine
"_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" -D "_dbpath
/var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D
"__dbi_txn create nofsync private" -Uhv
${target_rootfs}/install/install_solution.manifest
| ERROR: Function 'do_rootfs' failed (see
/home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768
for further information)
NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed
ERROR: '/home/sandybridge/poky/meta/recipes-core/images/
poky-image-minimal-black.bb' failed
ERROR: Task 179 (/home/sandybridge/poky/meta/recipes-core/images/
poky-image-minimal-black.bb, do_rootfs) failed with exit code '1'
Can you help me to find the solution !!!!!!
Chinmaya
[-- Attachment #2: Type: text/html, Size: 5729 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Error in pulling cups package 2011-05-05 11:25 Error in pulling cups package chinmaya hoshing @ 2011-05-05 14:09 ` Tom Zanussi 2011-05-05 14:23 ` Gary Thomas 2011-05-05 14:40 ` Mark Hatle 2011-05-06 10:04 ` Kang Kai 1 sibling, 2 replies; 12+ messages in thread From: Tom Zanussi @ 2011-05-05 14:09 UTC (permalink / raw) To: chinmaya hoshing; +Cc: poky@yoctoproject.org On Thu, 2011-05-05 at 04:25 -0700, chinmaya hoshing wrote: > Hi, > > I am trying to port Poky to the "sandybridge platform" for "sugarbay" > machine. > I am getting error for cups package following is the error log: Seems other people are seeing the same error on other platforms too: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001794.html Can you file a bug report with the steps to reproduce? Thanks, Tom > > Processing google-chrome... > | Processing bzip2... > | Processing cups... > | error: LOOP: > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-udhcpc" from tsort relations. > | error: removing busybox-udhcpc-1.17.3-r2.snb > "Requires(post): /bin/sh" from tsort relations. > | error: LOOP: > | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" > from tsort relations. > | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from > tsort relations. > | error: LOOP: > | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from > tsort relations. > | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" > from tsort relations. > | error: LOOP: > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-syslog" from tsort relations. > | error: removing busybox-syslog-1.17.3-r2.snb > "Requires(post): /bin/sh" from tsort relations. > | error: LOOP: > | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from > tsort relations. > | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from > tsort relations. > | error: LOOP: > | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" > from tsort relations. > | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" > from tsort relations. > | > Manifest: /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest > | error: LOOP: > | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from > tsort relations. > | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" > from tsort relations. > | error: LOOP: > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-udhcpc" from tsort relations. > | error: removing busybox-udhcpc-1.17.3-r2.snb > "Requires(post): /bin/sh" from tsort relations. > | error: LOOP: > | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" > from tsort relations. > | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from > tsort relations. > | error: LOOP: > | error: removing busybox-syslog-1.17.3-r2.snb > "Requires(post): /bin/sh" from tsort relations. > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-syslog" from tsort relations. > | error: LOOP: > | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" > from tsort relations. > | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" > from tsort relations. > | error: LOOP: > | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from > tsort relations. > | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from > tsort relations. > | Preparing... > /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm --define='_openall_before_chroot 1' --root ${target_rootfs} --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine "_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" -D "_dbpath /var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D "__dbi_txn create nofsync private" -Uhv ${target_rootfs}/install/install_solution.manifest > | ERROR: Function 'do_rootfs' failed > (see /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 for further information) > NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed > ERROR: > '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb' failed > ERROR: Task 179 > (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb, do_rootfs) failed with exit code '1' > > > Can you help me to find the solution !!!!!! > > > Chinmaya > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-05 14:09 ` Tom Zanussi @ 2011-05-05 14:23 ` Gary Thomas 2011-05-06 7:32 ` chinmaya hoshing 2011-05-05 14:40 ` Mark Hatle 1 sibling, 1 reply; 12+ messages in thread From: Gary Thomas @ 2011-05-05 14:23 UTC (permalink / raw) To: Tom Zanussi; +Cc: poky@yoctoproject.org, chinmaya hoshing On 05/05/2011 08:09 AM, Tom Zanussi wrote: > On Thu, 2011-05-05 at 04:25 -0700, chinmaya hoshing wrote: >> Hi, >> >> I am trying to port Poky to the "sandybridge platform" for "sugarbay" >> machine. >> I am getting error for cups package following is the error log: > > Seems other people are seeing the same error on other platforms too: > > http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001794.html > > Can you file a bug report with the steps to reproduce? Another thing to try would be to use IPK packaging instead of RPM (since my read of the failure is in the RPM package management while building the image) Just set PACKAGE_CLASSES ?= "package_ipk" in local.conf and rebuild. >> >> Processing google-chrome... >> | Processing bzip2... >> | Processing cups... >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-udhcpc" from tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" >> from tsort relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev>= 3.12.9" from >> tsort relations. >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev>= 4.8.7" from >> tsort relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" >> from tsort relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-syslog" from tsort relations. >> | error: removing busybox-syslog-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from >> tsort relations. >> | error: removing udev-164-r1.snb "Requires: libudev0>= 164" from >> tsort relations. >> | error: LOOP: >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" >> from tsort relations. >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3>= 1.4.1" >> from tsort relations. >> | >> Manifest: /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev>= 4.8.7" from >> tsort relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" >> from tsort relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-udhcpc" from tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" >> from tsort relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev>= 3.12.9" from >> tsort relations. >> | error: LOOP: >> | error: removing busybox-syslog-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-syslog" from tsort relations. >> | error: LOOP: >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3>= 1.4.1" >> from tsort relations. >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" >> from tsort relations. >> | error: LOOP: >> | error: removing udev-164-r1.snb "Requires: libudev0>= 164" from >> tsort relations. >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from >> tsort relations. >> | Preparing... >> /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm --define='_openall_before_chroot 1' --root ${target_rootfs} --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine "_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" -D "_dbpath /var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D "__dbi_txn create nofsync private" -Uhv ${target_rootfs}/install/install_solution.manifest >> | ERROR: Function 'do_rootfs' failed >> (see /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 for further information) >> NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed >> ERROR: >> '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb' failed >> ERROR: Task 179 >> (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb, do_rootfs) failed with exit code '1' >> >> >> Can you help me to find the solution !!!!!! >> >> >> Chinmaya >> >> > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-05 14:23 ` Gary Thomas @ 2011-05-06 7:32 ` chinmaya hoshing 2011-05-06 9:19 ` Gary Thomas 0 siblings, 1 reply; 12+ messages in thread From: chinmaya hoshing @ 2011-05-06 7:32 UTC (permalink / raw) To: Gary Thomas; +Cc: poky@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 156 bytes --] Thanks guys a lot, Gary it worked finaly!!!!!!!!! :-) as said by you I made the changes in local.conf for PACKAGE_CLASSES ?= "package_ipk" Chinmaya [-- Attachment #2: Type: text/html, Size: 441 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-06 7:32 ` chinmaya hoshing @ 2011-05-06 9:19 ` Gary Thomas 0 siblings, 0 replies; 12+ messages in thread From: Gary Thomas @ 2011-05-06 9:19 UTC (permalink / raw) To: chinmaya hoshing; +Cc: poky@yoctoproject.org On 05/06/2011 01:32 AM, chinmaya hoshing wrote: > > Thanks guys a lot, > > Gary it worked finaly!!!!!!!!! :-) as said by you I made the changes in local.conf for PACKAGE_CLASSES ?= "package_ipk" So that points to RPM being the cause of the problems you were seeing. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-05 14:09 ` Tom Zanussi 2011-05-05 14:23 ` Gary Thomas @ 2011-05-05 14:40 ` Mark Hatle 2011-05-06 5:31 ` chinmaya hoshing 1 sibling, 1 reply; 12+ messages in thread From: Mark Hatle @ 2011-05-05 14:40 UTC (permalink / raw) To: poky On 5/5/11 9:09 AM, Tom Zanussi wrote: > On Thu, 2011-05-05 at 04:25 -0700, chinmaya hoshing wrote: >> Hi, >> >> I am trying to port Poky to the "sandybridge platform" for "sugarbay" >> machine. >> I am getting error for cups package following is the error log: > > Seems other people are seeing the same error on other platforms too: > > http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001794.html > > Can you file a bug report with the steps to reproduce? When you file a bug, be sure to include the Linux distribution you are using on your host, and also indicate if you have a 32-bit, 64-bit or combination install. The problem is either in RPM or pseudo (most likely). --Mark > Thanks, > > Tom > > >> >> Processing google-chrome... >> | Processing bzip2... >> | Processing cups... >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-udhcpc" from tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" >> from tsort relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from >> tsort relations. >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from >> tsort relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" >> from tsort relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-syslog" from tsort relations. >> | error: removing busybox-syslog-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from >> tsort relations. >> | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from >> tsort relations. >> | error: LOOP: >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" >> from tsort relations. >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" >> from tsort relations. >> | >> Manifest: /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from >> tsort relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" >> from tsort relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-udhcpc" from tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" >> from tsort relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from >> tsort relations. >> | error: LOOP: >> | error: removing busybox-syslog-1.17.3-r2.snb >> "Requires(post): /bin/sh" from tsort relations. >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): >> busybox-syslog" from tsort relations. >> | error: LOOP: >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" >> from tsort relations. >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" >> from tsort relations. >> | error: LOOP: >> | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from >> tsort relations. >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from >> tsort relations. >> | Preparing... >> /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm --define='_openall_before_chroot 1' --root ${target_rootfs} --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine "_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" -D "_dbpath /var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D "__dbi_txn create nofsync private" -Uhv ${target_rootfs}/install/install_solution.manifest >> | ERROR: Function 'do_rootfs' failed >> (see /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 for further information) >> NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed >> ERROR: >> '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb' failed >> ERROR: Task 179 >> (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb, do_rootfs) failed with exit code '1' >> >> >> Can you help me to find the solution !!!!!! >> >> >> Chinmaya >> >> > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-05 14:40 ` Mark Hatle @ 2011-05-06 5:31 ` chinmaya hoshing 0 siblings, 0 replies; 12+ messages in thread From: chinmaya hoshing @ 2011-05-06 5:31 UTC (permalink / raw) To: Mark Hatle, gary, tom.zanussi; +Cc: poky [-- Attachment #1: Type: text/plain, Size: 119 bytes --] Thanks guys a lot, Gary it worked finaly!!!!!!!!! :-) as said by you I made the changes in local.conf Chinmaya [-- Attachment #2: Type: text/html, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-05 11:25 Error in pulling cups package chinmaya hoshing 2011-05-05 14:09 ` Tom Zanussi @ 2011-05-06 10:04 ` Kang Kai 2011-05-06 15:11 ` Gary Thomas 2011-05-06 15:18 ` Mark Hatle 1 sibling, 2 replies; 12+ messages in thread From: Kang Kai @ 2011-05-06 10:04 UTC (permalink / raw) To: chinmaya hoshing; +Cc: poky [-- Attachment #1: Type: text/plain, Size: 4602 bytes --] On 2011?05?05? 19:25, chinmaya hoshing wrote: > Hi, > > I am trying to port Poky to the "sandybridge platform" for "sugarbay" > machine. > I am getting error for cups package following is the error log: > > Processing google-chrome... > | Processing bzip2... > | Processing cups... > | error: LOOP: > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-udhcpc" from tsort relations. > | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): > /bin/sh" from tsort relations. > | error: LOOP: > | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" > from tsort relations. > | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from > tsort relations. > | error: LOOP: > | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from > tsort relations. > | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" > from tsort relations. > | error: LOOP: > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-syslog" from tsort relations. > | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): > /bin/sh" from tsort relations. > | error: LOOP: > | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from > tsort relations. > | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from > tsort relations. > | error: LOOP: > | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" > from tsort relations. > | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" > from tsort relations. > | Manifest: > /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest > | error: LOOP: > | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from > tsort relations. > | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" > from tsort relations. > | error: LOOP: > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-udhcpc" from tsort relations. > | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): > /bin/sh" from tsort relations. > | error: LOOP: > | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" > from tsort relations. > | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from > tsort relations. > | error: LOOP: > | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): > /bin/sh" from tsort relations. > | error: removing busybox-1.17.3-r2.snb "Requires(hint): > busybox-syslog" from tsort relations. > | error: LOOP: > | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" > from tsort relations. > | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" > from tsort relations. > | error: LOOP: > | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from > tsort relations. > | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from > tsort relations. > | Preparing... > /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: > line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm > --define='_openall_before_chroot 1' --root ${target_rootfs} > --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" > --predefine "_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" > -D "_dbpath /var/lib/rpm" --noscripts --notriggers --noparentdirs > --nolinktos -D "__dbi_txn create nofsync private" -Uhv > ${target_rootfs}/install/install_solution.manifest I tried to break the loop dependencies, then the "error: LOOP" message disappear. But rpm still Segmentation fault, it is so hard to debug, can anyone give some advices? > | ERROR: Function 'do_rootfs' failed (see > /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 > for further information) > NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed > ERROR: > '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb > <http://poky-image-minimal-black.bb>' failed > ERROR: Task 179 > (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb > <http://poky-image-minimal-black.bb>, do_rootfs) failed with exit code '1' > > Can you help me to find the solution !!!!!! > > Chinmaya > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky [-- Attachment #2: Type: text/html, Size: 9139 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-06 10:04 ` Kang Kai @ 2011-05-06 15:11 ` Gary Thomas 2011-05-09 11:43 ` chinmaya hoshing 2011-05-06 15:18 ` Mark Hatle 1 sibling, 1 reply; 12+ messages in thread From: Gary Thomas @ 2011-05-06 15:11 UTC (permalink / raw) To: Kang Kai; +Cc: poky, chinmaya hoshing On 05/06/2011 04:04 AM, Kang Kai wrote: > On 2011年05月05日 19:25, chinmaya hoshing wrote: >> Hi, >> >> I am trying to port Poky to the "sandybridge platform" for "sugarbay" machine. >> I am getting error for cups package following is the error log: >> >> Processing google-chrome... >> | Processing bzip2... >> | Processing cups... >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc" from tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from tsort relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from tsort relations. >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from tsort relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from tsort relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog" from tsort relations. >> | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort relations. >> | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from tsort relations. >> | error: LOOP: >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from tsort relations. >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" from tsort relations. >> | Manifest: /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from tsort relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from tsort relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc" from tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh" from tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from tsort relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from tsort relations. >> | error: LOOP: >> | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh" from tsort relations. >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog" from tsort relations. >> | error: LOOP: >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" from tsort relations. >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from tsort relations. >> | error: LOOP: >> | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from tsort relations. >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort relations. >> | Preparing... /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: line 507: 22206 Segmentation fault rpm --dbpath >> /var/lib/rpm --define='_openall_before_chroot 1' --root ${target_rootfs} --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine "_rpmrc_platform_path >> ${target_rootfs}/etc/rpm/platform" -D "_dbpath /var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D "__dbi_txn create nofsync private" -Uhv >> ${target_rootfs}/install/install_solution.manifest > I tried to break the loop dependencies, then the "error: LOOP" message disappear. > But rpm still Segmentation fault, it is so hard to debug, can anyone give some advices? > >> | ERROR: Function 'do_rootfs' failed (see /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 for further information) >> NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed >> ERROR: '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb <http://poky-image-minimal-black.bb>' failed >> ERROR: Task 179 (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb <http://poky-image-minimal-black.bb>, do_rootfs) failed with exit code '1' >> >> Can you help me to find the solution !!!!!! We need more information about how you are building your image. Obviously you have added Google Chrome (which might be hard for some to duplicate), but what else? What's in your poky-image-minimal-black.bb recipe? Have you tried to update to a more recent Poky core? or are you using a release like Laverne or Bernard? Note: I built a similar image, using RPM, which included Chrome with no problems, so without more data it will be hard to help much. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-06 15:11 ` Gary Thomas @ 2011-05-09 11:43 ` chinmaya hoshing 0 siblings, 0 replies; 12+ messages in thread From: chinmaya hoshing @ 2011-05-09 11:43 UTC (permalink / raw) To: Gary Thomas; +Cc: poky [-- Attachment #1: Type: text/plain, Size: 309 bytes --] > > Hi, > I am trying to pull chromium package from openembedded,I have wriiten my own black.bb file which contains all the supporting packages required for it all on poky core Bernard branch . The cups package is the one dependency for it , for which I was getting the above error. Chinmaya [-- Attachment #2: Type: text/html, Size: 617 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-06 10:04 ` Kang Kai 2011-05-06 15:11 ` Gary Thomas @ 2011-05-06 15:18 ` Mark Hatle 2011-05-07 6:58 ` Kang Kai 1 sibling, 1 reply; 12+ messages in thread From: Mark Hatle @ 2011-05-06 15:18 UTC (permalink / raw) To: poky On 5/6/11 5:04 AM, Kang Kai wrote: > On 2011年05月05日 19:25, chinmaya hoshing wrote: >> Hi, >> >> I am trying to port Poky to the "sandybridge platform" for "sugarbay" machine. >> I am getting error for cups package following is the error log: >> >> Processing google-chrome... >> | Processing bzip2... >> | Processing cups... >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc" from >> tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh" from >> tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from tsort >> relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from tsort >> relations. >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from tsort >> relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from tsort >> relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog" from >> tsort relations. >> | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh" from >> tsort relations. >> | error: LOOP: >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort >> relations. >> | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from tsort >> relations. >> | error: LOOP: >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from tsort >> relations. >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" from >> tsort relations. >> | Manifest: >> /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest >> | error: LOOP: >> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev >= 4.8.7" from tsort >> relations. >> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from tsort >> relations. >> | error: LOOP: >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc" from >> tsort relations. >> | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh" from >> tsort relations. >> | error: LOOP: >> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from tsort >> relations. >> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev >= 3.12.9" from tsort >> relations. >> | error: LOOP: >> | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh" from >> tsort relations. >> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog" from >> tsort relations. >> | error: LOOP: >> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3 >= 1.4.1" from >> tsort relations. >> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from tsort >> relations. >> | error: LOOP: >> | error: removing udev-164-r1.snb "Requires: libudev0 >= 164" from tsort >> relations. >> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort >> relations. >> | Preparing... >> /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: >> line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm >> --define='_openall_before_chroot 1' --root ${target_rootfs} --predefine >> "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine >> "_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" -D "_dbpath >> /var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D >> "__dbi_txn create nofsync private" -Uhv >> ${target_rootfs}/install/install_solution.manifest The loops have nothing to do with the segfault. > I tried to break the loop dependencies, then the "error: LOOP" message disappear. > But rpm still Segmentation fault, it is so hard to debug, can anyone give some > advices? If you can get me a reproducer I'll work on trying to identify the segfault and work through it. (What I likely need is a copy of your deploy directory, and the items from the tmp/work/<machine>/<image>) Two ways to attempt to figure out what is going on: 1) Manually reproduce it Note, you should be able to reproduce this outside of the build system. The basic steps are: run pseudo, and setup the environment for the rootfs image creation. run the failed script above in gdb wait until it segfaults and report on the segfault location... 2) Capture a core... On the command line run: ulimit -c unlimited Run the bitbake command that fails Look for the dumped core file, likely in tmp/work/<machine>/<image> "somewhere". Should be named "core.XXXXXX" where XXXXXX is a pid. Run gdb on the core file similar to: gdb <path>/tmp/sysroots/x86_64-linux/usr/bin/rpm.real <path>/core.XXXXXX assuming that is successful, you should be able to type "bt" and figure out where the crash occurred. Again let me know if you get any reasonable results and I can further investigate. --Mark >> | ERROR: Function 'do_rootfs' failed (see >> /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 >> for further information) >> NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed >> ERROR: >> '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb >> <http://poky-image-minimal-black.bb>' failed >> ERROR: Task 179 >> (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb >> <http://poky-image-minimal-black.bb>, do_rootfs) failed with exit code '1' >> >> Can you help me to find the solution !!!!!! >> >> Chinmaya >> >> >> _______________________________________________ >> poky mailing list >> poky@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/poky > > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Error in pulling cups package 2011-05-06 15:18 ` Mark Hatle @ 2011-05-07 6:58 ` Kang Kai 0 siblings, 0 replies; 12+ messages in thread From: Kang Kai @ 2011-05-07 6:58 UTC (permalink / raw) To: Mark Hatle; +Cc: poky [-- Attachment #1: Type: text/plain, Size: 6500 bytes --] On 2011年05月06日 23:18, Mark Hatle wrote: > On 5/6/11 5:04 AM, Kang Kai wrote: >> On 2011年05月05日 19:25, chinmaya hoshing wrote: >>> Hi, >>> >>> I am trying to port Poky to the "sandybridge platform" for "sugarbay" machine. >>> I am getting error for cups package following is the error log: >>> >>> Processing google-chrome... >>> | Processing bzip2... >>> | Processing cups... >>> | error: LOOP: >>> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc" from >>> tsort relations. >>> | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh" from >>> tsort relations. >>> | error: LOOP: >>> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from tsort >>> relations. >>> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev>= 3.12.9" from tsort >>> relations. >>> | error: LOOP: >>> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev>= 4.8.7" from tsort >>> relations. >>> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from tsort >>> relations. >>> | error: LOOP: >>> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog" from >>> tsort relations. >>> | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh" from >>> tsort relations. >>> | error: LOOP: >>> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort >>> relations. >>> | error: removing udev-164-r1.snb "Requires: libudev0>= 164" from tsort >>> relations. >>> | error: LOOP: >>> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from tsort >>> relations. >>> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3>= 1.4.1" from >>> tsort relations. >>> | Manifest: >>> /home/sct/logi_sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/rootfs/install/install.manifest >>> | error: LOOP: >>> | error: removing nspr-4.8.7-r0.snb "Requires: nspr-dev>= 4.8.7" from tsort >>> relations. >>> | error: removing nspr-dev-4.8.7-r0.snb "Requires: nspr = 4.8.7-r0" from tsort >>> relations. >>> | error: LOOP: >>> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-udhcpc" from >>> tsort relations. >>> | error: removing busybox-udhcpc-1.17.3-r2.snb "Requires(post): /bin/sh" from >>> tsort relations. >>> | error: LOOP: >>> | error: removing nss-dev-3.12.9-r2.snb "Requires: nss = 3.12.9-r2" from tsort >>> relations. >>> | error: removing nss-3.12.9-r2.snb "Requires: nss-dev>= 3.12.9" from tsort >>> relations. >>> | error: LOOP: >>> | error: removing busybox-syslog-1.17.3-r2.snb "Requires(post): /bin/sh" from >>> tsort relations. >>> | error: removing busybox-1.17.3-r2.snb "Requires(hint): busybox-syslog" from >>> tsort relations. >>> | error: LOOP: >>> | error: removing dbus-1-1.4.1-r1.snb "Requires: libdbus-1-3>= 1.4.1" from >>> tsort relations. >>> | error: removing libdbus-1-3-1.4.1-r1.snb "Requires(hint): dbus-1" from tsort >>> relations. >>> | error: LOOP: >>> | error: removing udev-164-r1.snb "Requires: libudev0>= 164" from tsort >>> relations. >>> | error: removing libudev0-164-r1.snb "Requires: udev = 164-r1" from tsort >>> relations. >>> | Preparing... >>> /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/run.do_rootfs.21768: >>> line 507: 22206 Segmentation fault rpm --dbpath /var/lib/rpm >>> --define='_openall_before_chroot 1' --root ${target_rootfs} --predefine >>> "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" --predefine >>> "_rpmrc_platform_path ${target_rootfs}/etc/rpm/platform" -D "_dbpath >>> /var/lib/rpm" --noscripts --notriggers --noparentdirs --nolinktos -D >>> "__dbi_txn create nofsync private" -Uhv >>> ${target_rootfs}/install/install_solution.manifest > The loops have nothing to do with the segfault. > >> I tried to break the loop dependencies, then the "error: LOOP" message disappear. >> But rpm still Segmentation fault, it is so hard to debug, can anyone give some >> advices? > If you can get me a reproducer I'll work on trying to identify the segfault and > work through it. (What I likely need is a copy of your deploy directory, and > the items from the tmp/work/<machine>/<image>) > > Two ways to attempt to figure out what is going on: > > 1) Manually reproduce it > Note, you should be able to reproduce this outside of the build system. The > basic steps are: > > run pseudo, and setup the environment for the rootfs image creation. > run the failed script above in gdb > wait until it segfaults and report on the segfault location... Hi Mark, I reproduce in the first way, and get backtrace in attachment, and hope this will help. Regards, Kai > > 2) Capture a core... > > On the command line run: ulimit -c unlimited > > Run the bitbake command that fails > > Look for the dumped core file, likely in tmp/work/<machine>/<image> "somewhere". > Should be named "core.XXXXXX" where XXXXXX is a pid. > > Run gdb on the core file similar to: > > gdb<path>/tmp/sysroots/x86_64-linux/usr/bin/rpm.real<path>/core.XXXXXX > > assuming that is successful, you should be able to type "bt" and figure out > where the crash occurred. > > > Again let me know if you get any reasonable results and I can further investigate. > > --Mark > >>> | ERROR: Function 'do_rootfs' failed (see >>> /home/sandybridge/poky/build/tmp/work/sugarbay-poky-linux/poky-image-minimal-black-1.0-r0/temp/log.do_rootfs.21768 >>> for further information) >>> NOTE: package poky-image-minimal-black-1.0-r0: task do_rootfs: Failed >>> ERROR: >>> '/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb >>> <http://poky-image-minimal-black.bb>' failed >>> ERROR: Task 179 >>> (/home/sandybridge/poky/meta/recipes-core/images/poky-image-minimal-black.bb >>> <http://poky-image-minimal-black.bb>, do_rootfs) failed with exit code '1' >>> >>> Can you help me to find the solution !!!!!! >>> >>> Chinmaya >>> >>> >>> _______________________________________________ >>> poky mailing list >>> poky@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/poky >> >> >> _______________________________________________ >> poky mailing list >> poky@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/poky > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky [-- Attachment #2: backtrace.en --] [-- Type: text/plain, Size: 4748 bytes --] # gdb /mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/bin/rpm.real GNU gdb (GDB) 7.2-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/bin/rpm.real...done. (gdb) b rpmsmStage Function "rpmsmStage" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (rpmsmStage) pending. (gdb) r --dbpath /var/lib/rpm '--define=_openall_before_chroot 1' --root /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs --predefine '_rpmds_sysinfo_path /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs/etc/rpm/sysinfo' --predefine '_rpmrc_platform_path /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs/etc/rpm/platform' -D '_dbpath /var/lib/rpm' --noscripts --notriggers --noparentdirs --nolinktos -D '__dbi_txn create nofsync private' -Uhv /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs/install/install_solution.manifest Starting program: /mnt/sda8/poky-neil/build/tmp/sysroots/x86_64-linux/usr/bin/rpm.real --dbpath /var/lib/rpm '--define=_openall_before_chroot 1' --root /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs --predefine '_rpmds_sysinfo_path /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs/etc/rpm/sysinfo' --predefine '_rpmrc_platform_path /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs/etc/rpm/platform' -D '_dbpath /var/lib/rpm' --noscripts --notriggers --noparentdirs --nolinktos -D '__dbi_txn create nofsync private' -Uhv /mnt/sda8/poky-neil/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/rootfs/install/install_solution.manifest [Thread debugging using libthread_db enabled] error: LOOP: error: removing gettext-0.17-r5.i586 "Requires: gettext-dev >= 0.17" from tsort relations. error: removing gettext-dev-0.17-r5.i586 "Requires: gettext = 0.17-r5" from tsort relations. Preparing... Program received signal SIGSEGV, Segmentation fault. 0x00007ffff74551ea in fpLookupSubdir (symlinks=0x15309e0, fphash=0x1530080, fpc=0xfa7760, _p=0x17477d0, filenr=876) at fprint.c:351 351 flink = fi->flinks[fx]; (gdb) bt #0 0x00007ffff74551ea in fpLookupSubdir (symlinks=0x15309e0, fphash=0x1530080, fpc=0xfa7760, _p=0x17477d0, filenr=876) at fprint.c:351 #1 0x00007ffff773c712 in rpmtsAddFingerprints (ts=0x62c430, fileCount=32471, ht=0x1530080, fpc=0xfa7760) at transaction.c:1308 #2 0x00007ffff773cec8 in rpmtsPrepare (ts=0x62c430, sx=0x0, fileCount=32471, nrmvdp=0x7fffffffd744) at transaction.c:1525 #3 0x00007ffff773e3cf in _rpmtsRun (ts=0x62c430, okProbs=0x0, ignoreSet=48) at transaction.c:2094 #4 0x00007ffff772c01f in rpmcliInstallRun (ts=0x62c430, okProbs=0x0, ignoreSet=48) at rpminstall.c:331 #5 0x00007ffff772cf71 in rpmcliInstall (ts=0x62c430, ia=0x6075a0, argv=0x609930) at rpminstall.c:707 #6 0x0000000000404f9c in main (argc=20, argv=0x7fffffffdad8) at ./rpmqv.c:947 (gdb) p fi $1 = (rpmfi) 0x25d1a20 (gdb) p *fi $2 = {_item = {use = 0x25d1ba0, pool = 0x69e430, next = 0x0}, i = 1, j = 0, Type = 0x0, tagN = 19115024, h = 0x25d3140, bnl = 0x123a260, dnl = 0x123ac40, fdigests = 0x123a290, fdigestalgos = 0x25d31c0, flinks = 0x0, flangs = 0x123aad0, dil = 0x100cc30, fflags = 0x26c1a90, fsizes = 0x25d1940, fmtimes = 0x0, fmodes = 0x0, frdevs = 0x0, finodes = 0x606, fuser = 0x5b5, fgroup = 0x0, fstates = 0x0, fcolors = 0x0, fcaps = 0x25d24d0, fcontexts = 0x0, cdict = 0x403f00000000, ncdict = 19114928, fcdictx = 0x0, ddict = 0xffffffff00000000, nddict = 0, fddictx = 0x0, fddictn = 0x0, vflags = 0x0, dc = 0, fc = 0, te = 0x0, _fnbf = 0x0, exclude = 0x0, nexclude = 0, include = 0x0, ninclude = 0, uid = 0, gid = 0, flags = 0, action = 0, actions = 0x605, fps = 0x0, obnl = 0x0, odnl = 0x0, odil = 0x71, digests = 0x0, digestalgo = 0, digestlen = 0, pretrans = 0x0, pretransprog = 0x0, posttrans = 0x0, posttransprog = 0x0, verifyscript = 0x0, verifyscriptprog = 0x0, fn = 0x0, fnlen = 0, astriplen = 0, striplen = 0, archivePos = 0, archiveSize = 33, dperms = 8186288, fperms = 0, apath = 0x0, mapflags = 0, fmapflags = 0x21, fsm = 0x7ce9b0, color = 1, isSource = 32767, replacedSizes = 0x0, record = 33, magic = 0} (gdb) ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-05-09 11:43 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-05-05 11:25 Error in pulling cups package chinmaya hoshing 2011-05-05 14:09 ` Tom Zanussi 2011-05-05 14:23 ` Gary Thomas 2011-05-06 7:32 ` chinmaya hoshing 2011-05-06 9:19 ` Gary Thomas 2011-05-05 14:40 ` Mark Hatle 2011-05-06 5:31 ` chinmaya hoshing 2011-05-06 10:04 ` Kang Kai 2011-05-06 15:11 ` Gary Thomas 2011-05-09 11:43 ` chinmaya hoshing 2011-05-06 15:18 ` Mark Hatle 2011-05-07 6:58 ` Kang Kai
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.