I think you are still using old gbs, please upgrade gbs to latest gbs 0.15: 
https://download.tizen.org/tools/latest-release/

gbs.conf has been changed since gbs 0.10, new format please see: 
https://source.tizen.org/documentation/reference/git-build-system/configuration-file

GBS can build all sources in correct order based on dependency, command like:

$ gbs build --threads --exclude=cmake,gettext, -A armv7l <top_package_dir> # 
here, the top_package_dir is the dir contains all tizen packages.

You will get result:

info: *** [1/790] building m4-1.4.14-1 i586 tizen2.1 (worker: 0) ***
info: *** [2/790] building alsa-scenario-scn-data-0-mc1n2-0.1.0-2 i586 tizen2.1 
(worker: 1) ***
info: *** [3/790] building libpthread-stubs-0.3-2.8 i586 tizen2.1 (worker: 2) 
***
info: *** [4/790] building chrpath-0.13-3 i586 tizen2.1 (worker: 3) ***
info: finished building alsa-scenario-scn-data-0-mc1n2
info: *** [5/790] building automake-1.11.1-3 i586 tizen2.1 (worker: 1) ***
info: finished building chrpath
info: finished building libpthread-stubs
info: *** [6/790] building dosfstools-2.11-1 i586 tizen2.1 (worker: 2) ***
...

Thanks
Qiang

From: [email protected] [mailto:[email protected]] 
On Behalf Of mars
Sent: Saturday, May 18, 2013 12:11 AM
To: [email protected]
Subject: [Tizen General] how to find the right order to compile all the source 
code of Tizen?

Hi, guys,

I've downloaded all the source code of tizen2.1
and I want to build all components of it
so i write a shell script to do this work as follows:

#!/bin/bash
echo "Prepare for component to be compiled..."
find . -name .git 1>/tmp/git_dir.$$

for line in $(cat /tmp/git_dir.$$)
do
    dir=`echo ${line%%.git}`
    echo $dir
    cd $dir
    gbs build -A armv7l
    cd -
done

the gbs.conf file is as follows:

[general]
; general settings
tmpdir = /var/tmp
[build]
build_cmd = /usr/bin/build
build_root = /var/tmp/build-root-gbs
su-wrapper = sudo
distconf = /usr/share/gbs/tizen-1.0.conf
; optional, repos definitions
repo1.url = 
https://download.tizen.org/snapshots/2.1/common/latest/repos/tizen-main/armv7l/packages/
repo1.user = #####

; one more repo

but I got these errors like:

warning: subcommand oriented style of config is deprecated. Please check 
~/.gbs.conf.template, a new profile oriented style of config which was 
converted from your current settings.
info: generate repositories ...
info: build conf has been downloaded at:
      /var/tmp/mars-gbs/tizen2.1.conf
