Open 4rozenwolves opened 1 year ago
I added the following code in the pkgbuild:
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
sed -i 's/join(root_dir, "bin\/antlr-4.9.3-complete.jar")/"\/usr\/share\/java\/antlr-complete.jar"/' 'build_helpers/build_helpers.py'
}
Personally, I believe that if upstream wants to use their own packaged antlr4, then as packagers we should respect that (assuming that there are no other issues due to that decision). If someone could make an upstream issue that requests the option to use system installed antlr4 then we can get the reception of upstream to see if they would be open to that.
patched with #223
keeping this open until the patch is no longer needed
Hydra uses an internal antlr.
This makes it not compatible with antlr installed in the system. One solution is to replace the internal antlr to use system antlr, as done in python-omegaconf.