D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/grub-0.97-55.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lKQwVm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/grub-0.97-build + test -d /home/pterjan/rpmbuild/BUILD/grub-0.97-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/grub-0.97-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/grub-0.97-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/grub-0.97-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/grub-0.97-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kA1sQO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/grub-0.97-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/grub-0.97-build + rm -rf grub-0.97 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/grub-0.97.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grub-0.97 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (grub-ext3-256byte-inode.patch):' Patch #1 (grub-ext3-256byte-inode.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .256byte-inode --fuzz=2 patching file stage2/fsys_ext2fs.c + echo 'Patch #2 (no-pie.patch):' Patch #2 (no-pie.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-pie --fuzz=2 patching file configure.ac Hunk #1 succeeded at 112 with fuzz 2 (offset -31 lines). + echo 'Patch #22 (grub-0.94-addsyncs.patch):' Patch #22 (grub-0.94-addsyncs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .addsync --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 336 (offset -15 lines). Hunk #2 succeeded at 454 (offset -7 lines). + echo 'Patch #23 (0002-Add-strspn-strcspn-and-strtok_r.patch):' Patch #23 (0002-Add-strspn-strcspn-and-strtok_r.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .string-functions --fuzz=2 patching file stage2/char_io.c patching file stage2/shared.h + echo 'Patch #24 (0003-Allow-passing-multiple-image-files-to-the-initrd-com.patch):' Patch #24 (0003-Allow-passing-multiple-image-files-to-the-initrd-com.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multiple-initrd --fuzz=2 patching file stage2/boot.c + echo 'Patch #25 (grub-ext4-support.patch):' Patch #25 (grub-ext4-support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ext4 --fuzz=2 patching file stage2/fsys_ext2fs.c + echo 'Patch #101 (grub-0.97-once.patch):' Patch #101 (grub-0.97-once.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootonce --fuzz=2 patching file stage2/builtins.c patching file stage2/shared.h patching file stage2/builtins.c patching file stage2/stage2.c Hunk #1 succeeded at 867 (offset -93 lines). patching file util/grub-install.in Hunk #2 succeeded at 418 with fuzz 2 (offset -13 lines). patching file configure patching file configure.ac Hunk #1 succeeded at 688 (offset 22 lines). patching file util/Makefile.am patching file util/Makefile.in + echo 'Patch #102 (grub-0.97-once-info-doc.patch):' Patch #102 (grub-0.97-once-info-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pix --fuzz=2 patching file docs/grub.texi + echo 'Patch #500 (grub-0.93-special-device-names.patch):' Patch #500 (grub-0.93-special-device-names.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .raid --fuzz=2 patching file lib/device.c Hunk #1 succeeded at 861 (offset 172 lines). + echo 'Patch #501 (grub-0.94-i2o.patch):' Patch #501 (grub-0.94-i2o.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .i2o --fuzz=2 patching file lib/device.c Hunk #1 succeeded at 407 with fuzz 2 (offset -12 lines). Hunk #2 succeeded at 807 (offset 12 lines). + echo 'Patch #502 (grub-0.95-moreraid.patch):' Patch #502 (grub-0.95-moreraid.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .moreraid --fuzz=2 patching file lib/device.c Hunk #1 succeeded at 403 (offset -141 lines). Hunk #2 succeeded at 799 (offset -132 lines). Hunk #3 succeeded at 839 with fuzz 2 (offset -112 lines). + echo 'Patch #505 (grub-0.94-initrdmax.patch):' Patch #505 (grub-0.94-initrdmax.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .initrdmax --fuzz=2 patching file stage2/boot.c Hunk #1 succeeded at 834 (offset 24 lines). + echo 'Patch #800 (grub-0.95-odirect.patch):' Patch #800 (grub-0.95-odirect.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .odirect --fuzz=2 patching file grub/asmstub.c Hunk #2 succeeded at 769 (offset 2 lines). Hunk #3 succeeded at 780 (offset 2 lines). Hunk #4 succeeded at 800 (offset 2 lines). Hunk #5 succeeded at 815 (offset 2 lines). Hunk #6 succeeded at 837 (offset 2 lines). Hunk #7 succeeded at 873 (offset 2 lines). + echo 'Patch #1000 (grub-0.95-geometry-26kernel.patch):' Patch #1000 (grub-0.95-geometry-26kernel.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .26geom --fuzz=2 patching file lib/device.c Hunk #3 succeeded at 1086 (offset 104 lines). Hunk #4 succeeded at 1120 (offset 104 lines). + echo 'Patch #1100 (grub-0.95-md.patch):' Patch #1100 (grub-0.95-md.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .md --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 210 (offset 3 lines). Hunk #2 succeeded at 259 (offset 3 lines). Hunk #3 succeeded at 398 (offset -18 lines). Hunk #4 succeeded at 431 (offset -18 lines). Hunk #5 succeeded at 456 with fuzz 2 (offset -9 lines). Hunk #6 succeeded at 494 (offset -13 lines). + echo 'Patch #1101 (grub-0.97-md-rework--mdv-adapted.patch):' Patch #1101 (grub-0.97-md-rework--mdv-adapted.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .md-rework --fuzz=2 patching file util/grub-install.in + echo 'Patch #1104 (grub-0.97-nxstack.patch):' Patch #1104 (grub-0.97-nxstack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nxstack --fuzz=2 patching file stage2/shared.h patching file stage2/builtins.c Hunk #3 succeeded at 1789 (offset -135 lines). Hunk #4 succeeded at 1867 (offset -135 lines). Hunk #5 succeeded at 1881 (offset -135 lines). Hunk #6 succeeded at 1894 (offset -135 lines). Hunk #7 succeeded at 1933 (offset -135 lines). Hunk #8 succeeded at 2032 (offset -135 lines). Hunk #9 succeeded at 2058 (offset -135 lines). Hunk #10 succeeded at 2092 (offset -135 lines). Hunk #11 succeeded at 2181 (offset -135 lines). Hunk #12 succeeded at 2251 (offset -135 lines). Hunk #13 succeeded at 2273 (offset -135 lines). Hunk #14 succeeded at 2300 (offset -135 lines). patching file grub/asmstub.c + echo 'Patch #1105 (grub-0.97-nx-multiinstall.patch):' Patch #1105 (grub-0.97-nx-multiinstall.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nx-multiinstall --fuzz=2 patching file stage2/builtins.c Hunk #1 succeeded at 1793 (offset -133 lines). Hunk #2 succeeded at 1829 (offset -133 lines). Hunk #3 succeeded at 1896 (offset -133 lines). + echo 'Patch #1110 (grub-0.97-mdadm-path.patch):' Patch #1110 (grub-0.97-mdadm-path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mdadm-path --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 30 with fuzz 1. Hunk #2 succeeded at 217 (offset -1 lines). Hunk #3 succeeded at 236 (offset -1 lines). + echo 'Patch #1111 (grub-0.95-md-mbr.patch):' Patch #1111 (grub-0.95-md-mbr.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .md-mbr --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 426 (offset -18 lines). + echo 'Patch #1120 (grub-0.95-nonmbr.patch):' Patch #1120 (grub-0.95-nonmbr.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nonmbr --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 426 (offset -18 lines). + echo 'Patch #1130 (grub-0.95-recheck-bad.patch):' Patch #1130 (grub-0.95-recheck-bad.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .recheck-bad --fuzz=2 patching file docs/grub.texi Hunk #1 succeeded at 3575 (offset 158 lines). patching file util/grub-install.in Hunk #1 succeeded at 71 (offset 3 lines). Hunk #2 succeeded at 390 (offset 60 lines). Hunk #3 succeeded at 419 (offset 60 lines). patching file docs/grub-install.8 Hunk #1 succeeded at 30 with fuzz 1. patching file docs/grub.info Hunk #1 succeeded at 3551 (offset 178 lines). + echo 'Patch #1135 (grub-0.97-prototypes.patch):' Patch #1135 (grub-0.97-prototypes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .prototypes --fuzz=2 patching file acinclude.m4 + echo 'Patch #1145 (grub-0.97-dmraid.patch):' Patch #1145 (grub-0.97-dmraid.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dmraid --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 99 (offset -2 lines). Hunk #2 succeeded at 258 (offset -2 lines). Hunk #3 succeeded at 307 with fuzz 1 (offset -2 lines). + echo 'Patch #1146 (grub-0.97-dmraid-recheck-bad--mdv-adapted.patch):' Patch #1146 (grub-0.97-dmraid-recheck-bad--mdv-adapted.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dmraid-recheck-bad --fuzz=2 patching file util/grub-install.in + echo 'Patch #1147 (grub-0.97-dmraid-partition-names.patch):' Patch #1147 (grub-0.97-dmraid-partition-names.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dmraid-partition-names --fuzz=2 patching file lib/device.c Hunk #1 succeeded at 1109 (offset 3 lines). + echo 'Patch #1148 (grub-0.97-mactel-kbd.patch):' Patch #1148 (grub-0.97-mactel-kbd.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mactel-kbd --fuzz=2 patching file stage2/asm.S + echo 'Patch #1150 (grub-0.97-mpath.patch):' Patch #1150 (grub-0.97-mpath.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mpath --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 106 (offset -1 lines). Hunk #2 succeeded at 116 (offset -1 lines). + echo 'Patch #1154 (grub-0.97-virtio-support.patch):' Patch #1154 (grub-0.97-virtio-support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .virtio --fuzz=2 patching file util/grub-install.in Hunk #1 succeeded at 101 (offset -1 lines). Hunk #2 succeeded at 110 (offset -2 lines). + echo 'Patch #1151 (grub-varargs.diff):' Patch #1151 (grub-varargs.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .varargs --fuzz=2 patching file netboot/misc.c patching file stage1/Makefile.am patching file stage2/char_io.c Hunk #2 succeeded at 102 (offset -30 lines). Hunk #3 succeeded at 153 (offset -30 lines). Hunk #4 succeeded at 171 (offset -30 lines). Hunk #5 succeeded at 195 (offset -30 lines). Hunk #6 succeeded at 209 (offset -30 lines). Hunk #7 succeeded at 217 (offset -30 lines). Hunk #8 succeeded at 230 (offset -30 lines). patching file stage2/Makefile.am patching file stage2/shared.h Hunk #1 succeeded at 911 (offset -4 lines). patching file stage2/tparm.c + echo 'Patch #1152 (grub-gpt.diff):' Patch #1152 (grub-gpt.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gpt --fuzz=2 patching file stage2/builtins.c Hunk #1 succeeded at 1282 (offset 49 lines). Hunk #2 succeeded at 2893 (offset 77 lines). Hunk #3 succeeded at 2931 (offset 77 lines). patching file stage2/disk_io.c patching file stage2/gpt.h patching file stage2/pc_slice.h patching file stage2/shared.h Hunk #1 succeeded at 941 (offset 7 lines). + echo 'Patch #1153 (grub-uuid.diff):' Patch #1153 (grub-uuid.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .uuid --fuzz=2 patching file Makefile.am patching file configure.ac Hunk #2 succeeded at 628 (offset 22 lines). Hunk #3 succeeded at 694 (offset 22 lines). patching file grub/Makefile.am patching file libvolume_id/Makefile.am patching file libvolume_id/adaptec_raid.c patching file libvolume_id/cramfs.c patching file libvolume_id/ddf_raid.c patching file libvolume_id/ext.c patching file libvolume_id/fat.c patching file libvolume_id/gfs.c patching file libvolume_id/hfs.c patching file libvolume_id/highpoint.c patching file libvolume_id/hpfs.c patching file libvolume_id/iso9660.c patching file libvolume_id/isw_raid.c patching file libvolume_id/jfs.c patching file libvolume_id/jmicron_raid.c patching file libvolume_id/linux_raid.c patching file libvolume_id/linux_swap.c patching file libvolume_id/lsi_raid.c patching file libvolume_id/luks.c patching file libvolume_id/lvm.c patching file libvolume_id/minix.c patching file libvolume_id/misc.c patching file libvolume_id/netware.c patching file libvolume_id/ntfs.c patching file libvolume_id/nvidia_raid.c patching file libvolume_id/ocfs.c patching file libvolume_id/promise_raid.c patching file libvolume_id/reiserfs.c patching file libvolume_id/romfs.c patching file libvolume_id/silicon_raid.c patching file libvolume_id/squashfs.c patching file libvolume_id/strfuncs.h patching file libvolume_id/sysv.c patching file libvolume_id/udf.c patching file libvolume_id/ufs.c patching file libvolume_id/util.c patching file libvolume_id/util.h patching file libvolume_id/via_raid.c patching file libvolume_id/volume_id.c patching file libvolume_id/volume_id.h patching file libvolume_id/vxfs.c patching file libvolume_id/xfs.c patching file stage2/Makefile.am Hunk #3 succeeded at 92 with fuzz 1. patching file stage2/builtins.c Hunk #2 succeeded at 4921 (offset 127 lines). Hunk #3 succeeded at 5172 (offset 127 lines). + echo 'Patch #1155 (grub-0.97-automake.patch):' Patch #1155 (grub-0.97-automake.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .automake --fuzz=2 patching file stage1/Makefile.am patching file stage2/Makefile.am Hunk #1 succeeded at 31 with fuzz 1 (offset -1 lines). Hunk #2 succeeded at 47 (offset -1 lines). + echo 'Patch #1156 (objcopy-absolute.patch):' Patch #1156 (objcopy-absolute.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .objcopy --fuzz=2 patching file acinclude.m4 Hunk #1 succeeded at 63 (offset 2 lines). patching file stage1/Makefile.am patching file stage2/Makefile.am Hunk #1 succeeded at 286 (offset 10 lines). + echo 'Patch #1200 (grub-0.97-Add-esp-to-list-of-clobbered-registers.patch):' Patch #1200 (grub-0.97-Add-esp-to-list-of-clobbered-registers.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stack --fuzz=2 patching file grub/asmstub.c Hunk #1 succeeded at 173 (offset -1 lines). Hunk #2 succeeded at 190 (offset -1 lines). + echo 'Patch #1157 (grub-0.97-fixes.patch):' Patch #1157 (grub-0.97-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixes --fuzz=2 patching file stage2/builtins.c Hunk #1 succeeded at 1962 (offset -22 lines). + echo 'Patch #1158 (2gb_limit.patch):' Patch #1158 (2gb_limit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .2gb --fuzz=2 patching file stage2/char_io.c Hunk #1 succeeded at 1229 (offset -2 lines). Hunk #2 succeeded at 1246 (offset -2 lines). patching file stage2/shared.h Hunk #1 succeeded at 918 (offset -3 lines). + echo 'Patch #1160 (objcopy-remove-note-gnu-property.patch):' Patch #1160 (objcopy-remove-note-gnu-property.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .property --fuzz=2 patching file stage1/Makefile.am patching file stage2/Makefile.am Hunk #1 succeeded at 286 (offset -1 lines). + echo 'Patch #10000 (grub-0.5.96.1-ezd.patch):' Patch #10000 (grub-0.5.96.1-ezd.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file stage2/disk_io.c Hunk #1 succeeded at 897 (offset 235 lines). Hunk #2 succeeded at 911 (offset 235 lines). + echo 'Patch #10001 (grub-0.97-gcc4_warnings.patch):' Patch #10001 (grub-0.97-gcc4_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file configure.ac Hunk #1 succeeded at 94 (offset 1 line). patching file stage2/boot.c patching file stage2/disk_io.c Hunk #1 succeeded at 128 (offset 1 line). patching file stage2/freebsd.h patching file stage2/fsys_fat.c patching file stage2/fsys_iso9660.c patching file stage2/fsys_reiserfs.c patching file stage2/fsys_vstafs.c patching file stage2/fsys_xfs.c patching file stage2/gunzip.c patching file stage2/Makefile.am Hunk #1 succeeded at 28 with fuzz 1 (offset 4 lines). patching file stage2/md5.c + echo 'Patch #10005 (grub-0.95-eltorito.patch):' Patch #10005 (grub-0.95-eltorito.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file stage2/start_eltorito.S + echo 'Patch #10007 (grub-0.91-nice-magic.patch):' Patch #10007 (grub-0.91-nice-magic.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file stage2/shared.h Hunk #1 succeeded at 174 (offset 2 lines). patching file stage1/stage1.S + echo 'Patch #10009 (grub-0.95-mem_lower.patch):' Patch #10009 (grub-0.95-mem_lower.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file stage2/common.c + echo 'Patch #10015 (grub-0.97-install_sh.patch):' Patch #10015 (grub-0.97-install_sh.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file util/grub-install.in + echo 'Patch #10018 (grub-0.97-please-automake--add-AM_PROG_AS.patch):' Patch #10018 (grub-0.97-please-automake--add-AM_PROG_AS.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=2 patching file configure.ac + echo 'Patch #10017 (grub-gfxmenu-v8.diff):' Patch #10017 (grub-gfxmenu-v8.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=2 patching file docs/grub.texi Hunk #1 succeeded at 1991 (offset -127 lines). Hunk #2 succeeded at 2024 (offset -127 lines). patching file grub/asmstub.c Hunk #1 succeeded at 558 (offset 60 lines). patching file stage2/asm.S Hunk #1 succeeded at 1610 (offset -4 lines). patching file stage2/builtins.c Hunk #1 succeeded at 67 (offset 4 lines). Hunk #2 succeeded at 1387 (offset 34 lines). Hunk #3 succeeded at 5138 (offset 242 lines). patching file stage2/shared.h Hunk #1 succeeded at 378 with fuzz 2 (offset 4 lines). Hunk #2 succeeded at 615 (offset 4 lines). patching file stage2/stage2.c Hunk #4 succeeded at 1524 (offset -33 lines). + echo 'Patch #10019 (grub-0.97-fix-movw-ebp.patch):' Patch #10019 (grub-0.97-fix-movw-ebp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .movw --fuzz=2 patching file stage2/asm.S + 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.IvC2Rv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/grub-0.97-build + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd grub-0.97 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + rm docs/grub.info + autoreconf -fi configure.ac:18: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:18: the top level configure.ac:81: warning: The macro 'ac_cv_prog_gcc' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/c.m4:448: ac_cv_prog_gcc is expanded from... configure.ac:81: the top level configure.ac:91: warning: AC_CACHE_VAL(size_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:91: the top level configure.ac:91: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:91: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:91: the top level configure.ac:104: warning: AC_CACHE_VAL(no_stack_protector_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:104: the top level configure.ac:104: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:104: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:104: the top level configure.ac:118: warning: AC_CACHE_VAL(no_pie_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:118: the top level configure.ac:118: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:118: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:118: the top level configure.ac:129: warning: AC_CACHE_VAL(no_pie_linker_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:129: the top level configure.ac:129: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:129: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:129: the top level configure.ac:150: warning: AC_CACHE_VAL(undef_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:150: the top level configure.ac:150: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:150: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:150: the top level configure.ac:159: warning: AC_CACHE_VAL(falign_loop_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:159: the top level configure.ac:159: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:159: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:159: the top level configure.ac:200: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:200: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:189: grub_CHECK_START_SYMBOL is expanded from... configure.ac:200: the top level configure.ac:201: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:201: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:208: grub_CHECK_USCORE_START_SYMBOL is expanded from... configure.ac:201: the top level configure.ac:207: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:207: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:227: grub_CHECK_USCORE_USCORE_BSS_START_SYMBOL is expanded from... configure.ac:207: the top level configure.ac:208: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:208: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:265: grub_CHECK_USCORE_EDATA_SYMBOL is expanded from... configure.ac:208: the top level configure.ac:209: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:209: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:246: grub_CHECK_EDATA_SYMBOL is expanded from... configure.ac:209: the top level configure.ac:216: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:216: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:284: grub_CHECK_END_SYMBOL is expanded from... configure.ac:216: the top level configure.ac:217: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:217: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:303: grub_CHECK_USCORE_END_SYMBOL is expanded from... configure.ac:217: the top level docs/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:33: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:36: warning: '%'-style pattern rules are a GNU make extension netboot/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') stage2/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' + CFLAGS='-Os -g -fno-strict-aliasing -fno-stack-protector -fno-reorder-functions' + ./configure --build=x86_64-mageia-linux-gnu --host=x86_64-mageia-linux-gnu --target=x86_64-linux --prefix=/usr --exec-prefix=/ --bindir=/usr/bin --mandir=/usr/share/man --infodir=/usr/share/info --disable-auto-linux-mem-opt checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in '/home/pterjan/rpmbuild/BUILD/grub-0.97-build/grub-0.97': configure: error: cannot run C compiled programs. If you meant to cross compile, use '--host'. See 'config.log' for more details error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IvC2Rv (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IvC2Rv (%build) I: [iurt_root_command] ERROR: chroot