D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ecj-4.11-2.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.INFAOI + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ecj-4.11 + /usr/bin/mkdir -p ecj-4.11 + cd ecj-4.11 + /usr/bin/unzip -qq /home/iurt/rpmbuild/SOURCES/ecjsrc-4.11RC1.jar + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ecj-rpmdebuginfo.patch):' Patch #0 (ecj-rpmdebuginfo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file org/eclipse/jdt/internal/compiler/batch/Main.java Hunk #1 succeeded at 3147 (offset 538 lines). + echo 'Patch #1 (javaAPI.patch):' Patch #1 (javaAPI.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml Hunk #1 succeeded at 18 (offset 3 lines). + sed -i -e 's|debuglevel=\"lines,source\"|debug=\"yes\"|g' build.xml + cp /home/iurt/rpmbuild/SOURCES/ecj-4.11.pom pom.xml + mkdir -p scripts/binary/META-INF/ + cp /home/iurt/rpmbuild/SOURCES/MANIFEST.MF scripts/binary/META-INF/MANIFEST.MF + rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.apache.ant:ant + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :ecj ecj jdtcore + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py org.eclipse.jdt.core.compiler:ecj org.eclipse.tycho:org.eclipse.jdt.core org.eclipse.tycho:org.eclipse.jdt.compiler.apt org.eclipse.jdt:core org.eclipse.jdt:ecj + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py org.eclipse:java10api:jar:10 /home/iurt/rpmbuild/SOURCES/java10api.jar + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py org.eclipse:java10api:jar:10 org.eclipse:java9api:jar:9 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.QkeL7G + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ecj-4.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant -Djavaapi=/home/iurt/rpmbuild/SOURCES/java10api.jar Buildfile: /home/iurt/rpmbuild/BUILD/ecj-4.11/build.xml build: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/ecj-4.11/bin [javac] /home/iurt/rpmbuild/BUILD/ecj-4.11/build.xml:33: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 506 source files to /home/iurt/rpmbuild/BUILD/ecj-4.11/bin [javac] Fatal Error: Unable to find package java.lang in classpath or bootclasspath BUILD FAILED /home/iurt/rpmbuild/BUILD/ecj-4.11/build.xml:33: Compile failed; see the compiler error output for details. Total time: 7 seconds error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.QkeL7G (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.QkeL7G (%build) I: [iurt_root_command] ERROR: chroot