Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/pdfbox.spec'], chrootPath='/var/lib/mock/f40-build-2394199-60531/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=864000uid=996gid=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=1706140800 Wrote: /builddir/build/SRPMS/pdfbox-2.0.29-4.fc40.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/f40-build-2394199-60531/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=864000uid=996gid=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=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.caiiIy + 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 + rm -rf /builddir/build/BUILD/pdfbox-2.0.29-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pdfbox-2.0.29-SPECPARTS + /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.README ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc ./examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc.README ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc.COPYING ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc ./pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc.LICENSE-ZLIB + find -name '*.icm' -print -delete + find -name '*.ttf' -print -delete ./fontbox/src/test/resources/ttf/Lohit-Bengali.ttf ./fontbox/src/test/resources/ttf/LiberationSans-Regular.ttf ./examples/src/main/resources/org/apache/pdfbox/resources/ttf/Lohit-Bengali.ttf ./pdfbox/src/main/resources/org/apache/pdfbox/resources/ttf/LiberationSans-Regular.ttf + echo 'Patch #0 (pdfbox-use-system-liberation-font.patch):' 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.fNdm9g + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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'] Error occurred during initialization of VM Unsupported satp mode: sv57. Only satp modes up to sv48 are supported for now. error: Bad exit status from /var/tmp/rpm-tmp.fNdm9g (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fNdm9g (%build) 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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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