[Dev] error building tizen common image

joachim rodrigues joa_rodrigues at hotmail.com
Sat Aug 30 12:26:15 GMT 2014


Hi all, 
I'm trying to build an image following this tutorial : 
https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-packages-locally-gbs
When i run this command : 
gbs build -A i586
I'm getting this error : 


=== the following packages failed to build due to rpmbuild issue (2) ===capi-appfw-package-manager: /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logs/fail/capi-appfw-package-manager-0.0.30-1/log.txtlibzypp: /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logs/fail/libzypp-12.11.0-1/log.txt=== Total succeeded built packages: (22) ===info: generated html format report:     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/index.htmlinfo: generated RPM packages can be found from local repo:     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/RPMSinfo: generated source RPM packages can be found from local repo:     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/SRPMSinfo: build logs can be found in:     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logsinfo: build roots located in:     /home/joachim/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.*error: <gbs>some packages failed to be built






Then i opened the log : 

less  /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logs/fail/capi-appfw-package-manager-0.0.30-1/log.txt




lient -lsecurity-server-client -lssl -lcrypto -lsmack -lprivilege-control -ldlog -lpkgmgr_installer_client -lpkgmgr_installer_status_broadcast_server -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lpkgmgr-info [   23s] /usr/bin/cmake -E cmake_symlink_library libcapi-appfw-package-manager.so.0.0.30 libcapi-appfw-package-manager.so.0 libcapi-appfw-package-manager.so[   23s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30'[   23s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/CMakeFiles  1 2[   23s] [ 66%] Built target capi-appfw-package-manager[   23s] make -f tool/CMakeFiles/pkgmgr_tool.dir/build.make tool/CMakeFiles/pkgmgr_tool.dir/depend[   23s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30'[   23s] cd /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30 /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/tool /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30 /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/tool /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/tool/CMakeFiles/pkgmgr_tool.dir/DependInfo.cmake --color=[   23s] Scanning dependencies of target pkgmgr_tool[   23s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30'[   23s] make -f tool/CMakeFiles/pkgmgr_tool.dir/build.make tool/CMakeFiles/pkgmgr_tool.dir/build[   23s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30'[   23s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/CMakeFiles 3[   23s] [100%] Building C object tool/CMakeFiles/pkgmgr_tool.dir/main.c.o[   23s] cd /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/tool && /usr/bin/cc  -DPREFIX=\"/usr\" -DSLP_DEBUG -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables   -DSYSCONFDIR="/etc" -I/usr/include/aul -I/usr/include/vconf -I/usr/include/db-util -I/usr/include/security-server -I/usr/include/ -I/usr/include/dlog -I/usr/include/pkgmgr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -Wall   -DSYSCONFDIR="/etc" -I/usr/include/aul -I/usr/include/vconf -I/usr/include/db-util -I/usr/include/security-server -I/usr/include/ -I/usr/include/dlog -I/usr/include/pkgmgr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,-zdefs -fvisibility=hidden -I/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/include    -o CMakeFiles/pkgmgr_tool.dir/main.c.o   -c /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/tool/main.c[   23s] Linking C executable pkgmgr_tool[   23s] cd /home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30/tool && /usr/bin/cmake -E cmake_link_script CMakeFiles/pkgmgr_tool.dir/link.txt --verbose=1[   23s] /usr/bin/cc  -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables   -DSYSCONFDIR="/etc" -I/usr/include/aul -I/usr/include/vconf -I/usr/include/db-util -I/usr/include/security-server -I/usr/include/ -I/usr/include/dlog -I/usr/include/pkgmgr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -Wall   -DSYSCONFDIR="/etc" -I/usr/include/aul -I/usr/include/vconf -I/usr/include/db-util -I/usr/include/security-server -I/usr/include/ -I/usr/include/dlog -I/usr/include/pkgmgr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,-zdefs -fvisibility=hidden  -Wl,--as-needed -Wl,--rpath=/usr/lib CMakeFiles/pkgmgr_tool.dir/main.c.o  -o pkgmgr_tool -rdynamic ../libcapi-appfw-package-manager.so.0.0.30 -L/usr/lib/pkgmgr -laul -lbundle -lxdgmime -lail -lvconf -lSLP-db-util -lsqlite3 -licui18n -licuuc -licudata -lpkgmgr-client -lsecurity-server-client -lssl -lcrypto -lsmack -lprivilege-control -ldlog -lpkgmgr_installer_client -lpkgmgr_installer_status_broadcast_server -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lpkgmgr-info [   23s] ../libcapi-appfw-package-manager.so.0.0.30: undefined reference to `pkgmgr_pkginfo_get_usr_list'[   23s] collect2: error: ld returned 1 exit status[   23s] make[2]: *** [tool/pkgmgr_tool] Error 1[   23s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30'[   23s] make[1]: *** [tool/CMakeFiles/pkgmgr_tool.dir/all] Error 2[   23s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/capi-appfw-package-manager-0.0.30'[   23s] make: *** [all] Error 2[   23s] error: Bad exit status from /var/tmp/rpm-tmp.1i0alt (%build)[   23s] [   23s] [   23s] RPM build errors:[   23s]     Bad exit status from /var/tmp/rpm-tmp.1i0alt (%build)(END)





But as i'm novice i'm not understanding this error 
can someone help ?
Thanks





 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140830/c150c8e7/attachment.html>


More information about the Dev mailing list