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: 6
Popularity: 0.000000
First Submitted: 2021-02-27 20:16 (UTC)
Last Updated: 2021-03-10 03:51 (UTC)

Dependencies (3)

Sources (1)

Latest Comments

zerophase commented on 2022-04-19 04:18 (UTC)

Fails to build.

with: https://pastebin.com/TrgezfhK

micwoj92 commented on 2021-03-10 03:52 (UTC) (edited on 2021-03-10 03:54 (UTC) by micwoj92)

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

Einbert_Xeride commented on 2021-03-10 03:38 (UTC)

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 (UTC)

"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 (UTC)

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 (UTC)

Works for me using gcc-go

konicks commented on 2021-03-08 23:24 (UTC)

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