Bug 2905

Summary: gdk-pixbuf: postinst script failed on boot
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jackie Huang <jackie.huang>
Component: graphicsAssignee: Jackie Huang <jackie.huang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jackie.huang, jessica.zhang, laurentiu.serban, meta.mr.watcher, meta.watcher, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jackie Huang 2012-08-07 02:04:09 UTC
If gtk+ is added for core-image-minimal, postinst script failed with "gtk-update-icon-cache: No theme index file." when booting up.

Steps:
1. Add the following line in local.conf:
IMAGE_INSTALL_append += "gtk+"
2. bitbake core-image-minimal
3. runqemu qemux86 core-image-minimal nographic

uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
Console: switching to colour frame buffer device 80x30
uvesafb: framebuffer at 0xf0000000, mapped to 0xc8880000, using 8192k, total 8192k
fb0: VESA VGA frame buffer device
Starting udev
udev[60]: starting version 164
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... done.
Running postinst /etc/rpm-postinsts/100...
Running postinst /etc/rpm-postinsts/101...
Running postinst /etc/rpm-postinsts/102...
Running postinst /etc/rpm-postinsts/103...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/103 failed.
Running postinst /etc/rpm-postinsts/104...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/104 failed.
Running postinst /etc/rpm-postinsts/105...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/105 failed.
Running postinst /etc/rpm-postinsts/106...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/106 failed.
Running postinst /etc/rpm-postinsts/107...
Running postinst /etc/rpm-postinsts/108...
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.

Yocto (Built by Poky 7.0) 1.2+snapshot-20120807 qemux86 ttyS0

qemux86 login: root
Comment 2 Laurentiu Serban 2012-08-18 10:33:01 UTC
verified.
the issue does not reproduce anymore with commit: af847d36375aa53f0c1ee2a00c97ba9f38837d1b