Bug 433897 - PDFs with JPEG2000 data are processed incorrectly
Summary: PDFs with JPEG2000 data are processed incorrectly
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F8Target
TreeView+ depends on / blocked
 
Reported: 2008-02-21 23:48 UTC by Yakov Shafranovich
Modified: 2008-09-25 00:22 UTC (History)
1 user (show)

Fixed In Version: 8.61-8.fc8
Clone Of:
Environment:
Last Closed: 2008-09-25 00:22:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Yakov Shafranovich 2008-02-21 23:48:09 UTC
Description of problem:

Builds of the ghostscript package from v8.61-7 and above no longer include the
jasper library. As the result, JPEG2000 support is no longer present in
ghostscript and errors occur processing PDF files containing JPEG2000 encoded
images.

Version-Release number of selected component (if applicable):

8.61-7 and above


How reproducible:


Steps to Reproduce:
1. Download any PDF book from books.google.com.
2. Run pdfopt book.pdf book1.pdf
  
Actual results:

Errors like this are produced:
ERROR: Unable to process JPXDecode data. Page will be missing data. ****

The resulting PDF is produced without any JPEG2000 images.

Expected results:
PDFs without errors

Additional info:
Compiling with jasper would fix the problem.

Comment 1 Tim Waugh 2008-02-22 14:38:10 UTC
Clarification: original problem occurred in 8.61-6.fc8 (F-8) and 8.61-7.fc9
(rawhide).

Comment 2 Fedora Update System 2008-02-22 16:29:46 UTC
ghostscript-8.61-7.fc8 has been submitted as an update for Fedora 8

Comment 3 Fedora Update System 2008-02-26 00:27:51 UTC
ghostscript-8.61-7.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghostscript'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-1998

Comment 4 Fedora Update System 2008-03-03 18:24:10 UTC
ghostscript-8.61-8.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Tomas Hoger 2008-08-27 09:51:58 UTC
Btw, F8 builds still do not seem to use jasper...

According to the changelog, ghostscript should use system jasper:

http://cvs.fedoraproject.org/viewvc/rpms/ghostscript/F-8/ghostscript.spec?r1=1.153&r2=1.154

However, greping build.logs for jasper yields:

+ ./configure  [ ... ]  --without-jasper  [ ... ]

Also comparing RPM info for build with same NVR in F8 and F9, F9 build depends on libjasper.so.1, F8 build does not:

http://koji.fedoraproject.org/koji/rpminfo?rpmID=630157
http://koji.fedoraproject.org/koji/rpminfo?rpmID=630181

(I have not really tested if PDFs with JPEG2000 are not shown correctly or not though, just checking if ghostcript uses system jasper as it should. ;)

Comment 6 Tomas Hoger 2008-08-27 10:06:41 UTC
Ah...

F8:
%configure --with-ijs --enable-dynamic --with-fontpath="$FONTPATH" \
	--without-jasper \
	--with-drivers=ALL --disable-compile-inits

vs.

F9:
%configure --with-ijs --enable-dynamic --with-fontpath="$FONTPATH" \
	--with-drivers=ALL --disable-compile-inits \
	CFLAGS="$CFLAGS $EXTRACFLAGS"

Comment 7 Fedora Update System 2008-08-27 11:31:11 UTC
ghostscript-8.63-1.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/ghostscript-8.63-1.fc8

Comment 8 Fedora Update System 2008-09-10 07:10:46 UTC
ghostscript-8.63-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghostscript'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7298

Comment 9 Fedora Update System 2008-09-25 00:22:11 UTC
ghostscript-8.63-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.