Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8362-1244/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/hamcrest.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 Wrote: /builddir/build/SRPMS/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8362-1244/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/hamcrest.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sil9sj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf JavaHamcrest-2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/hamcrest-2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd JavaHamcrest-2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Fix-build-with-OpenJDK-11.patch): + echo 'Patch #0 (0001-Fix-build-with-OpenJDK-11.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hamcrest/src/main/java/org/hamcrest/collection/ArrayMatching.java patching file hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInAnyOrder.java patching file hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInOrder.java patching file hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java patching file hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java patching file hamcrest/src/main/java/org/hamcrest/core/AllOf.java patching file hamcrest/src/main/java/org/hamcrest/core/AnyOf.java patching file hamcrest/src/main/java/org/hamcrest/core/CombinableMatcher.java + rm -rf docs + rm -rf build.gradle gradle gradlew gradlew.bat settings.gradle + rm -rf hamcrest-core/hamcrest-core.gradle hamcrest-integration/hamcrest-integration.gradle hamcrest-library/hamcrest-library.gradle hamcrest/hamcrest.gradle + mv hamcrest/src . + rm -rf hamcrest + rm -rf hamcrest-core + rm -rf hamcrest-integration + rm -rf hamcrest-library + cp -p /builddir/build/SOURCES/hamcrest-2.2.pom pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep junit:junit + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project ' org.apache.maven.plugins maven-compiler-plugin 3.8.1 1.8 1.8 ' + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.hamcrest:hamcrest org.hamcrest:hamcrest-all + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.hamcrest:hamcrest org.hamcrest:hamcrest-core + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.hamcrest:hamcrest org.hamcrest:hamcrest-library + sed -i 's/\r//' LICENSE.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nGjeLg + umask 022 + cd /builddir/build/BUILD + cd JavaHamcrest-2.2 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] -----------------------< org.hamcrest:hamcrest >------------------------ [INFO] Building Hamcrest 2.2 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hamcrest --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /builddir/build/BUILD/JavaHamcrest-2.2/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ hamcrest --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 80 source files to /builddir/build/BUILD/JavaHamcrest-2.2/target/classes [INFO] /builddir/build/BUILD/JavaHamcrest-2.2/src/main/java/org/hamcrest/collection/IsArray.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/JavaHamcrest-2.2/src/main/java/org/hamcrest/collection/IsArray.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hamcrest --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ hamcrest --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ hamcrest --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ hamcrest --- [INFO] Building jar: /builddir/build/BUILD/JavaHamcrest-2.2/target/hamcrest-2.2.jar [INFO] [INFO] -----------------------< org.hamcrest:hamcrest >------------------------ [INFO] Building Hamcrest 2.2 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:3.0.0:install (default-cli) @ hamcrest --- [INFO] [INFO] --- xmvn-mojo:3.0.0:javadoc (default-cli) @ hamcrest --- [INFO] [INFO] --- xmvn-mojo:3.0.0:builddep (default-cli) @ hamcrest --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.855 s [INFO] Finished at: 2022-06-19T13:34:10+08:00 [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAACA02NsQ7CIBRF937Fkx2rO6VRJwanxsQVy5Ng6qOh0Ni/l8aYMt5zT+4V7ec9wIxh cp4adtwfGCD13jiyDbt1/NRdlGKtrMSOczgnNxgwOCKZrDmcwCJh0BENPBa4X2cCzrNdOrIC2MCy xgxs8GlURr4SuSjqf/yVOkT31H3c+oKsc3W5V6T17gtA6oV81QAAAA== -----END MAVEN BUILD DEPENDENCIES----- + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.50UpKg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch ++ dirname /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch + cd JavaHamcrest-2.2 + xmvn-install -R .xmvn-reactor -n hamcrest -d /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch [INFO] Installing artifact org.hamcrest:hamcrest:jar:2.2 [INFO] Installing artifact org.hamcrest:hamcrest:pom:2.2 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + jdir=.xmvn/apidocs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses + '[' -d .xmvn/apidocs ']' + install -dm755 /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/javadoc/hamcrest + cp -pr .xmvn/apidocs/allclasses-frame.html .xmvn/apidocs/allclasses-noframe.html .xmvn/apidocs/args .xmvn/apidocs/constant-values.html .xmvn/apidocs/deprecated-list.html .xmvn/apidocs/help-doc.html .xmvn/apidocs/index-all.html .xmvn/apidocs/index.html .xmvn/apidocs/org .xmvn/apidocs/overview-frame.html .xmvn/apidocs/overview-summary.html .xmvn/apidocs/overview-tree.html .xmvn/apidocs/package-list .xmvn/apidocs/script.js .xmvn/apidocs/stylesheet.css /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/javadoc/hamcrest + echo /usr/share/javadoc/hamcrest + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 2.2-2.module+oc8.5.0+73+10426fc9 --unique-debug-suffix -2.2-2.module+oc8.5.0+73+10426fc9.noarch --unique-debug-src-base hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/JavaHamcrest-2.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lWCdqk + umask 022 + cd /builddir/build/BUILD + cd JavaHamcrest-2.2 + DOCDIR=/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/doc/hamcrest + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/doc/hamcrest + cp -pr README.md /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/doc/hamcrest + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DN1Tdh + umask 022 + cd /builddir/build/BUILD + cd JavaHamcrest-2.2 + LICENSEDIR=/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses/hamcrest + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses/hamcrest + cp -pr LICENSE.txt /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses/hamcrest + exit 0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/java/hamcrest/hamcrest.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/java/hamcrest/hamcrest.jar'] [INFO maven.prov] input: ['/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/maven-metadata/hamcrest.xml'] [INFO maven.prov] mvn(org.hamcrest:hamcrest:pom:) = 2.2 mvn(org.hamcrest:hamcrest-all:pom:) = 2.2 mvn(org.hamcrest:hamcrest-library:pom:) = 2.2 mvn(org.hamcrest:hamcrest-core:pom:) = 2.2, mvn(org.hamcrest:hamcrest) = 2.2 mvn(org.hamcrest:hamcrest-all) = 2.2 mvn(org.hamcrest:hamcrest-core) = 2.2 mvn(org.hamcrest:hamcrest-library) = 2.2 [INFO maven.req] input: ['/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/maven-metadata/hamcrest.xml'] [INFO maven.req] mvn(junit:junit), javapackages-filesystem, java-headless >= 1:1.8 Provides: hamcrest = 2.2-2.module+oc8.5.0+73+10426fc9 mvn(org.hamcrest:hamcrest) = 2.2 mvn(org.hamcrest:hamcrest-all) = 2.2 mvn(org.hamcrest:hamcrest-all:pom:) = 2.2 mvn(org.hamcrest:hamcrest-core) = 2.2 mvn(org.hamcrest:hamcrest-core:pom:) = 2.2 mvn(org.hamcrest:hamcrest-library) = 2.2 mvn(org.hamcrest:hamcrest-library:pom:) = 2.2 mvn(org.hamcrest:hamcrest:pom:) = 2.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless >= 1:1.8 javapackages-filesystem mvn(junit:junit) Processing files: hamcrest-javadoc-2.2-2.module+oc8.5.0+73+10426fc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.baY94j + umask 022 + cd /builddir/build/BUILD + cd JavaHamcrest-2.2 + LICENSEDIR=/builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses/hamcrest-javadoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses/hamcrest-javadoc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch/usr/share/licenses/hamcrest-javadoc + exit 0 Provides: hamcrest-javadoc = 2.2-2.module+oc8.5.0+73+10426fc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch Wrote: /builddir/build/RPMS/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch.rpm Wrote: /builddir/build/RPMS/hamcrest-javadoc-2.2-2.module+oc8.5.0+73+10426fc9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tKJeQj + umask 022 + cd /builddir/build/BUILD + cd JavaHamcrest-2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hamcrest-2.2-2.module+oc8.5.0+73+10426fc9.noarch + exit 0 Child return code was: 0