Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929908 - dev-cpp/antlr-cpp: version missmatch with dev-java/antlr causes compile error on generated code
Summary: dev-cpp/antlr-cpp: version missmatch with dev-java/antlr causes compile error...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 13:05 UTC by jacob.tilger
Modified: 2024-06-25 06:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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