[Dev] error building tizen common image

joachim rodrigues joa_rodrigues at hotmail.com
Mon Sep 1 21:02:58 GMT 2014


Hi

Thanks it worked.

But now i'm getting this error for command :
   gbs build -A i586


[  140s]
info: finished building tizen-extensions-crosswalk
info: updating local repo
69 blocs
info: *** Build Status Summary ***
=== the following packages failed to build due to missing build 
dependencies (2) ===
qemu-accel-armv7l:
   nothing provides cross-armv7l-gcc49-icecream-backend
qemu-accel-aarch64:
   nothing provides cross-aarch64-binutils
   nothing provides cross-aarch64-gcc49-icecream-backend

=== 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






in the report :
/home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/index.html
i can see that 2 packages are in error :

Expansion error detailsThe following packages have build dependencies 
issue:
Package name 	Package path 	Expansion error
qemu-accel-armv7l 
/home/joachim/tizen_common_profile/platform/upstream/qemu-accel 	nothing 
provides cross-armv7l-gcc49-icecream-backend
qemu-accel-aarch64 
/home/joachim/tizen_common_profile/platform/upstream/qemu-accel 	nothing 
provides cross-aarch64-binutils
nothing provides cross-aarch64-gcc49-icecream-backend


Then i also have 3 error logs  :

less 
/home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logs/fail/capi-appfw-application-0.1.0-55/log.txt 

contains :

     [  104s] [291/297] installing system-server-2.0.0-0
     [  104s]        file /usr/bin/set_pmon from install of 
system-server-2.0.0-0.i686 conflicts with file from package 
sysman-0.2.29-1.i686
     [  104s] exit ...








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

contains :

    [   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)













less 
/home/joachim/GBS-ROOT/local/repos/tizen3.0_common/i586/logs/fail/libzypp-12.11.0-1/log.txt
contains :
[  247s] cd /home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build/zypp && 
/usr/bin/c++   -DHAVE_PIPE2 -DHAVE_UDEV 
-DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" 
-DVERSION=\"12.11.0\" -DWITH_DEPRECATED_HISTORYITEM_API=1 -DZYPP_DLL 
-D_FILE_OFFSET_BITS=64 -D_RPM_4_X -D_WITH_LIBPROXY_SUPPORT_ 
-Dzypp_EXPORTS -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -fvisibility-inlines-hidden 
-fno-strict-aliasing -fPIC -g -rdynamic -Wall -Woverloaded-virtual 
-Wnon-virtual-dtor -Wl,-as-needed -std=c++0x -O2 -g -m32 -march=i686 
-mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables  
-fvisibility-inlines-hidden -fno-strict-aliasing -fPIC -g -rdynamic 
-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wl,-as-needed -std=c++0x 
-O3 -fPIC -I/home/abuild/rpmbuild/BUILD/libzypp-12.11.0 
-I/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build -I/usr/include/rpm 
-I/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build/zypp 
-DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o 
CMakeFiles/zypp.dir/base/IOStream.cc.o -c 
/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/zypp/base/IOStream.cc
[  247s] Building CXX object zypp/CMakeFiles/zypp.dir/base/InputStream.cc.o
[  247s] cd /home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build/zypp && 
/usr/bin/c++   -DHAVE_PIPE2 -DHAVE_UDEV 
-DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" 
-DVERSION=\"12.11.0\" -DWITH_DEPRECATED_HISTORYITEM_API=1 -DZYPP_DLL 
-D_FILE_OFFSET_BITS=64 -D_RPM_4_X -D_WITH_LIBPROXY_SUPPORT_ 
-Dzypp_EXPORTS -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -fvisibility-inlines-hidden 
-fno-strict-aliasing -fPIC -g -rdynamic -Wall -Woverloaded-virtual 
-Wnon-virtual-dtor -Wl,-as-needed -std=c++0x -O2 -g -m32 -march=i686 
-mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables  
-fvisibility-inlines-hidden -fno-strict-aliasing -fPIC -g -rdynamic 
-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wl,-as-needed -std=c++0x 
-O3 -fPIC -I/home/abuild/rpmbuild/BUILD/libzypp-12.11.0 
-I/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build -I/usr/include/rpm 
-I/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build/zypp 
-DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o 
CMakeFiles/zypp.dir/base/InputStream.cc.o -c 
/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/zypp/base/InputStream.cc
[  248s] make[2]: *** 
[zypp/CMakeFiles/zypp.dir/sat/detail/PoolImpl.cc.o] Error 1
[  248s] make[2]: *** Waiting for unfinished jobs....
[  255s] make[2]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build'
[  255s] make[1]: *** [zypp/CMakeFiles/zypp.dir/all] Error 2
[  255s] make[1]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/libzypp-12.11.0/build'
[  255s] make: *** [all] Error 2
[  255s] error: Bad exit status from /var/tmp/rpm-tmp.huYjtm (%build)
[  255s]
[  255s]
[  255s] RPM build errors:
[  255s]     Bad exit status from /var/tmp/rpm-tmp.huYjtm (%build)
(END)


Thanks in advance

Joachim





Le 01/09/2014 09:21, Lv, RuiX a écrit :
>
> Hi Joachim,
>
> The HEAD of accepted/tizen_common branch is now pointing to 
> 3816771a0d93fdd9ec9c7be9751ace9df7d315af.
>
> Please sync latest code of platform/core/appfw/slp-pkgmgrand 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/eb7a4a5e/attachment-0001.html>


More information about the Dev mailing list