[Pkg-erlang-devel] Bug#641530: fop: fails with java.lang.IllegalArgumentException: Cannot open file sRGB.pf
Raphaël Hertzog
hertzog at debian.org
Wed Sep 14 07:51:40 UTC 2011
Package: fop
Version: 1:1.0.dfsg2-2
Severity: grave
Justification: renders package unusable
As you can see in #640308, fop doesn't work any longer... and I have the exact
same problem when trying to build the publican package.
I'm not sure what's the root cause of the problem but it might be similar
to this report:
http://www-01.ibm.com/support/docview.wss?uid=swg1PM17433
So possibly a security change that forbids the automatic discovery
of files with a relative path if some symlinks are involved. CCing debian-java
as their input can be useful here.
I'm using:
$ java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre9-1)
OpenJDK Server VM (build 20.0-b11, mixed mode)
Failure log:
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
java.lang.IllegalArgumentException: Cannot open file sRGB.pf
at java.awt.color.ICC_Profile.activateDeferredProfile(ICC_Profile.java:1085)
at java.awt.color.ICC_Profile$1.activate(ICC_Profile.java:741)
at sun.java2d.cmm.ProfileDeferralMgr.activateProfiles(ProfileDeferralMgr.java:93)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:774)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:994)
at org.apache.fop.pdf.PDFICCBasedColorSpace.setupsRGBColorProfile(PDFICCBasedColorSpace.java:141)
at org.apache.fop.pdf.PDFICCBasedColorSpace.setupsRGBAsDefaultRGBColorSpace(PDFICCBasedColorSpace.java:109)
at org.apache.fop.render.pdf.PDFRenderingUtil.addsRGBColorSpace(PDFRenderingUtil.java:265)
at org.apache.fop.render.pdf.PDFRenderingUtil.setupPDFDocument(PDFRenderingUtil.java:378)
at org.apache.fop.render.pdf.PDFDocumentHandler.startDocument(PDFDocumentHandler.java:144)
at org.apache.fop.render.intermediate.IFRenderer.startRenderer(IFRenderer.java:253)
at org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:79)
at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:130)
at org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:102)
at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:359)
at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:105)
at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)
at org.apache.fop.apps.Fop.<init>(Fop.java:79)
at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:109)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:207)
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fop depends on:
ii default-jre-headless [java2-runtime-headless] 1:1.6-43
ii gcj-4.4-jre-headless [java2-runtime-headless] 4.4.6-10
ii gcj-4.6-jre-headless [java2-runtime-headless] 4.6.1-4
ii gcj-jre-headless [java2-runtime-headless] 4:4.6.1-2
ii java-wrappers 0.1.23
ii libavalon-framework-java 4.2.0-7
ii libbatik-java 1.7-7
ii libbsf-java 1:2.4.0-4
ii libcommons-io-java 1.4-3
ii libcommons-logging-java 1.1.1-8
ii libxalan2-java 2.7.1-5
ii libxerces2-java 2.11.0-2
ii libxml-commons-external-java 1.4.01-2
ii libxmlgraphics-commons-java 1.4.dfsg-3
ii libxt6 1:1.1.1-2
ii libxtst6 2:1.2.0-3
ii openjdk-6-jre-headless [java2-runtime-headless] 6b23~pre9-1
ii sun-java6-jre [java2-runtime-headless] 6.26-3
Versions of packages fop recommends:
ii libsaxon-java 1:6.5.5-7
Versions of packages fop suggests:
pn fop-doc <none>
pn libservlet2.4-java <none>
-- no debconf information
More information about the Pkg-erlang-devel
mailing list