Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Incompatible protobuffer (protoc) version

Open
#412 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
scala
Domain
build-system

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.

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.

Dominant language
Scala
Stars
599
Forks
84
Avg merge
18h 29m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ShiftLeftSecurity/codepropertygraph

All issues in ShiftLeftSecurity/codepropertygraph

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.