Bug#508832: gpt: FTBS if pccts is installed

Simon McVittie smcv at debian.org
Tue Dec 16 00:30:07 UTC 2008


tags 508832 + patch
thanks

(Cc'ing the maintainers of pccts and antlr)

pccts (/usr/bin/antlr) appears to be an older version of antlr, in C.
New versions of antlr are written in Java and installed as /usr/bin/runantlr.

Unfortunately, gpt looks for antlr in $PATH before looking for runantlr, so
it preferentially picks up the older version, which is in fact too old
for gpt.

Potential fixes seem to be:

* run ./configure with ANTLR_BIN=/usr/bin/runantlr as per the attached
  patch, forcing the use of the correct antlr (I can confirm that this does
  build correctly, even with pccts installed)

* Build-Conflict with pccts

(Side point: if the Java antlr is strictly better than the C one, perhaps it
would be better for pccts to install /usr/bin/antlr1 and let "the real antlr"
be /usr/bin/antlr?)

Regards,
    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 508832.patch
Type: text/x-diff
Size: 408 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20081216/fa95095b/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20081216/fa95095b/attachment.pgp 


More information about the pkg-java-maintainers mailing list