-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug with dh-make-golang estimate: src/ folder does not exists #159
Comments
The error does not occur with these little changes applied:
However, instead it will fail only shortly after, with the following error.
I am unsure if it is at all related, or an issue of its own. The file permissions for |
When packaging Debian library it is common practice to be on Debian unstable (sid) and install dh-make-golang using APT, so you are sure to have the latest up-to-date dependencies installed. Maybe you can try again in a VM for example? |
I can reproduce the error on an up-to-date debian sid, with dh-make-golang installed from the repos. |
What's the output of |
|
That's definitely strange. I'm running dh-make-golang v0.4.0 with go 1.15.9 and I haven't face the same issue as you. Can you maybe try to run estimate on another repository and see if it works?
for example. |
i picked two random ITPs from wnpp.debian.net, getting mixed results:
|
**```
|
When running
dh-make-golang estimate github.com/caddyserver/caddy
, it will fail shortly with the following error:2021/03/19 11:43:14 lstat /tmp/dh-make-golang225762394/src: no such file or directory
The problem as it seems to me is that
go get
does not download the source files tosrc/
, but instead everything lands inpkg/mod
. I understand the change in the download directory was introduced in v1.12 and is default as of v1.13, see here: golang/go#31529I can reproduce the error with
GO111MODULE
set to off, on and auto. I am using ubuntu 20.10 with go v. 1.14 and can reproduce the error with both dh-make-golang v0.3.3 and v0.4.0On debian buster with go v. 1.11
dh-make-golang estimate github.com/caddyserver/caddy
seems to run fine (but will eventually fail because of a missing core library that the package depends on but that was indroduced with go v1.13 😞).The text was updated successfully, but these errors were encountered: