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

gopass fails to build on current master #182440

Closed
flokli opened this issue Jul 22, 2022 · 3 comments
Closed

gopass fails to build on current master #182440

flokli opened this issue Jul 22, 2022 · 3 comments
Assignees
Labels
0.kind: build failure A package fails to build

Comments

@flokli
Copy link
Contributor

flokli commented Jul 22, 2022

Steps To Reproduce

Steps to reproduce the behavior:

  1. build gopass

Build log

github.com/gopasspw/gopass/pkg/debug
github.com/fatih/color
text/template
vendor/golang.org/x/text/secure/bidirule
github.com/nbutton23/zxcvbn-go/data
filippo.io/age/internal/bech32
github.com/gopasspw/gopass/internal/backend
# github.com/gopasspw/gopass/internal/backend
internal/backend/registry.go:85:45: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
github.com/gopasspw/gopass/pkg/appdir
filippo.io/age/internal/format
filippo.io/age/internal/stream
golang.org/x/crypto/curve25519
github.com/google/go-querystring/query
go.uber.org/atomic
github.com/gopasspw/gopass/internal/backend/crypto/gpg
github.com/ProtonMail/go-crypto/ocb
github.com/cpuguy83/go-md2man/v2/md2man
github.com/nbutton23/zxcvbn-go/adjacency
github.com/nbutton23/zxcvbn-go/frequency
compress/zlib
go.uber.org/multierr
github.com/gopasspw/gopass/internal/backend/crypto/gpg/colons
github.com/hashicorp/golang-lru
github.com/mitchellh/go-homedir
github.com/nbutton23/zxcvbn-go/entropy
gopkg.in/yaml.v3
github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
github.com/google/go-cmp/cmp/internal/value
github.com/gopasspw/gopass/internal/tree
vendor/golang.org/x/net/idna
github.com/caspr-io/yamlpath/segments
github.com/nbutton23/zxcvbn-go/matching
crypto/rand
github.com/dustin/go-humanize
encoding/asn1
crypto/dsa
github.com/nbutton23/zxcvbn-go/scoring
github.com/ProtonMail/go-crypto/openpgp/internal/encoding
crypto/elliptic
github.com/urfave/cli/v2
crypto/ed25519
crypto/rsa
filippo.io/age
github.com/nbutton23/zxcvbn-go
github.com/ProtonMail/go-crypto/openpgp/elgamal
github.com/ProtonMail/go-crypto/openpgp/s2k
golang.org/x/crypto/ed25519
html/template
github.com/google/go-cmp/cmp
github.com/caspr-io/yamlpath
github.com/hashicorp/go-multierror
vendor/golang.org/x/crypto/cryptobyte
crypto/x509/pkix
github.com/martinhoefling/goxkcdpwgen/xkcdpwgen
github.com/gopasspw/gopass/pkg/tempfile
golang.org/x/crypto/argon2
golang.org/x/crypto/bcrypt
github.com/ProtonMail/go-crypto/bitcurves
github.com/ProtonMail/go-crypto/brainpool
github.com/gopasspw/gopass/internal/pwschemes/bcrypt
crypto/ecdsa
github.com/jsimonetti/pwscheme/md5crypt
github.com/jsimonetti/pwscheme/ssha
github.com/jsimonetti/pwscheme/ssha256
github.com/ProtonMail/go-crypto/openpgp/internal/ecc
github.com/jsimonetti/pwscheme/ssha512
archive/zip
github.com/gopasspw/gopass/internal/pwschemes/argon2i
github.com/gopasspw/gopass/internal/pwschemes/argon2id
github.com/atotto/clipboard
github.com/mitchellh/go-ps
rsc.io/qr/coding
github.com/ProtonMail/go-crypto/openpgp/ecdh
github.com/gopasspw/gopass/pkg/pwgen/xkcdgen
github.com/gopasspw/gopass/internal/tpl
github.com/skip2/go-qrcode/bitset
image/png
github.com/mattn/go-tty
github.com/schollz/closestmatch
github.com/ProtonMail/go-crypto/openpgp/packet
github.com/gopasspw/gopass/internal/action/exit
github.com/gopasspw/gopass/pkg/ctxutil
github.com/gopasspw/gopass/internal/completion/fish
github.com/gopasspw/gopass/internal/completion/zsh
rsc.io/qr
github.com/skip2/go-qrcode/reedsolomon
runtime/pprof
github.com/gopasspw/gopass/internal/out
github.com/gokyle/twofactor
github.com/gopasspw/gopass/pkg/termio
github.com/gopasspw/gopass/internal/queue
github.com/gopasspw/gopass/pkg/gopass/secrets
github.com/skip2/go-qrcode
github.com/gopasspw/gopass/pkg/otp
github.com/gopasspw/gopass/pkg/pinentry/cli
github.com/gopasspw/gopass/pkg/qrcon
github.com/ProtonMail/go-crypto/openpgp
github.com/gopasspw/gopass/pkg/fsutil
archive/tar
github.com/gopasspw/gopass/internal/cache
github.com/gopasspw/gopass/internal/backend/crypto/gpg/gpgconf
github.com/gopasspw/gopass/internal/editor
github.com/gopasspw/gopass/internal/config
github.com/gopasspw/gopass/pkg/pwgen/pwrules
github.com/gopasspw/gopass/internal/reminder
vendor/golang.org/x/net/http/httpproxy
github.com/chzyer/readline
github.com/rs/zerolog/internal/json
net/textproto
github.com/godbus/dbus
crypto/x509
github.com/gopasspw/gopass/pkg/gopass/secrets/secparse
mime/multipart
vendor/golang.org/x/net/http/httpguts
github.com/rs/zerolog
golang.org/x/crypto/ssh
crypto/tls
github.com/twpayne/go-pinentry
github.com/gopasspw/gopass/internal/notify
github.com/gopasspw/gopass/pkg/clipboard
filippo.io/age/agessh
net/http/httptrace
net/http
github.com/muesli/crunchy
golang.org/x/net/context/ctxhttp
github.com/google/go-github/github
github.com/gopasspw/gopass/internal/updater
github.com/gopasspw/gopass/pkg/pwgen
github.com/gopasspw/gopass/internal/action/pwgen
github.com/gopasspw/gopass/internal/cache/ghssh
error: builder for '/nix/store/jplyj4sjq52lcjwhb5zmdkzrs4cyig6m-gopass-1.14.3.drv' failed with exit code 1;
       last 10 log lines:
       > filippo.io/age/agessh
       > net/http/httptrace
       > net/http
       > github.com/muesli/crunchy
       > golang.org/x/net/context/ctxhttp
       > github.com/google/go-github/github
       > github.com/gopasspw/gopass/internal/updater
       > github.com/gopasspw/gopass/pkg/pwgen
       > github.com/gopasspw/gopass/internal/action/pwgen
       > github.com/gopasspw/gopass/internal/cache/ghssh
       For full logs, run 'nix log /nix/store/jplyj4sjq52lcjwhb5zmdkzrs4cyig6m-gopass-1.14.3.drv'.

