Hi Qiang, I made the changes as per your suggestion in u-boot.spec file - </home/vaibhav/Tizen/kernel/u-boot/packaging/u-boot.spec> #Release: 1%{?dist} Release: 1 Still I got the same error - ------------------------------------------------------------------------------------------------------------------------------------------- /root/GBS-ROOT/local/sources/tizen2.0/u-boot-1.3.4-1/u-boot.spec: No such file or directory Can't use an undefined value as an ARRAY reference at /usr/bin/depanneur line 891. error: <gbs>rpmbuild fails -------------------------------------------------------------------------------------------------------------------------------------------
- The tried to access file <*/root/GBS-ROOT/local/sources/tizen2.0/u-boot-1.3.4-1/u-boot.spec> *but its not accesible. - Thus I tried copying the *u-boot.spec *from the source code to <* /root/GBS-ROOT/local/sources/tizen2.0/u-boot-1.3.4-1/>* but the folder *u-boot-1.3.4-1 *also didn't exists under <* /root/GBS-ROOT/local/sources/tizen2.0/>* * *So I manually created the the *u-boot-1.3.4-1* folder and copied the spec file to the GBS_ROOT This started my build. Thanks for you support. Regards, Vaibhav Shinde On Thu, Mar 7, 2013 at 2:54 PM, Zhang, Qiang Z <qiang.z.zh...@intel.com>wrote: > There’re two packages failing in your log, one is libgcc-x86, which can > be excluded(removed).**** > > ** ** > > Another is u-boot, which fails caused by Release tag in specfile, you can > update spec to fix this.**** > > ** ** > > -Release: 1%{?dist}**** > > +Release: 1**** > > ** ** > > We will consider fix this from tizen.org or gbs.**** > > ** ** > > ** ** > > For the first time building packages, gbs will first spend much time on > scan git tree and export them.**** > > ** ** > > For the second time, that’s not needed.**** > > ** ** > > --keep-packs option is recommended to be used to build all Tizen packages, > this option can save much time on initialize / recreate build root for > different packages.**** > > --threads=<> option may also be needed for parallel build.**** > > ** ** > > ** ** > > Thanks**** > > Qiang**** > > ** ** > > ** ** > > *From:* Vaibhav Shinde [mailto:v.bhav.shi...@gmail.com] > *Sent:* Thursday, March 07, 2013 4:26 PM > *To:* Zhang, Qiang Z; general@lists.tizen.org > *Subject:* Re: [Tizen General] Tizen Build on CentOS-6.3 Issue**** > > ** ** > > ** ** > > Hello Qiang,**** > > ** ** > > Thanks for you reply.**** > > Please find attached the complete build log attached, captured after the > clean up.**** > > We also tried for *$ gbs build -A i586*, but we get the same issue with > that as well.**** > > The attached log is for arch -> armv7l.**** > > ** ** > > I am buliding Tizen on 2-CPU having 4-core system, it really takes a very > long time to build**** > > can you suggest me any way to make build faster ?**** > > ** ** > > ** ** > > Thanks,**** > > Vaibhav Shinde**** > > ** ** > > On Thu, Mar 7, 2013 at 12:15 PM, Zhang, Qiang Z <qiang.z.zh...@intel.com> > wrote:**** > > Hi Vaibhav Shinde,**** > > **** > > Thanks for trying latest gbs 0.14 on CentOS.**** > > **** > > These error are not only exist on CentOS, but other distros. Let me > explain one by one.**** > > **** > > For *-x86 packages, gbs does not support.**** > > **** > > For “can't parse specfile” error, that means specfile contains special > syntax, so gbs can’t support in gbs 0.14, we will enhance to support in gbs > 0.15.**** > > **** > > I am very interesting in the following warning & error:**** > > **** > > error: <gbs>Failed to export packaging files from git tree**** > > warning: failed to checkout spec file from commit: HEAD**** > > **** > > /root/GBS-ROOT/local/sources/tizen2.0/json-c-0.9-1/json-c.spec: No such > file or directory**** > > Can't use an undefined value as an ARRAY reference at /usr/bin/depanneur > line 891.**** > > error: <gbs>rpmbuild fail**** > > **** > > As this is not the full log, Could you please clean up your env:**** > > **** > > $ rm /root/GBS-ROOT/local/sources/tizen2.0/* -rf**** > > **** > > And run gbs build again and catch all build log, then attach it to me?**** > > **** > > **** > > Thanks**** > > Qiang**** > > **** > > **** > > **** > > *From:* general-boun...@lists.tizen.org [mailto: > general-boun...@lists.tizen.org] *On Behalf Of *Vaibhav Shinde > *Sent:* Wednesday, March 06, 2013 7:17 PM > *To:* general@lists.tizen.org > *Subject:* [Tizen General] Tizen Build on CentOS-6.3 Issue**** > > **** > > Hi,**** > > I am trying to build Tizen on CentOS 6.3**** > > I installed all the latest release tools from below link**** > > http://download.tizen.org/tools/latest-release/CentOS_6.3/**** > > when I try to build tizen with arm architechture, I get**** > > rpm errors from all the <tizen/toolchains/*-x86> packages**** > > > -------------------------------------------------------------------------------------- > **** > > Error -**** > > **** > > $ gbs build -A armv7l**** > > info: start export source from: > /mnt/sda2/root/Tizen-2.0/Tizen/apps/home/menu-screen ...**** > > error: Failed to export specfile: packaging/org.tizen.menu-screen.spec**** > > error: <gbs>Failed to export packaging files from git tree**** > > info: start export source from: > /mnt/sda2/root/Tizen-2.0/Tizen/apps/web/browser ...**** > > info: Creating (native) source archive org.tizen.browser-0.0.1.tar.gz from > 'HEAD'**** > > info: package files have been exported to:**** > > /root/GBS-ROOT/local/sources/tizen2.0/org.tizen.browser-0.0.1-1**** > > info: start export source from: > /mnt/sda2/root/Tizen-2.0/Tizen/toolchains/elfutils-libs-x86 ...**** > > error: line 69: Dependency tokens must begin with alpha-numeric, '_' or > '/':**** > > BuildRequires: rpm grep tar patchelf sed -rpmlint-Moblin -rpmlint-mini > -post-build-checks**** > > error: RPM error while parsing spec: can't parse specfile**** > > **** > > error: <gbs>Failed to export packaging files from git tree**** > > info: start export source from: > /mnt/sda2/root/Tizen-2.0/Tizen/toolchains/expat-x86 ...**** > > error: line 69: Dependency tokens must begin with alpha-numeric, '_' or > '/':**** > > BuildRequires: rpm grep tar patchelf sed -rpmlint-Moblin -rpmlint-mini > -post-build-checks**** > > error: RPM error while parsing spec: can't parse specfile**** > > **** > > error: <gbs>Failed to export packaging files from git tree**** > > warning: failed to checkout spec file from commit: HEAD**** > > > ------------------------------------------------------------------------------------- > **** > > **** > > Moreover the build fails in the end and gives below error -**** > > > ------------------------------------------------------------------------------------- > **** > > info: building repo metadata ...**** > > info: package dependency resolving ...**** > > /root/GBS-ROOT/local/sources/tizen2.0/json-c-0.9-1/json-c.spec: No such > file or directory**** > > Can't use an undefined value as an ARRAY reference at /usr/bin/depanneur > line 891.**** > > error: <gbs>rpmbuild fail**** > > > ------------------------------------------------------------------------------------- > **** > > **** > > The same is the issue even if I build for x86 architechture.**** > > same error with --> $ gbs build -A i586**** > > **** > > Any suggestion or help would be appreciated.**** > > **** > > Thanks,**** > > Vaibhav Shinde**** > > ** ** > > ** ** >
_______________________________________________ General mailing list General@lists.tizen.org https://lists.tizen.org/listinfo/general