Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/byteman.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722599212.202156/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/byteman.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/byteman-4.0.16-2.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/byteman.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722599212.202156/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/byteman.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/byteman-4.0.16-2.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/byteman.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1722599212.202156/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/byteman.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39ZBXG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf byteman-4.0.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/4.0.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd byteman-4.0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's|net.sf.squirrel-sql.thirdparty-non-maven|java_cup|' agent/pom.xml + sed -i 's|java-cup|java_cup|' agent/pom.xml + sed -i 's|net.sf.squirrel-sql.thirdparty-non-maven|java_cup|' tests/pom.xml + sed -i 's|java-cup|java_cup|' tests/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-failsafe-plugin'\'']/pom:executions/pom:execution[pom:id='\''submit.TestSubmit'\'']' agent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-failsafe-plugin'\'']/pom:executions/pom:execution[pom:id='\''submit.TestSubmit.compiled'\'']' agent + echo 'Patch #1 (remove_submit_integration_test_verification.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 Patch #1 (remove_submit_integration_test_verification.patch): patching file agent/verification.xml Patch #2 (testng7_port.patch): + echo 'Patch #2 (testng7_port.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file contrib/bmunit/src/org/jboss/byteman/contrib/bmunit/BMNGListener.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-failsafe-plugin'\'']/pom:executions/pom:execution[pom:id='\''submit.TestSubmit'\'']' tests + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-failsafe-plugin'\'']/pom:executions/pom:execution[pom:id='\''submit.TestSubmit.compiled'\'']' tests + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:profiles/pom:profile/pom:dependencies/pom:dependency[pom:artifactId='\''tools'\'']/pom:scope' install + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:profiles/pom:profile/pom:dependencies/pom:dependency[pom:artifactId='\''tools'\'']/pom:systemPath' install + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:profiles/pom:profile/pom:dependencies/pom:dependency[pom:artifactId='\''tools'\'']/pom:scope' contrib/bmunit + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:profiles/pom:profile/pom:dependencies/pom:dependency[pom:artifactId='\''tools'\'']/pom:systemPath' contrib/bmunit + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-surefire-plugin'\'']/pom:executions' contrib/bmunit + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-surefire-plugin'\'']/pom:configuration' 'true' contrib/bmunit + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module download + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module docs + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.apache.maven:maven-project contrib/rulecheck-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:execution[pom:id="make-javadoc-assembly"]' byteman + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :byteman-rulecheck-maven-plugin rulecheck-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.commons:commons-lang3 contrib/bmunit5 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :byteman-bmunit bmunit + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :byteman-dtest dtest + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VqS5u6 + umask 022 + cd /builddir/build/BUILD + cd byteman-4.0.16 + export JAVA_HOME=/usr/lib/jvm/java-11-openjdk + JAVA_HOME=/usr/lib/jvm/java-11-openjdk + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', '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] byteman-root [pom] [INFO] byteman-submit [bundle] [INFO] byteman-agent [jar] [INFO] byteman-layer [jar] [INFO] byteman-jigsaw [jar] [INFO] byteman [jar] [INFO] tests [pom] [INFO] byteman-install [bundle] [INFO] byteman-bmunit [jar] [INFO] byteman-bmunit5 [jar] [INFO] byteman-dtest [jar] [INFO] byteman-rulecheck maven plugin [maven-plugin] [INFO] byteman-sample [jar] [INFO] [INFO] -------------------< org.jboss.byteman:byteman-root >------------------- [INFO] Building byteman-root 4.0.16 [1/13] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ byteman-root >>> [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ byteman-root <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ byteman-root --- [INFO] [INFO] ------------------< org.jboss.byteman:byteman-submit >------------------ [INFO] Building byteman-submit 4.0.16 [2/13] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ byteman-submit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/byteman-4.0.16/submit/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ byteman-submit --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /builddir/build/BUILD/byteman-4.0.16/submit/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ byteman-submit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/byteman-4.0.16/submit/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ byteman-submit --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ byteman-submit --- [INFO] No tests to run. [INFO] [INFO] --- maven-bundle-plugin:3.5.0:bundle (default-bundle) @ byteman-submit --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ byteman-submit >>> [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ byteman-submit <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ byteman-submit --- [INFO] Building jar: /builddir/build/BUILD/byteman-4.0.16/submit/target/byteman-submit-4.0.16-sources.jar [INFO] [INFO] ------------------< org.jboss.byteman:byteman-agent >------------------- [INFO] Building byteman-agent 4.0.16 [3/13] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for java_cup:java_cup:jar:SYSTEM is missing, no dependency information available [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ byteman-agent --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/byteman-4.0.16/agent/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ byteman-agent --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 145 source files to /builddir/build/BUILD/byteman-4.0.16/agent/target/classes [INFO] /builddir/build/BUILD/byteman-4.0.16/agent/src/main/java/org/jboss/byteman/agent/Transformer.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/byteman-4.0.16/agent/src/main/java/org/jboss/byteman/agent/Transformer.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/byteman-4.0.16/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleGeneratorAdapter.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/byteman-4.0.16/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleGeneratorAdapter.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/byteman-4.0.16/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleAdapter.java:[35,50] cannot find symbol symbol: variable ASM9 location: interface org.objectweb.asm.Opcodes [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping byteman-root [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for byteman-root 4.0.16: [INFO] [INFO] byteman-root ....................................... SUCCESS [ 0.112 s] [INFO] byteman-submit ..................................... SUCCESS [ 1.275 s] [INFO] byteman-agent ...................................... FAILURE [ 1.190 s] [INFO] byteman-layer ...................................... SKIPPED [INFO] byteman-jigsaw ..................................... SKIPPED [INFO] byteman ............................................ SKIPPED [INFO] tests .............................................. SKIPPED [INFO] byteman-install .................................... SKIPPED [INFO] byteman-bmunit ..................................... SKIPPED [INFO] byteman-bmunit5 .................................... SKIPPED [INFO] byteman-dtest ...................................... SKIPPED [INFO] byteman-rulecheck maven plugin ..................... SKIPPED [INFO] byteman-sample ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.410 s [INFO] Finished at: 2024-08-02T19:49:01+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project byteman-agent: Compilation failure [ERROR] /builddir/build/BUILD/byteman-4.0.16/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleAdapter.java:[35,50] cannot find symbol [ERROR] symbol: variable ASM9 [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 :byteman-agent error: Bad exit status from /var/tmp/rpm-tmp.VqS5u6 (%build) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.VqS5u6 (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/byteman.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 x86_64 --nodeps /builddir/build/SPECS/byteman.spec