+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/smartmontools.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Swc7M5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smartmontools-6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/smartmontools-6.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd smartmontools-6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (smartmontools-5.38-defaultconf.patch):' Patch #1 (smartmontools-5.38-defaultconf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .defaultconf --fuzz=0 patching file smartd.conf + curl 'https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw' -o /builddir/build/SOURCES/drivedb.h % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 48747 0 48747 0 0 27903 0 --:--:-- 0:00:01 --:--:-- 28193 100 173k 0 173k 0 0 92750 0 --:--:-- 0:00:01 --:--:-- 93579 + cp /builddir/build/SOURCES/drivedb.h . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kb16wW + umask 022 + cd /builddir/build/BUILD + cd smartmontools-6.5 + autoreconf -i Makefile.am:198: warning: source file 'getopt/getopt.c' is in a subdirectory, Makefile.am:198: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Makefile.am:198: warning: source file 'getopt/getopt1.c' is in a subdirectory, Makefile.am:198: but option 'subdir-objects' is disabled Makefile.am:212: warning: source file 'regex/regex.c' is in a subdirectory, Makefile.am:212: but option 'subdir-objects' is disabled Makefile.am:237: warning: source file 'os_win32/wmiquery.cpp' is in a subdirectory, Makefile.am:237: but option 'subdir-objects' is disabled Makefile.am:223: warning: source file 'regex/regcomp.c' is in a subdirectory, Makefile.am:223: but option 'subdir-objects' is disabled Makefile.am:223: warning: source file 'regex/regexec.c' is in a subdirectory, Makefile.am:223: but option 'subdir-objects' is disabled Makefile.am:223: warning: source file 'regex/regex_internal.c' is in a subdirectory, Makefile.am:223: but option 'subdir-objects' is disabled Makefile.am:181: warning: source file 'os_win32/daemon_win32.cpp' is in a subdirectory, Makefile.am:181: but option 'subdir-objects' is disabled Makefile.am:181: warning: source file 'os_win32/syslog_win32.cpp' is in a subdirectory, Makefile.am:181: but option 'subdir-objects' is disabled Makefile.am:203: warning: source file 'getopt/getopt.c' is in a subdirectory, Makefile.am:203: but option 'subdir-objects' is disabled Makefile.am:203: warning: source file 'getopt/getopt1.c' is in a subdirectory, Makefile.am:203: but option 'subdir-objects' is disabled Makefile.am:217: warning: source file 'regex/regex.c' is in a subdirectory, Makefile.am:217: but option 'subdir-objects' is disabled Makefile.am:242: warning: source file 'os_win32/wmiquery.cpp' is in a subdirectory, Makefile.am:242: but option 'subdir-objects' is disabled Makefile.am:228: warning: source file 'regex/regcomp.c' is in a subdirectory, Makefile.am:228: but option 'subdir-objects' is disabled Makefile.am:228: warning: source file 'regex/regexec.c' is in a subdirectory, Makefile.am:228: but option 'subdir-objects' is disabled Makefile.am:228: warning: source file 'regex/regex_internal.c' is in a subdirectory, Makefile.am:228: but option 'subdir-objects' is disabled + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-selinux --with-libcap-ng=yes --with-systemdsystemunitdir=/usr/lib/systemd/system --sysconfdir=/etc/smartmontools/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking whether this is a build from SVN... no checking how to run the C++ preprocessor... g++ -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 locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking dev/ata/atavar.h usability... no checking dev/ata/atavar.h presence... no checking for dev/ata/atavar.h... no checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking sys/tweio.h usability... no checking sys/tweio.h presence... no checking for sys/tweio.h... no checking sys/twereg.h usability... no checking sys/twereg.h presence... no checking for sys/twereg.h... no checking sys/tw_osl_ioctl.h usability... no checking sys/tw_osl_ioctl.h presence... no checking for sys/tw_osl_ioctl.h... no checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking dev/ciss/cissio.h usability... no checking dev/ciss/cissio.h presence... no checking for dev/ciss/cissio.h... no checking for linux/cciss_ioctl.h... yes checking for ntdddisk.h... no checking for ddk/ntdddisk.h... no checking wbemcli.h usability... no checking wbemcli.h presence... no checking for wbemcli.h... no checking for int64_t... yes checking for uint64_t... yes checking for getopt_long... yes checking for regcomp... yes checking for sigset... yes checking for strtoull... yes checking for uname... yes checking for clock_gettime... yes checking for ftime... yes checking for gettimeofday... yes checking whether byte ordering is bigendian... no checking whether g++ supports __attribute__((packed))... yes checking for path of systemd EnvironmentFile... ${sysconfdir}/sysconfig/smartmontools checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking for matchpathcon in -lselinux... yes checking for capng_clear in -lcap-ng... yes checking cap-ng.h usability... yes checking cap-ng.h presence... yes checking for cap-ng.h... yes checking whether to use libcap-ng... yes checking whether os_linux.cpp uses new interface... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands checking whether make sets $(MAKE)... (cached) yes configure: ----------------------------------------------------------------------------- smartmontools-6.5 configuration: host operating system: riscv64-redhat-linux-gnu C++ compiler: g++ C compiler: gcc preprocessor flags: C++ compiler flags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -W C compiler flags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 linker flags: -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld OS specific modules: os_linux.o cciss.o dev_areca.o -lselinux binary install path: /usr/sbin man page install path: /usr/share/man doc file install path: /usr/share/doc/smartmontools examples install path: /usr/share/doc/smartmontools/examplescripts drive database file: /usr/share/smartmontools/drivedb.h database update script: /usr/sbin/update-smart-drivedb download tools: curl wget lynx svn local drive database: /etc/smartmontools/smart_drivedb.h smartd config file: /etc/smartmontools/smartd.conf smartd warning script: /etc/smartmontools/smartd_warning.sh smartd plugin path: /etc/smartmontools/smartd_warning.d smartd systemd file: /usr/lib/systemd/system/smartd.service smartd environ file: /etc/smartmontools/sysconfig/smartmontools smartd save files: [disabled] smartd attribute logs: [disabled] libcap-ng support: yes SELinux support: yes NVMe DEVICESCAN: no ----------------------------------------------------------------------------- configure: WARNING: This version of smartmontools provides NVMe support which is still EXPERIMENTAL. NVMe devices are not yet included in smartd.conf 'DEVICESCAN' and 'smartctl --scan' unless '-d nvme' is specified. Use option '--with-nvme-devicescan' to include NVMe devices. Use option '--without-nvme-devicescan' to suppress this warning. + make 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie' 'LDFLAGS=-pie -Wl,-z,relro,-z,now' make all-am make[1]: Entering directory '/builddir/build/BUILD/smartmontools-6.5' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o smartctl.o smartctl.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o atacmdnames.o atacmdnames.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o atacmds.o atacmds.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o ataidentify.o ataidentify.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o ataprint.o ataprint.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o dev_interface.o dev_interface.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o knowndrives.o knowndrives.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o nvmecmds.o nvmecmds.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o nvmeprint.o nvmeprint.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o scsicmds.o scsicmds.cpp scsicmds.cpp: In function 'int scsiSetExceptionControlAndWarning(scsi_device*, int, const scsi_iec_mode_page*)': scsicmds.cpp:1453:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (iecp->gotChangeable && ^~ scsicmds.cpp:1456:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' rout[offset + 2] &= TEST_DISABLE;/* clear TEST bit for spec */ ^~~~ g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o scsiata.o scsiata.cpp scsiata.cpp: In member function 'virtual bool sat::sat_device::ata_pass_through(const ata_cmd_in&, ata_cmd_out&)': scsiata.cpp:250:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!ata_cmd_is_supported(in, ^~ scsiata.cpp:259:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' struct scsi_cmnd_io io_hdr; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o scsiprint.o scsiprint.cpp scsiprint.cpp: In function 'int scsiPrintMain(scsi_device*, const scsi_print_options&)': scsiprint.cpp:1943:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (scsiSmartEnable(device)) ^~ scsiprint.cpp:1945:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' any_output = true; ^~~~~~~~~~ scsiprint.cpp:1949:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (scsiSmartDisable(device)) ^~ scsiprint.cpp:1951:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' any_output = true; ^~~~~~~~~~ cat ChangeLog NEWS $(SOURCES) | $(VERSION_FROM_SVN_IDS) > svnversion.h g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o utility.o utility.cpp utility.cpp: In function 'void check_config()': utility.cpp:800:6: warning: '123456789' directive output truncated writing 9 bytes into a region of size 8 [-Wformat-truncation=] void check_config() ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from utility.cpp:31: /usr/include/bits/stdio2.h:68:44: note: '__builtin_snprintf' output 10 bytes into a destination of size 8 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o os_linux.o os_linux.cpp os_linux.cpp: In member function 'virtual bool os_linux::linux_aacraid_device::scsi_pass_through(scsi_cmnd_io*)': os_linux.cpp:973:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k = 0; k < (int)iop->cmnd_len; ++k) ^~~ os_linux.cpp:975:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if ((report > 1) && ^~ os_linux.cpp: In function 'int os_linux::setup_3ware_nodes(const char*, const char*)': os_linux.cpp:1549:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (selinux_enforced) ^~ os_linux.cpp:1551:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 6; ^~~~~~ g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o cciss.o cciss.cpp g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o dev_areca.o dev_areca.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -pie -Wl,-z,relro,-z,now -o smartctl smartctl.o atacmdnames.o atacmds.o ataidentify.o ataprint.o dev_ata_cmd_set.o dev_interface.o knowndrives.o nvmecmds.o nvmeprint.o scsicmds.o scsiata.o scsiprint.o utility.o os_linux.o cciss.o dev_areca.o -lselinux g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -c -o smartd.o smartd.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fpie -pie -Wl,-z,relro,-z,now -o smartd smartd.o atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_interface.o knowndrives.o nvmecmds.o scsicmds.o scsiata.o utility.o os_linux.o cciss.o dev_areca.o -lcap-ng -lselinux /bin/sh ./config.status --file=update-smart-drivedb config.status: creating update-smart-drivedb chmod +x update-smart-drivedb /bin/sh ./config.status --file=smartd_warning.sh config.status: creating smartd_warning.sh chmod +x smartd_warning.sh $(MAN_FILTER) < ./smartd.conf.5.in > smartd.conf.5 $(MAN_FILTER) < ./smartctl.8.in > smartctl.8 $(MAN_FILTER) < ./smartd.8.in > smartd.8 $(MAN_FILTER) < ./update-smart-drivedb.8.in > update-smart-drivedb.8 $(SMARTD_SERVICE_FILTER) < ./smartd.service.in > smartd.service make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-6.5' + sed -i 's|/etc/smartmontools/sysconfig|/etc/sysconfig|g' smartd.service + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6f5ORD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 + cd smartmontools-6.5 + rm -rf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 install make[1]: Entering directory '/builddir/build/BUILD/smartmontools-6.5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/sbin' /usr/bin/install -c smartctl smartd '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/sbin' /usr/bin/install -c update-smart-drivedb '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/smartmontools' /usr/bin/install -c -m 644 './smartd.conf' '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/smartmontools/smartd.conf' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/smartmontools/smartd_warning.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools' /usr/bin/install -c -m 644 AUTHORS ChangeLog ChangeLog-5.0-6.0 COPYING INSTALL NEWS README TODO smartd.conf '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/smartmontools' /usr/bin/install -c -m 644 drivedb.h '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools/examplescripts' /usr/bin/install -c -m 644 examplescripts/README '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools/examplescripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools/examplescripts' /usr/bin/install -c examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 examplescripts/Example5 examplescripts/Example6 '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools/examplescripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 smartd.conf.5 '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 smartctl.8 smartd.8 update-smart-drivedb.8 '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/man/man8' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/smartmontools' /usr/bin/install -c smartd_warning.sh '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/lib/systemd/system' /usr/bin/install -c -m 644 smartd.service '/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/lib/systemd/system' make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-6.5' + rm -f 'examplescripts/Makefile*' + chmod a-x -R examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 examplescripts/Example5 examplescripts/Example6 examplescripts/README + install -D -p -m 644 /builddir/build/SOURCES/smartmontools.sysconf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/sysconfig/smartmontools + install -D -p -m 755 /builddir/build/SOURCES/smartdnotify /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64//usr/libexec/smartmontools/smartdnotify + mkdir -p /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64//etc/smartmontools/smartd_warning.d + rm -rf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/rc.d /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/init.d + rm -rf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64//usr/share/doc/smartmontools + mkdir -p /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64//var/lib/smartmontools + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in ./etc/smartmontools/smartd_warning.sh from #! /bin/sh to #!/bin/sh mangling shebang in ./usr/libexec/smartmontools/smartdnotify from #! /bin/sh to #!/bin/sh mangling shebang in ./usr/sbin/update-smart-drivedb from #! /bin/sh to #!/bin/sh Processing files: smartmontools-6.5-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OcPXGk + umask 022 + cd /builddir/build/BUILD + cd smartmontools-6.5 + DOCDIR=/builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr AUTHORS /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr ChangeLog /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr COPYING /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr INSTALL /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr NEWS /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr README /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr TODO /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr examplescripts /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + cp -pr smartd.conf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64/usr/share/doc/smartmontools + exit 0 Provides: config(smartmontools) = 1:6.5-5.fc28 smartmontools = 1:6.5-5.fc28 smartmontools(riscv-64) = 1:6.5-5.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcap-ng.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libselinux.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/smartmontools-6.5-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/smartmontools-6.5-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UOA7tr + umask 022 + cd /builddir/build/BUILD + cd smartmontools-6.5 + rm -rf /builddir/build/BUILDROOT/smartmontools-6.5-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff