For armv7l you have to ignore all files with "-x86" in the build. They are not 
meant to be compiled on armv7l. Just exclude them from the gbs run.

Best,
JS
Am Dienstag, 19. Februar 2013, 16:39:08 schrieb Vikash Kumar:
> Hello all,
> 
> 
> 
> We are trying to build Tizen 2.0alpha for armv7l architecture. But every
> time, we are getting some error and rpmbuild fails to build. We are
> building the whole source code locally, the steps and the outputs are
> mentioned below:
> 
> 
> 
> gbs build  –A armvl  –R
> /local-dir/releases/daily/2.0alpha/common/latest/repos/Tizen-base/armv7l/pac
> kages/ -R
> /local-dir/releases/daily/2.0alpha/common/latest/repos/Tizen-main/armv7l/pac
> kages/ -D /var/tmp/vikash-gbs/tizen2.0.conf
> 
> 
> 
> info: generate repositories ...
> 
> info: start building packages from: /opt/bluetooth/Tizen (git)
> 
> info: prepare sources...
> 
> info: start export source from:
> /opt/bluetooth/Tizen/adaptation/bluetooth-tools ...
> 
> info: Creating (native) source archive bluetooth-tools-0.2.26.tar.gz from
> 'HEAD'
> 
> info: package files have been exported to:
> 
>      /home/vikash/GBS-ROOT/local/sources/tizen2.0/bluetooth-tools-0.2.26-1
> 
> .
> 
> .
> 
> .
> 
> info: start export source from: /opt/bluetooth/Tizen/toolchains/gawk-x86 ...
> 
> error: line 71: 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:
> /opt/bluetooth/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: retrieving repo metadata...
> 
> info: parsing package data...
> 
> warning: system-plugin-ia-generic: build arch not compatible: i386 i486
> i586 i686 athlon x86_64
> 
> warning: xorg-x11-drv-intel: build arch not compatible: ia64 x86_64 i386
> i486 i586 i686 athlon
> 
> /home/vikash/GBS-ROOT/local/sources/tizen2.0/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
> 665.
> 
> Use of uninitialized value $name in hash element at /usr/bin/depanneur line
> 679.
> 
> warning: acpid: build arch not compatible: ia64 x86_64 i386 i486 i586 i686
> athlon
> 
> warning: cross-armv7nhl-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon
> 
> warning: cross-armv7nhl-binutils: build arch not compatible: i386 i486 i586
> i686 athlon
> 
> /home/vikash/GBS-ROOT/local/sources/tizen2.0/procps-3.2.8-15/procps.spec:
> No such file or directory
> 
> Use of uninitialized value $name in hash element at /usr/bin/depanneur line
> 665.
> 
> Use of uninitialized value $name in hash element at /usr/bin/depanneur line
> 679.
> 
> .
> 
> .
> 
> .
> 
> warning: kernel-adaptation-pc: build arch not compatible: i386 i586 i686
> i386 i486 i586 i686 athlon x86_64
> 
> warning: device-configs: build arch not compatible: i386 i486 i586 i686
> athlon
> 
> warning: mic-bootstrap: build arch not compatible: i586
> 
> Use of uninitialized value $version in concatenation (.) or string at
> /usr/bin/depanneur line 1492.
> 
> Use of uninitialized value $release in concatenation (.) or string at
> /usr/bin/depanneur line 1492.
> 
> info: building repo metadata ...
> 
> info: package dependency resolving ...
> 
> /home/vikash/GBS-ROOT/local/sources/tizen2.0/u-boot-1.3.4-1/u-boot.spec: No
> such file or directory
> 
> error: *** Error Summary ***
> 
> === the following packages failed to build because export source files to
> build environment failed ===
> 
> bash-4.1-1
> 
> elfutils-libelf-x86-MACRO-7
> 
> make-MACRO-8
> 
> xz-libs-x86-MACRO-7
> 
> .
> 
> .
> 
> .
> 
> === the following packages failed to build due to missing build
> dependencies ===
> 
> 
> 
>   nothing provides rpm
> 
>   nothing provides rpm-libs
> 
>   nothing provides setup
> 
>   nothing provides filesystem
> 
> .
> 
> .
> 
> .
> 
> error: <gbs>rpmbuild fails
> 
> 
> 
> I don’t understand, what is going wrong here!!!
> 
> I have also attached the “.gbs.conf” file, in case anyone require it.
> 
> 
> 
> Please provide the solution why this problem is coming?
> 
> Thanks in advance,
> 
> 
> 
> Vikash.
-- 

Dipl.-Ing.
Jan-Simon Möller

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

Reply via email to