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<mailto: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> 
[mailto: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<mailto: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

Reply via email to