Languages

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

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

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 Replies
MooChang Kim
I don't know why i686 rpm package is generated.. but I can suggest one solution.. you can try --ignore-arch option to install i686 package..
Andrey Klimenko
That helps to install the rpm, but not to run the application, unfortunatelly.
MooChang Kim
Hi Andrev. could you change repo location in .gbs_conf and retry? from url = http://download.tizen.org/releases/daily/tizen/ivi/latest/ to url = http://download.tizen.org/releases/2.1/latest/ Thanks~
Andrey Klimenko
It seems to be work, thank you