[Dev] error building tizen common image

Lv, RuiX ruix.lv at intel.com
Mon Sep 1 07:21:37 GMT 2014


Hi Joachim,

The HEAD of accepted/tizen_common branch is now pointing to 3816771a0d93fdd9ec9c7be9751ace9df7d315af.
Please sync latest code of platform/core/appfw/slp-pkgmgr and try again.

Rui

From: Lv, RuiX
Sent: Monday, September 01, 2014 11:03 AM
To: 'joachim rodrigues'; dev at lists.tizen.org
Subject: RE: [Dev] error building tizen common image

Hi Joachim,

After analyzing the build log,
I find that the revision of the package  "platform/core/appfw/slp-pkgmgr"  that defines  "pkgmgr_pkginfo_get_usr_list" is not up to date.

The correct revision is as follows:
VCS         : platform/core/appfw/slp-pkgmgr#3816771a0d93fdd9ec9c7be9751ace9df7d315af

Root cause is: Release engineer has not synced latest change on OBS to accepted/tizen_common branch.
I'll contact responsible release engineer and fix the issue ASAP.

Rui

From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of joachim rodrigues
Sent: Saturday, August 30, 2014 8:26 PM
To: dev at lists.tizen.org<mailto:dev at lists.tizen.org>
Subject: [Dev] error building tizen common image

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.txt
libzypp: /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.html
info: generated RPM packages can be found from local repo:
     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/RPMS
info: generated source RPM packages can be found from local repo:
     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/SRPMS
info: build logs can be found in:
     /home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logs
info: 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/20140901/857eb5b8/attachment-0001.html>


More information about the Dev mailing list