GBS on Ubuntu 15.04

McGee, Art amcgee7 at
Thu Apr 9 15:49:21 GMT 2015


Thank you.  This seems to have worked for me.  I had to run 'apt-get -f
install' to fix some errors and now I'm able to do a gbs build to build.
I'm having another issue so I'll post a new topic.


Art McGee

On 9 April 2015 at 02:10, Rafał Krypa <r.krypa at> wrote:

>  On 2015-04-08 17:25, McGee, Art wrote:
> All,
>  I've been installing tizen tools on a newer image of ubuntu and running
> into gbs issues.  I can't seem to get gbs to install correctly.
> This is what I get when I use gbs.
>  amcgee7 at osboxes:/media/amcgee7/d9c4bd9f-4e6d-411b-8a55-180271e8c9c1/home/artmcgee/testrepos$
> sudo gbs build -A i586
> [sudo] password for amcgee7:
> Traceback (most recent call last):
>   File "/usr/local/bin/gbs", line 30, in <module>
>     from gitbuildsys import cmd_build
>   File "/usr/local/lib/python2.7/dist-packages/gitbuildsys/",
> line 33, in <module>
>     from gitbuildsys.cmd_export import get_packaging_dir, config_is_true
>   File "/usr/local/lib/python2.7/dist-packages/gitbuildsys/",
> line 34, in <module>
>     from gbp.scripts.buildpackage_rpm import main as gbp_build
> ImportError: No module named buildpackage_rpm
> amcgee7 at osboxes:/media/amcgee7/d9c4bd9f-4e6d-411b-8a55-180271e8c9c1/home/artmcgee/testrepos$
> python
> Python 2.7.9 (default, Dec 11 2014, 17:21:00)
> Most probably you are facing conflicts between packages provided by
> Ubuntu and packages from
> The module shown in your logs comes from git-buildpackage-rpm. This tools
> package is provided for Tizen in version 0.6.15-tizen20140828.
> But the same package appears in Ubuntu, starting from Vivid 15.04. And its
> version is 0.6.22. This gives higher priority to the Ubuntu package. That
> package provides different contents and is not compatible with other Tizen
> tools, giving you the error.
> I was facing very similar problem on Ubuntu Testing, which also provides
> the package in higher version. There is quite simple workaround for it.
> Perform these steps as root:
>    - echo -e "Package: *\nPin: origin\nPin-Priority:
>    1001" >/etc/apt/preferences.d/tizen
>    - apt-get update
>    - apt-get dist-upgrade
> This will downgrade all Tizen tools to versions from and ensure
> them higher priority than packages from Ubuntu, overriding package
> version ordering.

*Art McGee*
Infotainment Engineer

Jaguar Land Rover North America, LLC
1419 NW 14th Ave, Portland, Oregon, 97209 <>  |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Dev mailing list