Could you please check if all remote RPMs have been downloaded to local:

$ find 
/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages|grep
 -E "rpm$"|wc.

I guess your local repo does not have enough RPMs.

Thanks
Qiang

From: embedded linux [mailto:[email protected]]
Sent: Tuesday, February 26, 2013 3:50 PM
To: Zhang, Qiang Z
Cc: [email protected]
Subject: Re: [Tizen General] Tizen armv7l build from local repo

Hi Qiang,
Thanks again for the reply. I think my local repo and gbs are not linked 
together properly. In source directory I can see all the packages the gbs is 
looking for but I am not able to link the path. Do I have to make any more 
changes?
I get following messages :

sudo gbs build -D ~/build.conf -A armv7l
info: generate repositories ...
info: start building packages from: 
/home/user/work/tizen/framework/multimedia/audio-session-manager (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 ===
audio-session-manager:
  nothing provides pkgconfig(glib-2.0)
  nothing provides pkgconfig(mm-log)
  nothing provides pkgconfig(sysman)
  nothing provides pkgconfig(vconf)
  nothing provides pkgconfig(avsysaudio)
  nothing provides pkgconfig(security-server)
  nothing provides rpm
  nothing provides rpm-libs
  nothing provides setup
  nothing provides filesystem
  nothing provides bash
  nothing provides bzip2
  nothing provides 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 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 nss
  nothing provides nspr
  nothing provides nss-softokn-freebl
  nothing provides binutils
  nothing provides gcc
  nothing provides rpm-build
  nothing provides libtool
  nothing provides build
  nothing provides build-compare
  nothing provides util-linux-ng
  nothing provides cpio
  nothing provides gcc-c++
  nothing provides perl-libs
  nothing provides perl
  nothing provides findutils
  nothing provides file
  nothing provides gzip
  nothing provides net-tools
  nothing provides make
  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: rpmbuild fails

On Tue, Feb 26, 2013 at 1:08 PM, Zhang, Qiang Z 
<[email protected]<mailto:[email protected]>> wrote:
.gbs.conf do not need to specify if its ~/.gbs.conf, and build.conf should be 
specified using -D, full command like:

$ gbs build -D ~/build.conf -A armv7l.


Thanks
Qiang

From: embedded linux 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, February 26, 2013 3:33 PM
To: Zhang, Qiang Z
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Tizen General] Tizen armv7l build from local repo

Hi Qiang,
Thanks for the reply.
I am using following command :
sudo gbs build -D ~/.gbs.conf -A armv7l

With gbs file given by you.
 I am getting following error.

info: generate repositories ...
unknown keyword in config: [general]
unknown keyword in config: profile
unknown keyword in config: [repo.tizen_latest]
unknown keyword in config: url
unknown keyword in config: [repo.base]
unknown keyword in config: 
url=/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages
unknown keyword in config: [repo.main]
unknown keyword in config: 
url=/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-main/armv7l/packages
unknown keyword in config: [profile.current]
unknown keyword in config: repos
info: start building packages from: 
/home/user/work/tizen/framework/multimedia/audio-session-manager (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 ===
audio-session-manager:
  nothing provides pkgconfig(glib-2.0)
  nothing provides pkgconfig(mm-log)
  nothing provides pkgconfig(sysman)
  nothing provides pkgconfig(vconf)
  nothing provides pkgconfig(avsysaudio)
  nothing provides pkgconfig(security-server)


error: rpmbuild fails

Please help me to solve the issue.

Thanks
On Tue, Feb 26, 2013 at 12:41 PM, Zhang, Qiang Z 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

Without --skip-conf-repos options, gbs build will also take repos from 
~/.gbs.conf, not sure if you have some other config repos, so please use 
-skip-conf-repos option, and have a try.

BTW, we suggest to config repo to ~/.gbs.conf, instead of using -R option. For 
your case, you can write .gbs.conf like:

[general]
profile = profile.current

[repo.base]
url=/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages

[repo.main]
url=/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-main/armv7l/packages

[profile.current]
repos = repo.base,repo.main

Then, just type: gbs build -D ~/.gbs.conf -A armv7l

For more gbs.conf usage, please refer to gbs doc: 
https://source.tizen.org/documentation/reference/git-build-system/configuration-file

Thanks
Qiang



From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of embedded linux
Sent: Tuesday, February 26, 2013 2:53 PM
To: [email protected]<mailto:[email protected]>
Subject: [Tizen General] Tizen armv7l build from local repo

Hi all,
I am trying to set up the GBS to be built locally. I am have made changes in 
.gbs.conf file and using following command :

sudo gbs build -A armv7l -R 
/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages
 -R 
/space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-main/armv7l/packages
 -D ~/build.conf

Where in the build.conf file is copied from /var/tmp/user-root/tizen2.0.conf 
file.
I get the following error. Basically it is not able to find the repo sources.


info: generate repositories ...
info: start building packages from: 
/home/prabhuraj/work/tizen/framework/multimedia/audio-session-manager (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 ===
audio-session-manager:
  nothing provides pkgconfig(glib-2.0)
  nothing provides pkgconfig(mm-log)
  nothing provides pkgconfig(sysman)
  nothing provides pkgconfig(vconf)
  nothing provides pkgconfig(avsysaudio)
  nothing provides pkgconfig(security-server)
  nothing provides rpm
  nothing provides rpm-libs
  nothing provides setup
  nothing provides filesystem
  nothing provides bash
  nothing provides bzip2
  nothing provides 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 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 nss
  nothing provides nspr
  nothing provides nss-softokn-freebl
  nothing provides binutils
  nothing provides gcc
  nothing provides rpm-build
  nothing provides libtool
  nothing provides build
  nothing provides build-compare
  nothing provides util-linux-ng
  nothing provides cpio
  nothing provides gcc-c++
  nothing provides perl-libs
  nothing provides perl
  nothing provides findutils
  nothing provides file
  nothing provides gzip
  nothing provides net-tools
  nothing provides make
  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: rpmbuild fails

Do I need to make any changes?

Please help me.

Thanks


_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to