Package Details: dep 0.5.4-7

Git Clone URL: https://aur.archlinux.org/dep.git (read-only, click to copy)
Package Base: dep
Description: Deprecated Go dependency management tool
Upstream URL: https://golang.github.io/dep/
Licenses: BSD
Submitter: Foxboron
Maintainer: None
Last Packager: micwoj92
Votes: 3
Popularity: 1.43
First Submitted: 2021-02-27 20:16
Last Updated: 2021-03-10 03:51

Dependencies (3)

Required by (52)

Sources (1)

Latest Comments

micwoj92 commented on 2021-03-10 03:52

Thanks @Einbert_Xeride, added that fix. Works with both go and gcc-go now.

Einbert_Xeride commented on 2021-03-10 03:38

makedepends=('gcc-go' 'git') # build fails with go if you know better solution let me know in comments

You can export GO111MODULE=off 1 to make it build under official go again.

micwoj92 commented on 2021-03-09 17:18

"Fixed" the build. This project is deprecated. If you use any program that requires this then you should open issue on upstream repo of that project and tell them to use go modules instead.

mblaschek commented on 2021-03-09 16:41

I get the same error as @konicks. I switched to dep-bin. on dep docs they write this:

go get -d -u github.com/golang/dep
cd $(go env GOPATH)/src/github.com/golang/dep
DEP_LATEST=$(git describe --abbrev=0 --tags)
git checkout $DEP_LATEST
go install -ldflags="-X main.version=$DEP_LATEST" ./cmd/dep
git checkout master

not sure if that helps. I'm too new to solve this.

micwoj92 commented on 2021-03-09 11:29

Works for me using gcc-go

konicks commented on 2021-03-08 23:24

I cannot compile dep on my machine, here's the error ==> Starting build()... go: cannot find main module, but found Gopkg.lock in /home/konicks/.cache/yay/dep/src/src/github.com/golang/dep to create a module there, run: go mod init ==> ERROR: A failure occurred in build(). Aborting... error making: dep