D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/multipath-tools-0.8.8-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6HArer + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf multipath-tools-0.8.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/multipath-tools-0.8.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd multipath-tools-0.8.8 + rm -rf /home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0021-RH-Fix-nvme-compilation-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0040-multipathd-ignore-duplicated-multipathd-command-keys.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0041-multipath-tools-use-run-instead-of-dev-shm.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Y4Q3nF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd multipath-tools-0.8.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'OPTFLAGS=-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' SYSTEMD=255 /usr/bin/make -C libmpathcmd /usr/bin/make -C kpartx make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' Checking for dm_task_set_cookie in /usr/include/libdevmapper.h ... yes make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' building bsd.o because of bsd.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIE -DPIE -I. -I../libmultipath -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -Wp,-D_FORTIFY_SOURCE=2 -c -o bsd.o bsd.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: bsd.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/libmpathcmd' building mpath_cmd.o because of mpath_cmd.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIC -Wp,-D_FORTIFY_SOURCE=2 -c -o mpath_cmd.o mpath_cmd.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: mpath_cmd.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/libmpathcmd' make: *** [Makefile:33: libmpathcmd] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' building solaris.o because of solaris.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIE -DPIE -I. -I../libmultipath -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -Wp,-D_FORTIFY_SOURCE=2 -c -o solaris.o solaris.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: solaris.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' building unixware.o because of unixware.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIE -DPIE -I. -I../libmultipath -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -Wp,-D_FORTIFY_SOURCE=2 -c -o unixware.o unixware.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: unixware.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' building dos.o because of dos.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIE -DPIE -I. -I../libmultipath -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -Wp,-D_FORTIFY_SOURCE=2 -c -o dos.o dos.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: dos.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' building dasd.o because of dasd.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIE -DPIE -I. -I../libmultipath -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -Wp,-D_FORTIFY_SOURCE=2 -c -o dasd.o dasd.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: dasd.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' building kpartx.o because of kpartx.c cc --std=gnu99 -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 -Werror -Wall -Wextra -Wformat=2 -Wformat-overflow=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-clobbered -Wno-error=clobbered -Werror=cast-qual -Werror=discarded-qualifiers -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -DRUNTIME_DIR=\"/run\" -MMD -MP -fPIE -DPIE -I. -I../libmultipath -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBDM_API_COOKIE -Wp,-D_FORTIFY_SOURCE=2 -c -o kpartx.o kpartx.c : error: "_FORTIFY_SOURCE" redefined [-Werror] : note: this is the location of the previous definition cc1: all warnings being treated as errors make[1]: *** [../Makefile.inc:145: kpartx.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/multipath-tools-0.8.8/kpartx' make: *** [Makefile:33: kpartx] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Y4Q3nF (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Y4Q3nF (%build) I: [iurt_root_command] ERROR: chroot