[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need some help for Java package



On 02/08/2014 10:57 AM, Andreas Tille wrote:
> Hi again,
>
> On Sat, Feb 08, 2014 at 09:11:15AM +0100, olivier.sallou@codeless.fr wrote:
>>> I gonna test this.
>> I've gone furher, remove cplex, but there is still an issue. Code
>> references:
>>
>> CigarParser.extractAllAlignDiffs()
>>
>>
>> but there is no "import ...." in the code that would import CigarParser
>> from a library or local code!
>> and I cannot find on Internet any CigarParser class.
> I tried to build in pbuilder and got:
>
> Buildfile: /tmp/buildd/giira-0.0.20131015/build.xml
>
> compile:
>     [mkdir] Created dir: /tmp/buildd/giira-0.0.20131015/build/classes
>     [mkdir] Created dir: /tmp/buildd/giira-0.0.20131015/dist
>     [javac] /tmp/buildd/giira-0.0.20131015/build.xml:35: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 25 source files to /tmp/buildd/giira-0.0.20131015/build/classes
>     [javac] /tmp/buildd/giira-0.0.20131015/src/types/Rna.java:20: error: unmappable character for encoding ASCII
>     [javac]     public Vector<Object[]> contigsMappedOn = new Vector<Object[]>(); // contains several Arrays ??: [contig, alignPos, cigarString, mapQual,spliceInfo,mismatchInfo,direcInfo] (one for each hit)
>     [javac]                                                                                                  ^
>     [javac] /tmp/buildd/giira-0.0.20131015/src/types/Rna.java:20: error: unmappable character for encoding ASCII
>     [javac]     public Vector<Object[]> contigsMappedOn = new Vector<Object[]>(); // contains several Arrays ??: [contig, alignPos, cigarString, mapQual,spliceInfo,mismatchInfo,direcInfo] (one for each hit)
>     [javac]                                                                                                   ^
>     [javac] 2 errors
>
> BUILD FAILED
> /tmp/buildd/giira-0.0.20131015/build.xml:35: Compile failed; see the compiler error output for details.
>
>
> It seems this is not related to the missing class.
>
> Any hint how to work around this?
This is a common error on non ascii characters. You should patch the
code to replace those non ascii char with ascii ones.
In pbuilder context, it seems that compilation is hardened to not allow
such errors (that are often considered just as warnings).

Olivier

>
> Kind regards
>
>         Andreas. 
>
>
> -- 
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Reply to: