[Debian-astro-maintainers] Bug#1011690: adql: FTBFS: [javac] /<<PKGBUILDDIR>>/src/adql/parser/ADQLParser.java:5572: error: reference to ADQLParser is ambiguous

Lucas Nussbaum lucas at debian.org
Thu May 26 07:37:33 BST 2022


Source: adql
Version: 1.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ant -f buildADQL.xml -DPOSTGRES=/usr/share/java/postgresql.jar -DJUNIT-API=/usr/share/java/junit4.jar buildLib
> Buildfile: /<<PKGBUILDDIR>>/buildADQL.xml
>      [echo] ADQL LIBRARY VERSION = 1.3
> 
> clean:
> 
> compileGrammar:
>    [javacc] Java Compiler Compiler Version 7.0.11 (Parser Generator)
>    [javacc] (type "javacc" with no arguments for help)
>    [javacc] Reading from file /<<PKGBUILDDIR>>/src/adql/parser/adqlGrammar.jj . . .
>    [javacc] File "Token.java" does not exist.  Will create one.
>    [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
>    [javacc] Parser generated with 0 errors and 5 warnings.
>    [javacc] Warning: TokenMgrError.java: File is obsolete.  Please rename or delete this file so that a new one can be generated for you.
>    [javacc] Warning: TokenMgrError.java file   version: 6.0 javacc version: 7.0
>    [javacc] Warning: ParseException.java: File is obsolete.  Please rename or delete this file so that a new one can be generated for you.
>    [javacc] Warning: ParseException.java file   version: 6.0 javacc version: 7.0
>    [javacc] Warning: ParseException.java: Generated using incompatible options. Please rename or delete this file so that a new one can be generated for you.
>     [patch] patching file src/adql/parser/ADQLParser.java
>     [patch] Hunk #1 FAILED at 4752.
>     [patch] 1 out of 1 hunk FAILED -- saving rejects to file src/adql/parser/ADQLParser.java.rej
>     [patch] 'patch' failed with exit code 1
> 
> compileLib:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/antBuild
>     [javac] Compiling 104 source files to /<<PKGBUILDDIR>>/antBuild
>     [javac] /<<PKGBUILDDIR>>/src/adql/parser/ADQLParser.java:5572: error: reference to ADQLParser is ambiguous
>     [javac] 	  this(stream, null);
>     [javac] 	  ^
>     [javac]   both constructor ADQLParser(InputStream,ADQLQueryFactory) in ADQLParser and constructor ADQLParser(InputStream,String) in ADQLParser match
>     [javac] /<<PKGBUILDDIR>>/src/adql/parser/ADQLParser.java:5571: error: recursive constructor invocation
>     [javac]   public ADQLParser(java.io.InputStream stream) {
>     [javac]          ^
>     [javac] /<<PKGBUILDDIR>>/src/adql/parser/ADQLParserTokenManager.java:8032: error: incompatible types: possible lossy conversion from int to char
>     [javac]      throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
>     [javac]                                                                                           ^
>     [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
>     [javac] 3 errors
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/buildADQL.xml:105: Compile failed; see the compiler error output for details.
> 
> Total time: 3 seconds
> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/adql_1.5-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-astro-maintainers mailing list