[Slackbuilds-users] fzf 0.17.1 build failure

Willy Sudiarto Raharjo willysr at slackbuilds.org
Thu Nov 2 11:46:25 UTC 2017


> I'm having trouble building fzf 0.17.1 on Slack 14.2. I'm guessing this
> has something to do with the google-go-lang dependency (which I've
> installed). Some of the fzf errors look like:
> 
>> fatal: Not a git repository (or any parent up to mount point /)
>> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
>> mkdir -p /tmp/SBo/fzf-0.17.1/gopath/src/github.com/junegunn/fzf
>> ...
>> gopath/src/github.com/junegunn/fzf/src/util/util.go:8:2: cannot find package "github.com/mattn/go-isatty" in any of:
>> 	/usr/src/github.com/mattn/go-isatty (from $GOROOT)
>> 	/tmp/SBo/fzf-0.17.1/gopath/src/github.com/mattn/go-isatty (from $GOPATH)
>> ...
>> Failures:
>>   fzf: fzf.SlackBuild return non-zero
> 
> Maybe this has something to do with GOPATH, but I have no idea what it's
> meant to be set to. The readme for google-go-lang doesn't seem that
> clear to me.

please make sure you use "su -" instead of just regular su when building
with google-go-lang since it needs to have correct environment variable.
Other alternative is to log out and re-login before building


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20171102/7103da99/attachment.asc>


More information about the SlackBuilds-users mailing list