[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh-make-golang - Could not create git repository



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


Reply to: