[Debian-med-packaging] Bug#912386: Bug#912386: rdp-readseq FTBFS with OpenJDK 11

Olivier Sallou olivier.sallou at irisa.fr
Wed Oct 31 11:19:54 GMT 2018



----- Mail original -----
> De: "andreas" <andreas at an3as.eu>
> À: 912386 at bugs.debian.org
> Envoyé: Mercredi 31 Octobre 2018 07:10:01
> Objet: [Debian-med-packaging] Bug#912386: rdp-readseq FTBFS with OpenJDK 11

> Control: tags -1 help
>                                                         
> Hi,
>                                                       
> I'm afraid I need help for this bug from the Debian Java team.
>                                                     
> Kind regards
>                                                   
>       Andreas.
> 
> On Wed, Oct 31, 2018 at 04:58:09AM +0200, Adrian Bunk wrote:
>> Source: rdp-readseq
>> Version: 2.0.2-4
>> Severity: serious
>> Tags: ftbfs
>> 
>> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rdp-readseq.html
>> 
>> ...
>>    debian/rules override_dh_auto_build
>> make[1]: Entering directory '/build/1st/rdp-readseq-2.0.2'
>> jh_build --javacopts="-encoding UTF8" rdp-readseq.jar src
>> find src -name *.java -and -type f -print0 | xargs -s 512000 -0
>> /usr/lib/jvm/default-java/bin/javac -g -cp
>> /usr/share/java/commons-cli.jar:/usr/share/java/commons-lang.jar:/usr/share/java/commons-io.jar:debian/_jh_build.rdp-readseq
>> -d debian/_jh_build.rdp-readseq -source 1.7 -target 1.7 -encoding UTF8
>> warning: [options] bootstrap class path not set in conjunction with -source 7
>> src/edu/msu/cme/rdp/readseq/readers/Sequence.java:11: error: package
>> javax.xml.bind.annotation does not exist
>> import javax.xml.bind.annotation.XmlAttribute;


java xml has been removed from "core" jdk with Java 9 ou 10.

Commands (javac, java , ...) needs to add javax.xml module with --add-module option (not sure of syntax). We have other packages where we added such option with java upgrades.



I am on travel, cannot fix this now but I can have a look later on. But adding option should do the job (if there is a shell that calls java cmd line, it should also be added)

Olivier


>>                                 ^
>> src/edu/msu/cme/rdp/readseq/readers/Sequence.java:12: error: package
>> javax.xml.bind.annotation does not exist
>> import javax.xml.bind.annotation.XmlElement;
>>                                 ^
>> src/edu/msu/cme/rdp/readseq/readers/Sequence.java:19: error: cannot find symbol
>>     @XmlAttribute
>>      ^
>>   symbol:   class XmlAttribute
>>   location: class Sequence
>> src/edu/msu/cme/rdp/readseq/readers/Sequence.java:21: error: cannot find symbol
>>     @XmlAttribute
>>      ^
>>   symbol:   class XmlAttribute
>>   location: class Sequence
>> src/edu/msu/cme/rdp/readseq/readers/Sequence.java:23: error: cannot find symbol
>>     @XmlElement
>>      ^
>>   symbol:   class XmlElement
>>   location: class Sequence
>> Note: Some input files use or override a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 5 errors
>> 1 warning
>> make[1]: *** [debian/rules:27: override_dh_auto_build] Error 123
>> 
>> _______________________________________________
>> Debian-med-packaging mailing list
>> Debian-med-packaging at alioth-lists.debian.net
>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
> 
> --
> http://fam-tille.de
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging



More information about the Debian-med-packaging mailing list