D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/imagej-1.53d-3.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0coqt4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf imagej-1.53d + /usr/bin/mkdir -p imagej-1.53d + cd imagej-1.53d + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/imagej-1.53d.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (imagej-1.53d-patch0.patch):' Patch #0 (imagej-1.53d-patch0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .patch0 --fuzz=0 patching file source/build.xml + unzip -qq -u /home/pterjan/rpmbuild/SOURCES/macros.zip + rm -rf macros/.FBCIndex macros/.FBCLockFolder + rm macros/build.xml + rm -rf __MACOSX + cp /home/pterjan/rpmbuild/SOURCES/unix-script.txt ./imagej.sh + echo 'Patch #1 (imagej-1.50h-patch1.patch):' Patch #1 (imagej-1.50h-patch1.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .patch1 --fuzz=0 patching file imagej.sh + find -name '*.class' -exec rm -f '{}' ';' + find -name '*.jar' -exec rm -f '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zDdFd1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd imagej-1.53d + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd source + JAVA_HOME=/usr/lib/jvm/java-17-openjdk + ant build javadocs Buildfile: /home/pterjan/rpmbuild/BUILD/imagej-1.53d/source/build.xml compile: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/imagej-1.53d/source/build [javac] Compiling 347 source files to /home/pterjan/rpmbuild/BUILD/imagej-1.53d/source/build [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] error: Source option 6 is no longer supported. Use 7 or later. [javac] error: Target option 6 is no longer supported. Use 7 or later. BUILD FAILED /home/pterjan/rpmbuild/BUILD/imagej-1.53d/source/build.xml:9: Compile failed; see the compiler error output for details. Total time: 1 second error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zDdFd1 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zDdFd1 (%build) I: [iurt_root_command] ERROR: chroot