Bug#895761: jhove: FTBFS with java 9

2018-04-23 Thread Jeff Breidenbach
I think the right thing is to update to the latest jhove release (1.20) but
looks like the build system has changed dramatically. Would love to get a
little help from someone who works with Java packages on a more regular
basis.


Bug#895761: jhove: FTBFS with java 9

2018-04-23 Thread Jeff Breidenbach
Taking a look


Bug#895761: jhove: FTBFS with java 9

2018-04-15 Thread Andreas Beckmann
Source: jhove
Version: 1.6+dfsg-1
Severity: serious
Tags: sid buster
Justification: fails to build from source

Hi,

jhove FTBFS with openjdk-9 as the default jdk:

 debian/rules build
QUILT_PATCHES=debian/patches \
quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 01_jhove.diff
patching file jhove

Applying patch 02_jhoveview.diff
patching file jhoveview

Now at patch 02_jhoveview.diff
touch debian/stamp-patched
dh_testdir
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 debug
Buildfile: /build/jhove-1.6+dfsg/build.xml

debug:

api:

api-init:

api:
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/build.xml:22: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
[javac] Compiling 364 source files
[javac] Using ant.build.javac.target 1.5 is no longer supported, switching 
to 1.7
[javac] Using ant.build.javac.target 1.5 is no longer supported, switching 
to 1.7
[javac] Using ant.build.javac.source 1.5 is no longer supported, switching 
to 1.7
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/TextMDMetadata.java:135:
 error: unmappable character (0x92) for encoding US-ASCII
[javac] Usage: Byte order, primarily useful for cases where it?s 
not clear just by specifying an IANA character set. Uses enumerated values of 
?big,? ?little,? and ?middle' endian.
[javac]   ^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/TextMDMetadata.java:135:
 error: unmappable character (0x91) for encoding US-ASCII
[javac] Usage: Byte order, primarily useful for cases where it?s 
not clear just by specifying an IANA character set. Uses enumerated values of 
?big,? ?little,? and ?middle' endian.
[javac] 
   ^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/TextMDMetadata.java:135:
 error: unmappable character (0x92) for encoding US-ASCII
[javac] Usage: Byte order, primarily useful for cases where it?s 
not clear just by specifying an IANA character set. Uses enumerated values of 
?big,? ?little,? and ?middle' endian.
[javac] 

^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/TextMDMetadata.java:135:
 error: unmappable character (0x91) for encoding US-ASCII
[javac] Usage: Byte order, primarily useful for cases where it?s 
not clear just by specifying an IANA character set. Uses enumerated values of 
?big,? ?little,? and ?middle' endian.
[javac] 

  ^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/TextMDMetadata.java:135:
 error: unmappable character (0x92) for encoding US-ASCII
[javac] Usage: Byte order, primarily useful for cases where it?s 
not clear just by specifying an IANA character set. Uses enumerated values of 
?big,? ?little,? and ?middle' endian.
[javac] 

  ^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/TextMDMetadata.java:135:
 error: unmappable character (0x91) for encoding US-ASCII
[javac] Usage: Byte order, primarily useful for cases where it?s 
not clear just by specifying an IANA character set. Uses enumerated values of 
?big,? ?little,? and ?middle' endian.
[javac] 

^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/handler/XmlHandler.java:3637:
 error: unmappable character (0xA1) for encoding US-ASCII
[javac]  "normal, rotated 180?",
[javac]  ^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/handler/XmlHandler.java:3638:
 error: unmappable character (0xA1) for encoding US-ASCII
[javac]  "normal, image flipped, rotated 180?",
[javac] ^
[javac] 
/build/jhove-1.6+dfsg/classes/edu/harvard/hul/ois/jhove/handler/XmlHandler.java:3639:
 error: unmappable character (0xA1) for encoding US-ASCII
[javac]  "normal, image flipped, rotated cw 90?",
[javac]