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

Re: libjopendocument-java build failures after repack



On Friday 20 June 2014 08:37 PM, Jerome Robert wrote:
> Hi Praveen,
> 
> According to:
> 
> http://anonscm.debian.org/viewvc/pkg-java/trunk/libcommons-collections3-java/debian/patches/java8-compatibility.patch?view=markup
> 
> MultiHashMap.remove has been renamed to MultiHashMap.removeMapping so
> adding a patch with:
> 
> @@ -196,7 +196,7 @@ public class CollectionMap<K, V> extends
> MultiHashMap {
> 
>      public void removeAll(Map<? extends K, ? extends V> m) {
>          for (final Map.Entry<? extends K, ? extends V> e :
> m.entrySet()) {
> -            this.remove(e.getKey(), e.getValue());
> +            this.removeMapping(e.getKey(), e.getValue());
>          }
>      }
> 
> should help.
> 
> Jerome
> 
> 

Thanks! Now it builds fine in my work environment, but fails in
pbuilder. The same error is repeated many times. I think we have to set
encoding to UTF-8, but not sure where to set it.

    [javac]
/tmp/buildd/libjopendocument-java-1.3repack/src/org/jopendocument/dom/ChildCreator.java:149:
error: unmappable character for encoding ASCII
    [javac]      * Trouve l'index ou il faut ins??rer le fils dans ce
document.
    [javac]                                     ^
    [javac]
/tmp/buildd/libjopendocument-java-1.3repack/src/org/jopendocument/dom/ChildCreator.java:149:
error: unmappable character for encoding ASCII
    [javac]      * Trouve l'index ou il faut ins??rer le fils dans ce
document.
    [javac]

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: