OS & Version: Windows/Linux/OSX
Ubuntu 22.04.4 LTS
Erigon Command (with flags/config):
make erigon
Expected behaviour
build binaries
Actual behaviour
`Building erigon
github.com/ledgerwatch/erigon-lib/seg/sais: build constraints exclude all Go files in /var/data/applications/bsc-erigon/erigon-lib/seg/sais
github.com/erigontech/mdbx-go/mdbx: build constraints exclude all Go files in /home/ormi/go/pkg/mod/github.com/erigontech/mdbx-go@v0.27.24/mdbx
github.com/herumi/bls-eth-go-binary/bls
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:9:28: undefined: SecretKey
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:9:40: undefined: Fr
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:13:26: undefined: Fr
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:13:31: undefined: SecretKey
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:19:28: undefined: PublicKey
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:19:40: undefined: G1
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:23:26: undefined: G1
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:23:31: undefined: PublicKey
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:29:23: undefined: Sign
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:29:30: undefined: G2
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:29:30: too many errors
github.com/supranational/blst/bindings/go
/home/ormi/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/rb_tree.go:130:18: undefined: Message
github.com/ledgerwatch/erigon/crypto
../../crypto/signature_nocgo.go:50:9: cannot use pub (variable of type secp256k1.PublicKey) as "github.com/btcsuite/btcd/btcec".PublicKey value in return statement
../../crypto/signature_nocgo.go:79:22: priv.Key undefined (type "github.com/btcsuite/btcd/btcec".PrivateKey has no field or method Key)
../../crypto/signature_nocgo.go:82:13: priv.Zero undefined (type "github.com/btcsuite/btcd/btcec".PrivateKey has no field or method Zero)
../../crypto/signature_nocgo.go:83:36: cannot use &priv (value of type "github.com/btcsuite/btcd/btcec".PrivateKey) as secp256k1.PrivateKey value in argument to btc_ecdsa.SignCompact
../../crypto/signature_nocgo.go:101:17: undefined: btcec.ModNScalar
../../crypto/signature_nocgo.go:109:32: not enough arguments in call to btcec.ParsePubKey
have ([]byte)
want ([]byte, "github.com/btcsuite/btcd/btcec".KoblitzCurve)
../../crypto/signature_nocgo.go:117:26: cannot use key (variable of type "github.com/btcsuite/btcd/btcec".PublicKey) as secp256k1.PublicKey value in argument to sig.Verify
../../crypto/signature_nocgo.go:125:32: not enough arguments in call to btcec.ParsePubKey
have ([]byte)
want ([]byte, "github.com/btcsuite/btcd/btcec".KoblitzCurve)
../../crypto/signature_nocgo.go:141:17: undefined: btcec.FieldVal
../../crypto/signature_nocgo.go:144:15: undefined: btcec.NewPublicKey
../../crypto/signature_nocgo.go:144:15: too many errors
github.com/anacrolix/go-libutp
/home/ormi/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.1/status.go:9:2: undefined: mu
/home/ormi/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.1/status.go:10:8: undefined: mu
/home/ormi/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.1/status.go:11:20: undefined: libContextToSocket
github.com/ledgerwatch/erigon-lib/types
../../erigon-lib/types/txn.go:607:24: undefined: secp256k1.RecoverPubkeyWithContext
../../erigon-lib/types/txn.go:607:59: undefined: secp256k1.DefaultContext
make: *** [Makefile:111: erigon.cmd] Error 1`
Steps to reproduce the behaviour
git clone git@github.com:node-real/bsc-erigon.git
git checkout tags/v1.2.6
install go 1.21
make erigon
System information
Erigon version:
./erigon --version
1.2.6OS & Version: Windows/Linux/OSX Ubuntu 22.04.4 LTS
Erigon Command (with flags/config): make erigon
Expected behaviour
build binaries
Actual behaviour
`Building erigon github.com/ledgerwatch/erigon-lib/seg/sais: build constraints exclude all Go files in /var/data/applications/bsc-erigon/erigon-lib/seg/sais github.com/erigontech/mdbx-go/mdbx: build constraints exclude all Go files in /home/ormi/go/pkg/mod/github.com/erigontech/mdbx-go@v0.27.24/mdbx
github.com/herumi/bls-eth-go-binary/bls
/home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:9:28: undefined: SecretKey /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:9:40: undefined: Fr /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:13:26: undefined: Fr /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:13:31: undefined: SecretKey /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:19:28: undefined: PublicKey /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:19:40: undefined: G1 /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:23:26: undefined: G1 /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:23:31: undefined: PublicKey /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:29:23: undefined: Sign /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:29:30: undefined: G2 /home/ormi/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v0.0.0-20210917013441-d37c07cfda4e/bls/cast.go:29:30: too many errors github.com/supranational/blst/bindings/go /home/ormi/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/rb_tree.go:130:18: undefined: Message github.com/ledgerwatch/erigon/crypto ../../crypto/signature_nocgo.go:50:9: cannot use pub (variable of type secp256k1.PublicKey) as "github.com/btcsuite/btcd/btcec".PublicKey value in return statement ../../crypto/signature_nocgo.go:79:22: priv.Key undefined (type "github.com/btcsuite/btcd/btcec".PrivateKey has no field or method Key) ../../crypto/signature_nocgo.go:82:13: priv.Zero undefined (type "github.com/btcsuite/btcd/btcec".PrivateKey has no field or method Zero) ../../crypto/signature_nocgo.go:83:36: cannot use &priv (value of type "github.com/btcsuite/btcd/btcec".PrivateKey) as secp256k1.PrivateKey value in argument to btc_ecdsa.SignCompact ../../crypto/signature_nocgo.go:101:17: undefined: btcec.ModNScalar ../../crypto/signature_nocgo.go:109:32: not enough arguments in call to btcec.ParsePubKey have ([]byte) want ([]byte, "github.com/btcsuite/btcd/btcec".KoblitzCurve) ../../crypto/signature_nocgo.go:117:26: cannot use key (variable of type "github.com/btcsuite/btcd/btcec".PublicKey) as secp256k1.PublicKey value in argument to sig.Verify ../../crypto/signature_nocgo.go:125:32: not enough arguments in call to btcec.ParsePubKey have ([]byte) want ([]byte, "github.com/btcsuite/btcd/btcec".KoblitzCurve) ../../crypto/signature_nocgo.go:141:17: undefined: btcec.FieldVal ../../crypto/signature_nocgo.go:144:15: undefined: btcec.NewPublicKey ../../crypto/signature_nocgo.go:144:15: too many errors github.com/anacrolix/go-libutp /home/ormi/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.1/status.go:9:2: undefined: mu /home/ormi/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.1/status.go:10:8: undefined: mu /home/ormi/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.1/status.go:11:20: undefined: libContextToSocket github.com/ledgerwatch/erigon-lib/types ../../erigon-lib/types/txn.go:607:24: undefined: secp256k1.RecoverPubkeyWithContext ../../erigon-lib/types/txn.go:607:59: undefined: secp256k1.DefaultContext make: *** [Makefile:111: erigon.cmd] Error 1`
Steps to reproduce the behaviour
git clone git@github.com:node-real/bsc-erigon.git git checkout tags/v1.2.6 install go 1.21 make erigon