Bug#779973: antlr3: Makes forked-daapd FTBFS on mips, hppa and m68k
Bálint Réczey
balint at balintreczey.hu
Sat Mar 7 08:44:51 UTC 2015
Package: antlr3
Version: 3.2-10
Severity: important
Dear Maintainer,
Latest forked-daapd can't be built in unstable on mips due to antlr3
throwing warnings and an error not seen on most of other
architectures:
antlr3 -depend RSP.g > RSP.u
antlr3 DAAP.g
antlr3 RSP.g
warning(209): RSP.g:120:1: Multiple token rules can match input such
as "'t'": TODAY, FIELD
As a result, token(s) FIELD were disabled for that input
warning(209): RSP.g:120:1: Multiple token rules can match input such
as "'s'": STARTSW, FIELD
...
As a result, token(s) FIELD were disabled for that input
warning(209): RSP.g:105:1: Multiple token rules can match input such
as "'<'": LESS, LTE
As a result, token(s) LTE were disabled for that input
error(208): RSP.g:131:1: The following token definitions can never be
matched because prior tokens match the same input:
GTE,LTE,AFTER,DATE,STR
if gperf daap_query.gperf > daap_query_hash.c.tmp; then \
...
hppa [2] build fails with the same error.
m68k [3] build fails with a different error which may be related:
...
antlr3 DAAP.g
antlr3 RSP.g
warning(205): RSP.g:1:8: ANTLR could not analyze this decision in rule
Tokens; often this is because of recursive rule references visible
from the left edge of alternatives. ANTLR will re-analyze the
decision with a fixed lookahead of k=1. Consider using "options
{k=1;}" for that decision and possibly adding a syntactic predicate.
error(10): internal error:
org.antlr.tool.Grammar.createLookaheadDFA(Grammar.java:1279): could
not even do k=1 for decision 12; reason: timed out (>1000ms)
...
Cheers,
Balint
[1] https://buildd.debian.org/status/fetch.php?pkg=forked-daapd&arch=mips&ver=22.0-2&stamp=1424748577
[2] http://buildd.debian-ports.org/status/fetch.php?pkg=forked-daapd&arch=hppa&ver=22.0-2&stamp=1424711842
[3] http://buildd.debian-ports.org/status/fetch.php?pkg=forked-daapd&arch=m68k&ver=22.0-2&stamp=1424722679
More information about the pkg-java-maintainers
mailing list