gbs knows how to recurse down a directory structure to find a list of projects 
and then build each one in the correct order.  Just clone a bunch of trees in 
some location and run gbs on that directory.

________________________________________
From: general-boun...@lists.tizen.org [general-boun...@lists.tizen.org] on 
behalf of mars [colex.j...@gmail.com]
Sent: Friday, May 17, 2013 9:10 AM
To: general@lists.tizen.org
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
General@lists.tizen.org
https://lists.tizen.org/listinfo/general

Reply via email to