mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.25k stars 172 forks source link

package embed is not in GOROOT #397

Closed rajil closed 2 years ago

rajil commented 2 years ago

I did a git pull today followed by a build. Unfortunately, the compile fails.

$ git pull
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 55 (delta 35), reused 51 (delta 32), pack-reused 0
Unpacking objects: 100% (55/55), 33.11 KiB | 210.00 KiB/s, done.
From https://github.com/tulir/mautrix-whatsapp
   83c2e1d..7925609  master     -> origin/master
Updating 83c2e1d..7925609
Fast-forward
 commands.go             |  3 ++-
 config/bridge.go        |  1 +
 config/config.go        | 10 ++++++----
 config/upgrade.go       | 35 +++++++++++++++++++++++++++++++----
 config/upgradehelper.go | 18 ++++++++++--------
 crypto.go               |  5 +++--
 example-config.yaml     | 10 +++++-----
 go.mod                  |  4 ++--
 go.sum                  |  8 ++++----
 matrix.go               | 17 ++++++++++++++---
 portal.go               |  4 ++++
 provisioning.go         |  3 ++-
 user.go                 | 11 +++++++++--
 13 files changed, 93 insertions(+), 36 deletions(-)

$ ./build.sh 
go: downloading go.mau.fi/whatsmeow v0.0.0-20211113222648-c35fb9adc83e
go: downloading maunium.net/go/mautrix v0.10.3
main.go:20:2: package embed is not in GOROOT (/usr/local/go/src/embed)
tulir commented 2 years ago

Outdated go