yay 9.0.1-3 "cannot find module for path bufio" during `makepkg -si`

Created on 11 Dec 2018  路  1Comment  路  Source: Jguer/yay

Affected Version

yay 9.0.1-3

Issue

Installation failing while following build instructions

Steps to reproduce

  1. git clone https://aur.archlinux.org/yay.git
  2. cd yay
  3. makepkg -si

Output

$ git clone https://aur.archlinux.org/yay.git
Cloning into 'yay'...
remote: Enumerating objects: 236, done.
remote: Counting objects: 100% (236/236), done.
remote: Compressing objects: 100% (167/167), done.
remote: Total 236 (delta 67), reused 236 (delta 67)
Receiving objects: 100% (236/236), 48.17 KiB | 411.00 KiB/s, done.
Resolving deltas: 100% (67/67), done.
$ cd yay
$ makepkg -si
==> Making package: yay 9.0.1-3 (Mon 10 Dec 2018 11:12:54 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading yay-9.0.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   117    0   117    0     0    367      0 --:--:-- --:--:-- --:--:--   367
100  343k  100  343k    0     0   558k      0 --:--:-- --:--:-- --:--:--  558k
==> Validating source files with sha1sums...
    yay-9.0.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-9.0.1.tar.gz with bsdtar
==> Starting build()...
go build -v -ldflags '-s -w -X main.version=9.0.1' -o yay -mod=vendor
build github.com/Jguer/yay: cannot find module for path bufio
make: *** [Makefile:51: build] Error 1
==> ERROR: A failure occurred in build().
    Aborting...


Most helpful comment

Closing due to invalid GOROOT. Fixed by unset GOROOT.

>All comments

Closing due to invalid GOROOT. Fixed by unset GOROOT.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

captn3m0 picture captn3m0  路  4Comments

Qyriad picture Qyriad  路  4Comments

AdrienLemaire picture AdrienLemaire  路  3Comments

parkerlreed picture parkerlreed  路  3Comments

ricochet1k picture ricochet1k  路  4Comments