Bug 706729

Summary: Can't build pdf documents with publican
Product: [Fedora] Fedora Reporter: Nathan Thomas <nathan>
Component: publicanAssignee: Ruediger Landmann <rlandman>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: mmcallis, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-13 00:31:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nathan Thomas 2011-05-22 14:28:38 UTC
Description of problem: I'm trying to build pdfs of the Fedora Live Image Guide for Fedora 15. Running 'publican build --embedtoc --publish --formats pdf --langs en-US' produces the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/configuration/ConfigurationException
	at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:150)
	at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:166)
	at org.apache.fop.cli.CommandLineOptions.<init>(CommandLineOptions.java:102)
	at org.apache.fop.cli.Main.startFOP(Main.java:153)
	at org.apache.fop.cli.Main.main(Main.java:196)
Caused by: java.lang.ClassNotFoundException: org.apache.avalon.framework.configuration.ConfigurationException
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 5 more

The pdf does not appear in the publish folder.


Version-Release number of selected component (if applicable):
Fedora 15 Beta 
publican 2.5-2.fc15
fop 0.95-5.fc14

Thanks!

Comment 1 Ruediger Landmann 2012-03-13 00:31:34 UTC
This was a problem with a change in FOP's dependencies in Fedora 15; and was fixed by moving to FOP 1.0 in Fedora 15 and Fedora 16.