Hi Ulf,

 

I try to build crosswalk only, not full build of all package, referring the 
following link.

 

Clone specific project,

https://source.tizen.org/documentation/developer-guide/getting-started-guide/cloning-tizen-source

 

And then, building specific package,

https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-packages-locally-gbs

 

According to links, build.conf is not required. 

 

According to the following log, I think I have to git init in third_party/angle.

/../third_party/angle/.git/index', needed

 

BR,

Nobuhiko Tanibata

From: Hofemeier, Ulf [mailto:ulf.hofeme...@intel.com] 
Sent: Tuesday, August 05, 2014 9:36 AM
To: Tanibata, Nobuhiko (ADITJ/SWG)
Cc: u...@linux.intel.com; IVI Tizen; Ishikawa, Tetsuri (ADITJ/SWG)
Subject: RE: crosswalk local build

 

I built crosswalk using gbs today. I'm using the gbs.conf, pre-built toolchain 
and build.conf obtained from Gerrit using the following instructions. After 
copying the files gbs is looking for into the crosswalk git project directory 
on top of the Tizen branch, I run gbs -A i586 and that's all.

https://source.tizen.org/documentation/articles/creating-tizen-ivi-images-scratch-one-page

Ulf

On Aug 4, 2014 4:57 PM, "Tanibata, Nobuhiko (ADITJ/SWG)" 
<ntanib...@jp.adit-jv.com> wrote:

Hi Ulf,

Yes, I already checked out tizen branch..

And I set them in .gbs.conf. I also select a tag like
submit/tizen_ivi/20140729.000001 now. But it shows the same error.
[general]
upstream_branch = tizen
upstream_tag = submit/tizen_ivi/20140729.000001

It can be built with gbs? Or should I use different way?

