D: [iurt_root_command] chroot [WARNING] Deprecated %add_maven_depmap macro is used. Please use %mvn_artifact and %mvn_install instead. Installing /home/iurt/rpmbuild/SRPMS/multithreadedtc-1.01-23.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fmpgLk + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf MultithreadedTC-1.01-source + /usr/bin/unzip -qq /home/iurt/rpmbuild/SOURCES/MultithreadedTC-1.01-source.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd MultithreadedTC-1.01-source + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (multithreadedtc-build.patch):' Patch #0 (multithreadedtc-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .sav --fuzz=0 patching file build.xml + find . -name '*.class' -print -delete + find . -name '*.jar' -print -delete ./MultithreadedTC-1.01.jar ./MultithreadedTC-1.01-jdk14.jar + sed -i 's/\r//' web/docs/package-list + sed -i 's/\r//' web/docs/stylesheet.css + sed -i 's/\r//' LICENSE.txt + sed -i 's/\r//' README.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NE3yvk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd MultithreadedTC-1.01-source + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant Buildfile: /home/iurt/rpmbuild/BUILD/MultithreadedTC-1.01-source/build.xml compile: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/MultithreadedTC-1.01-source/bin [javac] /home/iurt/rpmbuild/BUILD/MultithreadedTC-1.01-source/build.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 4 source files to /home/iurt/rpmbuild/BUILD/MultithreadedTC-1.01-source/bin [javac] /home/iurt/rpmbuild/BUILD/MultithreadedTC-1.01-source/src/edu/umd/cs/mtc/TestFramework.java:643: error: method stop in class Thread cannot be applied to given types; [javac] t.stop(assertionError); [javac] ^ [javac] required: no arguments [javac] found: AssertionError [javac] reason: actual and formal argument lists differ in length [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error BUILD FAILED /home/iurt/rpmbuild/BUILD/MultithreadedTC-1.01-source/build.xml:23: Compile failed; see the compiler error output for details. Total time: 2 seconds error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.NE3yvk (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.NE3yvk (%build) I: [iurt_root_command] ERROR: chroot