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/plexus-archiver.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8865-1300/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/plexus-archiver.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/plexus-archiver-4.2.0-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 --nocheck /builddir/build/SPECS/plexus-archiver.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8865-1300/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 --nocheck /builddir/build/SPECS/plexus-archiver.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.X6LCkU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf plexus-archiver-plexus-archiver-4.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/plexus-archiver-4.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd plexus-archiver-plexus-archiver-4.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py :plexus-archiver plexus/archiver + echo 'Patch #0 (0001-Remove-support-for-snappy.patch):' Patch #0 (0001-Remove-support-for-snappy.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/codehaus/plexus/archiver/tar/TarArchiver.java Hunk #2 succeeded at 495 (offset 7 lines). patching file src/main/java/org/codehaus/plexus/archiver/tar/TarUnArchiver.java Hunk #2 succeeded at 148 (offset -5 lines). + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.iq80.snappy:snappy + rm -rf src/main/java/org/codehaus/plexus/archiver/snappy + rm -f src/main/java/org/codehaus/plexus/archiver/tar/SnappyTarFile.java + rm -f src/main/java/org/codehaus/plexus/archiver/tar/PlexusIoTarSnappyFileResourceCollection.java + rm src/test/java/org/codehaus/plexus/archiver/snappy/SnappyArchiverTest.java + rm src/test/java/org/codehaus/plexus/archiver/tar/TarSnappyUnArchiverTest.java + sed -i /getLoggerManager/d src/test/java/org/codehaus/plexus/archiver/DuplicateFilesTest.java + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0iwcuX + umask 022 + cd /builddir/build/BUILD + cd plexus-archiver-plexus-archiver-4.2.0 + /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.codehaus.plexus:plexus-archiver >----------------- [INFO] Building Plexus Archiver Component 4.2.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ plexus-archiver --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ plexus-archiver --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ plexus-archiver --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ plexus-archiver --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 94 source files to /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/target/classes [INFO] /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/src/main/java/org/codehaus/plexus/archiver/util/FilterSupport.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/src/main/java/org/codehaus/plexus/archiver/util/FilterSupport.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/src/main/java/org/codehaus/plexus/archiver/util/AbstractFileSet.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/src/main/java/org/codehaus/plexus/archiver/util/AbstractFileSet.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/src/main/java/org/codehaus/plexus/archiver/AbstractArchiver.java:[382,19] cannot find symbol symbol: method setFilenameComparator(java.util.Comparator) location: variable collection of type org.codehaus.plexus.components.io.resources.PlexusIoFileResourceCollection [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Plexus Archiver Component [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.325 s [INFO] Finished at: 2022-06-19T15:11:42+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project plexus-archiver: Compilation failure [ERROR] /builddir/build/BUILD/plexus-archiver-plexus-archiver-4.2.0/src/main/java/org/codehaus/plexus/archiver/AbstractArchiver.java:[382,19] cannot find symbol [ERROR] symbol: method setFilenameComparator(java.util.Comparator) [ERROR] location: variable collection of type org.codehaus.plexus.components.io.resources.PlexusIoFileResourceCollection [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.0iwcuX (%build) Bad exit status from /var/tmp/rpm-tmp.0iwcuX (%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 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 --target noarch --nodeps --nocheck /builddir/build/SPECS/plexus-archiver.spec