BR,
Nobuhiko Tanibata
> -----Original Message-----
> From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of Ulf
> Hofemeier
> Sent: Tuesday, August 05, 2014 1:03 AM
> To: ivi@lists.tizen.org
> Subject: Re: crosswalk local build
>
> Hi Tanibata,
>
> Please make sure you are on the 'tizen' branch before you start a
build.
> Ulf
>
> On 14-08-04 01:32 AM, Tanibata, Nobuhiko (ADITJ/SWG) wrote:
> > Hi,
> >
> > I try to build crosswalk in my local env. However I cannot build it.
> > Please let me know any ideas.
> >
> > $git remote -v
> > origin
> >
> ssh://ntanib...@review.tizen.org:29418/platform/framework/web/crossw
> al
> > k
> > (fetch)
> > origin
> >
> ssh://ntanib...@review.tizen.org:29418/platform/framework/web/crossw
> al
> > k
> > (push)
> >
> > $less .gbs.conf
> > [general]
> > upstream_branch = tizen
> > upstream_tag = tizen
> > tmpdir=/var/tmp/
> > profile = profile.tizen3.0_ivi
> > work_dir=.
> >
> > [repo.tizen3.0_x86]
> >
> url=https://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen-iv
> i_
> > 20
> > 140730.1/repos/atom/packages/
> >
> > [profile.tizen3.0_ivi]
> > repos=repo.tizen3.0_x86
> >
> > $gbs build -A i586 --include-all
> > [  329s] now finalizing build dir...
> > [  404s]
> > -----------------------------------------------------------------
> > [  404s] I have the following modifications for crosswalk.spec:
> > [  404s] 51c51
> > [  404s] < BuildRequires:  pkgconfig(gles20) [  404s] --- [  404s] >
> > BuildRequires:  pkgconfig(egl) pkgconfig(glesv2) [  404s]
> > -----------------------------------------------------------------
> > [  404s] ----- building crosswalk.spec (user abuild) [  404s]
> > -----------------------------------------------------------------
> > [  404s]
> > -----------------------------------------------------------------
> > [  406s] + exec rpmbuild --define '_srcdefattr (-,root,root)'
> > --nosignature --target=i686-tizen-linux --define
> '_build_create_debug 1'
> > -ba /home/abuild/rpmbuild/SOURCES/crosswalk.spec
> > [  407s] Building target platforms: i686-tizen-linux [  407s]
Building
> > for target i686-tizen-linux [  407s] Executing(%prep): /bin/sh -e
> > /var/tmp/rpm-tmp.rxFIdW [  407s] + umask 022 [  407s] + cd
> > /home/abuild/rpmbuild/BUILD [  407s] + cd
/home/abuild/rpmbuild/BUILD
> > [  407s] + rm -rf crosswalk [  407s] + /bin/tar -xf
> > /home/abuild/rpmbuild/SOURCES/crosswalk.tar
> > [  559s] + cd crosswalk
> > [  559s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> > [  566s] + cp /home/abuild/rpmbuild/SOURCES/xwalk.in .
> > [  566s] + cp /home/abuild/rpmbuild/SOURCES/xwalk.service.in .
> > [  566s] + cp /home/abuild/rpmbuild/SOURCES/crosswalk.manifest .
> > [  566s] + cp /home/abuild/rpmbuild/SOURCES/crosswalk.xml.in .
> > [  566s] + cp /home/abuild/rpmbuild/SOURCES/crosswalk.png .
> > [  566s] + sed s/@VERSION@/8.37.180.0/g crosswalk.xml.in [  566s] +
> > sed 's|@LIB_INSTALL_DIR@|/usr/lib|g' xwalk.in [  566s] + sed
> > 's|@LIB_INSTALL_DIR@|/usr/lib|g' xwalk.service.in [  566s] + cp -a
> > src/AUTHORS AUTHORS.chromium [  567s] + cp -a src/LICENSE
> > LICENSE.chromium [  567s] + cp -a src/xwalk/LICENSE LICENSE.xwalk [
> > 567s] + exit 0 [  567s] Executing(%build): /bin/sh -e
> > /var/tmp/rpm-tmp.CmOfmD [  567s] + umask 022 [  567s] + cd
> > /home/abuild/rpmbuild/BUILD [  567s] + cd crosswalk [  567s] +
LANG=C
> > [  567s] + export LANG [  567s] + unset DISPLAY [  567s] +
CFLAGS='-O2
> > -g -m32 -march=i686 -mtune=i686
> > -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
> > -funwind-tables -fasynchronous-unwind-tables'
> > [  567s] + export CFLAGS
> > [  567s] + CXXFLAGS='-O2 -g -m32 -march=i686 -mtune=i686
> > -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
> > -funwind-tables -fasynchronous-unwind-tables'
> > [  567s] + export CXXFLAGS
> > [  567s] + FFLAGS='-O2 -g -m32 -march=i686 -mtune=i686
> > -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
> > -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir'
> > [  567s] + export FFLAGS
> > [  567s] + LD_AS_NEEDED=1
> > [  567s] + export LD_AS_NEEDED
> > [  567s] ++ echo -O2 -g -m32 -march=i686 -mtune=i686
> > -fmessage-length=0
> > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> > -fasynchronous-unwind-tables [  567s] ++ sed
> > s,-fno-omit-frame-pointer,,g [  567s] + export 'CFLAGS=-O2 -g -m32
> > -march=i686 -mtune=i686
> > -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
> > -funwind-tables -fasynchronous-unwind-tables'
> > [  567s] + CFLAGS='-O2 -g -m32 -march=i686 -mtune=i686
> > -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
> > -funwind-tables -fasynchronous-unwind-tables'
> > [  567s] + export 'LDFLAGS= -Wl,--no-keep-memory'
> > [  567s] + LDFLAGS=' -Wl,--no-keep-memory'
> > [  567s] + BUILDDIR_NAME=
> > [  567s] + '[' -n '' ']'
> > [  567s] + GYP_EXTRA_FLAGS=' -Duse_ozone=1
> > -Denable_ozone_wayland_vkb=1 -Denable_xdg_shell=0'
> > [  567s] + GYP_EXTRA_FLAGS=' -Duse_ozone=1
> > -Denable_ozone_wayland_vkb=1
> > -Denable_xdg_shell=0 -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0
> > -Dlinux_use_bundled_gold=0 '
> > [  567s] + GYP_EXTRA_FLAGS=' -Duse_ozone=1
> > -Denable_ozone_wayland_vkb=1
> > -Denable_xdg_shell=0 -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0
> > -Dlinux_use_bundled_gold=0  -Ddisable_fatal_linker_warnings=1'
> > [  567s] + GYP_EXTRA_FLAGS=' -Duse_ozone=1
> > -Denable_ozone_wayland_vkb=1
> > -Denable_xdg_shell=0 -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0
> > -Dlinux_use_bundled_gold=0  -Ddisable_fatal_linker_warnings=1
> > -Duse_alsa=0'
> > [  567s] + GYP_EXTRA_FLAGS=' -Duse_ozone=1
> > -Denable_ozone_wayland_vkb=1
> > -Denable_xdg_shell=0 -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0
> > -Dlinux_use_bundled_gold=0  -Ddisable_fatal_linker_warnings=1
> > -Duse_alsa=0 -Denable_webrtc=0'
> > [  567s] + export GYP_GENERATORS=ninja [  567s] +
GYP_GENERATORS=ninja
> > [  567s] + ./src/xwalk/gyp_xwalk src/xwalk/xwalk.gyp --no-parallel
> > -Duse_ozone=1 -Denable_ozone_wayland_vkb=1 -Denable_xdg_shell=0
> > -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0
> > -Dlinux_use_bundled_gold=0 -Ddisable_fatal_linker_warnings=1
> > -Duse_alsa=0 -Denable_webrtc=0 -Dchromeos=0 -Dtizen=1
> -Dpython_ver=2.7
> > -Duse_aura=1 -Duse_cups=0 -Duse_gconf=0 -Duse_gnome_keyring=0
> > -Duse_kerberos=0 -Duse_system_bzip2=1 -Duse_system_libexif=1
> > -Duse_system_libxml=1 -Duse_system_nspr=1 -Dshared_process_mode=1
> > -Denable_hidpi=1
> > [  568s] Updating projects from gyp files...
> > [  611s] Running build/landmines.py...
> > [  611s] + ninja -j8 -C src/out/Release xwalk xwalkctl
xwalk_launcher
> > xwalk-pkg-helper [  611s] ninja: Entering directory
`src/out/Release'
> > [  611s] ninja: error: '../../third_party/angle/.git/index', needed
> by
> > 'gen/commit.h', missing and no known rule to make it [  611s] error:
> > Bad exit status from /var/tmp/rpm-tmp.CmOfmD (%build) [  611s] [
> > 611s] [  611s] RPM build errors:
> > [  611s]     Bad exit status from /var/tmp/rpm-tmp.CmOfmD (%build)
> > warning: build failed, Leaving the logs in
> >
> /home/user/GBS-ROOT/local/repos/tizen3.0_ivi/i586/logs/fail/crosswal
> k-8.
> > 37.180.0-0/log.txt
> > info: *** Build Status Summary ***
> > === the following packages failed to build due to rpmbuild issue (1)
> > ===
> > crosswalk:
> >
> /home/user/GBS-ROOT/local/repos/tizen3.0_ivi/i586/logs/fail/crosswal
> k-8.
> > 37.180.0-0/log.txt
> > === Total succeeded built packages: (0) ===
> > info: generated html format report:
> >       /home/user/GBS-ROOT/local/repos/tizen3.0_ivi/i586/index.html
> > info: generated RPM packages can be found from local repo:
> >       /home/user/GBS-ROOT/local/repos/tizen3.0_ivi/i586/RPMS
> > info: generated source RPM packages can be found from local repo:
> >       /home/user/GBS-ROOT/local/repos/tizen3.0_ivi/i586/SRPMS
> > info: build logs can be found in:
> >       /home/user/GBS-ROOT/local/repos/tizen3.0_ivi/i586/logs
> > info: build roots located in:
> >       /home/user/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.*
> > error: <gbs>some packages failed to be built
> >
> > BR,
> > ntanibata
> > _______________________________________________
> > IVI mailing list
> > IVI@lists.tizen.org
> > https://lists.tizen.org/listinfo/ivi
>
> _______________________________________________
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to