D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/junit-benchmarks-0.7.2-2.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uF2TTP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf junit-benchmarks-release-0.7.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/0.7.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd junit-benchmarks-release-0.7.2 + /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 :maven-clover2-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-antrun-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep mysql:mysql-connector-mxj + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.easytesting:fest-assert-core + rm -r src/test/java/com/carrotsearch/junitbenchmarks/TestAssumptions.java + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : junit-benchmarks + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AKfsjf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd junit-benchmarks-release-0.7.2 + '[' 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 com.carrotsearch:junit-benchmarks:jar:0.7.2 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. @ line 185, column 24 [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] [WARNING] The project com.carrotsearch:junit-benchmarks:jar:0.7.2 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] -----------------< com.carrotsearch:junit-benchmarks >------------------ [INFO] Building JUnitBenchmarks 0.7.2 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ junit-benchmarks --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 20 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ junit-benchmarks --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 31 source files to /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/src/main/java/com/carrotsearch/junitbenchmarks/mysql/MySQLConsumer.java:[5,37] package com.mysql.jdbc.jdbc2.optional does not exist [ERROR] /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/src/main/java/com/carrotsearch/junitbenchmarks/mysql/MySQLConsumer.java:[78,15] cannot find symbol symbol: class MysqlDataSource location: class com.carrotsearch.junitbenchmarks.mysql.MySQLConsumer [ERROR] /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/src/main/java/com/carrotsearch/junitbenchmarks/mysql/MySQLConsumer.java:[78,40] cannot find symbol symbol: class MysqlDataSource location: class com.carrotsearch.junitbenchmarks.mysql.MySQLConsumer [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping JUnitBenchmarks [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.289 s [INFO] Finished at: 2019-01-22T04:20:14Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project junit-benchmarks: Compilation failure: Compilation failure: [ERROR] /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/src/main/java/com/carrotsearch/junitbenchmarks/mysql/MySQLConsumer.java:[5,37] package com.mysql.jdbc.jdbc2.optional does not exist [ERROR] /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/src/main/java/com/carrotsearch/junitbenchmarks/mysql/MySQLConsumer.java:[78,15] cannot find symbol [ERROR] symbol: class MysqlDataSource [ERROR] location: class com.carrotsearch.junitbenchmarks.mysql.MySQLConsumer [ERROR] /home/pterjan/rpmbuild/BUILD/junit-benchmarks-release-0.7.2/src/main/java/com/carrotsearch/junitbenchmarks/mysql/MySQLConsumer.java:[78,40] cannot find symbol [ERROR] symbol: class MysqlDataSource [ERROR] location: class com.carrotsearch.junitbenchmarks.mysql.MySQLConsumer [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: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AKfsjf (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AKfsjf (%build) I: [iurt_root_command] ERROR: chroot