[Bug 1175214] New: daps is unable to create pdf docu in 15.2
https://bugzilla.suse.com/show_bug.cgi?id=1175214 Bug ID: 1175214 Summary: daps is unable to create pdf docu in 15.2 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Documentation Assignee: fs@suse.com Reporter: adrian.schroeter@suse.com QA Contact: fs@suse.com Found By: --- Blocker: --- First thing I stumbled was the error of loading excalibur. It seems avalon-framework package has it's jars not anymore below excalibur/ . As workaround I did # ln -s .. /usr/share/java/excalibur the next error I am unable to solve yet is this one: (cd /home/adrian/git/open-build-service-documentation/build/.tmp/ && /usr/share/daps/libexec/daps-fop /home/adrian/git/open-build-service-documentation/build/.tmp/book.obs-admin-fop_color_en.fo /home/adrian/git/open-build-service-documentation/build/obs-admin-guide/book.obs-admin_color_en.pdf ) log4j:WARN No appenders could be found for logger (org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.NoSuchMethodError: java.nio.IntBuffer.flip()Ljava/nio/IntBuffer; at org.apache.fop.fonts.MultiByteFont.mapCharsToGlyphs(MultiByteFont.java:685) at org.apache.fop.fonts.MultiByteFont.charSequenceToGlyphSequence(MultiByteFont.java:571) at org.apache.fop.fonts.MultiByteFont.performSubstitution(MultiByteFont.java:552) at org.apache.fop.fonts.LazyFont.performSubstitution(LazyFont.java:424) at org.apache.fop.fonts.Font.performSubstitution(Font.java:471) at org.apache.fop.fonts.GlyphMapping.processWordMapping(GlyphMapping.java:141) at org.apache.fop.fonts.GlyphMapping.doGlyphMapping(GlyphMapping.java:92) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1175214 https://bugzilla.suse.com/show_bug.cgi?id=1175214#c1 Thomas Schraitle <thomas.schraitle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.schraitle@suse.com --- Comment #1 from Thomas Schraitle <thomas.schraitle@suse.com> --- Created attachment 840612 --> https://bugzilla.suse.com/attachment.cgi?id=840612&action=edit DAPS log from daps -vv -d DC-obs-admin-guide pdf I've try to confirm that and created a new virtual machine with openSUSE Leap 15.2. Installed daps and git and try to build the OBS documentation. Here is the details: ----------- [...] Successfully created fo file /home/tux/obs-docu/build/.tmp/book.obs-admin-fop_color_en.fo Creating PDF from fo-file... /usr/bin/build-classpath: Could not find excalibur Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found PDF book built with REMARKS=0, DRAFT=no and META=0: /home/tux/obs-docu/build/obs-admin-guide/book.obs-admin_color_en.pdf ----------- I don't get the Java errors, but I get a PDF. However I do get the error message about excalibur. After further investigations, the "avalon-framework" package is NOT installed by default. Seems, some dependencies had been changed from Leap 15.1 -> 15.2. Comparing the avalon-framework between Leap 15.1 and 15.2. ------- Leap 15.2 /usr/share/java/avalon-framework-api.jar /usr/share/java/avalon-framework-impl.jar /usr/share/java/avalon-framework.jar /usr/share/licenses/avalon-framework /usr/share/licenses/avalon-framework/LICENSE.txt /usr/share/licenses/avalon-framework/NOTICE.txt /usr/share/maven-metadata/avalon-framework.xml /usr/share/maven-poms/avalon-framework-api.pom /usr/share/maven-poms/avalon-framework-impl.pom ------- Leap 15.1 /usr/share/doc/packages/avalon-framework /usr/share/doc/packages/avalon-framework/KEYS /usr/share/doc/packages/avalon-framework/LICENSE.txt /usr/share/doc/packages/avalon-framework/README.txt /usr/share/java/avalon-framework.jar /usr/share/java/excalibur /usr/share/java/excalibur/avalon-framework-api.jar /usr/share/java/excalibur/avalon-framework-impl.jar -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1175214 https://bugzilla.suse.com/show_bug.cgi?id=1175214#c2 Thomas Schraitle <thomas.schraitle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #2 from Thomas Schraitle <thomas.schraitle@suse.com> --- Just a note: Inside /usr/share/daps/libexec/daps-fop you need to change this line: FOP_DEFAULT_JAVA_JARS="batik-all excalibur/avalon-framework-impl" to this line: FOP_DEFAULT_JAVA_JARS="batik-all avalon-framework-impl" This avoids the warning message. Apart from this, maybe the avalon-framework should add a compatibility link... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1175214 Thomas Schraitle <thomas.schraitle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.suse.com/s | |how_bug.cgi?id=1175229 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1175214 https://bugzilla.suse.com/show_bug.cgi?id=1175214#c3 Stefan Knorr <sknorr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED CC| |sknorr@suse.com Resolution|--- |FIXED --- Comment #3 from Stefan Knorr <sknorr@suse.com> --- Resolved in develop: https://github.com/openSUSE/daps/commit/621ae0e1 Should be available as a package from obs://home:fs in a short bit. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1175214 https://bugzilla.suse.com/show_bug.cgi?id=1175214#c4 --- Comment #4 from Stefan Knorr <sknorr@suse.com> --- Actually, https://download.opensuse.org/repositories/home:/fsundermeyer/ Proper release to follow. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1175214 https://bugzilla.suse.com/show_bug.cgi?id=1175214#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2022:1498-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1175214 CVE References: JIRA References: Sources used: openSUSE Leap 15.4 (src): daps-3.3.1-150300.14.3.2 openSUSE Leap 15.3 (src): daps-3.3.1-150300.14.3.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com