[pkg-go] gbp buildpackage

Michael Stapelberg stapelberg at debian.org
Sun Jun 17 22:05:12 BST 2018


Which version of sbuild are you using this with? Try installing sbuild from
unstable (or testing), too.

On Sun, Jun 17, 2018 at 10:40 PM, Tong Sun <pkgoyq.xpt at neverbox.com> wrote:

> On Sat, Jun 16, 2018 at 5:38 PM Michael Stapelberg wrote:
>
> > I’m using sbuild (as the buildds run sbuild, too), which you can set up
> using https://people.debian.org/~stapelberg//2018/03/19/sbuild-
> debian-developer-setup.html
> >
> > In my ~/.gbp.conf, I specify:
> > [buildpackage]
> > builder = sbuild --source-only-changes -s -v -A --no-clean-source
>
> Thanks a lot for your input Michael,
>
> I gave it a try, but got `E: Error parsing command-line options` when
> doing `sudo sbuild-debian-developer-setup`. Tried several times:
>
> ```
> $ sudo apt-cache policy sbuild-debian-developer-setup
> sbuild-debian-developer-setup:
>   Installed: 0.76.0-1
>   Candidate: 0.76.0-1
>   Version table:
>  *** 0.76.0-1 100
>         100 http://debian-archive.trafficmanager.net/debian
> unstable/main amd64 Packages
>         100 /var/lib/dpkg/status
>      0.76.0-1~bpo9+1 100
>         100 http://debian-archive.trafficmanager.net/debian
> stretch-backports/main amd64 Packages
>
> $ sudo apt-get remove --purge sbuild-debian-developer-setup
> . . .
> Purging configuration files for sbuild-debian-developer-setup (0.76.0-1)
> ...
>
> $ sudo apt install -t unstable sbuild-debian-developer-setup
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
>   sbuild-debian-developer-setup
> 0 upgraded, 1 newly installed, 0 to remove and 609 not upgraded.
> Need to get 64.1 kB of archives.
> After this operation, 79.9 kB of additional disk space will be used.
> Get:1 http://debian-archive.trafficmanager.net/debian unstable/main
> amd64 sbuild-debian-developer-setup all 0.76.0-1 [64.1 kB]
> Fetched 64.1 kB in 0s (984 kB/s)
> Selecting previously unselected package sbuild-debian-developer-setup.
> (Reading database ... 93318 files and directories currently installed.)
> Preparing to unpack .../sbuild-debian-developer-setup_0.76.0-1_all.deb ...
> Unpacking sbuild-debian-developer-setup (0.76.0-1) ...
> Setting up sbuild-debian-developer-setup (0.76.0-1) ...
>
> $ sudo apt-cache policy sbuild-debian-developer-setup
> sbuild-debian-developer-setup:
>   Installed: 0.76.0-1
>   Candidate: 0.76.0-1
>   Version table:
>  *** 0.76.0-1 100
>         100 http://debian-archive.trafficmanager.net/debian
> unstable/main amd64 Packages
>         100 /var/lib/dpkg/status
>      0.76.0-1~bpo9+1 100
>         100 http://debian-archive.trafficmanager.net/debian
> stretch-backports/main amd64 Packages
>
>
> $ sudo sbuild-debian-developer-setup
> The user `u' is already a member of `sbuild'.
> Unknown option: command-prefix
> E: Error parsing command-line options
> I: Run 'sbuild-createchroot --help' to list usage example and all
> available options
> sbuild-createchroot failed:  at /usr/bin/sbuild-debian-developer-setup
> line 53.
> ```
>
> Consequently, the rest of sbuild operation will fail.
>
> What I've missed? Thx.
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/
> pkg-go-maintainers
>



-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180617/ca9a9bba/attachment-0001.html>


More information about the Pkg-go-maintainers mailing list