D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ant-antunit-1.3-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Auffs9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf apache-ant-antunit-1.3 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/apache-ant-antunit-1.3-src.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-ant-antunit-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv CONTRIBUTORS CONTRIBUTORS.orig + iconv -f ISO-8859-1 -t UTF-8 CONTRIBUTORS.orig + touch -r CONTRIBUTORS.orig CONTRIBUTORS + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NwP7hH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd apache-ant-antunit-1.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant package Buildfile: /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build.xml setup-properties: setup: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build/classes [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build/test-classes [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build/lib compile: [javac] Compiling 24 source files to /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3 [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.2 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/src/main/org/apache/ant/antunit/junit4/AntUnitSuiteRunner.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 4 warnings check-for-NOTICE: antlib: [copy] Copying 1 file to /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build/classes [jar] Building jar: /home/pterjan/rpmbuild/BUILD/apache-ant-antunit-1.3/build/lib/ant-antunit-1.3.jar checksum-target-jar: package: BUILD SUCCESSFUL Total time: 3 seconds + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KfX7Vm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64 + cd apache-ant-antunit-1.3 + '[' 1 -eq 1 ']' + install -d -m 0755 /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64/usr/share/java/ant + install -pm 644 build/lib/ant-antunit-1.3.jar /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64/usr/share/java/ant/ant-antunit.jar + install -d -m 0755 /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64/usr/share/ant/lib + ln -s ../../java/ant/ant-antunit.jar /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64/usr/share/ant/lib + install -d -m 755 /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64/usr/share/maven-poms + install -pm 644 ant-antunit-1.3.pom /home/pterjan/rpmbuild/BUILDROOT/ant-antunit-1.3-6.mga7.x86_64/usr/share/maven-poms/JPP.ant-ant-antunit.pom + %add_maven_depmap JPP.ant-ant-antunit.pom ant/ant-antunit.jar /home/pterjan/rpmbuild/tmp/rpm-tmp.KfX7Vm: line 46: fg: no job control error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KfX7Vm (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KfX7Vm (%install) I: [iurt_root_command] ERROR: chroot