On Fri, Jun 22, 2018 at 11:56 PM Tong Sun <pkgoyq....@neverbox.com> wrote: > > Hi, > > What could go wrong with this simple command? > > dh-make-golang github.com/suntong/ffcvt > > These are the errors I'm getting for that: > > $ dh-make-golang github.com/suntong/ffcvt > 2018/06/22 23:45:53 Downloading "github.com/suntong/ffcvt/..." > 2018/06/22 23:45:53 Determining upstream version number > 2018/06/22 23:45:53 Package version is "1.1.0+git20170914.a6d80b5" > 2018/06/22 23:45:53 Determining dependencies > 2018/06/22 23:45:53 Assuming you are packaging a program (because > "github.com/suntong/ffcvt" defines a main package), use -type to > override > gbp:error: Couldn't commit to 'pristine-tar' with upstream > '27899a6f2bdbe757b832450b123699d935e2f5c8': execution failed: [Errno > 2] No such file or directory > gbp:error: Import of > /path/to/ffcvt/ffcvt_1.1.0+git20170914.a6d80b5.orig.tar.xz failed: > Couldn't commit to 'pristine-tar' with upstream > '27899a6f2bdbe757b832450b123699d935e2f5c8': execution failed: [Errno > 2] No such file or directory > gbp:error: Error detected, Will roll back changes. > gbp:error: Rolled back changes after import error. > 2018/06/22 23:45:54 Could not create git repository: exit status 1
Found the problem myself. "My dh-make-golang is the latest from git" I.e., I did the install using go get -v -u github.com/Debian/dh-make-golang this time, not apt install, thus missing the pristine-tar dependency. _______________________________________________ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers