Do you have a ~/.gbp.conf? If yes, can you rename the file and try again?

Which version of gbp-buildpackage do you use?

On Sun, Nov 25, 2018 at 5:48 AM Tong Sun <[email protected]> wrote:

> There isn't much prerequisite to use dh-make-golang, right?
>
> I gave it a try today and this is what I get:
>
> $ dh-make-golang make github.com/danverbraganza/varcaser/varcaser
> 2018/11/24 <http://github.com/danverbraganza/varcaser/varcaser2018/11/24>
> 23:21:50 Continuing with repository root
> "github.com/danverbraganza/varcaser" instead of specified import path
> "github.com/danverbraganza/varcaser/varcaser" (repositories are the
> unit of packaging in Debian)
> 2018/11/24 23:21:50 Downloading "github.com/danverbraganza/varcaser/..."
> go get: 15.44 KiB2018/11/24 23:21:50 Determining upstream version number
> 2018/11/24 23:21:50 Package version is "0.0~git20151108.ce61ec4"
> 2018/11/24 23:21:50 Determining dependencies
> gbp:error: Did not find debian/changelog or debian/source. Is this a
> Debian package?
> gbp:error: Postimport-hook 'gbp dch -S -a --debian-branch=$GBP_BRANCH
> && git commit --amend -C@{0} debian/changelog' failed: it exited with
> 1
> gbp:error: Import of
>
> /home/u/l/dg/golang-github-danverbraganza-varcaser_0.0~git20151108.ce61ec4.orig.tar.xz
> failed: Postimport-hook 'gbp dch -S -a --debian-branch=$GBP_BRANCH &&
> git commit --amend -C@{0} debian/changelog' failed: it exited with 1
> gbp:error: Error detected, Will roll back changes.
> gbp:error: Automatic rollback failed [('master', 'branch', 'delete',
> None, GitRepositoryError("Can't delete the branch you're on",))]
> gbp:error: Clean up manually and please report a bug: [('master',
> 'branch', 'delete', None, GitRepositoryError("Can't delete the branch
> you're on",))]
> 2018/11/24 23:21:52 Could not create git repository: exit status 1
>
> Look at all those "gbp:error", and the last error line. I didn't get
> any of these when I tried the very same command last time, which is
> about half a year ago.
> And this is after a fresh
> go get -u github.com/Debian/dh-make-golang
> done today.
>
> What have changed since I tried it last time (when it ran OK)?
> How to fix the above problems?
>
> Thx
>
>

-- 
Best regards,
Michael

Reply via email to