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/google-guice.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8020020210328023913-ff983833-build-14975-2430/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/google-guice.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/google-guice-4.2.2-3.module+el8.2.0+10087+df274a06.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/google-guice.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8020020210328023913-ff983833-build-14975-2430/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/google-guice.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.I2jh3S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf google-guice-4.2.2 + /usr/bin/xz -dc /builddir/build/SOURCES/google-guice-4.2.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd google-guice-4.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module struts2 extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module dagger-adapter extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:profile[pom:id='\''guice.with.jarjar'\'']' core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set pom:instructions/pom:Import-Package '!com.google.inject.*,*' core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-gpg-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :guava-testlib extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:dependency[pom:classifier[text()='\''tests'\'']]' extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_parent + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_set_parent com.google.inject:guice-parent:4.2.2 jdk8-tests + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module persist extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module spring extensions + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module jdk8-tests + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='\''maven-compiler-plugin'\'']/pom:configuration/pom:source' 1.8 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='\''maven-compiler-plugin'\'']/pom:configuration/pom:target' 1.8 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module testlib extensions + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.irIgKm + umask 022 + cd /builddir/build/BUILD + cd google-guice-4.2.2 + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py com.google.inject.extensions: org.sonatype.sisu.inject: + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py :::no_aop: guice + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py ':guice-{*}' guice/guice-@1 + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py :guice guice/google-guice google-guice + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py :guice org.sonatype.sisu:sisu-guice + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -f -s 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... [WARNING] The project com.google.inject:guice-parent:pom:4.2.2 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Google Guice [pom] [INFO] Google Guice - Bill of Materials [pom] [INFO] Google Guice - Core Library [jar] [INFO] Google Guice - Extensions [pom] [INFO] Google Guice - Extensions - AssistedInject [jar] [INFO] Google Guice - Extensions - Grapher [jar] [INFO] Google Guice - Extensions - JMX [jar] [INFO] Google Guice - Extensions - JNDI [jar] [INFO] Google Guice - Extensions - MultiBindings [jar] [INFO] Google Guice - Extensions - Servlet [jar] [INFO] Google Guice - Extensions - ThrowingProviders [jar] [INFO] [INFO] -------------------< com.google.inject:guice-parent >------------------- [INFO] Building Google Guice 4.2.2 [1/11] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --------------------< com.google.inject:guice-bom >--------------------- [INFO] Building Google Guice - Bill of Materials 4.2.2 [2/11] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] ----------------------< com.google.inject:guice >----------------------- [INFO] Building Google Guice - Core Library 4.2.2 [3/11] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ guice --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ guice --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ guice --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 216 source files to /builddir/build/BUILD/google-guice-4.2.2/core/target/classes [INFO] /builddir/build/BUILD/google-guice-4.2.2/core/src/com/google/inject/internal/InternalContext.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/google-guice-4.2.2/core/src/com/google/inject/internal/InternalContext.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/google-guice-4.2.2/core/src/com/google/inject/internal/Annotations.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/google-guice-4.2.2/core/src/com/google/inject/internal/Annotations.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/google-guice-4.2.2/core/src/com/google/inject/internal/util/LineNumbers.java:[45,51] cannot find symbol symbol: variable ASM7 location: interface org.objectweb.asm.Opcodes [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Google Guice [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Google Guice 4.2.2 ................................. SUCCESS [ 0.002 s] [INFO] Google Guice - Bill of Materials ................... SUCCESS [ 0.000 s] [INFO] Google Guice - Core Library ........................ FAILURE [ 2.197 s] [INFO] Google Guice - Extensions .......................... SKIPPED [INFO] Google Guice - Extensions - AssistedInject ......... SKIPPED [INFO] Google Guice - Extensions - Grapher ................ SKIPPED [INFO] Google Guice - Extensions - JMX .................... SKIPPED [INFO] Google Guice - Extensions - JNDI ................... SKIPPED [INFO] Google Guice - Extensions - MultiBindings .......... SKIPPED [INFO] Google Guice - Extensions - Servlet ................ SKIPPED [INFO] Google Guice - Extensions - ThrowingProviders 4.2.2 SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.475 s [INFO] Finished at: 2021-04-09T14:13:44+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project guice: Compilation failure [ERROR] /builddir/build/BUILD/google-guice-4.2.2/core/src/com/google/inject/internal/util/LineNumbers.java:[45,51] 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 :guice error: Bad exit status from /var/tmp/rpm-tmp.irIgKm (%build) Bad exit status from /var/tmp/rpm-tmp.irIgKm (%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/google-guice.spec