Bug 2883

Summary: gdk-pixbuf: do_install failed in a parallel build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Wenzong.Fan <wenzong.fan>
Component: graphicsAssignee: Wenzong.Fan <wenzong.fan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: laurentiu.serban, liezhi.yang, meta.mr.watcher, meta.watcher, sgw, song.liu, 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 Wenzong.Fan 2012-08-03 02:10:46 UTC
The error logs from log.do_install:
-----------------------
x86_64-linux-libtool: relink: gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/io-png.o   -Wl,-rpath -Wl,/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/usr/lib -L/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/usr/lib -L/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/lib -L/buildarea/wfan/qt4-native-4.8.1/tmp/work/x86_64-linux/gdk-pixbuf-native-2.24.1-r3/gdk-pixbuf-2.24.1/image/test/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/usr/lib -lgdk_pixbuf-2.0 -lgio-2.0 -lgmodule-2.0 -ldl -lresolv -lgobject-2.0 -lgthread-2.0 -lffi -lglib-2.0 -lpthread -lrt -lpng12 -lz -lm  -O2 -Wl,-rpath-link -Wl,/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link -Wl,/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/lib -Wl,-rpath -Wl,/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/buildarea/wfan/qt4-native-4.8.1/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -pthread   -pthread -Wl,-soname -Wl,libpixbufloader-png.so -o .libs/libpixbufloader-png.so
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
collect2: ld returned 1 exit status
x86_64-linux-libtool: install: error: relink `libpixbufloader-png.la' with the above command before installing it
make[4]: *** [install-loaderLTLIBRARIES] Error 1
Comment 1 Wenzong.Fan 2012-08-03 02:17:13 UTC
This is a parallel install issue that lib libpixbufloader-png.so depends on libgdk_pixbuf-2.0.so, but libgdk_pixbuf-2.0.so is not installed while installing/relinking libpixbufloader-png.so.

Make an explicit dependency to the libs install target would fix this issue.
Comment 3 Laurentiu Serban 2012-08-19 09:52:41 UTC
verified as I could not reproduce the issue on commit 8b8748c8f963900b83dc0fdd7757556f917fe4fd