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/crosswalk
(fetch)
origin
ssh://ntanib...@review.tizen.org:29418/platform/framework/web/crosswalk
(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-ivi_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/crosswalk-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/crosswalk-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

Reply via email to