mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 12:55:54 +03:00
[GH-ISSUE #44] Failed to build #12
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sunshine69 on GitHub (Oct 23, 2021).
Original GitHub issue: https://github.com/decke/smtprelay/issues/44
Just go
go build .in the root and gotazureuser@stevek-playground 12:50 ~/s/smtprelay master> go mod tidy
go: github.com/chrj/smtpd@v0.3.0 requires
github.com/eaigner/dkim@v0.0.0-20150301120808-6fe4a7ee9cfb: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/azureuser/go/pkg/mod/cache/vcs/b1a9951edebf25b789a34398ad65880e06631bf718a381c881083257167b44d8: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
go: github.com/chrj/smtpd@v0.3.0 requires
github.com/eaigner/dkim@v0.0.0-20150301120808-6fe4a7ee9cfb: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/azureuser/go/pkg/mod/cache/vcs/b1a9951edebf25b789a34398ad65880e06631bf718a381c881083257167b44d8: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Not having time to look at it though but better the author should make sure it builds nicely, given that it is golang, building mod is pretty much straight forward.
@JonathonReinhart commented on GitHub (Oct 23, 2021):
Your "straight forward" pull request is welcome!
@JonathonReinhart commented on GitHub (Oct 23, 2021):
It looks like https://github.com/eaigner/dkim no longer exists (404). That package is a dependency of the upstream
github.com/chrj/smtpd.There is already a PR upstream (https://github.com/chrj/smtpd/pull/12) to replace the non-existent module.
It's especially unfortunate because
dkimis only used byexamples/dkim-proxy/main.gowhich we don't care about here. I wonder if the dependency can be made optional.@sunshine69 commented on GitHub (Oct 23, 2021):
lol, I already said - pretty running out of time atm. otherwise I would do.
@decke commented on GitHub (Oct 23, 2021):
The build problem is in smtpd and I don't want to fork it unless really necessary. So it will take some time to resolve this problem.
@alex1989hu commented on GitHub (Nov 6, 2021):
FYI: created a PR https://github.com/chrj/smtpd/pull/13 to address the issue