Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec'], chrootPath='/var/lib/mock/dist-an23-build-288372-64871/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/pdfbox-2.0.29-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec'], chrootPath='/var/lib/mock/dist-an23-build-288372-64871/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VTYjht + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pdfbox-2.0.29 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pdfbox-2.0.29-src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd pdfbox-2.0.29 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.class' -delete + find -name '*.jar' -delete + find -name 'sRGB.icc*' -print -delete ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.README ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc.COPYING ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc.README ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc.LICENSE-ZLIB ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc + find -name '*.icm' -print -delete + find -name '*.ttf' -print -delete ./examples/src/main/resources/org/apache/pdfbox/resources/ttf/Lohit-Bengali.ttf ./fontbox/src/test/resources/ttf/Lohit-Bengali.ttf ./fontbox/src/test/resources/ttf/LiberationSans-Regular.ttf ./pdfbox/src/main/resources/org/apache/pdfbox/resources/ttf/LiberationSans-Regular.ttf Patch #0 (pdfbox-use-system-liberation-font.patch): + echo 'Patch #0 (pdfbox-use-system-liberation-font.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .font --fuzz=0 patching file examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java patching file fontbox/src/test/java/org/apache/fontbox/cmap/TestCMap.java patching file fontbox/src/test/java/org/apache/fontbox/ttf/TestTTFParser.java patching file fontbox/src/test/java/org/apache/fontbox/ttf/TTFSubsetterTest.java Hunk #1 succeeded at 48 (offset 1 line). Hunk #2 succeeded at 68 (offset 1 line). Hunk #3 succeeded at 100 (offset 1 line). Hunk #4 succeeded at 193 (offset -1 lines). Hunk #5 succeeded at 226 (offset -1 lines). patching file fontbox/src/test/java/org/apache/fontbox/ttf/RAFDataStreamTest.java patching file pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FontMapperImpl.java Hunk #2 succeeded at 121 (offset 1 line). + echo 'Patch #1 (pdfbox-use-system-icc-profiles-openicc.patch):' Patch #1 (pdfbox-use-system-icc-profiles-openicc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .openicc --fuzz=0 patching file examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java patching file pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentCatalog.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module preflight-app + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module debugger-app + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module app + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module examples + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :animal-sniffer-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :apache-rat-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-deploy-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-release-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-source-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-checkstyle-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :download-maven-plugin + rm fontbox/src/test/java/org/apache/fontbox/cff/CFFParserTest.java pdfbox/src/test/java/org/apache/pdfbox/pdfparser/TestPDFParser.java pdfbox/src/test/resources/input/rendering/FANTASTICCMYK.ai pdfbox/src/test/resources/input/rendering/HOTRODCMYK.ai preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorBavaria.java + ln -s /usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf pdfbox/src/test/resources/org/apache/pdfbox/ttf/LiberationSans-Regular.ttf + sed -i -e 's/\(testCIDFontType2VerticalSubset\)/ignore_\1/' pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java + sed -i -e 's/\(testStructureTreeMerge\)/ignore_\1/' pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java + sed -i -e '/testPDFBOX4115/i\@org.junit.Ignore' pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r com.github.jai-imageio: + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :jbig2-imageio + rm tools/src/test/java/org/apache/pdfbox/tools/imageio/TestImageIOUtils.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :diffutils pdfbox + rm pdfbox/src/test/java/org/apache/pdfbox/text/TestTextStripper.java + sed -i -e s/TestTextStripper/BidiTest/ pdfbox/src/test/java/org/apache/pdfbox/text/BidiTest.java + rm pdfbox/src/test/java/org/apache/pdfbox/multipdf/MergeAcroFormsTest.java pdfbox/src/test/java/org/apache/pdfbox/multipdf/MergeAnnotationsTest.java + sed -i -e '/\(OptionsAndNamesNotNumbers\|RadioButtonWithOptions\)/i\@org.junit.Ignore' pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDButtonTest.java + rm pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/CCITTFactoryTest.java + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :pdfbox pdfbox + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :pdfbox-debugger pdfbox-debugger + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :pdfbox-examples pdfbox-examples + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :pdfbox-tools pdfbox-tools + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :preflight preflight + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :xmpbox xmpbox + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :fontbox fontbox + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set pom:source 8 parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set pom:target 8 parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r javax.activation:activation jakarta.activation:jakarta.activation-api:1.2.2 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r javax.xml.bind:jaxb-api jakarta.xml.bind:jakarta.xml.bind-api:2 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:dependency/pom:scope[text()="provided"]' preflight + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r :bcmail-jdk15to18 :bcmail-jdk15on + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r :bcprov-jdk15to18 :bcmail-jdk15on + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pgKm4a + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pdfbox-2.0.29 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -- -DskipITs -Dlucene.version=4 -Dmaven.test.failure.ignore=true -P '!jdkGte9' Executing: xmvn --batch-mode --offline -DskipITs -Dlucene.version=4 -Dmaven.test.failure.ignore=true -P !jdkGte9 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-DskipITs', '-Dlucene.version=4', '-Dmaven.test.failure.ignore=true', '-P', '!jdkGte9', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.pdfbox:pdfbox-parent:pom:2.0.29 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.bouncycastle:bcmail-jdk15on:jar -> duplicate declaration of version ${bouncycastle.version} @ line 83, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.pdfbox:pdfbox:bundle:2.0.29 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.bouncycastle:bcmail-jdk15on:jar -> duplicate declaration of version any @ line 55, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.pdfbox:preflight:bundle:2.0.29 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.bouncycastle:bcmail-jdk15on:jar -> duplicate declaration of version any @ line 138, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.pdfbox:pdfbox-reactor:pom:2.0.29 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.bouncycastle:bcmail-jdk15on:jar -> duplicate declaration of version ${bouncycastle.version} @ org.apache.pdfbox:pdfbox-parent:2.0.29, /builddir/build/BUILD/pdfbox-2.0.29/parent/pom.xml, line 83, column 25 [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 parent [pom] [INFO] Apache FontBox [bundle] [INFO] Apache XmpBox [bundle] [INFO] Apache PDFBox [bundle] [INFO] Apache Preflight [bundle] [INFO] Apache PDFBox Debugger [jar] [INFO] Apache PDFBox tools [jar] [INFO] PDFBox reactor [pom] [INFO] [INFO] ------------------< org.apache.pdfbox:pdfbox-parent >------------------- [INFO] Building PDFBox parent 2.0.29 [1/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ pdfbox-parent --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ pdfbox-parent --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ pdfbox-parent --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 5 resources from 1 bundle. [INFO] [INFO] ---------------------< org.apache.pdfbox:fontbox >---------------------- [INFO] Building Apache FontBox 2.0.29 [2/8] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ fontbox --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ fontbox --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ fontbox --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 5 resources from 1 bundle. [INFO] Copying appended resource: META-INF/NOTICE [INFO] Copying appended resource: META-INF/LICENSE [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ fontbox --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 93 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ fontbox --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 103 source files to /builddir/build/BUILD/pdfbox-2.0.29/fontbox/target/classes [WARNING] [options] bootstrap class path not set in conjunction with -source 8 [WARNING] /builddir/build/BUILD/pdfbox-2.0.29/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java:[65,19] [deprecation] finalize() in Object has been deprecated [WARNING] /builddir/build/BUILD/pdfbox-2.0.29/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java:[67,13] [deprecation] finalize() in Object has been deprecated [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ fontbox --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 5 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ fontbox --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /builddir/build/BUILD/pdfbox-2.0.29/fontbox/target/test-classes [WARNING] [options] bootstrap class path not set in conjunction with -source 8 [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ fontbox --- [INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.fontbox.type1.Type1LexerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s - in org.apache.fontbox.type1.Type1LexerTest [INFO] Running org.apache.fontbox.ttf.TTFSubsetterTest Jul 21, 2023 4:21:04 PM org.apache.fontbox.ttf.TTFSubsetter writeToStream INFO: font subset is empty Searching for SimHei font... Jul 21, 2023 4:21:04 PM org.apache.fontbox.ttf.TTFSubsetter writeToStream INFO: font subset is empty [WARNING] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.108 s - in org.apache.fontbox.ttf.TTFSubsetterTest [INFO] Running org.apache.fontbox.ttf.TestCMapSubtable [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.apache.fontbox.ttf.TestCMapSubtable [ERROR] org.apache.fontbox.ttf.TestCMapSubtable.testPDFBox5328 Time elapsed: 0 s <<< ERROR! java.io.FileNotFoundException: target/pdfs/NotoSansSC-Regular.otf (No such file or directory) at java.base/java.io.RandomAccessFile.open0(Native Method) at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:259) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:213) at org.apache.fontbox.ttf.BufferedRandomAccessFile.(BufferedRandomAccessFile.java:82) at org.apache.fontbox.ttf.RAFDataStream.(RAFDataStream.java:63) at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:88) at org.apache.fontbox.ttf.OTFParser.parse(OTFParser.java:67) at org.apache.fontbox.ttf.TestCMapSubtable.testPDFBox5328(TestCMapSubtable.java:42) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [INFO] Running org.apache.fontbox.ttf.RAFDataStreamTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.fontbox.ttf.RAFDataStreamTest [INFO] Running org.apache.fontbox.ttf.TrueTypeFontCollectionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.fontbox.ttf.TrueTypeFontCollectionTest [INFO] Running org.apache.fontbox.ttf.BufferedRandomAccessFileTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.apache.fontbox.ttf.BufferedRandomAccessFileTest [INFO] Running org.apache.fontbox.ttf.TestMemoryTTFDataStream [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.fontbox.ttf.TestMemoryTTFDataStream [INFO] Running org.apache.fontbox.ttf.TestTTFParser [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in org.apache.fontbox.ttf.TestTTFParser [ERROR] org.apache.fontbox.ttf.TestTTFParser.testPostTable Time elapsed: 0 s <<< FAILURE! java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertNotNull(Assert.java:713) at org.junit.Assert.assertNotNull(Assert.java:723) at org.apache.fontbox.ttf.TestTTFParser.testPostTable(TestTTFParser.java:68) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [INFO] Running org.apache.fontbox.afm.AFMParserTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.fontbox.afm.AFMParserTest [INFO] Running org.apache.fontbox.cmap.TestCMapParser [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 s - in org.apache.fontbox.cmap.TestCMapParser [INFO] Running org.apache.fontbox.cmap.TestCodespaceRange [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.fontbox.cmap.TestCodespaceRange [INFO] Running org.apache.fontbox.cmap.TestCMap [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in org.apache.fontbox.cmap.TestCMap [ERROR] org.apache.fontbox.cmap.TestCMap.testPDFBox3997 Time elapsed: 0 s <<< ERROR! java.io.FileNotFoundException: /usr/share/fonts/google-noto-emoji/NotoEmoji-Regular.ttf (No such file or directory) at java.base/java.io.RandomAccessFile.open0(Native Method) at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:259) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:213) at org.apache.fontbox.ttf.BufferedRandomAccessFile.(BufferedRandomAccessFile.java:82) at org.apache.fontbox.ttf.RAFDataStream.(RAFDataStream.java:63) at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:88) at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:76) at org.apache.fontbox.cmap.TestCMap.testPDFBox3997(TestCMap.java:56) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [INFO] Running org.apache.fontbox.cff.Type1FontUtilTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s - in org.apache.fontbox.cff.Type1FontUtilTest [INFO] Running org.apache.fontbox.pfb.PfbParserTest [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.apache.fontbox.pfb.PfbParserTest [ERROR] org.apache.fontbox.pfb.PfbParserTest.testPfb Time elapsed: 0 s <<< ERROR! java.io.FileNotFoundException: target/fonts/OpenSans-Regular.pfb (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:216) at java.base/java.io.FileInputStream.(FileInputStream.java:157) at java.base/java.io.FileInputStream.(FileInputStream.java:111) at org.apache.fontbox.pfb.PfbParserTest.testPfb(PfbParserTest.java:43) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestTTFParser.testPostTable:68 [ERROR] Errors: [ERROR] TestCMap.testPDFBox3997:56 » FileNotFound /usr/share/fonts/google-noto-emoji/NotoEmoji-Regular.ttf (No such file or directory) [ERROR] PfbParserTest.testPfb:43 » FileNotFound target/fonts/OpenSans-Regular.pfb (No such file or directory) [ERROR] TestCMapSubtable.testPDFBox5328:42 » FileNotFound target/pdfs/NotoSansSC-Regular.otf (No such file or directory) [INFO] [ERROR] Tests run: 37, Failures: 1, Errors: 3, Skipped: 1 [INFO] [ERROR] There are test failures. Please refer to /builddir/build/BUILD/pdfbox-2.0.29/fontbox/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [INFO] [INFO] --- maven-bundle-plugin:5.1.1:bundle (default-bundle) @ fontbox --- [INFO] [INFO] ----------------------< org.apache.pdfbox:xmpbox >---------------------- [INFO] Building Apache XmpBox 2.0.29 [3/8] [INFO] -------------------------------[ bundle ]------------------------------- [WARNING] The POM for jakarta.xml.bind:jakarta.xml.bind-api:jar:2 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping PDFBox reactor [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for PDFBox reactor 2.0.29: [INFO] [INFO] PDFBox parent ...................................... SUCCESS [ 0.428 s] [INFO] Apache FontBox ..................................... SUCCESS [ 5.503 s] [INFO] Apache XmpBox ...................................... FAILURE [ 0.007 s] [INFO] Apache PDFBox ...................................... SKIPPED [INFO] Apache Preflight ................................... SKIPPED [INFO] Apache PDFBox Debugger ............................. SKIPPED [INFO] Apache PDFBox tools ................................ SKIPPED [INFO] PDFBox reactor ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.655 s [INFO] Finished at: 2023-07-21T16:21:05+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project xmpbox: Could not resolve dependencies for project org.apache.pdfbox:xmpbox:bundle:2.0.29: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact jakarta.xml.bind:jakarta.xml.bind-api:jar:2 has not been downloaded from it before. -> [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :xmpbox error: Bad exit status from /var/tmp/rpm-tmp.pgKm4a (%build) Bad exit status from /var/tmp/rpm-tmp.pgKm4a (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec