D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/star-1.6-4.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cl0Hko + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf star-1.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/star-1.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd star-1.6 + rm -rf /home/pterjan/rpmbuild/BUILD/star-1.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/star-1.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv3l-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv3l-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv3l-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv3l-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv4b-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv4b-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv4b-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv4b-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv4l-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv4l-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv4l-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv4l-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv4tl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv4tl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv4tl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv4tl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv5tl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv5tl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv5tl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv5tl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv5tel-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv5tel-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv5tel-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv5tel-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv5tejl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv5tejl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv5tejl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv5tejl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv6l-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv6l-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv6l-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv6l-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv6hl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv6hl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv6hl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv6hl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv7l-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv7l-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv7l-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv7l-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv7hl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv7hl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv7hl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv7hl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv7hnl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv7hnl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv7hnl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv7hnl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv8l-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv8l-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv8l-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv8l-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv8hl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv8hl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv8hl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv8hl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv8hnl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv8hnl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv8hnl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv8hnl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/armv8hcnl-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/armv8hcnl-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/armv8hcnl-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/armv8hcnl-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/aarch64-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/aarch64-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/aarch64-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/aarch64-linux-cc.rul + for PLAT in armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/x86_64-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/x86_64-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/x86_64-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/x86_64-linux-cc.rul + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R7uFCE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd star-1.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I1IMO1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/star-1.6-4.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/star-1.6-4.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/star-1.6-4.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/star-1.6-4.mga10.x86_64 + cd star-1.6 + '[' 1 -eq 1 ']' + make 'COPTX=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DTRY_EXT2_FS' 'LDOPTX=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' GMAKE_NOWARN=true MANDIR=man PARCH=x86_64 K_ARCH=x86_64 DEFCCOM=gcc COPTGPROF= INS_BASE=/usr RUNPATH= DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/star-1.6-4.mga10.x86_64 install ==> MAKING SYMLINKS in ./RULES/ ln: failed to create symbolic link 'armv4l-linux-cc.rul': File exists ln: failed to create symbolic link 'armv4l-linux-gcc.rul': File exists ln: failed to create symbolic link 'armv4tl-linux-cc.rul': File exists ln: failed to create symbolic link 'armv4tl-linux-gcc.rul': File exists ln: failed to create symbolic link 'x86_64-linux-cc.rul': File exists ln: failed to create symbolic link 'x86_64-linux-gcc.rul': File exists ln: failed to create symbolic link 'armv5tejl-linux-cc.rul': File exists ln: failed to create symbolic link 'armv5tejl-linux-gcc.rul': File exists ln: failed to create symbolic link 'armv5tel-linux-cc.rul': File exists ln: failed to create symbolic link 'armv5tel-linux-gcc.rul': File exists ln: failed to create symbolic link 'armv6l-linux-cc.rul': File exists ln: failed to create symbolic link 'armv6l-linux-gcc.rul': File exists ln: failed to create symbolic link 'armv7l-linux-cc.rul': File exists ln: failed to create symbolic link 'armv7l-linux-gcc.rul': File exists ln: failed to create symbolic link 'aarch64-linux-cc.rul': File exists ln: failed to create symbolic link 'aarch64-linux-gcc.rul': File exists ==> MAKING SYMLINKS in ./TEMPLATES/ sh conf/cc-config.sh gcc gcc incs/Dcc.x86_64-linux Trying to find gcc Found gcc Creating empty 'incs/Dcc.x86_64-linux', using gcc as default compiler ==> MAKING DIRECTORY "incs/x86_64-linux-gcc/Inull" ==> CONFIGURING RULES "incs/x86_64-linux-gcc/rules.cnf" creating cache ./config.cache checking host system type... Invalid configuration `unknownCPU-unknownMFR-unknownOS': machine `unknownCPU-unknownMFR' not recognized checking if sh is bash... egrep: warning: egrep is obsolescent; using grep -E yes checking if /bin/sh is bash... egrep: warning: egrep is obsolescent; using grep -E yes checking whether sh -ce is broken... no checking whether /bin/sh -ce is broken... no checking whether /bin/bosh is a working shell... no checking whether /opt/schily/bin/bosh is a working shell... no checking for cc... gcc checking for gcc... (cached) gcc checking whether the C compiler (gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DTRY_EXT2_FS -Llibs/x86_64-linux-gcc -L/opt/schily/lib ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. RULES/rules.cnf:71: incs/x86_64-linux-gcc/rules.cnf: No such file or directory make: *** [RULES/rules.cnf:59: incs/x86_64-linux-gcc/rules.cnf] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.I1IMO1 (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.I1IMO1 (%install) I: [iurt_root_command] ERROR: chroot