D: [iurt_root_command] chroot
Installing /home/pterjan/rpmbuild/SRPMS/felix-gogo-command-0.16.0-5.mga6.src.rpm
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EclC9p
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf org.apache.felix.gogo.command-0.16.0
+ /usr/bin/tar -xof -
+ /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/org.apache.felix.gogo.command-0.16.0-project.tar.gz
/usr/bin/tar: A lone zero block at 330
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd org.apache.felix.gogo.command-0.16.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (felix-gogo-command-pom.xml.patch):'
Patch #0 (felix-gogo-command-pom.xml.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file pom.xml
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependencies/pom:dependency[pom:artifactId[text()='\''org.apache.felix.framework'\'']]' 'provided'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependencies/pom:dependency[pom:artifactId[text()='\''org.osgi.compendium'\'']]' 'provided'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependencies/pom:dependency[pom:artifactId[text()='\''org.apache.felix.bundlerepository'\'']]' 'provided'
+ sed -i -e 's|\*|!org.apache.felix.bundlerepository,*|' pom.xml
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6Exkry
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd org.apache.felix.gogo.command-0.16.0
+ '[' 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.apache.felix:org.apache.felix.gogo.command:bundle:0.16.0
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${pom.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] ------------------------------------------------------------------------
[INFO] Building Apache Felix Gogo Command 0.16.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ org.apache.felix.gogo.command ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.felix.gogo.command ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 0 resource to META-INF
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.felix.gogo.command ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/target/classes
[INFO] /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/src/main/java/org/apache/felix/gogo/command/Inspect42.java: Some input files use or override a deprecated API.
[INFO] /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/src/main/java/org/apache/felix/gogo/command/Inspect42.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/src/main/java/org/apache/felix/gogo/command/Activator.java: Some input files use unchecked or unsafe operations.
[INFO] /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/src/main/java/org/apache/felix/gogo/command/Activator.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.felix.gogo.command ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/src/test/resources
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ org.apache.felix.gogo.command ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ org.apache.felix.gogo.command ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Error: Invalid or corrupt jarfile /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/target/surefire/surefirebooter4331278407514370086.jar
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Felix Gogo Command
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.405 s
[INFO] Finished at: 2017-01-12T21:00:27+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 org.apache.felix.gogo.command: 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/org.apache.felix.gogo.command-0.16.0 && /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/org.apache.felix.gogo.command-0.16.0/target/surefire/surefirebooter4331278407514370086.jar /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/target/surefire/surefire7427681610650480306tmp /home/pterjan/rpmbuild/BUILD/org.apache.felix.gogo.command-0.16.0/target/surefire/surefire_07888685006045559936tmp
[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: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6Exkry (%build)
RPM build errors:
Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6Exkry (%build)
I: [iurt_root_command] ERROR: chroot