Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build on Fedora 39 #225

Open
khalangy opened this issue Apr 12, 2024 · 1 comment
Open

Failed to build on Fedora 39 #225

khalangy opened this issue Apr 12, 2024 · 1 comment

Comments

@khalangy
Copy link

Hello,

I try to build the package on Fedora 39 but have this error that I don't understand.

Someone can help me please ?

error: failed to run custom build command for `defguard-client v0.2.2 (/home/user/github/client/src-tauri)`

Caused by:
  process didn't exit successfully: `/home/user/github/client/src-tauri/target/debug/build/defguard-client-4514b1ec7cb4536e/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=proto/client/client.proto
  cargo:rerun-if-changed=proto/core/proxy.proto
  cargo:rerun-if-changed=proto/client
  cargo:rerun-if-changed=proto/core

  --- stderr
  Error: Custom { kind: Other, error: "protoc failed: google/protobuf/empty.proto: File not found.\nclient.proto:4:1: Import \"google/protobuf/empty.proto\" was not found or had errors.\nclient.proto:52:57: \"google.protobuf.Empty\" is not defined.\nclient.proto:53:57: \"google.protobuf.Empty\" is not defined.\n" }

Thanks

@j-chmielewski
Copy link
Contributor

Hey,

  1. Did you run the tauri-build command as described in the README?
pnpm tauri build
  1. Looks like protobuf well-known-types are missing in your system. Make sure they are installed with the protoc compiler. Unfortunately I'm not sure how to do this in Fedora.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants