GBS Builds on Ubuntu 18.04


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:

Installed gbs and mic as explained here:

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:
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>
  File "/usr/bin/gbs", line 704, in main
    return module.main(args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/", line 303, in main
    export_sources(repo, commit, export_dir, main_spec, args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/", line 220, in export_sources
  File "/usr/lib/pymodules/python2.7/gitbuildsys/", 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:
info: generated RPM packages can be found from local repo:
info: generated source RPM packages can be found from local repo:
info: build logs can be found in:
info: build roots located in:
error: <gbs>some packages failed to be built

Any help with this will be greatly appreciated.

Many Thanks,



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] /

NOTE: There is a space before last '/'

$ sudo apt-get update

$ sudo apt-get install gbs mic