Bug#1011730: libpdfbox-graphics2d-java: FTBFS: dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1

Lucas Nussbaum lucas at debian.org
Thu May 26 07:44:11 BST 2022


Source: libpdfbox-graphics2d-java
Version: 0.35-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibpdfbox-graphics2d-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for de.rototor.pdfbox:extended-tests:jar:0.35
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.xml.bind:jaxb-api:jar -> duplicate declaration of version debian @ line 46, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] PDFBox-Graphics2d - Parent                                         [pom]
> [INFO] PDFBox-Graphics2d                                                  [jar]
> [INFO] PDFBox-Graphics2d - Extended Tests                                 [jar]
> [INFO] 
> [INFO] -------------< de.rototor.pdfbox:pdfboxgraphics2d-parent >--------------
> [INFO] Building PDFBox-Graphics2d - Parent 0.35                           [1/3]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------------------< de.rototor.pdfbox:graphics2d >--------------------
> [INFO] Building PDFBox-Graphics2d 0.35                                    [2/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ graphics2d ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/graphics2d/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ graphics2d ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 19 source files to /<<PKGBUILDDIR>>/graphics2d/target/classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/graphics2d/src/main/java/de/rototor/pdfbox/graphics2d/PrivateFieldAccessor.java: /<<PKGBUILDDIR>>/graphics2d/src/main/java/de/rototor/pdfbox/graphics2d/PrivateFieldAccessor.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/graphics2d/src/main/java/de/rototor/pdfbox/graphics2d/PrivateFieldAccessor.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ graphics2d ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ graphics2d ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 13 source files to /<<PKGBUILDDIR>>/graphics2d/target/test-classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ graphics2d ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ graphics2d ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/graphics2d/target/graphics2d-0.35.jar
> [INFO] 
> [INFO] ------------------< de.rototor.pdfbox:extended-tests >------------------
> [INFO] Building PDFBox-Graphics2d - Extended Tests 0.35                   [3/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ extended-tests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ extended-tests ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /<<PKGBUILDDIR>>/extended-tests/target/classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ extended-tests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ extended-tests ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /<<PKGBUILDDIR>>/extended-tests/target/test-classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ extended-tests ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ extended-tests ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/extended-tests/target/extended-tests-0.35.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for PDFBox-Graphics2d - Parent 0.35:
> [INFO] 
> [INFO] PDFBox-Graphics2d - Parent ......................... SUCCESS [  0.003 s]
> [INFO] PDFBox-Graphics2d .................................. SUCCESS [  2.151 s]
> [INFO] PDFBox-Graphics2d - Extended Tests ................. SUCCESS [  0.389 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  2.642 s
> [INFO] Finished at: 2022-05-25T21:15:48Z
> [INFO] ------------------------------------------------------------------------
>    dh_auto_test
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for de.rototor.pdfbox:extended-tests:jar:0.35
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.xml.bind:jaxb-api:jar -> duplicate declaration of version debian @ line 46, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] PDFBox-Graphics2d - Parent                                         [pom]
> [INFO] PDFBox-Graphics2d                                                  [jar]
> [INFO] PDFBox-Graphics2d - Extended Tests                                 [jar]
> [INFO] 
> [INFO] -------------< de.rototor.pdfbox:pdfboxgraphics2d-parent >--------------
> [INFO] Building PDFBox-Graphics2d - Parent 0.35                           [1/3]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------------------< de.rototor.pdfbox:graphics2d >--------------------
> [INFO] Building PDFBox-Graphics2d 0.35                                    [2/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ graphics2d ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/graphics2d/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ graphics2d ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ graphics2d ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 32 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ graphics2d ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ graphics2d ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running de.rototor.pdfbox.graphics2d.MarkedContentTest
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.FileSystemFontProvider loadDiskCache
> WARNING: New fonts found, font cache will be re-built
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.FileSystemFontProvider <init>
> WARNING: Building on-disk font cache, this may take a while
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.FileSystemFontProvider <init>
> WARNING: Finished building on-disk font cache, found 6 fonts
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-Roman
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-Bold
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-Italic
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Times-BoldItalic
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica-Bold
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica-Oblique
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Helvetica-BoldOblique
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier-Bold
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier-Oblique
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Courier-BoldOblique
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font Symbol
> May 25, 2022 9:15:50 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for base font ZapfDingbats
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.569 s - in de.rototor.pdfbox.graphics2d.MarkedContentTest
> [INFO] Running de.rototor.pdfbox.graphics2d.MultiPageTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.503 s - in de.rototor.pdfbox.graphics2d.MultiPageTest
> [INFO] Running de.rototor.pdfbox.graphics2d.FontWidthDiscrepancyTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 s - in de.rototor.pdfbox.graphics2d.FontWidthDiscrepancyTest
> [INFO] Running de.rototor.pdfbox.graphics2d.FontTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.479 s - in de.rototor.pdfbox.graphics2d.FontTest
> [INFO] Running de.rototor.pdfbox.graphics2d.InvalidPDFTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in de.rototor.pdfbox.graphics2d.InvalidPDFTest
> [INFO] Running de.rototor.pdfbox.graphics2d.SpecialColorsTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in de.rototor.pdfbox.graphics2d.SpecialColorsTest
> [INFO] Running de.rototor.pdfbox.graphics2d.TestDrawEmptyString
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in de.rototor.pdfbox.graphics2d.TestDrawEmptyString
> [INFO] Running de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawerDefaultFontsTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawerDefaultFontsTest
> [INFO] Running de.rototor.pdfbox.graphics2d.PdfBoxGraphics2dTest
> May 25, 2022 9:15:52 PM org.apache.pdfbox.cos.COSDocument finalize
> WARNING: Warning: You did not close a PDF Document
> May 25, 2022 9:15:52 PM org.apache.pdfbox.cos.COSDocument finalize
> WARNING: Warning: You did not close a PDF Document
> May 25, 2022 9:15:52 PM org.apache.pdfbox.cos.COSDocument finalize
> WARNING: Warning: You did not close a PDF Document
> May 25, 2022 9:15:52 PM org.apache.pdfbox.cos.COSDocument finalize
> WARNING: Warning: You did not close a PDF Document
> reader: com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader at 172ca72b
> reader: com.sun.imageio.plugins.jpeg.JPEGImageReader at 71e5f61d
> [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.592 s - in de.rototor.pdfbox.graphics2d.PdfBoxGraphics2dTest
> [INFO] Running de.rototor.pdfbox.graphics2d.RenderSVGsTest
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint
> [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.135 s - in de.rototor.pdfbox.graphics2d.RenderSVGsTest
> [INFO] Running de.rototor.pdfbox.graphics2d.PdfRerenderTest
> May 25, 2022 9:16:04 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> May 25, 2022 9:16:05 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> May 25, 2022 9:16:09 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> May 25, 2022 9:16:09 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> May 25, 2022 9:16:09 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> May 25, 2022 9:16:09 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> May 25, 2022 9:16:09 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNING: Using fallback font LiberationSans for Helvetica-Bold
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.584 s - in de.rototor.pdfbox.graphics2d.PdfRerenderTest
> [INFO] Running de.rototor.pdfbox.graphics2d.TestDanglingGfxCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in de.rototor.pdfbox.graphics2d.TestDanglingGfxCase
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> [INFO] ------------------< de.rototor.pdfbox:extended-tests >------------------
> [INFO] Building PDFBox-Graphics2d - Extended Tests 0.35                   [3/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ extended-tests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ extended-tests ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ extended-tests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ extended-tests ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ extended-tests ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running de.rototor.pdfbox.graphics2d.extendedtests.TestGraphicsFillBug
> setBackground(new Color(0xFFFFFFFF))
> clearRect(int,int,int,int):
>   x = 0
>   y = 0
>   width = 1000
>   height = 1000
> g.scale(1.0,1.0);
> clearRect(int,int,int,int):
>   x = 0
>   y = 0
>   width = 623
>   height = 311
> getDeviceConfiguration():
> getDeviceConfiguration():
> getTransform():
> getClip():
> addRenderingHinds(Map):
>   hints = {Image interpolation method key=Bicubic image interpolation mode, Global antialiasing enable key=Antialiased rendering mode, Global rendering quality key=Highest quality rendering methods}
>     map.put(Image interpolation method key, Bicubic image interpolation mode
>     map.put(Global antialiasing enable key, Antialiased rendering mode
>     map.put(Global rendering quality key, Highest quality rendering methods
> translate(double, double):
>   tx = 0.0
>   ty = 311.0
> g.scale(1.0,-1.0);
> translate(double, double):
>   tx = -0.0
>   ty = -0.0
> g.setComposite(AlphaComposite.getInstance(AlphaComposite.DST_OVER, 1.0f));
> g.setPaint(new Color(0xFF000000));
> g.setStroke(new BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f, null, 0.0f));
> setClip(Shape):
>   clip = java.awt.geom.Area at 5fe94a96 M0.0:0.0:L0.0:311.0:L623.0:311.0:L623.0:0.0:cp
> Path2D p = new Path2D.Double(1);
> p.moveTo(438.531494140625,261.2290954589844);
> p.curveTo(437.89190673828125,265.30859375,437.6903076171875,265.33380126953125,437.6903076171875,265.33380126953125);
> p.curveTo(437.5043029785156,265.3570861816406,437.3822021484375,265.2620849609375,437.3822021484375,265.2620849609375);
> g.draw(p);
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.5 s - in de.rototor.pdfbox.graphics2d.extendedtests.TestGraphicsFillBug
> [INFO] Running de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.197 s <<< FAILURE! - in de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering
> [ERROR] testPPTXRendering(de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering)  Time elapsed: 0.197 s  <<< ERROR!
> org.apache.poi.ooxml.POIXMLException: org.apache.poi.ooxml.POIXMLException: org/apache/xmlbeans/metadata/system/s036263A03D2D3FD117889707DB51207A/TypeSystemHolder
> 	at de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering.testPPTXRendering(TestPPTXRendering.java:30)
> Caused by: org.apache.poi.ooxml.POIXMLException: org/apache/xmlbeans/metadata/system/s036263A03D2D3FD117889707DB51207A/TypeSystemHolder
> 	at de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering.testPPTXRendering(TestPPTXRendering.java:30)
> Caused by: java.lang.reflect.InvocationTargetException
> 	at de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering.testPPTXRendering(TestPPTXRendering.java:30)
> Caused by: java.lang.NoClassDefFoundError: org/apache/xmlbeans/metadata/system/s036263A03D2D3FD117889707DB51207A/TypeSystemHolder
> 	at de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering.testPPTXRendering(TestPPTXRendering.java:30)
> Caused by: java.lang.ClassNotFoundException: org.apache.xmlbeans.metadata.system.s036263A03D2D3FD117889707DB51207A.TypeSystemHolder
> 	at de.rototor.pdfbox.graphics2d.extendedtests.pptx.TestPPTXRendering.testPPTXRendering(TestPPTXRendering.java:30)
> 
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Errors: 
> [ERROR]   TestPPTXRendering.testPPTXRendering:30 » POIXML org.apache.poi.ooxml.POIXMLExc...
> [INFO] 
> [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for PDFBox-Graphics2d - Parent 0.35:
> [INFO] 
> [INFO] PDFBox-Graphics2d - Parent ......................... SUCCESS [  0.004 s]
> [INFO] PDFBox-Graphics2d .................................. SUCCESS [ 30.869 s]
> [INFO] PDFBox-Graphics2d - Extended Tests ................. FAILURE [ 10.084 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  41.079 s
> [INFO] Finished at: 2022-05-25T21:16:30Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project extended-tests: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /<<PKGBUILDDIR>>/extended-tests/target/surefire-reports for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :extended-tests
> dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/libpdfbox-graphics2d-java_0.35-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list