Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/maven-plugin-tools.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-23060-4411/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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/maven-plugin-tools.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/maven-plugin-tools-3.6.0-3.module+el8.3.0+95+a9bf5682.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/maven-plugin-tools.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-23060-4411/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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/maven-plugin-tools.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.1Ccxfw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maven-plugin-tools-3.6.0 + /usr/bin/unzip -qq /builddir/build/SOURCES/maven-plugin-tools-3.6.0-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-plugin-tools-3.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Port-to-plexus-utils-3.0.24.patch):' Patch #0 (0001-Port-to-plexus-utils-3.0.24.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java Hunk #1 succeeded at 287 (offset -15 lines). + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-enforcer-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project/pom:properties ' UTF-8 UTF-8' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:dependency[pom:scope='\''test'\'']' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vyAQ3K + umask 022 + cd /builddir/build/BUILD + cd maven-plugin-tools-3.6.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -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] Reactor Build Order: [INFO] [INFO] Maven Plugin Tools [pom] [INFO] Maven Plugin Tools Extractor API [jar] [INFO] Maven Plugin Tools Generators [jar] [INFO] Maven Plugin Tool for Java with Javadoc Tags [jar] [INFO] Maven Plugin Tools Java Annotations [jar] [INFO] Maven Plugin Tool for Java with Annotations [jar] [INFO] Maven Script Mojo Support [pom] [INFO] Maven Plugin Metadata Model [jar] [INFO] Maven Plugin Tool for Ant [jar] [INFO] Maven Ant Mojo Support [jar] [INFO] Maven Plugin Tool for Beanshell [jar] [INFO] Maven Beanshell Mojo Support [jar] [INFO] Maven Plugin Plugin [maven-plugin] [INFO] [INFO] ----------< org.apache.maven.plugin-tools:maven-plugin-tools >---------- [INFO] Building Maven Plugin Tools 3.6.0 [1/13] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-plugin-tools --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-plugin-tools --- [INFO] [INFO] --------< org.apache.maven.plugin-tools:maven-plugin-tools-api >-------- [INFO] Building Maven Plugin Tools Extractor API 3.6.0 [2/13] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-plugin-tools-api --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-plugin-tools-api --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-plugin-tools-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-plugin-tools-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-api/target/classes [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/extractor/AbstractScriptedMojoDescriptorExtractor.java: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/extractor/AbstractScriptedMojoDescriptorExtractor.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/extractor/AbstractScriptedMojoDescriptorExtractor.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-plugin-tools-api --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-plugin-tools-api --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-plugin-tools-api --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-plugin-tools-api --- [INFO] Building jar: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-api/target/maven-plugin-tools-api-3.6.0.jar [INFO] [INFO] ----< org.apache.maven.plugin-tools:maven-plugin-tools-generators >----- [INFO] Building Maven Plugin Tools Generators 3.6.0 [3/13] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-plugin-tools-generators --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-plugin-tools-generators --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-plugin-tools-generators --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-plugin-tools-generators --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-generators/target/classes [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-plugin-tools-generators --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-plugin-tools-generators --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-plugin-tools-generators --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-plugin-tools-generators --- [INFO] Building jar: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-generators/target/maven-plugin-tools-generators-3.6.0.jar [INFO] [INFO] -------< org.apache.maven.plugin-tools:maven-plugin-tools-java >-------- [INFO] Building Maven Plugin Tool for Java with Javadoc Tags 3.6.0 [4/13] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-plugin-tools-java --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-plugin-tools-java --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-plugin-tools-java --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-java/src/main/resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-plugin-tools-java --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-java/target/classes [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/javadoc/JavaJavadocMojoDescriptorExtractor.java: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/javadoc/JavaJavadocMojoDescriptorExtractor.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/javadoc/JavaJavadocMojoDescriptorExtractor.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- plexus-component-metadata:1.7.1:generate-metadata (default) @ maven-plugin-tools-java --- [INFO] Discovered 1 component descriptors(s) [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-plugin-tools-java --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-plugin-tools-java --- [INFO] Not compiling test sources [INFO] [INFO] --- plexus-component-metadata:1.7.1:generate-test-metadata (default) @ maven-plugin-tools-java --- [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-plugin-tools-java --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-plugin-tools-java --- [INFO] Building jar: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-java/target/maven-plugin-tools-java-3.6.0.jar [INFO] [INFO] -------< org.apache.maven.plugin-tools:maven-plugin-annotations >------- [INFO] Building Maven Plugin Tools Java Annotations 3.6.0 [5/13] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-plugin-annotations --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-plugin-annotations --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-plugin-annotations --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-annotations/src/main/resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-plugin-annotations --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-annotations/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-plugin-annotations --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-plugin-annotations --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-plugin-annotations --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-plugin-annotations --- [INFO] Building jar: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-annotations/target/maven-plugin-annotations-3.6.0.jar [INFO] [INFO] ----< org.apache.maven.plugin-tools:maven-plugin-tools-annotations >---- [INFO] Building Maven Plugin Tool for Java with Annotations 3.6.0 [6/13] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-plugin-tools-annotations --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-plugin-tools-annotations --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-plugin-tools-annotations --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-plugin-tools-annotations --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/target/classes [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java: /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java:[44,23] cannot find symbol symbol: variable ASM7 location: interface org.objectweb.asm.Opcodes [ERROR] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java:[56,23] cannot find symbol symbol: variable ASM7 location: interface org.objectweb.asm.Opcodes [ERROR] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java:[47,23] cannot find symbol symbol: variable ASM7 location: interface org.objectweb.asm.Opcodes [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Maven Plugin Tools [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Maven Plugin Tools 3.6.0 ........................... SUCCESS [ 0.521 s] [INFO] Maven Plugin Tools Extractor API ................... SUCCESS [ 0.866 s] [INFO] Maven Plugin Tools Generators ...................... SUCCESS [ 0.365 s] [INFO] Maven Plugin Tool for Java with Javadoc Tags ....... SUCCESS [ 0.416 s] [INFO] Maven Plugin Tools Java Annotations ................ SUCCESS [ 0.063 s] [INFO] Maven Plugin Tool for Java with Annotations ........ FAILURE [ 0.201 s] [INFO] Maven Script Mojo Support .......................... SKIPPED [INFO] Maven Plugin Metadata Model ........................ SKIPPED [INFO] Maven Plugin Tool for Ant .......................... SKIPPED [INFO] Maven Ant Mojo Support ............................. SKIPPED [INFO] Maven Plugin Tool for Beanshell .................... SKIPPED [INFO] Maven Beanshell Mojo Support ....................... SKIPPED [INFO] Maven Plugin Plugin 3.6.0 .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.755 s [INFO] Finished at: 2021-06-10T16:28:03+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project maven-plugin-tools-annotations: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java:[44,23] cannot find symbol [ERROR] symbol: variable ASM7 [ERROR] location: interface org.objectweb.asm.Opcodes [ERROR] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java:[56,23] cannot find symbol [ERROR] symbol: variable ASM7 [ERROR] location: interface org.objectweb.asm.Opcodes [ERROR] /builddir/build/BUILD/maven-plugin-tools-3.6.0/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java:[47,23] cannot find symbol [ERROR] symbol: variable ASM7 [ERROR] location: interface org.objectweb.asm.Opcodes [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :maven-plugin-tools-annotations error: Bad exit status from /var/tmp/rpm-tmp.vyAQ3K (%build) Bad exit status from /var/tmp/rpm-tmp.vyAQ3K (%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: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/maven-plugin-tools.spec