D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/dmraid-1.0.0-0.rc16.31.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kT97k3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf dmraid/1.0.0.rc16 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/dmraid-1.0.0.rc16.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dmraid/1.0.0.rc16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dmraid-1.0.0.rc16-test_devices.patch):' Patch #0 (dmraid-1.0.0.rc16-test_devices.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .test_devices --fuzz=0 patching file configure.in patching file configure patching file lib/device/scan.c + echo 'Patch #1 (ddf1_lsi_persistent_name.patch):' Patch #1 (ddf1_lsi_persistent_name.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ddf1_lsi_persistent_name --fuzz=0 patching file lib/format/ddf/ddf1.c + echo 'Patch #2 (pdc_raid10_failure.patch):' Patch #2 (pdc_raid10_failure.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pdc_raid10_failure --fuzz=0 patching file lib/format/ataraid/pdc.c + echo 'Patch #3 (return_error_wo_disks.patch):' Patch #3 (return_error_wo_disks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .return_error_wo_disks --fuzz=0 patching file lib/metadata/metadata.c + echo 'Patch #4 (fix_sil_jbod.patch):' Patch #4 (fix_sil_jbod.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_sil_jbod --fuzz=0 patching file lib/format/ataraid/sil.c + echo 'Patch #5 (avoid_register.patch):' Patch #5 (avoid_register.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .avoid_register --fuzz=0 patching file lib/activate/activate.c + echo 'Patch #7 (libversion.patch):' Patch #7 (libversion.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libversion --fuzz=0 patching file lib/version.h + echo 'Patch #8 (libversion-display.patch):' Patch #8 (libversion-display.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libversion_display --fuzz=0 patching file lib/misc/lib_context.c + echo 'Patch #9 (bz635995-data_corruption_during_activation_volume_marked_for_rebuild.patch):' Patch #9 (bz635995-data_corruption_during_activation_volume_marked_for_rebuild.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bz635995 --fuzz=0 patching file lib/activate/activate.c Hunk #4 succeeded at 546 (offset 5 lines). patching file lib/format/ataraid/isw.c + echo 'Patch #11 (bz626417_19-enabling_registration_degraded_volume.patch):' Patch #11 (bz626417_19-enabling_registration_degraded_volume.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bz626417_19 --fuzz=0 patching file lib/events/libdmraid-events-isw.c patching file lib/register/dmreg.c + echo 'Patch #12 (bz626417_20-cleanup_some_compilation_warning.patch):' Patch #12 (bz626417_20-cleanup_some_compilation_warning.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bz626417_20 --fuzz=0 patching file lib/events/libdmraid-events-isw.c patching file lib/format/ataraid/isw.c patching file lib/register/dmreg.c + echo 'Patch #13 (bz626417_21-add_option_that_postpones_any_metadata_updates.patch):' Patch #13 (bz626417_21-add_option_that_postpones_any_metadata_updates.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bz626417_21 --fuzz=0 patching file include/dmraid/lib_context.h patching file lib/metadata/reconfig.c patching file man/dmraid.8 patching file tools/commands.c + echo 'Patch #101 (lib-events-libdmraid-events-isw-strfmt.patch):' Patch #101 (lib-events-libdmraid-events-isw-strfmt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libdmraid_events_isw_strfmt --fuzz=0 patching file lib/events/libdmraid-events-isw.c + echo 'Patch #102 (fix-linking.patch):' Patch #102 (fix-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .linking --fuzz=0 patching file lib/Makefile.in patching file make.tmpl.in + echo 'Patch #103 (libdmraid-events-soname.patch):' Patch #103 (libdmraid-events-soname.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib_events_soname --fuzz=0 patching file lib/Makefile.in + echo 'Patch #104 (libdmraid-events-install.patch):' Patch #104 (libdmraid-events-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib_events_install --fuzz=0 patching file lib/Makefile.in + echo 'Patch #105 (pdc-add-extra-offsets.patch):' Patch #105 (pdc-add-extra-offsets.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pdc-extra-offsets --fuzz=0 patching file lib/format/ataraid/pdc.h + echo 'Patch #106 (activate-multiple-raid-sets.patch):' Patch #106 (activate-multiple-raid-sets.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .activate-multiple-raid --fuzz=0 patching file lib/metadata/metadata.c + echo 'Patch #110 (12_support_virtio_devices.patch):' Patch #110 (12_support_virtio_devices.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .virtio --fuzz=0 patching file lib/device/scan.c + echo 'Patch #111 (17_isw-probe-hpa.patch):' Patch #111 (17_isw-probe-hpa.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .hpa --fuzz=0 patching file lib/format/ataraid/isw.c patching file lib/format/ataraid/isw.h + echo 'Patch #112 (20_fix_isw_sectors_calculation.patch):' Patch #112 (20_fix_isw_sectors_calculation.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .isw_sectors --fuzz=0 patching file lib/format/ataraid/isw.c + echo 'Patch #113 (21_fix_testing.patch):' Patch #113 (21_fix_testing.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .block_testing --fuzz=0 patching file lib/device/scan.c + echo 'Patch #114 (21_jmicron_namefix.patch):' Patch #114 (21_jmicron_namefix.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .jmicron_namefix --fuzz=0 patching file lib/format/ataraid/jm.c + echo 'Patch #115 (23_pdc_dump_extended_metadata.patch):' Patch #115 (23_pdc_dump_extended_metadata.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .pdc_ext_metadata --fuzz=0 patching file lib/format/ataraid/pdc.c + echo 'Patch #116 (24_drop_p_for_partition_conditional.patch):' Patch #116 (24_drop_p_for_partition_conditional.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix ._partition_cond_p --fuzz=0 patching file lib/format/partition/dos.c + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub autoconf/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.QoLl23 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd dmraid/1.0.0.rc16 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./autoconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./autoconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./autoconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./autoconf/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 ++ id -un ++ id -gn + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-user=iurt --with-group=iurt --disable-libselinux --disable-libsepol --enable-led --enable-intel_led --enable-shared_lib configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether x86_64-mageia-linux-gnu-gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl config.status: WARNING: 'make.tmpl.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking + make make -C include make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/include' make -C lib make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/lib' x86_64-mageia-linux-gnu-gcc -MM -MF activate/activate.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o x86_64-mageia-linux-gnu-gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o x86_64-mageia-linux-gnu-gcc -MM -MF device/ata.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o x86_64-mageia-linux-gnu-gcc -MM -MF device/partition.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o x86_64-mageia-linux-gnu-gcc -MM -MF device/scan.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c -o device/scan.o x86_64-mageia-linux-gnu-gcc -MM -MF device/scsi.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o x86_64-mageia-linux-gnu-gcc -MM -MF display/display.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c -o display/display.o x86_64-mageia-linux-gnu-gcc -MM -MF format/format.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c -o format/format.o x86_64-mageia-linux-gnu-gcc -MM -MF locking/locking.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c -o locking/locking.o x86_64-mageia-linux-gnu-gcc -MM -MF log/log.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c -o log/log.o x86_64-mageia-linux-gnu-gcc -MM -MF metadata/log_ops.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o x86_64-mageia-linux-gnu-gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o metadata/metadata.c: In function 'create_raidset': metadata/metadata.c:1436:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1436 | } while (end++ != '\0'); | ^~ metadata/metadata.c:1436:11: note: did you mean to dereference the pointer? 1436 | } while (end++ != '\0'); | ^ x86_64-mageia-linux-gnu-gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o metadata/reconfig.c: In function 'handle_dev': metadata/reconfig.c:462:15: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 462 | if (h->type == rs->type) | ^~ metadata/reconfig.c:464:23: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 464 | } while ((++h)->type != t_undef); | ^~ x86_64-mageia-linux-gnu-gcc -MM -MF misc/file.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c -o misc/file.o x86_64-mageia-linux-gnu-gcc -MM -MF misc/init.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c -o misc/init.o x86_64-mageia-linux-gnu-gcc -MM -MF misc/lib_context.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c -o misc/lib_context.o x86_64-mageia-linux-gnu-gcc -MM -MF misc/misc.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o x86_64-mageia-linux-gnu-gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c -o misc/workaround.o x86_64-mageia-linux-gnu-gcc -MM -MF mm/dbg_malloc.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c -o mm/dbg_malloc.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/asr.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o format/ataraid/asr.c: In function 'check_rd': format/ataraid/asr.c:1034:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 1034 | return rd->type != s_broken; | ^~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o format/ataraid/hpt37x.c: In function 'hpt37x_log': format/ataraid/hpt37x.c:356:12: warning: taking address of packed member of 'struct hpt37x' may result in an unaligned pointer value [-Waddress-of-packed-member] 356 | for (el = hpt->errorlog; el < hpt->errorlog + 32; el++) { | ^~~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o format/ataraid/isw.c: In function '_get_disk': format/ataraid/isw.c:141:27: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 141 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function 'name': format/ataraid/isw.c:203:26: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 203 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function '_checksum': format/ataraid/isw.c:303:3: warning: converting a packed 'struct isw' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 303 | *p = (uint32_t *) isw, ret = 0; | ^ In file included from format/ataraid/isw.c:31: format/ataraid/isw.h:203:8: note: defined here 203 | struct isw { | ^~~ format/ataraid/isw.c: In function 'get_rs_status': format/ataraid/isw.c:1187:10: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1187 | disk = isw->disk; | ^~~ format/ataraid/isw.c:1167:19: warning: variable 'disk' set but not used [-Wunused-but-set-variable] 1167 | struct isw_disk *disk; | ^~~~ format/ataraid/isw.c: In function 'get_rebuild_state': format/ataraid/isw.c:1238:11: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1238 | disk = isw->disk; | ^~~ format/ataraid/isw.c: In function 'isw_metadata_handler': format/ataraid/isw.c:1368:10: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1368 | disk = isw->disk; | ^~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1879:9: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1879 | disk = isw->disk; | ^~~ format/ataraid/isw.c: In function '_isw_create_second_volume': format/ataraid/isw.c:1976:37: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1976 | total_size = _cal_array_size(isw_v1->disk, rs, dev1); | ~~~~~~^~~~~~ format/ataraid/isw.c: In function '_isw_log': format/ataraid/isw.c:2243:21: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2243 | for (d = 0, disk = isw->disk; d < isw->num_disks; d++, disk++) { | ^~~ format/ataraid/isw.c: In function 'update_metadata': format/ataraid/isw.c:2713:26: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2713 | struct isw_disk *disk = isw->disk, *new_disk = NULL; | ^~~ In file included from /usr/include/string.h:495, from ./internal.h:22, from format/ataraid/isw.c:28: In function 'strncpy', inlined from 'isw_remove_dev' at format/ataraid/isw.c:2448:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'isw_remove_dev' at format/ataraid/isw.c:2453:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'isw_config_dev' at format/ataraid/isw.c:1766:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from '_isw_create_first_volume' at format/ataraid/isw.c:1901:2, inlined from '_isw_create_raidset' at format/ataraid/isw.c:2114:9, inlined from 'isw_create' at format/ataraid/isw.c:2170:9, inlined from 'isw_create' at format/ataraid/isw.c:2157:1: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'update_metadata' at format/ataraid/isw.c:2828:2, inlined from 'isw_create' at format/ataraid/isw.c:2173:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o format/ataraid/jm.c: In function 'checksum': format/ataraid/jm.c:86:2: warning: converting a packed 'struct jm' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 86 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^~~~~~~~ In file included from format/ataraid/jm.c:14: format/ataraid/jm.h:22:8: note: defined here 22 | struct jm { | ^~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function 'checksum': format/ataraid/pdc.c:108:2: warning: converting a packed 'struct pdc' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 108 | uint32_t *p = (uint32_t *) pdc; | ^~~~~~~~ In file included from format/ataraid/pdc.c:18: format/ataraid/pdc.h:27:8: note: defined here 27 | struct pdc { | ^~~ format/ataraid/pdc.c: In function '_pdc_log': format/ataraid/pdc.c:592:15: warning: taking address of packed member of 'struct pdc' may result in an unaligned pointer value [-Waddress-of-packed-member] 592 | for (disk = pdc->raid.disk, i = 0; | ^~~ format/ataraid/pdc.c: In function 'pdc_read_metadata': format/ataraid/pdc.c:221:23: warning: 'ma' may be used uninitialized in this function [-Wmaybe-uninitialized] 221 | *size = sizeof(*ret) * ma; | ~~~~~~~~~~~~~^~~~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o format/ataraid/sil.c: In function 'checksum': format/ataraid/sil.c:97:2: warning: converting a packed 'struct sil' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 97 | uint16_t *p = (uint16_t *) sil; | ^~~~~~~~ In file included from format/ataraid/sil.c:14: format/ataraid/sil.h:19:8: note: defined here 19 | struct sil { | ^~~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o format/ddf/ddf1.c: In function 'check_rd': format/ddf/ddf1.c:886:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 886 | return rd->type != s_broken; | ^~ In file included from /usr/include/string.h:495, from ./internal.h:22, from format/ddf/ddf1.c:13: In function 'strncpy', inlined from 'name' at format/ddf/ddf1.c:708:4, inlined from 'group_rd' at format/ddf/ddf1.c:772:20, inlined from 'ddf1_group' at format/ddf/ddf1.c:842:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o format/ddf/ddf1_crc.c: In function 'crc32_vd': format/ddf/ddf1_crc.c:100:10: warning: taking address of packed member of 'struct ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:108:1: note: in expansion of macro 'CRC32' 108 | CRC32(vd, ddf1_config_record, CR); | ^~~~~ format/ddf/ddf1_crc.c: In function 'crc32_spare': format/ddf/ddf1_crc.c:100:10: warning: taking address of packed member of 'struct ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:109:1: note: in expansion of macro 'CRC32' 109 | CRC32(spare, ddf1_spare_header, SR); | ^~~~~ format/ddf/ddf1_crc.c: In function 'vd_check_crc': format/ddf/ddf1_crc.c:149:10: warning: taking address of packed member of 'struct ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:156:1: note: in expansion of macro 'CHECK_CRC' 156 | CHECK_CRC(vd, ddf1_config_record, CR, "VD CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function 'spare_check_crc': format/ddf/ddf1_crc.c:149:10: warning: taking address of packed member of 'struct ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:157:1: note: in expansion of macro 'CHECK_CRC' 157 | CHECK_CRC(spare, ddf1_spare_header, SR, "Spare CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function 'all_crcs': format/ddf/ddf1_crc.c:182:19: warning: taking address of packed member of 'struct ddf1_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | {ddf1->primary, &ddf1->primary->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:185:21: warning: taking address of packed member of 'struct ddf1_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 185 | {ddf1->secondary, &ddf1->secondary->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:188:19: warning: taking address of packed member of 'struct ddf1_adapter' may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | {ddf1->adapter, &ddf1->adapter->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:191:21: warning: taking address of packed member of 'struct ddf1_disk_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | {ddf1->disk_data, &ddf1->disk_data->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:194:21: warning: taking address of packed member of 'struct ddf1_phys_drives' may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | {ddf1->pd_header, &ddf1->pd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:198:21: warning: taking address of packed member of 'struct ddf1_virt_drives' may result in an unaligned pointer value [-Waddress-of-packed-member] 198 | {ddf1->vd_header, &ddf1->vd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ x86_64-mageia-linux-gnu-gcc -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o x86_64-mageia-linux-gnu-gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o x86_64-mageia-linux-gnu-gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o x86_64-mageia-linux-gnu-gcc -MM -MF register/dmreg.d -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE register/dmreg.c; \ x86_64-mageia-linux-gnu-gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE register/dmreg.c -o register/dmreg.o rm -f ../lib/libdmraid.a ar r ../lib/libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o register/dmreg.o ar: creating ../lib/libdmraid.a x86_64-mageia-linux-gnu-ranlib ../lib/libdmraid.a x86_64-mageia-linux-gnu-gcc -shared -Wl,-soname,libdmraid.so.1 \ -Wl,--version-script,.export.sym activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o register/dmreg.o -o ../lib/libdmraid.so -ldevmapper-event -ldl x86_64-mageia-linux-gnu-gcc events/libdmraid-events-isw.c -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -o ../lib/libdmraid-events-isw.so -ldevmapper -ldevmapper-event -lpthread ../lib/libdmraid.so events/libdmraid-events-isw.c: In function '_process_mirror_event': events/libdmraid-events-isw.c:1244:6: warning: 'log_status_str' may be used uninitialized in this function [-Wmaybe-uninitialized] 1244 | *log_status_str == 'D') { | ^~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function '_create_raid_set.constprop': events/libdmraid-events-isw.c:905:19: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 905 | sprintf(path, "%s%s%s", sys_block_path, dev_name, sys_slaves_dir); | ^~ In file included from /usr/include/stdio.h:867, from events/libdmraid-events-isw.c:72: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c:422:19: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 422 | sprintf(path, "%s%s", sys_block_path, dev_name); | ^~ In file included from /usr/include/stdio.h:867, from events/libdmraid-events-isw.c:72: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function '_process_stripe_event': events/libdmraid-events-isw.c:534:5: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] 534 | if (args) | ^ events/libdmraid-events-isw.c:1079:9: note: 'args' was declared here 1079 | char **args, *dev_status_str, *p; | ^~~~ ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/lib' make -C man make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/man' make -C tools make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/tools' x86_64-mageia-linux-gnu-gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \ x86_64-mageia-linux-gnu-gcc -c -I -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o x86_64-mageia-linux-gnu-gcc -MM -MF commands.d -I -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \ x86_64-mageia-linux-gnu-gcc -c -I -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o x86_64-mageia-linux-gnu-gcc -MM -MF toollib.d -I -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \ x86_64-mageia-linux-gnu-gcc -c -I -I. -I../include -I../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o x86_64-mageia-linux-gnu-gcc -o dmraid dmraid.o commands.o toollib.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -rdynamic -L../lib \ -L/lib64 -ldmraid -ldevmapper -ldevmapper-event -ldmraid -ldevmapper -ldl x86_64-mageia-linux-gnu-gcc -o dmevent_tool dmevent_tool.c -I -I. -I../include -I../lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -rdynamic -L../lib \ -L/lib64 -ldmraid -ldevmapper -ldevmapper-event -ldmraid -ldevmapper -ldl dmevent_tool.c:126:8: warning: return type defaults to 'int' [-Wimplicit-int] 126 | static _process_opt(int opt, const char *cmd) | ^~~~~~~~~~~~ dmevent_tool.c: In function '_process_opt': dmevent_tool.c:151:4: warning: 'return' with no value, in function returning non-void 151 | return; | ^~~~~~ dmevent_tool.c:126:8: note: declared here 126 | static _process_opt(int opt, const char *cmd) | ^~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16/tools' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZOcFn1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64 + cd dmraid/1.0.0.rc16 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr exec_prefix=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr bindir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/bin sbindir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/sbin sysconfdir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/etc datadir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share includedir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/include libdir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64 libexecdir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/libexec localstatedir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/var sharedstatedir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/var/lib mandir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/man infodir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/info install -s sbindir=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so Installing dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/include/dmraid ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so Installing ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64 Installing dmraid.8 dmevent_tool.8 in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/man/man8 Installing dmraid dmevent_tool in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin + rm -f /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid.a + install -D -p -m 644 /home/iurt/rpmbuild/SOURCES/dmraid-tmpfiles.conf /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/lib/tmpfiles.d/dmraid.conf + install -d /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/lib/systemd + install -d /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/lib/systemd/system + install -p -m 755 /home/iurt/rpmbuild/SOURCES/fedora-dmraid-activation /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/lib/systemd/fedora-dmraid-activation + install -p -m 444 /home/iurt/rpmbuild/SOURCES/dmraid-activation.service /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/lib/systemd/system/dmraid-activation.service + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 1.0.0-0.rc16.31.mga8 --unique-debug-suffix -1.0.0-0.rc16.31.mga8.x86_64 --unique-debug-src-base dmraid-1.0.0-0.rc16.31.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/dmraid/1.0.0.rc16 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid-events-isw.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid.so.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin/dmraid explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin/dmevent_tool extracting debug info from /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid-events-isw.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid.so.1 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin/dmraid extracting debug info from /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin/dmevent_tool gdb-add-index: No index was created for /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/sbin/dmevent_tool gdb-add-index: [Was there no debuginfo? Was there already an index?] objcopy: unable to copy file '/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid-events-isw.so'; reason: Permission denied objcopy: unable to copy file '/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid.so.1'; reason: Permission denied objcopy: unable to copy file '/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid-events-isw.so'; reason: Permission denied objcopy: unable to copy file '/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/lib64/libdmraid.so.1'; reason: Permission denied original debug info size: 1052kB, size after compression: 940kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 1 CRC32s did match. 1170 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/lib/systemd/fedora-dmraid-activation from /bin/bash to #!/usr/bin/bash *** WARNING: ./usr/include/dmraid/misc.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/display.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/reconfig.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/dmreg.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/format.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/locking.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/metadata.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/lib_context.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/dmraid.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/dmraid/list.h is executable but has no shebang, removing executable bit Processing files: dmraid-1.0.0-0.rc16.31.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YsqQN3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd dmraid/1.0.0.rc16 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + cp -pr CHANGELOG /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + cp -pr CREDITS /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + cp -pr KNOWN_BUGS /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + cp -pr README /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + cp -pr doc/dmraid_design.txt /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64/usr/share/doc/dmraid + RPM_EC=0 ++ jobs -p + exit 0 Provides: dmraid = 1.0.0-0.rc16.31.mga8 dmraid(x86-64) = 1.0.0-0.rc16.31.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(post): /bin/sh systemd >= 195 Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdevmapper.so.1.02()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) Processing files: lib64dmraid1-1.0.0-0.rc16.31.mga8.x86_64 Provides: lib64dmraid1 = 1.0.0-0.rc16.31.mga8 lib64dmraid1(x86-64) = 1.0.0-0.rc16.31.mga8 libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdevmapper-event.so.1.02()(64bit) libdevmapper-event.so.1.02(Base)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) Processing files: lib64dmraid-devel-1.0.0-0.rc16.31.mga8.x86_64 Provides: devel(libdmraid(64bit)) dmraid-devel = 1.0.0-0.rc16.31.mga8 dmraid-devel(x86-64) = 1.0.0-0.rc16.31.mga8 lib64dmraid-devel = 1.0.0-0.rc16.31.mga8 lib64dmraid-devel(x86-64) = 1.0.0-0.rc16.31.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libdevmapper-event(64bit)) devel(libdl(64bit)) Processing files: dmraid-events-1.0.0-0.rc16.31.mga8.x86_64 Provides: dmraid-events = 1.0.0-0.rc16.31.mga8 dmraid-events(x86-64) = 1.0.0-0.rc16.31.mga8 libdmraid-events-isw.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdevmapper-event.so.1.02()(64bit) libdevmapper-event.so.1.02(Base)(64bit) libdevmapper.so.1.02()(64bit) libdevmapper.so.1.02(Base)(64bit) libdevmapper.so.1.02(DM_1_02_103)(64bit) libdevmapper.so.1.02(DM_1_02_97)(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) Processing files: dmraid-debugsource-1.0.0-0.rc16.31.mga8.x86_64 Provides: dmraid-debugsource = 1.0.0-0.rc16.31.mga8 dmraid-debugsource(x86-64) = 1.0.0-0.rc16.31.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dmraid-debuginfo-1.0.0-0.rc16.31.mga8.x86_64 Provides: debuginfo(build-id) = c3af8a1bd943984fc9782fa451108566842721d5 dmraid-debuginfo = 1.0.0-0.rc16.31.mga8 dmraid-debuginfo(x86-64) = 1.0.0-0.rc16.31.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmraid-debugsource(x86-64) = 1.0.0-0.rc16.31.mga8 Processing files: lib64dmraid1-debuginfo-1.0.0-0.rc16.31.mga8.x86_64 Provides: debuginfo(build-id) = 3a9162fa6f59543a43e6be4612e79f01cbd3c8b7 lib64dmraid1-debuginfo = 1.0.0-0.rc16.31.mga8 lib64dmraid1-debuginfo(x86-64) = 1.0.0-0.rc16.31.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmraid-debugsource(x86-64) = 1.0.0-0.rc16.31.mga8 Processing files: dmraid-events-debuginfo-1.0.0-0.rc16.31.mga8.x86_64 Provides: debuginfo(build-id) = 207f9b28634ebf493fab521465729a3e09911941 debuginfo(build-id) = f29736b032554e76827e15d785dbbe2e4471c5b4 dmraid-events-debuginfo = 1.0.0-0.rc16.31.mga8 dmraid-events-debuginfo(x86-64) = 1.0.0-0.rc16.31.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmraid-debugsource(x86-64) = 1.0.0-0.rc16.31.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/dmraid-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64dmraid-devel-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/dmraid-events-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/dmraid-events-debuginfo-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64dmraid1-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/dmraid-debuginfo-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64dmraid1-debuginfo-1.0.0-0.rc16.31.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/dmraid-debugsource-1.0.0-0.rc16.31.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zgwX64 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd dmraid/1.0.0.rc16 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/dmraid-1.0.0-0.rc16.31.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gRgrG4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf dmraid/1.0.0.rc16 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!