Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD port fails to compile #1804

Closed
nunotexbsd opened this issue Feb 18, 2021 · 2 comments
Closed

FreeBSD port fails to compile #1804

nunotexbsd opened this issue Feb 18, 2021 · 2 comments

Comments

@nunotexbsd
Copy link

Hello,

I'm trying to update FreeBSD gopass port from 1.11.0 to latest release but some go modules are failing:

Any hints to solve this?

Thanks,

Nuno Teixeira

`log
...
github.com/gokyle/twofactor
github.com/gopasspw/gopass/pkg/otp

github.com/gopasspw/gopass/pkg/otp

pkg/otp/otp.go:65:12: undefined: os.WriteFile <==
github.com/gopasspw/gopass/pkg/protect
github.com/gopasspw/gopass/pkg/pwgen/pwrules
golang.org/x/crypto/openpgp
github.com/gopasspw/gopass/pkg/pwgen
github.com/martinhoefling/goxkcdpwgen/xkcdpwgen
github.com/gopasspw/gopass/internal/updater
github.com/skip2/go-qrcode/bitset
github.com/skip2/go-qrcode/reedsolomon
github.com/skip2/go-qrcode
github.com/gopasspw/gopass/pkg/qrcon
github.com/schollz/closestmatch
github.com/hashicorp/golang-lru/simplelru
github.com/hashicorp/golang-lru
github.com/gopasspw/gopass/internal/backend/crypto/gpg/cli
github.com/gopasspw/gopass/internal/backend/crypto/plain
github.com/gopasspw/gopass/internal/backend/storage/fs

github.com/gopasspw/gopass/internal/backend/storage/fs

internal/backend/storage/fs/fsck.go:141:13: undefined: os.ReadDir <==
internal/backend/storage/fs/store.go:42:9: undefined: os.ReadFile <==
internal/backend/storage/fs/store.go:58:9: undefined: os.WriteFile <==
github.com/gopasspw/gopass/pkg/pwgen/xkcdgen
*** Error code 2

Stop.`

@dominikschulz
Copy link
Member

You need to use Go 1.16.
I should have put this in the docs. Sorry.

@nunotexbsd
Copy link
Author

nunotexbsd commented Feb 18, 2021

Thanks!
I'm using go-1.15.8, I will upgrade and test again.

go-1.16 ready on ports :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants