Thanks to all for the replies,
Stanislav,
Big thanks for the rpm. You rpm worked.. I am able to interact with the
screen.. But I am not able to launch the native applications as such.
Any reason why I am not able to launch ??
Geoffroy/Qiang,
I tried you .gbs.cong file. I have attached the debug logs. I still want to
know how to build the rpm using gbs build..
Huang,
I have tried to point to the local repo's. But I am not sure whether the method
is right or not..
Let me explain my understanding of the gbs build process..
1) Gbs clone to get the source folders and directories.
2) Now comes the issue of solving the dependencies.
3) There are two ways
a. Online method.
b. Offline method.
4) In the offline method, I feel that I should be pointing the url to the
folder that contains the relevant rpms.
5) Here in the .gbs.conf file I used, I had pointed it to the toolchain
folder.
6) Toolchain folder doesn't have all the necessary rpm..
So my question is when it is said point to the repos, what should I point to??
patni@Ubuntu12:~/weston$ gbs -c .gbs.conf lb -A i586 --include-all
info: generate repositories ...
info: start building packages from: /home/patni/weston (git)
2014-04-05 07:03 +0530
info: prepare sources...
info: start export source from: /home/patni/weston ...
info: the following untracked files would be included:
.gbs.conf1
0001-evdev-support-emulator.patch
gbs.conf
gbs.conf1
info: the following uncommitted changes would be included:
.gbs.conf
src/evdev.c
info: Creating (native) source archive weston-1.4.0.tar.xz from
'7e3208215836b5e5e4683597008b2002dfbb6e4a'
info: package files have been exported to:
/home/patni/GBS-ROOT/local/sources/tizen3.0/weston-1.4.0-0
info: retrieving repo metadata...
reqesting
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/ivi/ia32/packages/repodata/repomd.xml
failed: 501 Protocol scheme 'hhtp' is not supported
Couldn't open
/home/patni/GBS-ROOT/local/cache/828abe414250cf07b046cebce43f5f0e/repodata/repomd.xml:
No such file or directory at /usr/lib/build/createrepomddeps line 436
reqesting
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/emul/ia32/packages/repodata/repomd.xml
failed: 501 Protocol scheme 'hhtp' is not supported
Couldn't open
/home/patni/GBS-ROOT/local/cache/42cc3b48741eacb5166924824cf0bffa/repodata/repomd.xml:
No such file or directory at /usr/lib/build/createrepomddeps line 436
error: repo cache creation failed...
error: <gbs>some packages failed to be built
patni@Ubuntu12:~/weston$ gbs -c .gbs.conf lb -A i586 --include-all --debug
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'rev-parse', '--show-toplevel']
gbs:info: generate repositories ...
gbs:debug: fetching
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repodata/repomd.xml
=> /var/tmp/patni-gbs/gbscache_xEblP/repomd.xml
gbs:debug: disable HTTP caching
gbs:debug: fetching error:(22, 'The requested URL returned error: 404')
gbs:debug: fetching
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/builddata/build.xml
=> /var/tmp/patni-gbs/gbscache_xEblP/build.xml
gbs:debug: fetching
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/ivi/ia32/packages/repodata/repomd.xml
=> /var/tmp/patni-gbs/gbscache_xEblP/repomd.xml
gbs:debug: disable HTTP caching
gbs:debug: fetching
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/emul/ia32/packages/repodata/repomd.xml
=> /var/tmp/patni-gbs/gbscache_xEblP/repomd.xml
gbs:debug: disable HTTP caching
gbs:debug: fetching
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/builddata/bc09f55297f0de0e81e3d7cd000fca596f97db5adbd84b59486c3553a07c30d5-build.conf
=>
/var/tmp/patni-gbs/gbscache_xEblP/bc09f55297f0de0e81e3d7cd000fca596f97db5adbd84b59486c3553a07c30d5-build.conf
gbs:debug: running command: linux32 depanneur --arch=i586
--repository=http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/ivi/ia32/packages
--repository=http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/emul/ia32/packages
--dist=tizen3.0 --configdir=/var/tmp/patni-gbs --path=/home/patni/weston
--debug --threads=1 --packaging-dir=packaging --include-all
info: start building packages from: /home/patni/weston (git)
debug: my_system: date +"%Y-%m-%d %H:%M %z"
2014-04-05 07:10 +0530
debug: working on /home/patni/weston
info: prepare sources...
info: start export source from: /home/patni/weston ...
debug: my_system: gbs --debug export /home/patni/weston -o
/home/patni/GBS-ROOT/local/sources/tizen3.0 --spec weston.spec --include-all
--packaging-dir=packaging
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'rev-parse', '--show-toplevel']
gbp:debug: ['git', 'status', '--porcelain']
gbp:debug: ['git', 'status']
gbp:debug: ['git', 'status', '--porcelain', '-z']
gbs:info: the following untracked files would be included:
.gbs.conf1
0001-evdev-support-emulator.patch
gbs.conf
gbs.conf1
gbs:info: the following uncommitted changes would be included:
.gbs.conf
src/evdev.c
gbp:debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/remotes/']
gbp:debug: ['git', 'show-ref', 'refs/heads/none']
gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
gbs:debug: Using upstream branch: none
gbs:debug: Using upstream tag format: 'upstream/%(upstreamversion)s'
gbp:debug: ['git', 'remote', '-v']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/tizen']
gbp:debug: ['git', 'config', 'branch.tizen.remote']
gbp:debug: ['git', 'show-ref', 'refs/heads/none']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'rev-parse', '--show-toplevel']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'rev-parse', '--show-toplevel']
gbp:debug: ['git', 'add', '-A', '/home/patni/weston']
gbp:debug: ['git', 'write-tree']
gbp:debug: ['git', 'ls-tree', '7e3208215836b5e5e4683597008b2002dfbb6e4a']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'rev-parse', '--show-toplevel']
gbp:debug: ['git', 'show', '--pretty=medium',
'7e3208215836b5e5e4683597008b2002dfbb6e4a:.gbp.conf']
gbp:debug: ['git', 'show', '--pretty=medium',
'7e3208215836b5e5e4683597008b2002dfbb6e4a:debian/gbp.conf']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/tizen']
gbp:debug: ['git', 'add', '-A', '/home/patni/weston']
gbp:debug: ['git', 'write-tree']
gbp:debug: ['git', 'ls-tree', '7e3208215836b5e5e4683597008b2002dfbb6e4a']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/tizen']
gbp:debug: Dumping tree 'WC.UNTRACKED' to
'/var/tmp/gbp_BrO1sl/buildpackage-rpm_85GI54/dump_tree_JkHY6O'
gbp:debug: ['git', 'archive', '--format=tar', '--prefix=',
'7e3208215836b5e5e4683597008b2002dfbb6e4a', '--']
gbp:debug: Using spec file 'weston.spec'
gbp:debug: Exporting packaging files in
'/var/tmp/gbp_BrO1sl/buildpackage-rpm_85GI54/dump_tree_JkHY6O/packaging' to
'/var/tmp/.gbs_export_L5GSwn'
gbp:debug: ['git', 'show-ref', 'refs/heads/none']
gbp:info: Creating (native) source archive weston-1.4.0.tar.xz from
'7e3208215836b5e5e4683597008b2002dfbb6e4a'
gbp:debug: Building source archive with compression 'xz -6'
gbp:debug: ['git', 'archive', '--format=tar', '--prefix=weston-1.4.0/',
'7e3208215836b5e5e4683597008b2002dfbb6e4a', '--']
gbp:debug: ['git', 'describe', '--long', '--abbrev=40', '--always',
'7e3208215836b5e5e4683597008b2002dfbb6e4a']
gbp:debug: ['git', 'describe', '--long', '--abbrev=40', '--always', 'HEAD']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'HEAD']
gbp:debug: Adding 'VCS:' tag after 'Name: west...' line in spec
gbs:info: package files have been exported to:
/home/patni/GBS-ROOT/local/sources/tizen3.0/weston-1.4.0-0
info: retrieving repo metadata...
debug: my_system: > /home/patni/GBS-ROOT/local/order/.repo.cache.local
debug: my_system: /usr/lib/build/createrpmdeps
/home/patni/GBS-ROOT/local/repos/tizen3.0/i586/RPMS >>
/home/patni/GBS-ROOT/local/order/.repo.cache.local
debug: my_system: echo D: >> /home/patni/GBS-ROOT/local/order/.repo.cache.local
debug: my_system: > /home/patni/GBS-ROOT/local/order/.repo.cache.remote
debug: /usr/lib/build/createrepomddeps
--cachedir=/home/patni/GBS-ROOT/local/cache
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/ivi/ia32/packages
>> /home/patni/GBS-ROOT/local/order/.repo.cache.remote
debug: my_system: /usr/lib/build/createrepomddeps
--cachedir=/home/patni/GBS-ROOT/local/cache
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/ivi/ia32/packages
>> /home/patni/GBS-ROOT/local/order/.repo.cache.remote
reqesting
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/ivi/ia32/packages/repodata/repomd.xml
failed: 501 Protocol scheme 'hhtp' is not supported
Couldn't open
/home/patni/GBS-ROOT/local/cache/828abe414250cf07b046cebce43f5f0e/repodata/repomd.xml:
No such file or directory at /usr/lib/build/createrepomddeps line 436
debug: /usr/lib/build/createrepomddeps
--cachedir=/home/patni/GBS-ROOT/local/cache
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/emul/ia32/packages
>> /home/patni/GBS-ROOT/local/order/.repo.cache.remote
debug: my_system: /usr/lib/build/createrepomddeps
--cachedir=/home/patni/GBS-ROOT/local/cache
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/emul/ia32/packages
>> /home/patni/GBS-ROOT/local/order/.repo.cache.remote
reqesting
http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/repos/emul/ia32/packages/repodata/repomd.xml
failed: 501 Protocol scheme 'hhtp' is not supported
Couldn't open
/home/patni/GBS-ROOT/local/cache/42cc3b48741eacb5166924824cf0bffa/repodata/repomd.xml:
No such file or directory at /usr/lib/build/createrepomddeps line 436
debug: my_system: cat /home/patni/GBS-ROOT/local/order/.repo.cache.local
/home/patni/GBS-ROOT/local/order/.repo.cache.remote
>/home/patni/GBS-ROOT/local/order/.repo.cache
error: repo cache creation failed...
gbs:error: Traceback (most recent call last):
File "/usr/bin/gbs", line 566, in <module>
sys.exit(main(sys.argv))
File "/usr/bin/gbs", line 560, in main
return module.main(args)
File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_build.py", line 364, in
main
raise GbsError('some packages failed to be built')
GbsError: <gbs>some packages failed to be built
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi