Hi Qiang, Thanks for the response. I am now able to compile the package. But I am facing another issue. when I try to compile the gbs build process hangs in between. I am following the below command : *sudo gbs build -A armv7l -D ~/build.conf --include-all*
I am pasting last few lines of compilation loags : [ 4s] ----------------------------------------------------------------- [ 4s] ----- building org.tizen.menu-screen.spec (user abuild) [ 4s] ----------------------------------------------------------------- [ 4s] ----------------------------------------------------------------- [ 4s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature -ba /home/abuild/rpmbuild/SOURCES/org.tizen.menu-screen.spec [ 4s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZInPXP [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + LANG=C [ 4s] + export LANG [ 4s] + unset DISPLAY [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + rm -rf org.tizen.menu-screen-1.0.23 [ 4s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/org.tizen.menu-screen-1.0.23.tar.gz [ 4s] + /bin/tar -xf - [ 4s] + STATUS=0 [ 4s] + '[' 0 -ne 0 ']' [ 4s] + cd org.tizen.menu-screen-1.0.23 [ 4s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 4s] + exit 0 [ 4s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iRzQ5E [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd org.tizen.menu-screen-1.0.23 [ 4s] + LANG=C [ 4s] + export LANG [ 4s] + unset DISPLAY [ 4s] + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__' [ 4s] + export CFLAGS [ 4s] + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__' [ 4s] + export CXXFLAGS [ 4s] + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -I%_fmoddir' [ 4s] + export FFLAGS [ 4s] + LD_AS_NEEDED=1 [ 4s] + export LD_AS_NEEDED [ 4s] + cmake . -DCMAKE_INSTALL_PREFIX=/usr [ 5s] -- The C compiler identification is GNU [ 5s] -- Check for working C compiler: /usr/bin/gcc [ 6s] -- Check for working C compiler: /usr/bin/gcc -- works [ 6s] -- Detecting C compiler ABI info [ 7s] -- Detecting C compiler ABI info - done [ 8s] -- checking for modules 'ail;aul;bundle;capi-appfw-application;dlog;ecore;ecore-evas;ecore-file;ecore-imf;ecore-input;ecore-x;edje;eet;eina;elementary;evas;heynoti;pkgmgr;sysman;syspopup-caller;utilX' [ 9s] -- found ail, version 0.1.0 [ 9s] -- found aul, version 0.1.0 [ 9s] -- found bundle, version 0.1.22 [ 9s] -- found capi-appfw-application, version As shown above, the build stops at any point when the dependent build requires is executed from the .spec file. I have tried to compile the latest 2.0 menu-screen package and this too hangs. Any pointers to solve the issue? Thanks On Thu, Apr 4, 2013 at 7:27 PM, Zhang, Qiang Z <[email protected]>wrote: > Hi,**** > > ** ** > > Please see gbs document : **** > > > https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build > **** > > > https://source.tizen.org/documentation/reference/git-build-system/configuration-file > **** > > ** ** > > You don’t need specify dependencies, gbs can help to download and install > to build root for building.**** > > ** ** > > How you get menu-screen source code? the input of gbs should be git repo.* > *** > > ** ** > > If you can’t clone from http://review.tizen.org/gerrit/ , you can > download src rpm from:**** > > ** ** > > > http://download.tizen.org/releases/2.0/tizen-2.0_20130219.4/repos/main/source/org.tizen.menu-screen-1.0.23-1.1.src.rpm > **** > > ** ** > > Then use gbs import to create a git repo for menu-screen.**** > > ** ** > > Then config http://download.tizen.org/releases/2.0/tizen-2.0_20130219.4 > to ~/.gbs.conf**** > > ** ** > > Finally, use “gbs build” to build menu-screen.**** > > ** ** > > Thanks**** > > Qiang**** > > ** ** > > ** ** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *abhishek tejaswi > *Sent:* Thursday, April 04, 2013 9:39 PM > *To:* Kok, Auke-jan H > *Cc:* [email protected] > *Subject:* Re: [Tizen General] Compile menu-screen using cmake**** > > ** ** > > Can anybody help me as to how to specify the dependency of rpm packages > path in CMakeLists.txt?**** > > I get following error when I do *cmake <src path> > > -- package 'ail' not found > -- package 'aul' not found > -- package 'bundle' not found > -- package 'capi-appfw-application' not found > -- package 'dlog' not found > -- package 'ecore' not found > -- package 'ecore-evas' not found > -- package 'ecore-file' not found > -- package 'ecore-imf' not found > -- package 'ecore-input' not found > -- package 'ecore-x' not found > -- package 'edje' not found > -- package 'eet' not found > -- package 'eina' not found > -- package 'elementary' not found > -- package 'evas' not found > -- package 'heynoti' not found > -- package 'pkgmgr' not found > -- package 'sysman' not found > -- package 'syspopup-caller' not found > -- package 'utilX' not found > CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 > (message): > A required package was not found > Call Stack (most recent call first): > /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 > (_pkg_check_modules_internal) > CMakeLists.txt:16 (pkg_check_modules) > > > -- Configuring incomplete, errors occurred! > > ***** > > *Thanks***** > > ** ** > > On Thu, Apr 4, 2013 at 2:46 PM, abhishek tejaswi < > [email protected]> wrote:**** > > Thanks Auke-Jan for the response.**** > > I gone through the documentation of cmake. No where I saw any details > related to gbs build. I made changes in CMakefiles directory files for > compiler option, path etc. How can I build it using gbs and where to > specify the rpm package dependencies? > > **** > > Thanks **** > > ** ** > > On Thu, Apr 4, 2013 at 12:05 AM, Kok, Auke-jan H <[email protected]> > wrote:**** > > ** ** > > On Wed, Apr 3, 2013 at 5:08 AM, abhishek tejaswi < > [email protected]> wrote:**** > > Hi all,**** > > I want to make ui related resolution changes in menu-screen source code. > It uses CMAKE to compile the code. Can anyone tell how do I compile the > source using cmake and create rpm package to install?**** > > ** ** > > CMAKE is an upstream project, and you should be able to find all the > documentation on http://www.cmake.org/.**** > > ** ** > > Most likely, you should be looking into using gbs to compile and build > rpms.**** > > ** ** > > Cheers,**** > > ** ** > > ** ** > > Auke**** > > **** > > ** ** > > ** ** >
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
