Closed sirredbeard closed 2 years ago
does fedora happen to have an analogue of libprotobuf-dev
, as suggested here?
Searching for protobuf, I can see a golang-google-protobuf and golang-github-protobuf-devel but installing them doesn't seem to make a difference.
The missing file google/protobuf/any.proto
is not golang-specific but sort of a "standard library" for protobufs regardless of the language. Maybe protobuf-devel?
Any way to search fedora package manager by filename / file path?
Also you could check if you already have that file installed in your system, in which case the question will become why protoc doesn't see it.
Odd, golang-github-protobuf-devel provides any.go, along with duration.go, timestamp.go, etc. but not *.proto`.
golang-github-gogo-protobuf-devel, a fork of protobuf, does provide any.proto
.
Closing in favor of another solution.
Summary
make -C proto fails
on Fedora 36Environment
Fedora 36 node v16.14.0 protoc 3.19.4 python 3.17.13 go 1.18.3
Steps to Reproduce
Install Fedora 36 Install node, protobuf-compiler, python3.7, and go via Fedora package repository. Clone Determined repository:
git clone --recurse-submodules https://github.com/determined-ai/determined.git
Enter directory:cd determined
Create venv:python3.7 -m venv ~/.virtualenvs/determined
Activate:. ~/.virtualenvs/determined/bin/activate
Set PATHexport PATH=$PATH:$HOME/go/bin
Run make:make all
Expected Results
Determined builds.
Actual Results
The protobuf generation script fails:
Complete build script is here.