D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/mdadm-4.1-5.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.wpX1Xd + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mdadm-4.1 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/mdadm-4.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mdadm-4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-Assemble-keep-MD_DISK_FAILFAST-and-MD_DISK_WRITEMOST.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0002-Document-PART-POLICY-lines.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0003-policy-support-devices-with-multiple-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0004-mdcheck-add-systemd-unit-files-to-run-mdcheck.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0005-Monitor-add-system-timer-to-run-oneshot-periodically.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0006-imsm-update-metadata-correctly-while-raid10-double-d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0007-Assemble-mask-FAILFAST-and-WRITEMOSTLY-flags-when-fi.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0008-Grow-avoid-overflow-in-compute_backup_blocks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0009-Grow-report-correct-new-chunk-size.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0010-policy.c-prevent-NULL-pointer-referencing.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0011-policy.c-Fix-for-compiler-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0012-imsm-finish-recovery-when-drive-with-rebuild-fails.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0013-imsm-fix-reshape-for-2TB-drives.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0014-Fix-spelling-typos.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0015-Detail.c-do-not-skip-first-character-when-calling-xs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0016-Fix-reshape-for-decreasing-data-offset.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0017-mdadm-tests-add-one-test-case-for-failfast-of-raid1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0018-mdmon-don-t-attempt-to-manage-new-arrays-when-termin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0019-mdmon-wait-for-previous-mdmon-to-exit-during-takeove.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0020-Assemble-Fix-starting-array-with-initial-reshape-che.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0021-add-missing-units-to-examine.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mdadm-4.1-no-Werror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + echo 'PROGRAM /usr/sbin/mdadm-syslog-events' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8h5NWf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mdadm-4.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make SYSCONFDIR=/etc 'CXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow' cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdadm.o -c mdadm.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o config.o -c config.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o policy.o -c policy.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdstat.o -c mdstat.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o ReadMe.o -c ReadMe.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o util.o -c util.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o maps.o -c maps.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o lib.o -c lib.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Manage.o -c Manage.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Assemble.o -c Assemble.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Build.o -c Build.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Create.o -c Create.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Detail.o -c Detail.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Examine.o -c Examine.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Grow.o -c Grow.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Monitor.o -c Monitor.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o dlink.o -c dlink.c In file included from /usr/include/string.h:519, from dlink.c:7: In function 'strncpy', inlined from 'dl_strndup' at dlink.c:66:5, inlined from 'dl_strdup' at dlink.c:73:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlink.c: In function 'dl_strdup': dlink.c:73:31: note: length computed here 73 | return dl_strndup(s, (int)strlen(s)); | ^~~~~~~~~ cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Kill.o -c Kill.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Query.o -c Query.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Incremental.o -c Incremental.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Dump.o -c Dump.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdopen.o -c mdopen.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super0.o -c super0.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super1.o -c super1.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-ddf.o -c super-ddf.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-intel.o -c super-intel.c super-intel.c: In function '__get_imsm_disk': super-intel.c:703:9: warning: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Waddress-of-packed-member] 703 | return &mpb->disk[index]; | ^~~~~~~~~~~~~~~~~ super-intel.c: In function '__gen_imsm_checksum': super-intel.c:737:2: warning: converting a packed 'struct imsm_super' pointer (alignment 1) to a '__u32' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 737 | __u32 *p = (__u32 *) mpb; | ^~~~~ super-intel.c:225:8: note: defined here 225 | struct imsm_super { | ^~~~~~~~~~ super-intel.c: In function 'set_pba_of_lba0': super-intel.c:1257:15: warning: taking address of packed member of 'struct imsm_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 1257 | split_ull(n, &map->pba_of_lba0_lo, &map->pba_of_lba0_hi); | ^~~~~~~~~~~~~~~~~~~~ super-intel.c:1257:37: warning: taking address of packed member of 'struct imsm_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 1257 | split_ull(n, &map->pba_of_lba0_lo, &map->pba_of_lba0_hi); | ^~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'set_blocks_per_member': super-intel.c:1262:15: warning: taking address of packed member of 'struct imsm_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 1262 | split_ull(n, &map->blocks_per_member_lo, &map->blocks_per_member_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1262:43: warning: taking address of packed member of 'struct imsm_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 1262 | split_ull(n, &map->blocks_per_member_lo, &map->blocks_per_member_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'set_num_data_stripes': super-intel.c:1267:15: warning: taking address of packed member of 'struct imsm_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 1267 | split_ull(n, &map->num_data_stripes_lo, &map->num_data_stripes_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1267:42: warning: taking address of packed member of 'struct imsm_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 1267 | split_ull(n, &map->num_data_stripes_lo, &map->num_data_stripes_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'set_imsm_dev_size': super-intel.c:1272:15: warning: taking address of packed member of 'struct imsm_dev' may result in an unaligned pointer value [-Waddress-of-packed-member] 1272 | split_ull(n, &dev->size_low, &dev->size_high); | ^~~~~~~~~~~~~~ super-intel.c:1272:31: warning: taking address of packed member of 'struct imsm_dev' may result in an unaligned pointer value [-Waddress-of-packed-member] 1272 | split_ull(n, &dev->size_low, &dev->size_high); | ^~~~~~~~~~~~~~~ super-intel.c: In function 'set_migr_chkp_area_pba': super-intel.c:1278:15: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1278 | split_ull(n, &migr_rec->ckpt_area_pba_lo, &migr_rec->ckpt_area_pba_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1278:44: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1278 | split_ull(n, &migr_rec->ckpt_area_pba_lo, &migr_rec->ckpt_area_pba_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'set_current_migr_unit': super-intel.c:1284:15: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1284 | split_ull(n, &migr_rec->curr_migr_unit_lo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1285:5: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1285 | &migr_rec->curr_migr_unit_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'set_migr_dest_1st_member_lba': super-intel.c:1291:15: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1291 | split_ull(n, &migr_rec->dest_1st_member_lba_lo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1292:5: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1292 | &migr_rec->dest_1st_member_lba_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'set_num_migr_units': super-intel.c:1298:15: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1298 | split_ull(n, &migr_rec->num_migr_units_lo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1299:5: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1299 | &migr_rec->num_migr_units_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'convert_to_4k_imsm_migr_rec': super-intel.c:1701:4: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1701 | &migr_rec->post_migr_vol_cap, &migr_rec->post_migr_vol_cap_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1701:34: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1701 | &migr_rec->post_migr_vol_cap, &migr_rec->post_migr_vol_cap_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'convert_from_4k_imsm_migr_rec': super-intel.c:1832:4: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1832 | &migr_rec->post_migr_vol_cap, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c:1833:4: warning: taking address of packed member of 'struct migr_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 1833 | &migr_rec->post_migr_vol_cap_hi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-intel.c: In function 'calc_component_size': super-intel.c:2891:20: warning: taking the absolute value of unsigned type 'long long unsigned int' has no effect [-Wabsolute-value] 2891 | if ((unsigned int)abs(calc_dev_size - dev_size) > | ^~~ super-intel.c:2891:20: warning: absolute value function 'abs' given an argument of type 'long long unsigned int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] super-intel.c: In function 'clear_hi': super-intel.c:4448:28: warning: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Waddress-of-packed-member] 4448 | struct imsm_disk *disk = &mpb->disk[i]; | ^~~~~~~~~~~~~ super-intel.c: In function 'write_super_imsm_spares': super-intel.c:6025:28: warning: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Waddress-of-packed-member] 6025 | convert_to_4k_imsm_disk(&spare->disk[0]); | ^~~~~~~~~~~~~~~ super-intel.c: In function 'apply_reshape_migration_update': super-intel.c:9276:4: warning: converting a packed 'struct imsm_dev' pointer (alignment 1) to a 'void *' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 9276 | tofree = (void **)dev; | ^~~~~~ super-intel.c:174:8: note: defined here 174 | struct imsm_dev { | ^~~~~~~~ cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o bitmap.o -c bitmap.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-mbr.o -c super-mbr.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-gpt.o -c super-gpt.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o restripe.o -c restripe.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o sysfs.o -c sysfs.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DHAVE_STDINT_H -o sha1.o -c sha1.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mapfile.o -c mapfile.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o crc32.o -c crc32.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o sg_io.o -c sg_io.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o msg.o -c msg.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o xmalloc.o -c xmalloc.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o platform-intel.o -c platform-intel.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o probe_roms.o -c probe_roms.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o crc32c.o -c crc32c.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -o mdadm mdadm.o config.o policy.o mdstat.o ReadMe.o util.o maps.o lib.o Manage.o Assemble.o Build.o Create.o Detail.o Examine.o Grow.o Monitor.o dlink.o Kill.o Query.o Incremental.o Dump.o mdopen.o super0.o super1.o super-ddf.o super-intel.o bitmap.o super-mbr.o super-gpt.o restripe.o sysfs.o sha1.o mapfile.o crc32.o sg_io.o msg.o xmalloc.o platform-intel.o probe_roms.o crc32c.o -ldl cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdmon.o -c mdmon.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o monitor.o -c monitor.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o managemon.o -c managemon.c cc -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wimplicit-fallthrough=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-truncation -Wno-error=restrict -Wno-format-overflow -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -pthread -Wl,-z,now -o mdmon mdmon.o monitor.o managemon.o util.o maps.o mdstat.o sysfs.o policy.o lib.o Kill.o sg_io.o dlink.o ReadMe.o super-intel.o super-mbr.o super-gpt.o super-ddf.o sha1.o crc32.o msg.o bitmap.o xmalloc.o platform-intel.o probe_roms.o crc32c.o -ldl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qyt56c + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 + cd mdadm-4.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 'INSTALL=/usr/bin/install -p' MANDIR=/usr/share/man BINDIR=/usr/sbin UDEVDIR=/usr/lib/udev sed -e 's/{DEFAULT_METADATA}/1.2/g' \ -e 's,{MAP_PATH},/run/mdadm/map,g' mdadm.8.in > mdadm.8 /usr/bin/install -p -D -m 644 mdadm.8 /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/man/man8/mdadm.8 /usr/bin/install -p -D -m 644 mdmon.8 /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/man/man8/mdmon.8 /usr/bin/install -p -D -m 644 md.4 /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/man/man4/md.4 /usr/bin/install -p -D -m 644 mdadm.conf.5 /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/man/man5/mdadm.conf.5 /usr/bin/install -p -D -m 644 udev-md-raid-creating.rules /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/udev/rules.d/01-md-raid-creating.rules /usr/bin/install -p -D -m 644 udev-md-raid-arrays.rules /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/udev/rules.d/63-md-raid-arrays.rules /usr/bin/install -p -D -m 644 udev-md-raid-assembly.rules /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/udev/rules.d/64-md-raid-assembly.rules /usr/bin/install -p -D -m 644 udev-md-clustered-confirm-device.rules /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/udev/rules.d/69-md-clustered-confirm-device.rules /usr/bin/install -p -D -m 755 mdadm /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdadm /usr/bin/install -p -D -m 755 mdmon /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdmon + install -Dp -m 644 mdadm.conf-example /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/etc/mdadm.conf + install -Dp /home/iurt/rpmbuild/SOURCES/mdadm-raid-check /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/raid-check + install -Dp -m 644 /home/iurt/rpmbuild/SOURCES/mdadm-raid-check-sysconfig /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/etc/sysconfig/raid-check + install -Dp -m 644 /home/iurt/rpmbuild/SOURCES/mdadm-cron /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/etc/cron.d/raid-check + install -Dp misc/syslog-events /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdadm-syslog-events + install -d -m 755 /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/systemd/system + install -m 644 /home/iurt/rpmbuild/SOURCES/mdmonitor.service /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/systemd/system + install -m 644 /home/iurt/rpmbuild/SOURCES/mdmonitor-takeover.service /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/systemd/system + ln -s mdmonitor.service /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/systemd/system/mdadm.service + install -D -p -m 644 /home/iurt/rpmbuild/SOURCES/mdadm-tmpfiles.conf /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/lib/tmpfiles.d/mdadm.conf + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 4.1-5.mga8 --unique-debug-suffix -4.1-5.mga8.aarch64 --unique-debug-src-base mdadm-4.1-5.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/mdadm-4.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdadm explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdmon extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdadm extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/sbin/mdmon original debug info size: 4304kB, size after compression: 3904kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 3095 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/raid-check from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/mdadm-syslog-events from /bin/sh to #!/usr/bin/sh Processing files: mdadm-4.1-5.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.P58xrc + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mdadm-4.1 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/doc/mdadm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/doc/mdadm + cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/doc/mdadm + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/doc/mdadm + cp -pr README.initramfs /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/doc/mdadm + cp -pr ANNOUNCE-3.0 ANNOUNCE-3.0.1 ANNOUNCE-3.0.2 ANNOUNCE-3.0.3 ANNOUNCE-3.1 ANNOUNCE-3.1.1 ANNOUNCE-3.1.2 ANNOUNCE-3.1.3 ANNOUNCE-3.1.4 ANNOUNCE-3.1.5 ANNOUNCE-3.2 ANNOUNCE-3.2.1 ANNOUNCE-3.2.2 ANNOUNCE-3.2.3 ANNOUNCE-3.2.4 ANNOUNCE-3.2.5 ANNOUNCE-3.2.6 ANNOUNCE-3.3 ANNOUNCE-3.3.1 ANNOUNCE-3.3.2 ANNOUNCE-3.3.3 ANNOUNCE-3.3.4 ANNOUNCE-3.4 ANNOUNCE-4.0 ANNOUNCE-4.1 /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64/usr/share/doc/mdadm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mdadm) = 4.1-5.mga8 mdadm = 4.1-5.mga8 mdadm(aarch-64) = 4.1-5.mga8 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): filesystem >= 2.1.9-18 Requires(post): /bin/sh rpm-helper >= 0.24.8-1 systemd >= 195 Requires(preun): /bin/sh rpm-helper >= 0.24.8-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) Conflicts: udev < 145-2 Processing files: mdadm-debugsource-4.1-5.mga8.aarch64 Provides: mdadm-debugsource = 4.1-5.mga8 mdadm-debugsource(aarch-64) = 4.1-5.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mdadm-debuginfo-4.1-5.mga8.aarch64 Provides: debuginfo(build-id) = 043697f4d889d4563b300f8cfcb3b99c089a045c debuginfo(build-id) = d8796be99cb1bd61a2ad5ce66bd85259dfc14b79 mdadm-debuginfo = 4.1-5.mga8 mdadm-debuginfo(aarch-64) = 4.1-5.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mdadm-debugsource(aarch-64) = 4.1-5.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/mdadm-4.1-5.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/mdadm-debugsource-4.1-5.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/mdadm-debuginfo-4.1-5.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.10Nx1d + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mdadm-4.1 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/mdadm-4.1-5.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ydUR3e + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf mdadm-4.1 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!