erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.14k stars 1.12k forks source link

The following error occurred when I was make rpcdaemon #9386

Closed kledgold closed 6 months ago

kledgold commented 9 months ago

[root@vmi953082 erigon-2.57.3]# make rpcdaemon fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git Building rpcdaemon

github.com/ledgerwatch/erigon-lib/recsplit/eliasfano16

../../erigon-lib/recsplit/eliasfano16/elias_fano.go:225:10: invalid array length maxDataSize (untyped int constant 281474976710655) ../../erigon-lib/recsplit/eliasfano16/elias_fano.go:239:10: invalid array length maxDataSize / 8 (untyped int constant 35184372088831) ../../erigon-lib/recsplit/eliasfano16/elias_fano.go:547:10: invalid array length maxDataSize (untyped int constant 281474976710655) ../../erigon-lib/recsplit/eliasfano16/elias_fano.go:562:10: invalid array length maxDataSize / 8 (untyped int constant 35184372088831)

github.com/prysmaticlabs/gohashtree

/root/go/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.3-alpha.0.20230502123415-aafd8b3ca202/hash.go:45:5: undefined: supportedCPU /root/go/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.3-alpha.0.20230502123415-aafd8b3ca202/hash.go:77:5: undefined: supportedCPU

github.com/ledgerwatch/erigon-lib/mmap

../../erigon-lib/mmap/mmap_unix.go:34:46: invalid array length MaxMapSize (untyped int constant 281474976710655) ../../erigon-lib/mmap/mmap_unix.go:47:20: invalid array length MaxMapSize (untyped int constant 281474976710655) ../../erigon-lib/mmap/mmap_unix.go:50:44: invalid array length MaxMapSize (untyped int constant 281474976710655) ../../erigon-lib/mmap/mmap_unix.go:63:20: invalid array length MaxMapSize (untyped int constant 281474976710655) ../../erigon-lib/mmap/mmap_unix.go:104:37: invalid array length MaxMapSize (untyped int constant 281474976710655) make: *** [rpcdaemon.cmd] error 1

AskAlexSharov commented 9 months ago

“ Not a git repository”

awskii commented 6 months ago

@kledgold please check that you are using correct golang arch (looks like you got 386 while amd64 could be your choice). For the first command you need to be in root directory of erigon project.