ShiftLeftSecurity / ShiftLeftSecurity/codepropertygraph
Incompatible protobuffer (protoc) version
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 597
- Forks
- 84
- Avg merge
- 18h 29m
- Merged PRs (30d)
- 1
Description
When running sbt stage, where my systems protobuf version is 3.9.1, I get errors like:
[error] projects/codepropertygraph/proto-bindings/target/scala-2.12/src_managed/main/compiled_protobuf/io/shiftleft/proto/cpg/Cpg.java:4534:1: cannot find symbol
[error] symbol: class UnusedPrivateParameter
[error] location: class io.shiftleft.proto.cpg.Cpg.StringList
If I downgrade to version 3.7, the build works.
This issues seems similar to this one.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with sbt stage using protoc 3.9.1, then compare it with protoc 3.7. Inspect the generated files under projects/codepropertygraph/proto-bindings/target/scala-2.12/src_managed/main/compiled_protobuf/, especially io/shiftleft/proto/cpg/Cpg.java, and identify the build or version configuration involved. Done means the project stages successfully with the supported protobuf version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100