Notify maintainers

@rvolosatovs @sikmir

nixpkgs commit 3d65b57

@flokli flokli added the 0.kind: build failure A package fails to build label Jul 22, 2022
@sikmir
Copy link
Member

sikmir commented Jul 22, 2022

Bug in Go 1.18.4, see gopasspw/gopass#2280, #182327

@sikmir
Copy link
Member

sikmir commented Jul 25, 2022

As a workaround, I suggest to use gopass from nixos-22.05 while Go 1.18.5 is not released.

@flokli
Copy link
Contributor Author

flokli commented Jul 25, 2022

A workaround hit master.

@flokli flokli closed this as completed Jul 25, 2022
flokli added a commit to flokli/nixpkgs that referenced this issue Jul 25, 2022
Upstream reverted cmd/compile: revert "fix missing dict pass for type
assertions", as it's causing compilation errors in programs like gopass
- see gopasspw/gopass#2280 and
NixOS#182440.

The revert has already been cherry-picked to HEAD, but there's no
backport release yet. This can be reverted once there's a new release
with that commit.
zowoq pushed a commit that referenced this issue Jul 25, 2022
Upstream reverted cmd/compile: revert "fix missing dict pass for type
assertions", as it's causing compilation errors in programs like gopass
- see gopasspw/gopass#2280 and
#182440.

The revert has already been cherry-picked to HEAD, but there's no
backport release yet. This can be reverted once there's a new release
with that commit.
Artturin pushed a commit to Artturin/nixpkgs that referenced this issue Jul 27, 2022
Upstream reverted cmd/compile: revert "fix missing dict pass for type
assertions", as it's causing compilation errors in programs like gopass
- see gopasspw/gopass#2280 and
NixOS#182440.

The revert has already been cherry-picked to HEAD, but there's no
backport release yet. This can be reverted once there's a new release
with that commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

3 participants