D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/jgroups212-2.12.3-16.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.inZubN + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf jgroups212-2.12.3.Final + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/jgroups212-2.12.3.Final.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jgroups212-2.12.3.Final + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -delete + find . -name '*.class' -delete + echo 'Patch #0 (jgroups212-groupid.patch):' Patch #0 (jgroups212-groupid.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_remove_plugin :maven-source-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:dependency[pom:groupId='\''log4j'\'']/pom:version' 1.2.17 + chmod 644 README + /usr/bin/python3 /usr/share/java-utils/mvn_file.py org.jgroups212:jgroups jgroups212 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KVM4oO + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jgroups212-2.12.3.Final + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dproject.build.sourceEncoding=UTF-8 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', '-Dproject.build.sourceEncoding=UTF-8', '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.jgroups212:jgroups:bundle:2.12.3.Final [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 115, column 21 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 165, column 21 [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ line 174, column 21 [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.jgroups212:jgroups >----------------------- [INFO] Building JGroups 2.12.3.Final [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jgroups --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 33 resources [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/target/classes/schema [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jgroups --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 372 source files to /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/target/classes [INFO] /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/demos/applets/DrawApplet.java: Some input files use or override a deprecated API. [INFO] /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/demos/applets/DrawApplet.java: Recompile with -Xlint:deprecation for details. [INFO] /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/Digest.java: Some input files use unchecked or unsafe operations. [INFO] /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/Digest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (default) @ jgroups --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/target/classes/schema log4j:WARN No appenders could be found for logger (org.jgroups.conf.ClassConfigurator). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jgroups --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jgroups --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ jgroups --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:4.2.1:bundle (default-bundle) @ jgroups --- Oct 09, 2020 3:25:46 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Manifest-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Oct 09, 2020 3:25:46 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Created-By. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. [WARNING] Bundle org.jgroups212:jgroups:bundle:2.12.3.Final : Invalid value for Bundle-RequiredExecutionEnvironment, J2SE-1.6 does not match CDC-1\.0/Foundation-1\.0|CDC-1\.1/Foundation-1\.1|OSGi/Minimum-1\.[0-2]|JRE-1\.1|J2SE-1\.[2-5]|JavaSE-1\.[6-8]|JavaSE-9|JavaSE-[1-9][0-9]|PersonalJava-1\.[12]|CDC-1\.0/PersonalBasis-1\.0|CDC-1\.0/PersonalJava-1\.0|CDC-1\.1/PersonalBasis-1\.1|CDC-1\.1/PersonalJava-1\.1 [INFO] [INFO] -----------------------< org.jgroups212:jgroups >----------------------- [INFO] Building JGroups 2.12.3.Final [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- xmvn-mojo:3.1.0:install (default-cli) @ jgroups --- [INFO] [INFO] --- xmvn-mojo:3.1.0:javadoc (default-cli) @ jgroups --- /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:3: error: package org.testng does not exist import org.testng.ITestContext; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:4: error: package org.testng does not exist import org.testng.ITestNGMethod; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:5: error: package org.testng does not exist import org.testng.ITestResult; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:6: error: package org.testng does not exist import org.testng.IInvokedMethod; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:7: error: package org.testng does not exist import org.testng.IInvokedMethodListener; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:8: error: package org.testng does not exist import org.testng.TestListenerAdapter; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:9: error: package org.testng.annotations does not exist import org.testng.annotations.Test; ^ /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:23: error: cannot find symbol public class JUnitXMLReporter extends TestListenerAdapter implements IInvokedMethodListener { ^ symbol: class TestListenerAdapter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:23: error: cannot find symbol public class JUnitXMLReporter extends TestListenerAdapter implements IInvokedMethodListener { ^ symbol: class IInvokedMethodListener /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:38: error: cannot find symbol private final ConcurrentMap,List> classes=new ConcurrentHashMap,List>(); ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:114: error: cannot find symbol public void beforeInvocation(IInvokedMethod method, ITestResult tr) { ^ symbol: class IInvokedMethod location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:114: error: cannot find symbol public void beforeInvocation(IInvokedMethod method, ITestResult tr) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:129: error: cannot find symbol public void afterInvocation(IInvokedMethod method, ITestResult tr) { ^ symbol: class IInvokedMethod location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:129: error: cannot find symbol public void afterInvocation(IInvokedMethod method, ITestResult tr) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:134: error: cannot find symbol public void onTestStart(ITestResult result) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:139: error: cannot find symbol public void onTestSuccess(ITestResult tr) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:145: error: cannot find symbol public void onTestFailedButWithinSuccessPercentage(ITestResult tr) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:154: error: cannot find symbol public void onTestFailure(ITestResult tr) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:163: error: cannot find symbol public void onTestSkipped(ITestResult tr) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:179: error: cannot find symbol private void addTest(Class clazz, ITestResult result) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:202: error: cannot find symbol private int enabledMethods(ITestNGMethod[] testMethods) { ^ symbol: class ITestNGMethod location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:220: error: cannot find symbol public void onStart(ITestContext context) { ^ symbol: class ITestContext location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:243: error: cannot find symbol public void onFinish(ITestContext context) { ^ symbol: class ITestContext location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:251: error: cannot find symbol protected void generateReport(Class clazz, List results) throws IOException { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:397: error: cannot find symbol private static long getTotalTime(List results) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:418: error: cannot find symbol private static int getFailures(List results) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:427: error: cannot find symbol private static int getErrors(List results) { ^ symbol: class ITestResult location: class JUnitXMLReporter /home/iurt/rpmbuild/BUILD/jgroups212-2.12.3.Final/src/org/jgroups/util/JUnitXMLReporter.java:438: error: cannot find symbol private static int getSkips(List results) { ^ symbol: class ITestResult location: class JUnitXMLReporter [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.170 s [INFO] Finished at: 2020-10-09T15:25:50Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.fedoraproject.xmvn:xmvn-mojo:3.1.0:javadoc (default-cli) on project jgroups: 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.KVM4oO (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KVM4oO (%build) I: [iurt_root_command] ERROR: chroot