Bug 2092 - rpm fails to create rootfs for x32
Summary: rpm fails to create rootfs for x32
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.3
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-03-13 20:27 UTC by Nitin Kamble
Modified: 2012-09-18 15:52 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2012-03-13 20:27:19 UTC
Error given is unable to satisfy a dependency as seen bellow.


| error: Failed dependencies:
|       virtual-locale-en-gb is needed by eglibc-locale-en-gb-2.15-r0.x32+svnr16540.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by xkeyboard-config-locale-en-gb-2.1-r1.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gst-plugins-base-locale-en-gb-0.10.35-r1.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gst-plugins-good-locale-en-gb-0.10.30-r5.x86_64_x32
| error: Failed dependencies:
|       glib-2.0-utils is needed by glib-2.0-locale-en-gb-2.30.2-r7.x86_64_x32
|       virtual-locale-en-gb is needed by glib-2.0-locale-en-gb-2.30.2-r7.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gdk-pixbuf-locale-en-gb-2.24.0-r4.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by atk-locale-en-gb-2.2.0-r2.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gstreamer-locale-en-gb-0.10.35-r3.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gtk+-locale-en-gb-2.24.8-r3.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by libfm-locale-en-gb-0.1.17-r3.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by pcmanfm-locale-en-gb-0.9.10-r0.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by libgnome-keyring-locale-en-gb-2.32.0-r1.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gconf-locale-en-gb-3.2.3-r8.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by zypper-locale-en-gb-1.5.3+git1+2c5bb6ceb99ecd950ef993e43d77bf0569ea0582-r1.qemux86_64
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by gthumb-locale-en-gb-2.12.4-r2.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by eds-dbus-locale-en-gb-2.30+git1+7337d11aed576e7caaa12b4e881ad8d33668799f-r6.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by contacts-locale-en-gb-0.12+git1+19853893fdb595de6aa59db0d9dc2f9451ed2933-r3.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by dates-locale-en-gb-0.4.11+git1+514185dc1f6588085fda41eb59898b93d0487dd4-r5.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-us is needed by zypper-locale-en-us-1.5.3+git1+2c5bb6ceb99ecd950ef993e43d77bf0569ea0582-r1.qemux86_64
| log_check: Using /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/temp/log.do_rootfs.8090 as logfile
| log_check: There were error messages in the logfile
| log_check: Matched keyword: [Fail]
|
| liberation-fonts            ##################################################
| kernel-module-uvesafb       ##################################################
| udev-cache                  ##################################################
|  Adding system startup for /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/rootfs/etc/init.d/udev-cache.
| libnss-mdns                 ##################################################
| sed: warning: failed to get security context of /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/rootfs/etc/nsswitch.conf: Operation not supportedpsplash-default             ##################################################
| update-alternatives: Linking /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/rootfs//usr/bin/psplash to /usr/bin/psplash-default
| kernel-module-michael-mic   ##################################################
| kernel-module-nls-utf8      ##################################################
| tzdata                      ##################################################
| Updating /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/rootfs/etc/localtime with /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/rootfs/usr/share/zoneinfo/Universal
| --
| Delayed package scriptlet: # distcc - postinst
| Delayed package scriptlet: # gthumb - postinst
| Delayed package scriptlet: # connman-gnome - postinst
| Delayed package scriptlet: # dates - postinst
| Delayed package scriptlet: # tasks - postinst
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by eglibc-locale-en-gb-2.15-r0.x32+svnr16540.x86_64_x32
| error: Failed dependencies:
|       virtual-locale-en-gb is needed by xkeyboERROR: Function failed: do_rootfs (see /builddisk/build/build-x32/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato-1.0-r0/temp/log.do_rootfs.8090 for further information)
| ard-config-locale-en-gb-2.1-r1.x86_64_x32
| error: Failed dependencies:
|       virtual-lo
|
NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4837 tasks of which 3636 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato.bb, do_rootfs
Summary: There were 182 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Comment 1 Nitin Kamble 2012-03-13 20:28:29 UTC
And one of the rpm is providing the dependency. so looks like rpm is dropping that package before dependency checking.




locale-base-en-gb-2.15-r19.x86_64_x32.rpm file provides virtual-locale-en-gb

But it has no mention in the log file.


[nitin@nbuild0 x86_64_x32]$ pwd
/builddisk/build/build-x32/tmp/work/x86_64_x32-poky-linux-gnux32/eglibc-locale-2.15-r19/deploy-rpms/x86_64_x32

[nitin@nbuild0 x86_64_x32]$ rpm -qp locale-base-en-gb-2.15-r19.x86_64_x32.rpm --provides
warning: locale-base-en-gb-2.15-r19.x86_64_x32.rpm: Header V4 DSA/SHA1 Signature, key ID ff271d8a: NOKEY virtual-locale-en-gb virtual-locale-en locale-base-en-gb = 2.15-r19 locale-base-en-gb = 2.15-r19
Comment 2 Nitin Kamble 2012-03-13 20:32:41 UTC
To reproduce the issue:
build a core-image-sato x32 image by following steps on this link:

https://wiki.yoctoproject.org/wiki/X32_abi
Comment 3 Mark Hatle 2012-05-08 15:53:57 UTC
Estimate of 5 days includes basic sanity checking.
Comment 4 veera 2012-08-21 12:15:40 UTC
please Test Excution plan pdf ASAP
Comment 5 Saul Wold 2012-09-18 15:52:03 UTC
I attempted this build with the latest master and x32 built with RPM now, so I am closing as Obsolete