D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/weld-api-2.3-2.SP2.3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8kiqpt + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf api-2.3.SP2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/weld-api-2.3.SP2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd api-2.3.SP2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /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_plugin :maven-checkstyle-plugin weld/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-checkstyle-plugin weld-spi/pom.xml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.oUKM9v + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd api-2.3.SP2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /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... [WARNING] The project org.jboss.weld:weld-api-parent:pom:2.3.SP2 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] Weld APIs BOM [pom] [INFO] Weld APIs Parent [pom] [INFO] Weld APIs [jar] [INFO] Weld SPIs for container integration [jar] [INFO] [INFO] --------------------< org.jboss.weld:weld-api-bom >--------------------- [INFO] Building Weld APIs BOM 2.3.SP2 [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] -------------------< org.jboss.weld:weld-api-parent >------------------- [INFO] Building Weld APIs Parent 2.3.SP2 [2/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:maven-version (default) @ weld-api-parent --- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (default) @ weld-api-parent --- [INFO] [INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ weld-api-parent >>> [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:maven-version (default) @ weld-api-parent --- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (default) @ weld-api-parent --- [INFO] [INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ weld-api-parent <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ weld-api-parent --- [INFO] [INFO] ----------------------< org.jboss.weld:weld-api >----------------------- [INFO] Building Weld APIs 2.3.SP2 [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:maven-version (default) @ weld-api --- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (default) @ weld-api --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ weld-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ weld-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ weld-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ weld-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ weld-api --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ weld-api --- [INFO] Building jar: /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld/target/weld-api-2.3.SP2.jar [INFO] [INFO] >>> maven-source-plugin:3.2.1:jar (attach-sources) > generate-sources @ weld-api >>> [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:maven-version (default) @ weld-api --- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (default) @ weld-api --- [INFO] [INFO] <<< maven-source-plugin:3.2.1:jar (attach-sources) < generate-sources @ weld-api <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.2.1:jar (attach-sources) @ weld-api --- [INFO] Building jar: /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld/target/weld-api-2.3.SP2-sources.jar [INFO] [INFO] ----------------------< org.jboss.weld:weld-spi >----------------------- [INFO] Building Weld SPIs for container integration 2.3.SP2 [4/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:maven-version (default) @ weld-spi --- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (default) @ weld-spi --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ weld-spi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ weld-spi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 91 source files to /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/target/classes [INFO] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/bootstrap/api/SingletonProvider.java: Some input files use or override a deprecated API. [INFO] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/bootstrap/api/SingletonProvider.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[23,24] package javax.annotation does not exist [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[40,64] cannot find symbol symbol: class Resource location: class org.jboss.weld.injection.spi.helpers.AbstractResourceServices [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[83,9] cannot find symbol symbol: class Resource location: class org.jboss.weld.injection.spi.helpers.AbstractResourceServices [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[83,73] cannot find symbol symbol: class Resource location: class org.jboss.weld.injection.spi.helpers.AbstractResourceServices [INFO] 4 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Weld APIs Parent [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Weld APIs Parent 2.3.SP2: [INFO] [INFO] Weld APIs BOM ...................................... SUCCESS [ 0.011 s] [INFO] Weld APIs Parent ................................... SUCCESS [ 2.986 s] [INFO] Weld APIs .......................................... SUCCESS [ 9.998 s] [INFO] Weld SPIs for container integration ................ FAILURE [ 3.268 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.121 s [INFO] Finished at: 2020-10-08T15:51:53Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project weld-spi: Compilation failure: Compilation failure: [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[23,24] package javax.annotation does not exist [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[40,64] cannot find symbol [ERROR] symbol: class Resource [ERROR] location: class org.jboss.weld.injection.spi.helpers.AbstractResourceServices [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[83,9] cannot find symbol [ERROR] symbol: class Resource [ERROR] location: class org.jboss.weld.injection.spi.helpers.AbstractResourceServices [ERROR] /home/iurt/rpmbuild/BUILD/api-2.3.SP2/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java:[83,73] cannot find symbol [ERROR] symbol: class Resource [ERROR] location: class org.jboss.weld.injection.spi.helpers.AbstractResourceServices [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 :weld-spi error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.oUKM9v (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.oUKM9v (%build) I: [iurt_root_command] ERROR: chroot