D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/juniversalchardet-1.0.3-11.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VYbbsS + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.class' -delete + find . -name '*.jar' -delete + echo 'Patch #0 (juniversalchardet-1.0.3-build.patch):' Patch #0 (juniversalchardet-1.0.3-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml + sed -i s/1.5/1.6/ build.xml + sed -i 's/\r//' readme.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5PX49S + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + JAVA_HOME=/usr/lib/jvm/java-11-openjdk + ant dist javadoc example Buildfile: /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/build.xml init: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/dist [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/dist/classes compile: [javac] /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/build.xml:68: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 58 source files to /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/dist/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings dist: [jar] Building jar: /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/dist/juniversalchardet-1.0.3.jar javadoc: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/dist/docs [javadoc] Javadoc 1.4 doesn't support the -1.1 switch anymore [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Loading source files for package org.mozilla.universalchardet... [javadoc] Loading source files for package org.mozilla.universalchardet.prober... [javadoc] Loading source files for package org.mozilla.universalchardet.prober.contextanalysis... [javadoc] Loading source files for package org.mozilla.universalchardet.prober.distributionanalysis... [javadoc] Loading source files for package org.mozilla.universalchardet.prober.sequence... [javadoc] Loading source files for package org.mozilla.universalchardet.prober.statemachine... [javadoc] Constructing Javadoc information... [javadoc] /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/src/org/mozilla/universalchardet/prober/statemachine/PkgIntTest.java:3: error: package org.junit does not exist [javadoc] import static org.junit.Assert.*; [javadoc] ^ [javadoc] /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/src/org/mozilla/universalchardet/prober/statemachine/PkgIntTest.java:5: error: package org.junit does not exist [javadoc] import org.junit.Test; [javadoc] ^ [javadoc] 3 errors [javadoc] /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/src/org/mozilla/universalchardet/prober/statemachine/PkgIntTest.java:9: error: cannot find symbol [javadoc] @Test [javadoc] ^ [javadoc] symbol: class Test [javadoc] location: class PkgIntTest example: [javac] /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/build.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 1 source file to /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/example [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings [jar] Building jar: /home/iurt/rpmbuild/BUILD/juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1/dist/juniversalchardet-example-1.0.3.jar BUILD SUCCESSFUL Total time: 3 seconds + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qEBe2Q + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64 + cd juniversalchardet-3fd330c443272699cd8ba5d7da7e56c27a567ec1 + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py /home/iurt/rpmbuild/SOURCES/juniversalchardet-1.0.3.pom dist/juniversalchardet-1.0.3.jar + /usr/bin/python3 /usr/share/java-utils/mvn_file.py com.googlecode.juniversalchardet:juniversalchardet juniversalchardet + xmvn-install -R .xmvn-reactor -n juniversalchardet -d /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64 [INFO] Installing artifact com.googlecode.juniversalchardet:juniversalchardet:pom:1.0.3 [INFO] Installing artifact com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3 [INFO] Installation successful + jdir=dist/docs + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64/usr/share/licenses + '[' -d dist/docs ']' + install -dm755 /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64/usr/share/javadoc/juniversalchardet + cp -pr 'dist/docs/*' /home/iurt/rpmbuild/BUILDROOT/juniversalchardet-1.0.3-11.mga8.x86_64/usr/share/javadoc/juniversalchardet cp: cannot stat 'dist/docs/*': No such file or directory error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qEBe2Q (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qEBe2Q (%install) I: [iurt_root_command] ERROR: chroot