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/cglib.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8839-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/cglib.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/cglib-3.3.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 /builddir/build/SPECS/cglib.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8839-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 /builddir/build/SPECS/cglib.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.2SVfeI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cglib-RELEASE_3_3_0 + /usr/bin/gzip -dc /builddir/build/SOURCES/RELEASE_3_3_0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cglib-RELEASE_3_3_0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Remove-unused-import.patch): + echo 'Patch #0 (0001-Remove-unused-import.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module cglib-nodep + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module cglib-integration-test + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module cglib-jmh + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set pom:packaging bundle cglib + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' org.apache.felix maven-bundle-plugin 1.4.0 true net.sf.cglib.core net.* org.apache.tools.*;resolution:=optional,* ' cglib + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample + /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/mvn_alias.py :cglib net.sf.cglib:cglib cglib:cglib-full cglib:cglib-nodep org.sonatype.sisu.inject:cglib + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hds15I + umask 022 + cd /builddir/build/BUILD + cd cglib-RELEASE_3_3_0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -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] Code Generation Library [pom] [INFO] cglib [bundle] [INFO] cglib-sample [jar] [INFO] [INFO] -------------------------< cglib:cglib-parent >------------------------- [INFO] Building Code Generation Library 3.3.0 [1/3] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] ----------------------------< cglib:cglib >----------------------------- [INFO] Building cglib 3.3.0 [2/3] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ cglib --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ cglib --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 130 source files to /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/target/classes [INFO] /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/src/main/java/net/sf/cglib/transform/MethodVisitorTee.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/src/main/java/net/sf/cglib/transform/MethodVisitorTee.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/src/main/java/net/sf/cglib/core/ClassEmitter.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/src/main/java/net/sf/cglib/core/ClassEmitter.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/src/main/java/net/sf/cglib/core/AsmApi.java:[11,23] cannot find symbol symbol: variable ASM7 location: interface org.objectweb.asm.Opcodes [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Code Generation Library [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Code Generation Library 3.3.0 ...................... SUCCESS [ 0.001 s] [INFO] cglib .............................................. FAILURE [ 1.060 s] [INFO] cglib-sample 3.3.0 ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.573 s [INFO] Finished at: 2022-06-19T15:08:56+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project cglib: Compilation failure [ERROR] /builddir/build/BUILD/cglib-RELEASE_3_3_0/cglib/src/main/java/net/sf/cglib/core/AsmApi.java:[11,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 :cglib error: Bad exit status from /var/tmp/rpm-tmp.hds15I (%build) Bad exit status from /var/tmp/rpm-tmp.hds15I (%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 /builddir/build/SPECS/cglib.spec