[Debian-med-packaging] Bug#793369: Bug#793369: Any volunteer to maintain JAI that is RC buggy and dead upstream (Was: Bug#793369: jai-core: FTBFS - JPEGImageDecoder.java:29: error: package com.sun.image.codec.jpeg does not exist)

Olivier Sallou olivier.sallou at irisa.fr
Thu Jul 23 16:31:23 UTC 2015



On 07/23/2015 06:13 PM, Andreas Tille wrote:
> Hi,
>
> since Mathieu declared he will not keep on maintaining his Debian Med
> packages we have no active Uploader for this package to care for bugs
> like this.  Since I have no idea how to fix this I'm just asking for
> volunteers whether we will be able to properly maintain the package
> inside Debian or whether we rather want to drop it.
>
> There might be some chance to replace the non-free JAI by the free
> JAI-EXT which could be a potential replacement (but I have no idea how
> much adaptation is needed).
>
> Kind regards
>
>         Andreas.
>
> [1] http://docs.geotools.org/latest/userguide/tutorial/raster/jaiext.html
>
> On Thu, Jul 23, 2015 at 01:04:41PM +0200, Andreas Beckmann wrote:
>> Source: jai-core
>> Version: 1.1.4-3
>> Severity: serious
>> Tags: jessie sid stretch
>> Justification: fails to build from source
>>
>> from a rebuild in a clean jessie pbuilder environment (full log
>> attached):
>>
>> [...]
>> compilation:
>>     [mkdir] Created dir: /tmp/buildd/jai-core-1.1.4/build/linux-amd64/opt/classes
>>      [copy] Copying 5 files to /tmp/buildd/jai-core-1.1.4/build/linux-amd64/opt
>>     [javac] /tmp/buildd/jai-core-1.1.4/build.xml:633: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>>     [javac] Compiling 829 source files to /tmp/buildd/jai-core-1.1.4/build/linux-amd64/opt/classes
>>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/JPEGImageDecoder.java:29: error: package com.sun.image.codec.jpeg does not exist
>>     [javac] import com.sun.image.codec.jpeg.ImageFormatException;
this package does not exists anymore [0]

Synopsis: The Non-standard com.sun.image.codec.jpeg Package is Retired

Description: The com.sun.image.codec.jpeg package was added in JDK 1.2
(Dec 1998) as a non-standard way of controlling the loading and saving
of JPEG format image files. This package was never part of the platform
specification and it has been removed from the Java SE 7 release. The
Java Image I/O API was added to the JDK 1.4 release as a standard API
and eliminated the need for the com.sun.image.codec.jpeg package.

Depending on what is done, code could be modified (I have not checked)
to use Java Image, but I think this would impact quite a few the code,
and, in any case, difficult to keep it in sync with upstream (or is
upstream dead?)

[0]
http://stackoverflow.com/questions/1906673/import-com-sun-image-codec-jpeg

Olivier

>>     [javac]                                ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/JPEGImageEncoder.java:35: error: package com.sun.image.codec.jpeg does not exist
>>     [javac] import com.sun.image.codec.jpeg.JPEGQTable;
>>     [javac]                                ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/JPEGImageEncoder.java:36: error: package com.sun.image.codec.jpeg does not exist
>>     [javac] import com.sun.image.codec.jpeg.JPEGDecodeParam;
>>     [javac]                                ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/JPEGImageEncoder.java:68: error: package com.sun.image.codec.jpeg does not exist
>>     [javac]           com.sun.image.codec.jpeg.JPEGEncodeParam j2dEP,
>>     [javac]                                   ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/TIFFImage.java:53: error: package com.sun.image.codec.jpeg does not exist
>>     [javac] import com.sun.image.codec.jpeg.JPEGCodec;
>>     [javac]                                ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/TIFFImage.java:54: error: package com.sun.image.codec.jpeg does not exist
>>     [javac] import com.sun.image.codec.jpeg.JPEGDecodeParam;
>>     [javac]                                ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/TIFFImage.java:55: error: package com.sun.image.codec.jpeg does not exist
>>     [javac] import com.sun.image.codec.jpeg.JPEGImageDecoder;
>>     [javac]                                ^
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/TIFFImage.java:114: error: cannot find symbol
>>     [javac]     JPEGDecodeParam decodeParam = null;
>>     [javac]     ^
>>     [javac]   symbol:   class JPEGDecodeParam
>>     [javac]   location: class TIFFImage
>>     [javac] /tmp/buildd/jai-core-1.1.4/src/share/classes/com/sun/media/jai/codecimpl/TIFFImage.java:146: error: cannot find symbol
>>     [javac]                                            JPEGDecodeParam decodeParam,
>>     [javac]                                            ^
>>     [javac]   symbol:   class JPEGDecodeParam
>>     [javac]   location: class TIFFImage
>> [...]
>>
>>
>> Andreas
>
>> _______________________________________________
>> Debian-med-packaging mailing list
>> Debian-med-packaging at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150723/0be0a230/attachment-0001.html>


More information about the Debian-med-packaging mailing list