gbs builds rpms with wrong architecture (i686 instead of i586)

gbs builds rpms with wrong architecture (i686 instead of i586)

BY 12 Jul 2013 Native Application Development

Hi everyone!

I have a problem with building one of demo-applications from review.tizen.org(apps/home/calculator.git)

I build it via command-line:

gbs build -A i586 --include-all

As result of the build I get i686 rpms that could not be installed on my i586 emulator

I use gbs ver 0.17 under Ubuntu 12.10(64 bits) and also I’ve installed Tizen SDK v2.1

Here is my .gbs_conf for a special case:

[general]
#Current profile name which should match a profile section name
profile = profile.tizen
buildroot = ~/GBS-ROOT

[profile.tizen]
#Common authentication info for whole profile
#user =
#CAUTION: please use the key name "passwd" to reset plaintext password
#passwd =
obs = obs.tizen
#Comma separated list of repositories
repos = repo.tizen_latest
#repos = repo.tizen_main, repo.tizen_base

[obs.tizen]
#OBS API URL pointing to a remote OBS.
url = https://api.tizen.org
#Optional user and password, set if differ from profile's user and password
#user =
#passwd =

#Repo section example
[repo.tizen_latest]
#Build against repo's URL
url = http://download.tizen.org/releases/daily/tizen/ivi/latest/

#Optional user and password, set if differ from profile's user and password
#user =
#passwd =

#Individual repo is also supported
#[repo.tizen_base]
#url = http://download.tizen.org/snapshots/trunk/common/latest/repos/main/ia32/packages/
#[repo.tizen_main]
#url = http://download.tizen.org/snapshots/trunk/common/latest/repos/base/ia32/packages/

Any help will be much appreciated

Written by