D: [iurt_root_command] chroot warning: Macro expanded in comment on line 11: %{spec_name}-%{version}/ warning: Macro expanded in comment on line 11: %{spec_name}-%{version}/ Installing /home/iurt/rpmbuild/SRPMS/geronimo-jta-1.1.1-22.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NTCYgc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf geronimo-jta_1.1_spec-1.1.1 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/geronimo-jta_1.1_spec-1.1.1.tar.bz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd geronimo-jta_1.1_spec-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yR7w3a + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd geronimo-jta_1.1_spec-1.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : geronimo-jta geronimo-jta_1.1_spec jta + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py : javax.transaction:jta + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py : org.eclipse.jetty.orbit:javax.transaction + /usr/bin/python3 /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... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.apache.geronimo.specs:specs-parent:1.6, /usr/share/maven-poms/geronimo-parent-poms/specs-parent.pom, line 79, column 21 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ----------< org.apache.geronimo.specs:geronimo-jta_1.1_spec >----------- [INFO] Building JTA 1.1 1.1.1 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ geronimo-jta_1.1_spec --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Using 'null' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/geronimo-jta_1.1_spec-1.1.1/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ geronimo-jta_1.1_spec --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 18 source files to /home/iurt/rpmbuild/BUILD/geronimo-jta_1.1_spec-1.1.1/target/classes [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (bundle-manifest) @ geronimo-jta_1.1_spec --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ geronimo-jta_1.1_spec --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ geronimo-jta_1.1_spec --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ geronimo-jta_1.1_spec --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ geronimo-jta_1.1_spec --- [INFO] Building jar: /home/iurt/rpmbuild/BUILD/geronimo-jta_1.1_spec-1.1.1/target/geronimo-jta_1.1_spec-1.1.1.jar [INFO] [INFO] ----------< org.apache.geronimo.specs:geronimo-jta_1.1_spec >----------- [INFO] Building JTA 1.1 1.1.1 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:3.1.0:install (default-cli) @ geronimo-jta_1.1_spec --- [INFO] [INFO] --- xmvn-mojo:3.1.0:javadoc (default-cli) @ geronimo-jta_1.1_spec --- /home/iurt/rpmbuild/BUILD/geronimo-jta_1.1_spec-1.1.1/src/main/java/javax/transaction/xa/Xid.java:26: error: package exists in another module: java.transaction.xa package javax.transaction.xa; ^ /home/iurt/rpmbuild/BUILD/geronimo-jta_1.1_spec-1.1.1/src/main/java/javax/transaction/xa/XAException.java:26: error: package exists in another module: java.transaction.xa package javax.transaction.xa; ^ /home/iurt/rpmbuild/BUILD/geronimo-jta_1.1_spec-1.1.1/src/main/java/javax/transaction/xa/XAResource.java:26: error: package exists in another module: java.transaction.xa package javax.transaction.xa; ^ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.884 s [INFO] Finished at: 2020-11-08T20:07:29Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.fedoraproject.xmvn:xmvn-mojo:3.1.0:javadoc (default-cli) on project geronimo-jta_1.1_spec: Javadoc failed with exit code 1 -> [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/MojoExecutionException error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.yR7w3a (%build) RPM build errors: Macro expanded in comment on line 11: %{spec_name}-%{version}/ Macro expanded in comment on line 11: %{spec_name}-%{version}/ Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.yR7w3a (%build) I: [iurt_root_command] ERROR: chroot