Bug 839

Summary: LSB 4.1:the error is related with gdk-pixbuf-loader-*
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Xiaofeng Yan <Xiaofeng.yan>
Component: graphicsAssignee: Mei Lei <lei.mei>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: leaderg97, meta.mr.watcher, meta.watcher, sgw
Version: 1.0   
Target Milestone: 1.0 PointRelease   
Hardware: mpc8315e-rdb   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Xiaofeng Yan 2011-03-10 01:27:01 UTC
image:poky-image-lsb-sdk-mpc8315e-rdb-20110306063158.rootfs.tar.gz
arch :ppc
platform:mpc8315e-rdb 

there are some failed items during lsb test. the detailed description is follow:

Desktop:
===========================================================
/tests/functions/GdkPixbufFileLoading/GdkPixbufFileLoading 5
test case: /opt/lsb/test/desktop/gtkvts/tet_tmp_dir/09804aa/tests/functions/GdkPixbufFileLoading/GdkPixbufFileLoading, TP number: 5 
GdkPixbufFileLoading.c, line 498: 
"gdk_pixbuf_new_from_file":pixbuf is NULL
============================================================
/tests/functions/GdkPixbufFileSaving/GdkPixbufFileSaving 3 	failed 	
Message from the test:

test case: /opt/lsb/test/desktop/gtkvts/tet_tmp_dir/09804aa/tests/functions/GdkPixbufFileSaving/GdkPixbufFileSaving, TP number: 3 
GdkPixbufFileSaving.c, line 358: 
"gdk_pixbuf_save":error happened!
===========================================================
Desktop-t2c:

/gdk-pixbuf-t2c/tests/FileLoading/FileLoading 8
Message from the test:

Target interface(s):
 gdk_pixbuf_new_from_file
 gdk_pixbuf_new_from_file_at_size
 gdk_pixbuf_new_from_file_at_scale
--------
Checked requirement: {app.gdk_pixbuf_new_from_file.07}
Checked requirement: {gdk_pixbuf_new_from_file.06.04}
Checked requirement: {gdk_pixbuf_new_from_file.03}
Checked requirement: {gdk_pixbuf_new_from_file.04}
Error domain is gdk-pixbuf-error-quark.
Error code is 3(GDK_PIXBUF_ERROR_UNKNOWN_TYPE).
Checked requirement: {gdk_pixbuf_new_from_file.20.01}
Error code should be GDK_PIXBUF_ERROR_CORRUPT_IMAGE.
 
Requirement failed:
{gdk_pixbuf_new_from_file.20.01}
If an image file was broken somehow, error code should be GDK_PIXBUF_ERROR_CORRUPT_IMAGE
Comment 1 Xiaofeng Yan 2011-03-10 01:30:52 UTC
The above error arise on qemux86 too. If we add packages gdk-pixbuf-loader-bmp and gdk-pixbuf-loader-ico to list task-poky-lsb.bb, then these errors will disappear.
Comment 2 Ke Yu 2011-03-10 16:11:04 UTC
Does it occurs in other platform? e.g. in qemux86
Comment 3 Xiaofeng Yan 2011-03-10 16:57:59 UTC
(In reply to comment #2)
> Does it occurs in other platform? e.g. in qemux86

yes, I think this problem should arise on all platform. because lsb test suite need gdk-pixfbuf-loader-* to deal with jepg, bmp,png, ico... and so on. I will add them to task-poky-lsb.bb .