D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/lucene-8.6.3-1.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mMYmwV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf solr-8.6.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/solr-8.6.3-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd solr-8.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Disable-ivy-settings.patch):' Patch #0 (0001-Disable-ivy-settings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lucene/common-build.xml Hunk #1 succeeded at 443 (offset 5 lines). + echo 'Patch #1 (0002-Dependency-generation.patch):' Patch #1 (0002-Dependency-generation.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build.xml patching file lucene/build.xml patching file lucene/common-build.xml patching file lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java + rm -rf solr + find -name '*.jar' -delete + mkdir -p lucene/build/analysis/kuromoji lucene/build/analysis/nori + sed -i -e '//a<_nouses>true' dev-tools/maven/pom.xml.template + sed -i -e '//acom.sun.management;resolution:="optional",sun.misc;resolution:="optional",*' dev-tools/maven/pom.xml.template + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :lucene-analyzers-common :lucene-analyzers + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :lucene-analysis-modules-aggregator lucene-analysis + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :lucene-analyzers-common lucene-analysis + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':{*}-aggregator' @1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qgRBWr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd solr-8.6.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd lucene ~/rpmbuild/BUILD/solr-8.6.3/lucene ~/rpmbuild/BUILD/solr-8.6.3 + find -maxdepth 2 -type d -exec mkdir -p '{}/lib' ';' + ant -f build.xml generate-maven-artifacts -Divy.mode=local -Dversion=8.6.3 -Divy.available=true Buildfile: /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/build.xml generate-maven-artifacts: common.compile-tools: -check-git-state: -git-cleanroot: -copy-git-state: git-autoclean: ivy-availability-check: ivy-configure: resolve: [ivy:retrieve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader [ivy:retrieve] :: Apache Ivy non official version - :: https://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: file = /etc/ivy/ivysettings.xml init: compile-core: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/build/tools/classes/java [javac] Compiling 7 source files to /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/build/tools/classes/java [javac] /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java:49: error: tag not supported in HTML5: tt [javac] * An ANT task that verifies if JAR file have associated LICENSE, [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java:50: error: tag not supported in HTML5: tt [javac] * NOTICE, and sha1 files. [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java:50: error: tag not supported in HTML5: tt [javac] * NOTICE, and sha1 files. [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java:284: warning: [cast] redundant cast to Iterator [javac] Iterator iter = (Iterator)ivyXmlResources.iterator(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/src/java/org/apache/lucene/validation/LibVersionsCheckTask.java:227: warning: [cast] redundant cast to Iterator [javac] Iterator iter = (Iterator)ivyXmlResources.iterator(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java:172: warning: [cast] redundant cast to Iterator [javac] Iterator iter = (Iterator) jarResources.iterator(); [javac] ^ [javac] 3 errors [javac] 3 warnings BUILD FAILED /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/build.xml:430: The following error occurred while executing this line: /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/common-build.xml:925: The following error occurred while executing this line: /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/tools/build.xml:54: The following error occurred while executing this line: /home/pterjan/rpmbuild/BUILD/solr-8.6.3/lucene/common-build.xml:2082: Compile failed; see the compiler error output for details. Total time: 1 second error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qgRBWr (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qgRBWr (%build) I: [iurt_root_command] ERROR: chroot