Languages

Menu
Sites
Language
GBS Builds on Ubuntu 18.04

Hi,

I've been trying to get GBS builds working on Ubuntu 18.04 but with little success.  I saw that there was no apt packages available for 18.04 so I had to revert to using the 16.04 packages for apt from here:

http://download.tizen.org/tools/latest-release/Ubuntu_16.04/

Installed gbs and mic as explained here:

https://source.tizen.org/documentation/developer-guide/getting-started-guide/installing-development-tools

However, when I try to build a package, I get the following error:

info: generate repositories ...
warning: No local package repository for arch armv7l
info: build conf has been downloaded at:
      /var/tmp/root-gbs/tizen4.conf
info: start building packages from: /data/release/repos/dali-core (git)
2018-12-31 13:29 +0000
gbs 0.25.7
info: prepare sources...
info: start export source from: /data/release/repos/dali-core ...
error: Traceback (most recent call last):
  File "/usr/bin/gbs", line 710, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/gbs", line 704, in main
    return module.main(args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 303, in main
    export_sources(repo, commit, export_dir, main_spec, args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 220, in export_sources
    create_tarball=create_tarball)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 138, in create_gbp_export_args
    reponame = urlparse(remotes[remotename][0]).path.lstrip('/')
TypeError: list indices must be integers, not unicode

info: retrieving repo metadata...
info: parsing package data...
info: building repo metadata ...
info: resolving skipped packages ...
info: package dependency resolving ...
info: there is no circle in 0 packages
warning: no available packages to build.
File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /usr/bin/depanneur line 2118.
info: *** Build Status Summary ***
=== Total succeeded built packages: (0) ===
info: generated html format report:
     /data/release/gbs-root/tizen4/local/repos/tizen4/armv7l/index.html
info: generated RPM packages can be found from local repo:
     /data/release/gbs-root/tizen4/local/repos/tizen4/armv7l/RPMS
info: generated source RPM packages can be found from local repo:
     /data/release/gbs-root/tizen4/local/repos/tizen4/armv7l/SRPMS
info: build logs can be found in:
     /data/release/gbs-root/tizen4/local/repos/tizen4/armv7l/logs
info: build roots located in:
     /data/release/gbs-root/tizen4/local/BUILD-ROOTS/scratch.armv7l.*
error: <gbs>some packages failed to be built

Any help with this will be greatly appreciated.

Many Thanks,

Adeel

Responses

1 Replies
Xianbing Teng

Hello, Mr. Adeel,

I try below way and succeed.

$ sudo vi /etc/apt/sources.list

add below line into sources.list:

deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_18.04 /

NOTE: There is a space before last '/'

$ sudo apt-get update

$ sudo apt-get install gbs mic