Hi all, There were few packages missing, so I downloaded all the packages once again and I am able to build with local repo. Thanks for quick responses and helping me figuring out the issue. I have not compiled all the source but only have verified with few source packages like avsystem, systemd , alsa packages but I hope it works for all. I am using following command: sudo gbs build -D /var/tmp/user-gbs/tizen2.0.conf -A armv7l
Thanks On Tue, Feb 26, 2013 at 2:01 PM, Vikash Kumar <[email protected]>wrote: > Hello all, > > I am also trying to do the same thing. > > First thing, is the command > find > /space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages|grep > -E “rpm$”|wc > > is correct? > on console i do get > 0 0 0 > > But when I replaces double quotes with single quote in rpm$, i get this > > 358 358 53897 > > When running the build command, i got this message in the end: > > > info: retrieving repo metadata... > info: parsing package data... > /root/GBS-ROOT/local/sources/build/glib2-2.32.3-1/glib2.spec: No such file > or directory > Use of uninitialized value $name in hash element at /usr/bin/depanneur > line 669. > Use of uninitialized value $name in hash element at /usr/bin/depanneur > line 683. > /root/GBS-ROOT/local/sources/build/u-boot-1.3.4-1/u-boot.spec: No such > file or directory > Use of uninitialized value $name in hash element at /usr/bin/depanneur > line 669. > Use of uninitialized value $name in hash element at /usr/bin/depanneur > line 683. > warning: build arch not compatible: i386 i486 i586 i686 athlon > warning: build arch not compatible: i386 i486 i586 i686 athlon > /root/GBS-ROOT/local/sources/build/dhcp-4.2.3-1.P2/dhcp.spec: No such file > or directory > ... > /root/GBS-ROOT/local/sources/build/emgd-bin-3104-1.8/emgd-bin.spec: No > such file or directory > Use of uninitialized value $name in hash element at /usr/bin/depanneur > line 669. > Use of uninitialized value $name in hash element at /usr/bin/depanneur > line 683. > warning: build arch not compatible: i386 i486 i586 i686 athlon > Use of uninitialized value $version in concatenation (.) or string at > /usr/bin/depanneur line 1468. > Use of uninitialized value $release in concatenation (.) or string at > /usr/bin/depanneur line 1468. > > info: building repo metadata ... > info: package dependency resolving ... > /root/GBS-ROOT/local/sources/build/emgd-bin-3104-1.8/emgd-bin.spec: No > such file or directory > Can't use an undefined value as an ARRAY reference at /usr/bin/depanneur > line 892. > error: <gbs>rpmbuild fails > > > > Any suggestion for this problem?? > > Thanks, > > Vikash. > > > On Tue, Feb 26, 2013 at 1:29 PM, embedded linux < > [email protected]> wrote: > >> Hi Qiang, >> When I do, >> >> find >> /space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages|grep >> -E “rpm$”|wc >> On console I get, >> 0 0 0 >> I have downloaded the repo using the command, >> wget -r -nH -nd -x -c >> http://download.tizen.org/releases/daily/2.0alpha/common/latest/ >> In >> /space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages/armv7l >> There is index.html file and all the source are in >> /space/tizenfs_bkup/tizen_local_repo/releases/daily/2.0alpha/common/latest/repos/tizen-base/source/ >> >> Any help? >> >> Thanks >> >> >> >> >> On Tue, Feb 26, 2013 at 1:23 PM, Zhang, Qiang Z >> <[email protected]>wrote: >> >>> 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]> >>> 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]] >>> *Sent:* Tuesday, February 26, 2013 3:33 PM >>> *To:* Zhang, Qiang Z >>> *Cc:* [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]> 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]] *On Behalf Of *embedded linux >>> *Sent:* Tuesday, February 26, 2013 2:53 PM >>> *To:* [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 >> >> >
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
