erigon icon indicating copy to clipboard operation
erigon copied to clipboard

The following error occurred when I was make rpcdaemon

Open kledgold opened this issue 1 year ago • 1 comments

[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/[email protected]/hash.go:45:5: undefined: supportedCPU /root/go/pkg/mod/github.com/prysmaticlabs/[email protected]/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

kledgold avatar Feb 05 '24 13:02 kledgold

“ Not a git repository”

AskAlexSharov avatar Feb 05 '24 15:02 AskAlexSharov

@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.

awskii avatar Apr 23 '24 11:04 awskii