Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/smartmontools.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-136859-9626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/smartmontools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/smartmontools-7.3-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/smartmontools.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-136859-9626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/smartmontools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SvJW7x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smartmontools-7.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/smartmontools-7.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd smartmontools-7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/smartmontools-5.38-defaultconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /builddir/build/SOURCES/drivedb.h . + mkdir selinux + cp -p /builddir/build/SOURCES/smartmon.if /builddir/build/SOURCES/smartmon.fc selinux/ + cp -p /builddir/build/SOURCES/smartmon.te.f33 selinux/smartmon.te + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RXWthl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd smartmontools-7.3 + autoreconf -i Makefile.am:126: warning: source file 'os_win32/popen_win32.cpp' is in a subdirectory, Makefile.am:126: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one 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, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Makefile.am:227: warning: source file 'getopt/getopt.c' is in a subdirectory, Makefile.am:227: but option 'subdir-objects' is disabled Makefile.am:227: warning: source file 'getopt/getopt1.c' is in a subdirectory, Makefile.am:227: but option 'subdir-objects' is disabled Makefile.am:247: warning: source file 'regex/regex.c' is in a subdirectory, Makefile.am:247: but option 'subdir-objects' is disabled Makefile.am:272: warning: source file 'os_win32/wmiquery.cpp' is in a subdirectory, Makefile.am:272: but option 'subdir-objects' is disabled Makefile.am:258: warning: source file 'regex/regcomp.c' is in a subdirectory, Makefile.am:258: but option 'subdir-objects' is disabled Makefile.am:258: warning: source file 'regex/regexec.c' is in a subdirectory, Makefile.am:258: but option 'subdir-objects' is disabled Makefile.am:258: warning: source file 'regex/regex_internal.c' is in a subdirectory, Makefile.am:258: but option 'subdir-objects' is disabled Makefile.am:208: warning: source file 'os_win32/daemon_win32.cpp' is in a subdirectory, Makefile.am:208: but option 'subdir-objects' is disabled Makefile.am:208: warning: source file 'os_win32/popen_win32.cpp' is in a subdirectory, Makefile.am:208: but option 'subdir-objects' is disabled Makefile.am:208: warning: source file 'os_win32/syslog_win32.cpp' is in a subdirectory, Makefile.am:208: but option 'subdir-objects' is disabled Makefile.am:235: warning: source file 'getopt/getopt.c' is in a subdirectory, Makefile.am:235: but option 'subdir-objects' is disabled Makefile.am:235: warning: source file 'getopt/getopt1.c' is in a subdirectory, Makefile.am:235: but option 'subdir-objects' is disabled Makefile.am:252: warning: source file 'regex/regex.c' is in a subdirectory, Makefile.am:252: but option 'subdir-objects' is disabled Makefile.am:277: warning: source file 'os_win32/wmiquery.cpp' is in a subdirectory, Makefile.am:277: but option 'subdir-objects' is disabled Makefile.am:263: warning: source file 'regex/regcomp.c' is in a subdirectory, Makefile.am:263: but option 'subdir-objects' is disabled Makefile.am:263: warning: source file 'regex/regexec.c' is in a subdirectory, Makefile.am:263: but option 'subdir-objects' is disabled Makefile.am:263: warning: source file 'regex/regex_internal.c' is in a subdirectory, Makefile.am:263: but option 'subdir-objects' is disabled + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-04-20 18:01:48.071767457 +0800 +++ ./configure 2024-04-20 18:01:49.035789456 +0800 @@ -1938,7 +1938,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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-libsystemd --with-systemdsystemunitdir=/usr/lib/systemd/system --sysconfdir=/etc/smartmontools/ --with-systemdenvfile=/etc/sysconfig/smartmontools checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for loongarch64-opencloudos-linux-gnu-nm... no checking for nm... nm checking whether reproducible build is selected (SOURCE_DATE_EPOCH)... no checking whether this is a build from SVN... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for locale.h... yes checking for byteswap.h... yes checking for sys/sysmacros.h... yes checking for linux/compiler.h... no checking for linux/cciss_ioctl.h... yes checking for __int128... yes checking for long double with more range or precision than double... yes checking for getopt_long... yes checking whether byte ordering is bigendian... no checking whether g++ supports __attribute__((packed))... yes checking for selinux/selinux.h... yes checking for matchpathcon in -lselinux... yes checking for cap-ng.h... yes checking for capng_clear in -lcap-ng... yes checking for systemd/sd-daemon.h... yes checking for sd_notify in -lsystemd... yes checking for sigaction... yes checking for g++ option to accept C++14... none needed checking for g++ option to accept C++11 but not C++14... -std=gnu++11 checking for regcomp... yes checking whether the OS provides a POSIX API... yes checking whether os_linux.cpp uses new interface... yes checking whether NVMe device scanning could be safely enabled... yes checking whether _FORTIFY_SOURCE is predefined... 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-7.3 configuration: host operating system: loongarch64-opencloudos-linux-gnu C++ compiler: g++ C compiler: gcc preprocessor flags: C++ compiler flags: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++11 -W C compiler flags: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection linker flags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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 database update branch: branches/RELEASE_7_3_DRIVEDB download tools: curl wget lynx svn GnuPG for verification: gpg 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 PATH within scripts: /usr/local/bin:/usr/bin:/bin smartd service file: /usr/lib/systemd/system/smartd.service smartd environ file: /etc/sysconfig/smartmontools smartd save files: [disabled] smartd attribute logs: [disabled] SELinux support: yes libcap-ng support: yes systemd notify support: yes NVMe DEVICESCAN: yes ----------------------------------------------------------------------------- configure: WARNING: The default for the inclusion of NVME devices in smartd.conf 'DEVICESCAN' and 'smartctl --scan' has been changed to 'yes' on this platform. If '--without-nvme-devicescan' is still needed, please inform smartmontools-support@listi.jpberlin.de. Use option '--with-nvme-devicescan' to suppress this warning. + /usr/bin/make -O -j32 V=1 VERBOSE=1 update-smart-drivedb /bin/sh ./config.status --file=update-smart-drivedb config.status: creating update-smart-drivedb chmod +x update-smart-drivedb + ./update-smart-drivedb -s - -u sf drivedb.h ./update-smart-drivedb: drivedb.h: download failed (curl: exit 6) + : + cp drivedb.h ../drivedb.h + /usr/bin/make -O -j32 V=1 VERBOSE=1 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie' 'LDFLAGS=-pie -Wl,-z,relro,-z,now' /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' $(SMARTD_SERVICE_FILTER) < ./smartd.service.in > smartd.service make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' cat ChangeLog NEWS $(SOURCES) | $(VERSION_FROM_SVN_IDS) > svnversion.h make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' $(MAN_FILTER) < ./smartd.8.in > smartd.8 make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' $(MAN_FILTER) < ./smartd.conf.5.in > smartd.conf.5 make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' $(MAN_FILTER) < ./smartctl.8.in > smartctl.8 make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' $(MAN_FILTER) < ./update-smart-drivedb.8.in > update-smart-drivedb.8 make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' /bin/sh ./config.status --file=smartd_warning.sh config.status: creating smartd_warning.sh chmod +x smartd_warning.sh make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o atacmdnames.o atacmdnames.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o cciss.o cciss.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o ataidentify.o ataidentify.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o nvmecmds.o nvmecmds.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o popen_as_ugid.o popen_as_ugid.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_intelliprop.o dev_intelliprop.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_areca.o dev_areca.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o scsinvme.o scsinvme.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_jmb39x_raid.o dev_jmb39x_raid.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o utility.o utility.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_interface.o dev_interface.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o nvmeprint.o nvmeprint.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o knowndrives.o knowndrives.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o scsicmds.o scsicmds.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o scsiata.o scsiata.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o json.o json.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o atacmds.o atacmds.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o smartctl.o smartctl.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o os_linux.o os_linux.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' os_linux.cpp: In function 'int os_linux::setup_3ware_nodes(const char*, const char*)': os_linux.cpp:1590:22: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] 1590 | security_context_t orig_context = NULL; | ^~~~~~~~~~~~ In file included from os_linux.cpp:67: /usr/include/selinux/selinux.h:17:15: note: declared here 17 | typedef char *security_context_t | ^~~~~~~~~~~~~~~~~~ os_linux.cpp:1591:22: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] 1591 | security_context_t node_context = NULL; | ^~~~~~~~~~~~ /usr/include/selinux/selinux.h:17:15: note: declared here 17 | typedef char *security_context_t | ^~~~~~~~~~~~~~~~~~ os_linux.cpp:1628:26: warning: 'void matchpathcon_fini()' is deprecated: Use selabel_close [-Wdeprecated-declarations] 1628 | matchpathcon_fini(); | ~~~~~~~~~~~~~~~~~^~ /usr/include/selinux/selinux.h:490:13: note: declared here 490 | extern void matchpathcon_fini(void) | ^~~~~~~~~~~~~~~~~ os_linux.cpp:1640:23: warning: 'int matchpathcon(const char*, mode_t, char**)' is deprecated: Use selabel_lookup instead [-Wdeprecated-declarations] 1640 | if (matchpathcon(nodestring, S_IRUSR | S_IWUSR, &node_context) < 0) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/selinux/selinux.h:507:12: note: declared here 507 | extern int matchpathcon(const char *path, | ^~~~~~~~~~~~ os_linux.cpp:1717:22: warning: 'void matchpathcon_fini()' is deprecated: Use selabel_close [-Wdeprecated-declarations] 1717 | matchpathcon_fini(); | ~~~~~~~~~~~~~~~~~^~ /usr/include/selinux/selinux.h:490:13: note: declared here 490 | extern void matchpathcon_fini(void) | ^~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o scsiprint.o scsiprint.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o ataprint.o ataprint.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/etc/smartmontools"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o smartd.o smartd.cpp make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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_intelliprop.o dev_interface.o dev_jmb39x_raid.o json.o knowndrives.o nvmecmds.o nvmeprint.o scsicmds.o scsiata.o scsinvme.o scsiprint.o utility.o os_linux.o cciss.o dev_areca.o -lselinux make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' In function 'copy', inlined from '__ct ' at /usr/include/c++/12/bits/basic_string.h:683:23, inlined from 'operator+' at /usr/include/c++/12/bits/basic_string.h:3563:43, inlined from 'getvalidarglist' at smartctl.cpp:256:56: /usr/include/c++/12/bits/char_traits.h:435:56: warning: '__builtin_memcpy' reading 63 bytes from a region of size 16 [-Wstringop-overread] 435 | return static_cast(__builtin_memcpy(__s1, __s2, __n)); | ^ smartctl.cpp: In function 'getvalidarglist': smartctl.cpp:256:52: note: at offset 16 into source object '' of size 32 256 | return std::string(get_valid_firmwarebug_args()) + ", swapid"; | ^ make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fpie -pie -Wl,-z,relro,-z,now -o smartd smartd.o atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_intelliprop.o dev_interface.o dev_jmb39x_raid.o knowndrives.o nvmecmds.o scsicmds.o scsiata.o scsinvme.o utility.o popen_as_ugid.o os_linux.o cciss.o dev_areca.o -lcap-ng -lsystemd -lselinux make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' + make -f /usr/share/selinux/devel/Makefile smartmon.pp selinux/smartmon.if:13: Warning: duplicate definition of smartmon_read_tmp_files(). Original definition on /usr/share/selinux/devel/include/contrib/smartmon.if:13. selinux/smartmon.if:39: Warning: duplicate definition of smartmon_admin(). Original definition on /usr/share/selinux/devel/include/contrib/smartmon.if:39. Compiling targeted smartmon module selinux/smartmon.te:74: Warning: dev_read_nvme(fsdaemon_t) has been replaced with storage_raw_read_fixed_disk(). Creating targeted smartmon.pp policy package rm tmp/smartmon.mod tmp/smartmon.mod.fc + bzip2 -9 smartmon.pp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.loBaxb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64 + cd smartmontools-7.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/sbin' /usr/bin/install -p smartctl smartd '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/sbin' /usr/bin/install -p update-smart-drivedb '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/smartmontools' /usr/bin/install -p -m 644 './smartd.conf' '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/smartmontools/smartd.conf' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/smartmontools/smartd_warning.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools' /usr/bin/install -p -m 644 AUTHORS ChangeLog ChangeLog-6.0-7.0 COPYING INSTALL NEWS README TODO smartd.conf '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/smartmontools' /usr/bin/install -p -m 644 drivedb.h '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools/examplescripts' /usr/bin/install -p -m 644 examplescripts/README '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools/examplescripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools/examplescripts' /usr/bin/install -p examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 examplescripts/Example5 examplescripts/Example6 examplescripts/Example7 examplescripts/Example8 '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools/examplescripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/man/man5' /usr/bin/install -p -m 644 smartd.conf.5 '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/man/man8' /usr/bin/install -p -m 644 smartctl.8 smartd.8 update-smart-drivedb.8 '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/man/man8' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/smartmontools' /usr/bin/install -p smartd_warning.sh '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/smartmontools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/lib/systemd/system' /usr/bin/install -p -m 644 smartd.service '/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/lib/systemd/system' make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.3' + rm -f 'examplescripts/Makefile*' + chmod a-x -R examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 examplescripts/Example5 examplescripts/Example6 examplescripts/Example7 examplescripts/Example8 examplescripts/README + install -D -p -m 644 /builddir/build/SOURCES/smartmontools.sysconf /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/sysconfig/smartmontools + install -D -p -m 755 /builddir/build/SOURCES/smartdnotify /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64//usr/libexec/smartmontools/smartdnotify + mkdir -p /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64//etc/smartmontools/smartd_warning.d + rm -rf /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/rc.d /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/etc/init.d /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + mkdir -p /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/var/lib/smartmontools + install -D -m 0644 smartmon.pp.bz2 /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/selinux/packages/targeted/smartmon.pp.bz2 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 7.3-5.ocs23 --unique-debug-suffix -7.3-5.ocs23.loongarch64 --unique-debug-src-base smartmontools-7.3-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/smartmontools-7.3 extracting debug info from /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/sbin/smartctl extracting debug info from /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/sbin/smartd 2619 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/sbin/update-smart-drivedb from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/smartmontools/smartdnotify from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/smartmontools/smartd_warning.sh from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: smartmontools-7.3-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z8W35p + umask 022 + cd /builddir/build/BUILD + cd smartmontools-7.3 + DOCDIR=/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr AUTHORS /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr ChangeLog /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr INSTALL /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr NEWS /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr README /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr TODO /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr examplescripts /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + cp -pr smartd.conf /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/doc/smartmontools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hKkTGY + umask 022 + cd /builddir/build/BUILD + cd smartmontools-7.3 + LICENSEDIR=/builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/licenses/smartmontools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/licenses/smartmontools + cp -pr COPYING /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64/usr/share/licenses/smartmontools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(smartmontools) = 7.3-5.ocs23 smartmontools = 7.3-5.ocs23 smartmontools(loongarch-64) = 7.3-5.ocs23 Requires(interp): /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(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/sh ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcap-ng.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(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.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Processing files: smartmontools-selinux-7.3-5.ocs23.noarch Provides: smartmontools-selinux = 7.3-5.ocs23 Requires(interp): /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 smartmontools Requires(post): /bin/sh libselinux-utils policycoreutils policycoreutils-python-utils selinux-policy-base >= 40.9 selinux-policy-targeted Requires(postun): /bin/sh Processing files: smartmontools-debugsource-7.3-5.ocs23.loongarch64 Provides: smartmontools-debugsource = 7.3-5.ocs23 smartmontools-debugsource(loongarch-64) = 7.3-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: smartmontools-debuginfo-7.3-5.ocs23.loongarch64 Provides: debuginfo(build-id) = c40369d6a9f7321390d0120bc95889fa0db328a1 debuginfo(build-id) = ff40f9da14548adf43c0d94e06da7d50dc68984a smartmontools-debuginfo = 7.3-5.ocs23 smartmontools-debuginfo(loongarch-64) = 7.3-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: smartmontools-debugsource(loongarch-64) = 7.3-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smartmontools-7.3-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/smartmontools-selinux-7.3-5.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/smartmontools-debugsource-7.3-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/smartmontools-7.3-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/smartmontools-debuginfo-7.3-5.ocs23.loongarch64.rpm Child return code was: 0