Package Details: go-lint-git 20190909.179_414d861-1

Git Clone URL: https://aur.archlinux.org/go-lint-git.git (read-only)
Package Base: go-lint-git
Description: golang lint
Upstream URL: https://github.com/golang/lint
Licenses: BSD 3-clause
Submitter: fzerorubigd
Maintainer: fzerorubigd
Last Packager: fzerorubigd
Votes: 5
Popularity: 0.264978
First Submitted: 2017-01-07 10:42
Last Updated: 2019-09-18 08:58

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

fzerorubigd commented on 2019-09-18 09:00

The best way to inform the package owner if there is a build problem is to mark the package as outdated.

xuanwo commented on 2019-09-18 05:39

build failed

==> Starting build()...
warning: ignoring symlink /tmp/makepkg/go-lint-git/src/src/golang.org/x/lint
go get .: path /tmp/makepkg/go-lint-git/src/src/golang.org/x/lint/golint is not a package in module rooted at /tmp/makepkg/go-lint-git/src/src/golang.org/x/lint
==> ERROR: A failure occurred in build().
    Aborting...
removing Untracked AUR files from cache...
:: Cleaning (1/1): /tmp/yay/go-lint-git
Error making: go-lint-git

ReLaxLex commented on 2019-03-08 08:53

update: Builds again after go upgrade to 2:1.12.1-1

Build fails: ==> Starting build()... go get: no install location for directory /home/username/tmp/build/go-lint-git/src/src/golang.org/x/lint/golint outside GOPATH For more details see: 'go help gopath' ==> ERROR: A failure occurred in build(). Aborting...

Only I do not think the correct way is to add the temporary build directory to the GOPATH. Any idea's what should be the best way to circumvent this?

fzerorubigd commented on 2019-03-06 16:45

@xzz53 fixed. Thank you.

xzz53 commented on 2019-03-05 14:52

Got the following error when compiling:

can't load package: package lint/golint: code in directory /home/xyzzy/temp/makepkg/go-lint-git/src/src/lint/golint expects import "golang.org/x/lint/golint"

Full log: https://pastebin.com/3hsyh3wQ

Kostaskol commented on 2017-11-23 08:10

@realx
I know this is old (and probably already solved), but in case anyone still has the same problem, you should add that path to GOPATH (i.e. $ export GOPATH=$GOPATH:/path/to/yaourt-tmp/directory/src)

realx commented on 2017-08-23 22:24

error: go install: no install location for directory /tmp/yaourt-tmp/aur-go-lint-git/src/src/lint/golint outside GOPATH
For more details see: 'go help gopath'