Bug 687

Summary: qemu X boot failure due to missing of libhal.so.1
Product: [Runtime] System Startup Reporter: Dongxiao Xu <dongxiao.xu>
Component: system-startupAssignee: Saul Wold <sgw>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: dexuan.cui, kevin.tian, sgw
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dongxiao Xu 2011-01-29 18:53:51 UTC
Build qemuarm against commit 4e23e8f9d0e22cf534c19224cba0be9bedba0120 and boot the guest image, I met X start failure, and the rootfs log reports:

/home/dongxiao/poky/build-qemuarm-orig/tmp/sysroots/x86_64-linux/usr/sbin/prelink: /usr/bin/Xfbdev: Could not find one of the dependencies:     libhal.so.1 => not found
/home/dongxiao/poky/build-qemuarm-orig/tmp/sysroots/x86_64-linux/usr/sbin/prelink: /usr/bin/trace-cmd: R_ARM_TLS_DTPMOD32 reloc in executable?
+ '[' true ']'
+ rm -f /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs/etc/prelink.conf
+ rm -f /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs/etc/prelink.cache
++ du -ks /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs
++ awk '{size = $1 ; print size }'
+ pre_prelink_size=384436
+ echo 'Size after prelinking 384436.'
Size after prelinking 384436.
++ du -ks /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs
++ awk '{size = $1 * 1.2; print (size > 65536 ? size : 65536) }'
+ ROOTFS_SIZE=461323
...
Comment 1 Kevin Tian 2011-01-29 18:55:52 UTC
does add libhal (or libhal1?) to xserver's DEPENDS solve this issue?
Comment 2 Kevin Tian 2011-01-29 18:59:29 UTC
btw, I found that only xserver-xf86 has explicit DEPENDS on hal, not on xserver-kdrive which is used by arm...
Comment 3 Dongxiao Xu 2011-01-29 19:21:37 UTC
qemuarm X boot seccesstully after adding RDEPENDS += "hal" for xserver-kdrive.

Thanks for Kevin's suggestion.

-- Dongxiao
Comment 4 Saul Wold 2011-02-20 21:27:40 UTC
Please verify that this is still an issue, I believe this was resolved.