Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.spec'], chrootPath='/var/lib/mock/dist-an7-build-27178-15141/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '60c46c79064646429a5fa47bd3e7bd46', '-D', '/var/lib/mock/dist-an7-build-27178-15141/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: bogus date in %changelog: Tue Aug 30 2010 Carl Green - 3.2.1-6 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/apache-commons-collections-3.2.1-22.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.spec'], chrootPath='/var/lib/mock/dist-an7-build-27178-15141/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '13bea946ac5c4412ad34ec01836e70a5', '-D', '/var/lib/mock/dist-an7-build-27178-15141/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: bogus date in %changelog: Tue Aug 30 2010 Carl Green - 3.2.1-6 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TEK5iS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf commons-collections-3.2.1-src + /usr/bin/gzip -dc /builddir/build/SOURCES/commons-collections-3.2.1-src.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd commons-collections-3.2.1-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -exec rm -f '{}' ';' + echo 'Patch #0 (jakarta-commons-collections-javadoc-nonet.patch):' Patch #0 (jakarta-commons-collections-javadoc-nonet.patch): + /usr/bin/cat /builddir/build/SOURCES/jakarta-commons-collections-javadoc-nonet.patch + /usr/bin/patch -p1 --fuzz=0 patching file build.xml Hunk #1 succeeded at 85 (offset 5 lines). Hunk #2 succeeded at 360 (offset -1 lines). Hunk #3 succeeded at 454 (offset -14 lines). Patch #4 (commons-collections-3.2-build_xml.patch): + echo 'Patch #4 (commons-collections-3.2-build_xml.patch):' + /usr/bin/cat /builddir/build/SOURCES/commons-collections-3.2-build_xml.patch + /usr/bin/patch -p0 -b --suffix .sav --fuzz=0 patching file build.xml Hunk #1 succeeded at 285 (offset -1 lines). Hunk #2 succeeded at 330 (offset -1 lines). + echo 'Patch #5 (CVE-2015-7501.patch):' Patch #5 (CVE-2015-7501.patch): + /usr/bin/cat /builddir/build/SOURCES/CVE-2015-7501.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/java/org/apache/commons/collections/functors/CloneTransformer.java patching file src/java/org/apache/commons/collections/functors/ForClosure.java patching file src/java/org/apache/commons/collections/functors/FunctorUtils.java patching file src/java/org/apache/commons/collections/functors/InstantiateFactory.java patching file src/java/org/apache/commons/collections/functors/InstantiateTransformer.java patching file src/java/org/apache/commons/collections/functors/InvokerTransformer.java patching file src/java/org/apache/commons/collections/functors/PrototypeFactory.java patching file src/java/org/apache/commons/collections/functors/WhileClosure.java patching file src/test/org/apache/commons/collections/TestFactoryUtils.java + /usr/bin/sed -i 's/\r//' LICENSE.txt + /usr/bin/sed -i 's/\r//' PROPOSAL.html + /usr/bin/sed -i 's/\r//' RELEASE-NOTES.html + /usr/bin/sed -i 's/\r//' README.txt + /usr/bin/sed -i 's/\r//' NOTICE.txt + python /usr/share/java-utils/mvn_file.py : apache-commons-collections commons-collections + python /usr/share/java-utils/mvn_alias.py : org.apache.commons:commons-collections + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LyEc5b + umask 022 + cd /builddir/build/BUILD + cd commons-collections-3.2.1-src + python /usr/share/java-utils/mvn_build.py -n apache-commons-collections [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Collections 3.2.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-antrun-plugin:1.7:run (javadoc.resources) @ commons-collections --- [INFO] Executing tasks main: [copy] Copying 2 files to /builddir/build/BUILD/commons-collections-3.2.1-src/target/apidocs/META-INF [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ commons-collections --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (default) @ commons-collections --- [INFO] Checking for local modifications: skipped. [INFO] maven is executed in offline mode, Updating project files from SCM: skipped. [INFO] Executing: /bin/sh -c cd '/builddir/build/BUILD/commons-collections-3.2.1-src' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /builddir/build/BUILD/commons-collections-3.2.1-src [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of ?????? : Exception while executing SCM command. [INFO] Storing buildNumber: ?????? at timestamp: 1629900089047 [INFO] Executing: /bin/sh -c cd '/builddir/build/BUILD/commons-collections-3.2.1-src' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /builddir/build/BUILD/commons-collections-3.2.1-src [WARNING] Cannot get the branch information from the scm repository, proceeding with UNKNOWN_BRANCH : Exception while executing SCM command. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons-collections --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/commons-collections-3.2.1-src/src/main/resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ commons-collections --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 273 source files to /builddir/build/BUILD/commons-collections-3.2.1-src/target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/map/AbstractReferenceMap.java: Some input files use unchecked or unsafe operations. [WARNING] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/map/AbstractReferenceMap.java: Recompile with -Xlint:unchecked for details. [INFO] 2 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/MultiHashMap.java:[334,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.MultiHashMap cannot implement remove(java.lang.Object,java.lang.Object) in java.util.Map return type java.lang.Object is not compatible with boolean [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/MultiMap.java:[69,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.MultiMap clashes with remove(java.lang.Object,java.lang.Object) in java.util.Map return type java.lang.Object is not compatible with boolean [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/map/MultiKeyMap.java:[200,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.map.MultiKeyMap cannot implement remove(java.lang.Object,java.lang.Object) in java.util.Map return type java.lang.Object is not compatible with boolean [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/map/MultiValueMap.java:[156,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.map.MultiValueMap cannot implement remove(java.lang.Object,java.lang.Object) in java.util.Map return type java.lang.Object is not compatible with boolean [INFO] 4 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Commons Collections [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.302s [INFO] Finished at: Wed Aug 25 22:01:30 CST 2021 [INFO] Final Memory: 26M/1490M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project commons-collections: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/MultiHashMap.java:[334,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.MultiHashMap cannot implement remove(java.lang.Object,java.lang.Object) in java.util.Map [ERROR] return type java.lang.Object is not compatible with boolean [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/MultiMap.java:[69,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.MultiMap clashes with remove(java.lang.Object,java.lang.Object) in java.util.Map [ERROR] return type java.lang.Object is not compatible with boolean [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/map/MultiKeyMap.java:[200,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.map.MultiKeyMap cannot implement remove(java.lang.Object,java.lang.Object) in java.util.Map [ERROR] return type java.lang.Object is not compatible with boolean [ERROR] /builddir/build/BUILD/commons-collections-3.2.1-src/src/java/org/apache/commons/collections/map/MultiValueMap.java:[156,19] remove(java.lang.Object,java.lang.Object) in org.apache.commons.collections.map.MultiValueMap cannot implement remove(java.lang.Object,java.lang.Object) in java.util.Map [ERROR] return type java.lang.Object is not compatible with boolean [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: Bad exit status from /var/tmp/rpm-tmp.LyEc5b (%build) bogus date in %changelog: Tue Aug 30 2010 Carl Green - 3.2.1-6 Bad exit status from /var/tmp/rpm-tmp.LyEc5b (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 13bea946ac5c4412ad34ec01836e70a5 -D /var/lib/mock/dist-an7-build-27178-15141/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0ds7hg28:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-collections.spec