info: start building packages from: 
/home/mars/opensource/tizen/tizen/toolchains/cmake (git)
info: prepare sources...
info: retrieving repo metadata...
info: parsing package data...
info: building repo metadata ...
info: package dependency resolving ...
error: *** Error Summary ***
=== the following packages failed to build due to missing build dependencies ===
cmake:
  nothing provides expat-devel
  nothing provides pkgconfig(libarchive) >= 2.8.0
  nothing provides pkgconfig(libcurl)
  nothing provides pkgconfig(zlib)
  nothing provides procps
  nothing provides pkgconfig(ncurses)
  nothing provides nss
  nothing provides qemu.x86_64
  nothing provides libfile-x86-arm
  nothing provides elfutils-libelf-x86-arm
  nothing provides nss-softokn-freebl-x86-arm
  nothing provides nss-x86-arm
  nothing provides nspr-x86-arm
  nothing provides libgcc-x86-arm
  nothing provides libacl-x86-arm
  nothing provides libattr-x86-arm
  nothing provides libcap-x86-arm
  nothing provides liblua-x86-arm
  nothing provides popt-x86-arm
  nothing provides xz-libs-x86-arm
  nothing provides zlib-x86-arm
  nothing provides file
  nothing provides sqlite-x86-arm
  nothing provides mpfr-x86-arm
  nothing provides gmp-x86-arm
  nothing provides mpc-x86-arm
  nothing provides bzip2-libs-x86-arm
  nothing provides rpm-x86-arm
  nothing provides rpm-libs-x86-arm
  nothing provides tizen-accelerator
  nothing provides eglibc-x86-arm
  nothing provides ncurses-libs-x86-arm
  nothing provides bash-x86-arm
  nothing provides rpm
  nothing provides rpm-libs
  nothing provides setup
  nothing provides filesystem
  nothing provides bash
  nothing provides bzip2
  nothing provides libc.so.6(GLIBC_2.11) needed by tizen-coreutils
  nothing provides libgcc_s.so.1 needed by tizen-coreutils
  nothing provides libc.so.6(GLIBC_2.4) needed by tizen-coreutils
  nothing provides ld-linux.so.3(GLIBC_2.4) needed by tizen-coreutils
  nothing provides libc.so.6(GLIBC_2.8) needed by tizen-coreutils
  nothing provides libgcc_s.so.1(GCC_3.5) needed by tizen-coreutils
  nothing provides librt.so.1 needed by tizen-coreutils
  nothing provides libc.so.6(GLIBC_2.7) needed by tizen-coreutils
  nothing provides librt.so.1(GLIBC_2.4) needed by tizen-coreutils
  nothing provides ld-linux.so.3 needed by tizen-coreutils
  nothing provides libc.so.6 needed by tizen-coreutils
  nothing provides diffutils
  nothing provides liblua
  nothing provides eglibc
  nothing provides eglibc-common
  nothing provides libacl
  nothing provides libattr
  nothing provides libgcc
  nothing provides libcap
  nothing provides popt
  nothing provides libgcc_s.so.1(GCC_3.5) needed by readline
  nothing provides ld-linux.so.3 needed by readline
  nothing provides libc.so.6 needed by readline
  nothing provides libc.so.6(GLIBC_2.11) needed by readline
  nothing provides libgcc_s.so.1 needed by readline
  nothing provides libc.so.6(GLIBC_2.4) needed by readline
  nothing provides ld-linux.so.3(GLIBC_2.4) needed by readline
  nothing provides sed
  nothing provides tar
  nothing provides zlib
  nothing provides sqlite
  nothing provides ncurses-libs
  nothing provides elfutils-libelf
  nothing provides bzip2-libs
  nothing provides libstdc++
  nothing provides libfile
  nothing provides xz-libs
  nothing provides nspr
  nothing provides nss-softokn-freebl
  nothing provides tar-x86-arm
  nothing provides sed-x86-arm
  nothing provides elfutils-x86-arm
  nothing provides elfutils-libs-x86-arm
  nothing provides diffutils-x86-arm
  nothing provides gzip-x86-arm
  nothing provides coreutils-x86-arm
  nothing provides file-x86-arm
  nothing provides make
  nothing provides make-x86-arm
  nothing provides rpm-build-x86-arm
  nothing provides cross-arm-binutils-accel
  nothing provides cross-arm-gcc-accel
  nothing provides binutils
  nothing provides gcc
  nothing provides rpm-build
  nothing provides libtool
  nothing provides zlib-devel needed by lzo-devel
  nothing provides build
  nothing provides build-compare
  nothing provides util-linux
  nothing provides patch-x86-arm
  nothing provides findutils-x86-arm
  nothing provides gawk-x86-arm
  nothing provides fdupes-x86-arm
  nothing provides cpio
  nothing provides gcc-c++
  nothing provides perl-libs
  nothing provides perl
  nothing provides findutils
  nothing provides perl-HTML-Tagset
  nothing provides perl-IO-Compress-Base
  nothing provides perl-Module-Pluggable
  nothing provides perl-Pod-Escapes
  nothing provides perl-TimeDate
  nothing provides perl-Compress-Raw-Zlib
  nothing provides perl-ExtUtils-ParseXS
  nothing provides perl-Pod-Simple
  nothing provides perl-Test-Simple
  nothing provides perl-IO-Compress-Zlib
  nothing provides perl-Test-Harness
  nothing provides perl-ExtUtils-MakeMaker
  nothing provides perl-CPAN
  nothing provides gzip
  nothing provides net-tools
  nothing provides patch
  nothing provides gawk
  nothing provides grep
  nothing provides pkgconfig
  nothing provides autoconf
  nothing provides automake
  nothing provides m4
  nothing provides tzdata
  nothing provides tizen-release
  nothing provides kernel-headers
  nothing provides eglibc-headers
  nothing provides xz-lzma-compat


error: <gbs>rpmbuild fails


anyone has recommends?
BR.
mars.
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to