Hi guys,
***NOTE: I have gbs and mic installed from Ubuntu 16.04's repository on Ubuntu 17.10.
When I tried to install obs-build package I was forced to use --force-overwrite flag
since some of man page files from gbs package have duplicates in obs-build.
Everything looked fine after installation until I tried to run 'gbs build'.
***Q1: After setting up private/public pair with ssh-keygen and following instructions
I have my pub key installed on Gerrit. Everything looks fine but instead of 'Welcome' message
I've got
$ ssh tizen
Connection to review.tizen.org closed by remote host.
Connection to review.tizen.org closed.
Is it OK ?
***Q2: I followed tizen.org instructions and maked /home/ys/tizen dir where I put
all source code with repo init and repo sync commands. After several hours I have it done.
However when I start 'gbs build' with standard gbs.conf I'm getting this
info: No arch specified, using system arch: x86_64
info: generate repositories ...
warning: No local package repository for arch x86_64
info: start building packages from: /home/ys/tizen (git)
2018-03-21 14:41 +0300
gbs 0.25.0
info: prepare sources...
info: start export source from: /home/ys/tizen/apps/native/worldclock-efl ...
info: start export source from: /home/ys/tizen/apps/native/volume-app ...
info: start export source from: /home/ys/tizen/apps/web/download-manager ...
info: start export source from: /home/ys/tizen/apps/native/ug-bluetooth-efl ...
info: start export source from: /home/ys/tizen/apps/native/bluetooth-share-ui ...
info: start export source from: /home/ys/tizen/apps/native/menu-screen ...
info: start export source from: /home/ys/tizen/apps/native/thing-toggler ...
info: start export source from: /home/ys/tizen/apps/native/starter ...
error: Traceback (most recent call last):
File "/usr/bin/gbs", line 709, in <module>
sys.exit(main(sys.argv))
File "/usr/bin/gbs", line 703, in main
return module.main(args)
File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 346, in main
export_sources(repo, commit, export_dir, main_spec, args)
File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 264, in export_sources
create_tarball=create_tarball)
File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 169, in create_gbp_export_args
remotename = 'origin' if 'origin' in remotes else remotes.keys()[0]
AttributeError: 'list' object has no attribute 'keys'
I've checked 'remotes' array in cmd_export.py script and found it has just this:
[ tizen-gerrit ]
What I'm doing wrong? As far as I understand 'remotes' array should have urls. Anything wrong
with my configuration? I've got Python 2.7.14. Should I downgrade to Python 2.6x ?
regards,
Yuri S.