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

Reply via email to