Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.
This repository was archived by the owner on May 6, 2025. It is now read-only.

Cannot build from fresh checkout #1929

Description

@frohal

running with go version :
go version go1.21.3 linux/amd64
Doing a clean checkout of source-code .
First time it downloads a ton of deps, but ends with :
`go@M6800:~/hornet$ scripts/build_hornet_rocksdb.sh

github.com/iotaledger/hive.go/kvstore/rocksdb

../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:14:15: undefined: grocksdb.DB
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:15:15: undefined: grocksdb.ReadOptions
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:16:15: undefined: grocksdb.WriteOptions
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:17:15: undefined: grocksdb.FlushOptions
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:29:19: undefined: grocksdb.NewDefaultOptions
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:31:31: undefined: grocksdb.NoCompression
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:33:32: undefined: grocksdb.ZSTDCompression
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb.go:58:50: undefined: grocksdb.Iterator
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb.go:216:25: undefined: grocksdb.NewWriteBatch
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb.go:311:25: undefined: grocksdb.NewWriteBatch
../go/pkg/mod/github.com/iotaledger/hive.go/kvstore@v0.0.0-20230629181801-64c530ff9d15/rocksdb/rocksdb_instance.go:33:32: too many errors
`

second time it only displays those errors and exits.

Is there any dependencies I have to build before running the hornet-build ? I get the same on the tags V2.0.0, V2.0.1 and on develop-branch.

If I run simply 'build_hornet.sh' it build but fails on startup : " PANIC App application panic: For RocksDB support please compile with '-tags rocksdb'
"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions