Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929908

Summary: dev-cpp/antlr-cpp: version missmatch with dev-java/antlr causes compile error on generated code
Product: Gentoo Linux Reporter: jacob.tilger
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jacob.tilger 2024-04-13 13:05:44 UTC
The antlr-cpp runtime library (from dev-cpp/antlr-cpp-4.11.1) is not backward compatible with the code generated by antlr (from dev-java/antlr-4.9.3).
Creating a local ebuild for dev-cpp/antlr-cpp-4.9.3 and downgrading to it fixed all previously encountered errors.

Encountered compiling
  github.com/chipsalliance/Surelog.git
with cmake options
  -DSURELOG_USE_HOST_ALL=ON
  -DSURELOG_USE_HOST_UHDM=OFF
  -DANTLR_LIBRARY=/usr/lib64/libantlr4-runtime.so
this requires the packages
  dev-cpp/antlr-cpp
  dev-java/antlr
  dev-python/orderedmultidict
  dev-libs/capnproto
  dev-cpp/gtest
  dev-cpp/nlohmann_json