D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/weld-api-2.2-2.SP3.2.mga6.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8UKFim + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf api-2.2.SP3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/2.2.SP3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd api-2.2.SP3 + /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-deploy-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 + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iLNdU4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd api-2.2.SP3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.apache.maven.plugins:maven-javadoc-plugin:aggregate org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.apache.maven.plugins:maven-javadoc-plugin:aggregate', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.jboss.weld:weld-api-bom:pom:2.2.SP3 [WARNING] 'parent.relativePath' of POM org.jboss.weld:weld-api-bom:2.2.SP3 (/home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml) points at org.jboss.weld:weld-api-build-aggregator instead of org.jboss.weld:weld-parent, please verify your project structure @ line 7, column 12 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.jboss.weld:weld-api-parent:pom:2.2.SP3 [WARNING] 'parent.relativePath' of POM org.jboss.weld:weld-api-bom:2.2.SP3 (/home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml) points at org.jboss.weld:weld-api-build-aggregator instead of org.jboss.weld:weld-parent, please verify your project structure @ org.jboss.weld:weld-api-bom:2.2.SP3, /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml, line 7, column 12 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.jboss.weld:weld-api:jar:2.2.SP3 [WARNING] 'parent.relativePath' of POM org.jboss.weld:weld-api-bom:2.2.SP3 (/home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml) points at org.jboss.weld:weld-api-build-aggregator instead of org.jboss.weld:weld-parent, please verify your project structure @ org.jboss.weld:weld-api-bom:2.2.SP3, /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml, line 7, column 12 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.jboss.weld:weld-spi:jar:2.2.SP3 [WARNING] 'parent.relativePath' of POM org.jboss.weld:weld-api-bom:2.2.SP3 (/home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml) points at org.jboss.weld:weld-api-build-aggregator instead of org.jboss.weld:weld-parent, please verify your project structure @ org.jboss.weld:weld-api-bom:2.2.SP3, /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom/pom.xml, line 7, column 12 [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] Reactor Build Order: [INFO] [INFO] Weld APIs BOM [INFO] Weld APIs Parent [INFO] Weld APIs [INFO] Weld SPIs for container integration [INFO] Weld APIs Build Aggregator [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Weld APIs BOM 2.2.SP3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-api-bom --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-api-bom --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-api-bom --- [INFO] maven is executed in offline mode, Updating project files from SCM: skipped. [INFO] Executing: /bin/sh -c cd '/home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of unavailable : Exception while executing SCM command. [INFO] Storing buildNumber: unavailable at timestamp: January 13, 2017 4:40:40 PM UTC [WARNING] Cannot get the branch information from the git repository: Error while executing command. [INFO] Executing: /bin/sh -c cd '/home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/bom [WARNING] Cannot get the branch information from the scm repository, proceeding with UNKNOWN_BRANCH : Exception while executing SCM command. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ weld-api-bom >>> [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-api-bom --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-api-bom --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-api-bom --- [INFO] [INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ weld-api-bom <<< [INFO] [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ weld-api-bom --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Weld APIs Parent 2.2.SP3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-api-parent --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-api-parent --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-api-parent --- [INFO] [INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ weld-api-parent >>> [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-api-parent --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-api-parent --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-api-parent --- [INFO] [INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ weld-api-parent <<< [INFO] [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ weld-api-parent --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Weld APIs 2.2.SP3 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.sun:tools:jar:any is missing, no dependency information available [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-api --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-api --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-api --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ weld-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ weld-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld/target/classes [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ weld-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ weld-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ weld-api --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ weld-api --- [INFO] Building jar: /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld/target/weld-api-2.2.SP3.jar [INFO] [INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ weld-api >>> [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-api --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-api --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-api --- [INFO] [INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ weld-api <<< [INFO] [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ weld-api --- [INFO] Building jar: /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld/target/weld-api-2.2.SP3-sources.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Weld SPIs for container integration 2.2.SP3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ weld-spi --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:parse-version (default) @ weld-spi --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (set-build-properties) @ weld-spi --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ weld-spi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ weld-spi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 86 source files to /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/target/classes [INFO] /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java: Some input files use or override a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/main/java/org/jboss/weld/injection/spi/helpers/AbstractResourceServices.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ weld-spi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ weld-spi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 17 source files to /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/target/test-classes [INFO] /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/test/java/org/jboss/weld/bootstrap/api/test/MockValidationServices.java: Some input files use or override a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/test/java/org/jboss/weld/bootstrap/api/test/MockValidationServices.java: Recompile with -Xlint:deprecation for details. [INFO] /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java: /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java uses unchecked or unsafe operations. [INFO] /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ weld-spi --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Error: Invalid or corrupt jarfile /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/target/surefire/surefirebooter2059596790426398527.jar Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Weld APIs Build Aggregator [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Weld APIs BOM ...................................... SUCCESS [ 1.017 s] [INFO] Weld APIs Parent ................................... SUCCESS [ 0.012 s] [INFO] Weld APIs .......................................... SUCCESS [ 1.312 s] [INFO] Weld SPIs for container integration ................ FAILURE [ 1.075 s] [INFO] Weld APIs Build Aggregator ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.102 s [INFO] Finished at: 2017-01-13T16:40:43+00:00 [INFO] Final Memory: 34M/1575M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project weld-spi: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi && /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-1.b16.2.mga6.x86_64/jre/bin/java -jar /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/target/surefire/surefirebooter2059596790426398527.jar /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/target/surefire/surefire2997697228575425603tmp /home/pterjan/rpmbuild/BUILD/api-2.2.SP3/weld-spi/target/surefire/surefire_07316570479123249435tmp [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/PluginExecutionException [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/pterjan/rpmbuild/tmp/rpm-tmp.iLNdU4 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iLNdU4 (%build) I: [iurt_root_command] ERROR: chroot