Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/smartmontools.spec'], chrootPath='/var/lib/mock/dist-oc8-build-241761-82890/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/smartmontools-7.1-3.oc8.ap.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/smartmontools.spec'], chrootPath='/var/lib/mock/dist-oc8-build-241761-82890/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TjkfnR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smartmontools-7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/smartmontools-7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd smartmontools-7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (smartmontools-5.38-defaultconf.patch): + echo 'Patch #1 (smartmontools-5.38-defaultconf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .defaultconf --fuzz=0 patching file smartd.conf Patch #2 (smartmontools-7.2-logsuppagefix1.patch): + echo 'Patch #2 (smartmontools-7.2-logsuppagefix1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .logsuppagefix1 --fuzz=0 patching file scsiprint.cpp Patch #3 (smartmontools-7.2-logsuppagefix2.patch): + echo 'Patch #3 (smartmontools-7.2-logsuppagefix2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .logsuppagefix2 --fuzz=0 patching file scsiprint.cpp Patch #4 (smartmontools-7.2-logsuppagefix3.patch): + echo 'Patch #4 (smartmontools-7.2-logsuppagefix3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .logsuppagefix3 --fuzz=0 patching file scsicmds.h patching file scsiprint.cpp Patch #5 (smartmontools-7.2-logsuppagefix4.patch): + echo 'Patch #5 (smartmontools-7.2-logsuppagefix4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .logsuppagefix4 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file scsiprint.cpp Hunk #1 succeeded at 2349 (offset 9 lines). Hunk #2 succeeded at 2472 (offset 9 lines). Patch #6 (smartmontools-7.4-r5121.patch): + echo 'Patch #6 (smartmontools-7.4-r5121.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .r5121 --fuzz=0 patching file nvmecmds.cpp patching file nvmecmds.h patching file nvmeprint.cpp Patch #7 (smartmontools-7.4-r5471.patch): + echo 'Patch #7 (smartmontools-7.4-r5471.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .r5471 --fuzz=0 patching file dev_interface.cpp patching file nvmecmds.cpp patching file nvmecmds.h patching file nvmeprint.cpp Patch #8 (smartmontools-7.4-r5472.patch): + echo 'Patch #8 (smartmontools-7.4-r5472.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .r5472 --fuzz=0 patching file smartd.conf.5.in patching file smartd.cpp Patch #100 (0001-update-printf-to-jout.patch): + echo 'Patch #100 (0001-update-printf-to-jout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scsiprint.cpp + 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 43718 100 43718 0 0 43156 0 0:00:01 0:00:01 --:--:-- 43156 + cp /builddir/build/SOURCES/drivedb.h . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iiMCAi + umask 022 + cd /builddir/build/BUILD + cd smartmontools-7.1 + autoreconf -i Makefile.am:127: warning: source file 'os_win32/popen_win32.cpp' is in a subdirectory, Makefile.am:127: 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:221: warning: source file 'getopt/getopt.c' is in a subdirectory, Makefile.am:221: but option 'subdir-objects' is disabled Makefile.am:221: warning: source file 'getopt/getopt1.c' is in a subdirectory, Makefile.am:221: but option 'subdir-objects' is disabled Makefile.am:241: warning: source file 'regex/regex.c' is in a subdirectory, Makefile.am:241: but option 'subdir-objects' is disabled Makefile.am:266: warning: source file 'os_win32/wmiquery.cpp' is in a subdirectory, Makefile.am:266: but option 'subdir-objects' is disabled Makefile.am:252: warning: source file 'regex/regcomp.c' is in a subdirectory, Makefile.am:252: but option 'subdir-objects' is disabled Makefile.am:252: warning: source file 'regex/regexec.c' is in a subdirectory, Makefile.am:252: but option 'subdir-objects' is disabled Makefile.am:252: warning: source file 'regex/regex_internal.c' is in a subdirectory, Makefile.am:252: but option 'subdir-objects' is disabled Makefile.am:202: warning: source file 'os_win32/daemon_win32.cpp' is in a subdirectory, Makefile.am:202: but option 'subdir-objects' is disabled Makefile.am:202: warning: source file 'os_win32/popen_win32.cpp' is in a subdirectory, Makefile.am:202: but option 'subdir-objects' is disabled Makefile.am:202: warning: source file 'os_win32/syslog_win32.cpp' is in a subdirectory, Makefile.am:202: but option 'subdir-objects' is disabled Makefile.am:229: warning: source file 'getopt/getopt.c' is in a subdirectory, Makefile.am:229: but option 'subdir-objects' is disabled Makefile.am:229: warning: source file 'getopt/getopt1.c' is in a subdirectory, Makefile.am:229: but option 'subdir-objects' is disabled Makefile.am:246: warning: source file 'regex/regex.c' is in a subdirectory, Makefile.am:246: but option 'subdir-objects' is disabled Makefile.am:271: warning: source file 'os_win32/wmiquery.cpp' is in a subdirectory, Makefile.am:271: but option 'subdir-objects' is disabled Makefile.am:257: warning: source file 'regex/regcomp.c' is in a subdirectory, Makefile.am:257: but option 'subdir-objects' is disabled Makefile.am:257: warning: source file 'regex/regexec.c' is in a subdirectory, Makefile.am:257: but option 'subdir-objects' is disabled Makefile.am:257: warning: source file 'regex/regex_internal.c' is in a subdirectory, Makefile.am:257: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-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 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 aarch64-opencloudos-linux-gnu-g++... no checking for aarch64-opencloudos-linux-gnu-c++... no checking for aarch64-opencloudos-linux-gnu-gpp... no checking for aarch64-opencloudos-linux-gnu-aCC... no checking for aarch64-opencloudos-linux-gnu-CC... no checking for aarch64-opencloudos-linux-gnu-cxx... no checking for aarch64-opencloudos-linux-gnu-cc++... no checking for aarch64-opencloudos-linux-gnu-cl.exe... no checking for aarch64-opencloudos-linux-gnu-FCC... no checking for aarch64-opencloudos-linux-gnu-KCC... no checking for aarch64-opencloudos-linux-gnu-RCC... no checking for aarch64-opencloudos-linux-gnu-xlC_r... no checking for aarch64-opencloudos-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 aarch64-opencloudos-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 aarch64-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... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking for aarch64-opencloudos-linux-gnu-nm... no checking for nm... nm 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 byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking linux/compiler.h usability... no checking linux/compiler.h presence... no 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 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 selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking for matchpathcon in -lselinux... yes checking cap-ng.h usability... yes checking cap-ng.h presence... yes checking for cap-ng.h... yes checking for capng_clear in -lcap-ng... yes checking systemd/sd-daemon.h usability... yes checking systemd/sd-daemon.h presence... 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++11... none needed checking for regcomp... 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.1 configuration: host operating system: aarch64-opencloudos-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection linker flags: -Wl,-z,relro -Wl,-z,now -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 database update branch: branches/RELEASE_7_0_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. + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie' 'LDFLAGS=-pie -Wl,-z,relro,-z,now' make all-am make[1]: Entering directory '/builddir/build/BUILD/smartmontools-7.1' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o ataidentify.o ataidentify.cpp ataidentify.cpp: In function 'void ata_print_identify_data(const void*, bool, int)': ataidentify.cpp:646:44: warning: '%0*x' directive output may be truncated writing between 1 and 536870911 bytes into a region of size 18 [-Wformat-truncation=] snprintf(valstr, sizeof(valstr), "0x%0*x", (bit - bit2 + 4) >> 2, b); ^~~~~~~~ ataidentify.cpp:646:44: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:873, from utility.h:22, from ataidentify.cpp:19: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 4 and 536870914 bytes into a destination of size 20 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_intelliprop.o dev_intelliprop.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o dev_jmb39x_raid.o dev_jmb39x_raid.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o json.o json.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c -o knowndrives.o knowndrives.cpp In file included from knowndrives.cpp:43: drivedb.h:63:11: warning: character constant too long for its type SF.fpid = '92cd72b4-f1c4-4fe5-be72-7ac4cd6dcd76'; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:64:27: warning: character constant too long for its type SF.comm_billboard_route = '/software/product/$slug/'; ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:65:29: warning: character constant too long for its type SF.floatingSitewideOrigin = 'https://sourceforge.net'; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from knowndrives.cpp:43: drivedb.h:121:18: warning: character constant too long for its type _paq.push(['trackPageView', document.title, { ^~~~~~~~~~~~~~~ drivedb.h:123:18: warning: character constant too long for its type _paq.push(['enableLinkTracking']); ^~~~~~~~~~~~~~~~~~~~ drivedb.h:125:22: warning: character constant too long for its type _paq.push(['enableHeartBeatTimer']); ^~~~~~~~~~~~~~~~~~~~~~ drivedb.h:129:20: warning: character constant too long for its type _paq.push(['setTrackerUrl', u+'sf.php']); ^~~~~~~~~~~~~~~ drivedb.h:129:39: warning: character constant too long for its type _paq.push(['setTrackerUrl', u+'sf.php']); ^~~~~~~~ drivedb.h:130:20: warning: character constant too long for its type _paq.push(['setSiteId', 39]); ^~~~~~~~~~~ drivedb.h:132:43: warning: character constant too long for its type var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; ^~~~~~~~ drivedb.h:132:79: warning: character constant too long for its type var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; ^~~~~~~~ drivedb.h:133:16: warning: character constant too long for its type g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'sf.js'; s.parentNode.insertBefore(g,s); ^~~~~~~~~~~~~~~~~ drivedb.h:133:71: warning: character constant too long for its type g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'sf.js'; s.parentNode.insertBefore(g,s); ^~~~~~~ drivedb.h:136:37: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'sdm'}, initPiwik); ^~~~~~~~~ drivedb.h:136:48: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'sdm'}, initPiwik); ^~~~~~~~~~~~~ drivedb.h:136:73: warning: multi-character character constant [-Wmultichar] bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'sdm'}, initPiwik); ^~~~~ drivedb.h:153:40: warning: multi-character character constant [-Wmultichar] bizx.cmp.ifConsent({ purposes: 'all' , vendors: 'narrative'}, function() { ^~~~~ drivedb.h:153:57: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: 'all' , vendors: 'narrative'}, function() { ^~~~~~~~~~~ drivedb.h:161:46: warning: multi-character character constant [-Wmultichar] imageUrl.searchParams.append('id', 'hem:' + hem); ^~~~ drivedb.h:161:52: warning: multi-character character constant [-Wmultichar] imageUrl.searchParams.append('id', 'hem:' + hem); ^~~~~~ drivedb.h:163:42: warning: multi-character character constant [-Wmultichar] imageUrl.searchParams.append('rand', current_time); ^~~~~~ drivedb.h:179:13: warning: missing terminating " character ^ drivedb.h:182:26: error: missing terminating " character error-page" id="forge"> ^~ drivedb.h:270:23: warning: character constant too long for its type SF.linkout_icon = ''; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from knowndrives.cpp:43: drivedb.h:447:35: warning: missing terminating " character
^ drivedb.h:449:1: error: missing terminating " character "> ^~ drivedb.h:474:23: warning: missing terminating ' character Whoops, we can't find that page. ^ drivedb.h:474:23: error: missing terminating ' character Whoops, we can't find that page. ^~~~~~~~~~~~~~~~~~ In file included from knowndrives.cpp:43: drivedb.h:685:30: warning: multi-character character constant [-Wmultichar] bizx.cmp.ifConsent({purposes:'all', vendors:'google-ads'}, function () { ^~~~~ drivedb.h:685:45: warning: character constant too long for its type bizx.cmp.ifConsent({purposes:'all', vendors:'google-ads'}, function () { ^~~~~~~~~~~~ drivedb.h:686:7: warning: multi-character character constant [-Wmultichar] $('body').removeClass('no-ads-consent'); ^~~~~~ drivedb.h:686:27: warning: character constant too long for its type $('body').removeClass('no-ads-consent'); ^~~~~~~~~~~~~~~~ drivedb.h:689:7: warning: multi-character character constant [-Wmultichar] $('body').addClass('no-ads-consent'); ^~~~~~ drivedb.h:689:24: warning: character constant too long for its type $('body').addClass('no-ads-consent'); ^~~~~~~~~~~~~~~~ drivedb.h:693:7: warning: multi-character character constant [-Wmultichar] $('body').addClass('no-ads-consent'); ^~~~~~ drivedb.h:693:24: warning: character constant too long for its type $('body').addClass('no-ads-consent'); ^~~~~~~~~~~~~~~~ drivedb.h:722:23: warning: multi-character character constant [-Wmultichar] _ml.eid = '771'; ^~~~~ drivedb.h:723:22: warning: character constant too long for its type _ml.fp = '92cd72b4-f1c4-4fe5-be72-7ac4cd6dcd76'; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:724:51: warning: character constant too long for its type var s = document.getElementsByTagName('script')[0], cd = new Date(), mltag = document.createElement('script'); ^~~~~~~~ drivedb.h:724:113: warning: character constant too long for its type var s = document.getElementsByTagName('script')[0], cd = new Date(), mltag = document.createElement('script'); ^~~~~~~~ drivedb.h:725:26: warning: character constant too long for its type mltag.type = 'text/javascript'; ^~~~~~~~~~~~~~~~~ drivedb.h:728:25: warning: character constant too long for its type mltag.src = '//ml314.com/tag.aspx?' + cd.getDate() + cd.getMonth() + cd.getFullYear(); ^~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:731:40: warning: multi-character character constant [-Wmultichar] bizx.cmp.ifConsent({ purposes: 'all', vendors: 'bombora'}, load_bombora); ^~~~~ drivedb.h:731:56: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: 'all', vendors: 'bombora'}, load_bombora); ^~~~~~~~~ drivedb.h:743:28: warning: multi-character character constant [-Wmultichar] animation: 'fade', ^~~~~~ drivedb.h:745:24: warning: character constant too long for its type theme: 'tooltipster-light', ^~~~~~~~~~~~~~~~~~~ drivedb.h:746:26: warning: character constant too long for its type trigger: 'hover', ^~~~~~~ drivedb.h:747:36: warning: character constant too long for its type position: $el.data('position') || 'right', ^~~~~~~~~~ drivedb.h:747:51: warning: character constant too long for its type position: $el.data('position') || 'right', ^~~~~~~ drivedb.h:753:37: warning: multi-character character constant [-Wmultichar] $(this).tooltipster('show'); ^~~~~~ drivedb.h:755:37: warning: multi-character character constant [-Wmultichar] $(this).tooltipster('hide'); ^~~~~~ drivedb.h:766:37: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^~~~~~~~~ drivedb.h:766:48: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^~~~~~~~~~~~~ drivedb.h:766:73: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^~~~~~~~~~~~~~~~~~ drivedb.h:768:36: warning: character constant too long for its type (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ ^~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:771:28: warning: character constant too long for its type })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ^~~~~~~~ drivedb.h:771:37: warning: character constant too long for its type })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:771:79: warning: multi-character character constant [-Wmultichar] })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ^~~~ drivedb.h:778:14: warning: multi-character character constant [-Wmultichar] gtag('js', new Date()); ^~~~ drivedb.h:779:14: warning: multi-character character constant [-Wmultichar] gtag('set', { ^~~~~ drivedb.h:780:13: warning: character constant too long for its type 'page_location': 'https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw', ^~~~~~~~~~~~~~~ drivedb.h:780:30: warning: character constant too long for its type 'page_location': 'https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw', ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivedb.h:791:41: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^~~~~~~~~ drivedb.h:791:52: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^~~~~~~~~~~~~ drivedb.h:791:77: warning: character constant too long for its type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^~~~~~~~~~~~~~~~~~ drivedb.h:792:18: warning: character constant too long for its type gtag('config', 'G-1H226E4E4L', { ^~~~~~~~ drivedb.h:792:28: warning: character constant too long for its type gtag('config', 'G-1H226E4E4L', { ^~~~~~~~~~~~~~ drivedb.h:795:17: warning: character constant too long for its type 'SF_Page_Type': '', ^~~~~~~~~~~~~~ drivedb.h:795:33: error: empty character constant 'SF_Page_Type': '', ^~ drivedb.h:797:21: warning: character constant too long for its type 'SF_Logged_in': 'Logged Out', ^~~~~~~~~~~~~~ drivedb.h:797:37: warning: character constant too long for its type 'SF_Logged_in': 'Logged Out', ^~~~~~~~~~~~ drivedb.h:799:17: warning: character constant too long for its type 'devicePixelRatio': SF.devicePixelRatio, ^~~~~~~~~~~~~~~~~~ drivedb.h:801:18: warning: character constant too long for its type gtag('event', 'page_view', { send_to: 'G-1H226E4E4L' }); ^~~~~~~ drivedb.h:801:27: warning: character constant too long for its type gtag('event', 'page_view', { send_to: 'G-1H226E4E4L' }); ^~~~~~~~~~~ drivedb.h:801:51: warning: character constant too long for its type gtag('event', 'page_view', { send_to: 'G-1H226E4E4L' }); ^~~~~~~~~~~~~~ In file included from knowndrives.cpp:43: drivedb.h:1:1: error: expected primary-expression before '<' token ^ drivedb.h:1:3: error: 'DOCTYPE' was not declared in this scope ^~~~~~~ drivedb.h:1:3: note: suggested alternative: 'LC_CTYPE' ^~~~~~~ LC_CTYPE drivedb.h:1:11: error: expected '}' before 'html' ^~~~ knowndrives.cpp:42:46: note: to match this '{' const drive_settings builtin_knowndrives[] = { ^ In file included from knowndrives.cpp:43: drivedb.h:60:1: error: 'SF' does not name a type SF.sandiego = false; ^~ drivedb.h:61:1: error: 'SF' does not name a type SF.sandiego_chrome = true; ^~ drivedb.h:62:1: error: 'SF' does not name a type SF.cdn = "https://a.fsdn.com/con"; ^~ drivedb.h:63:1: error: 'SF' does not name a type SF.fpid = '92cd72b4-f1c4-4fe5-be72-7ac4cd6dcd76'; ^~ drivedb.h:64:1: error: 'SF' does not name a type SF.comm_billboard_route = '/software/product/$slug/'; ^~ drivedb.h:65:1: error: 'SF' does not name a type SF.floatingSitewideOrigin = 'https://sourceforge.net'; ^~ drivedb.h:66:1: error: expected unqualified-id before '<' token ^ In file included from knowndrives.cpp:43: drivedb.h:105:6: error: expected unqualified-id before '<' token } ^ drivedb.h:113:5: error: 'bizx' does not name a type bizx.uids.gatherAndClean(data); ^~~~ drivedb.h:114:1: error: expected unqualified-id before '<' token ^ drivedb.h:136:5: error: 'bizx' does not name a type bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'sdm'}, initPiwik); ^~~~ drivedb.h:136:79: error: expected unqualified-id before ',' token bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'sdm'}, initPiwik); ^ drivedb.h:136:90: error: expected constructor, destructor, or type conversion before ')' token bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'sdm'}, initPiwik); ^ drivedb.h:137:1: error: expected unqualified-id before '<' token ^ drivedb.h:172:6: error: expected unqualified-id before ')' token }); ^ drivedb.h:173:1: error: expected unqualified-id before '<' token ^ drivedb.h:259:28: error: 'SF' does not name a type ^~ drivedb.h:259:42: error: expected unqualified-id before '<' token ^ drivedb.h:271:1: error: expected unqualified-id before '<' token ^ In file included from knowndrives.cpp:43: drivedb.h:584:16: error: expected unqualified-id before numeric constant © 2026 Slashdot Media. All Rights Reserved. ^~~~ In file included from knowndrives.cpp:43: drivedb.h:685:58: error: expected unqualified-id before ',' token bizx.cmp.ifConsent({purposes:'all', vendors:'google-ads'}, function () { ^ drivedb.h:685:72: error: a function-definition is not allowed here before '{' token bizx.cmp.ifConsent({purposes:'all', vendors:'google-ads'}, function () { ^ drivedb.h:687:2: error: expected unqualified-id before ',' token }, ^ drivedb.h:688:13: error: a function-definition is not allowed here before '{' token function () { ^ drivedb.h:690:2: error: expected unqualified-id before ',' token }, ^ drivedb.h:691:5: error: expected constructor, destructor, or type conversion before ',' token null, ^ drivedb.h:692:13: error: a function-definition is not allowed here before '{' token function () { ^ drivedb.h:694:2: error: expected unqualified-id before ')' token }); ^ drivedb.h:695:1: error: expected unqualified-id before '<' token ^ drivedb.h:704:5: error: expected unqualified-id before '<' token ^ drivedb.h:732:6: error: expected unqualified-id before ')' token })(); ^ drivedb.h:733:1: error: expected unqualified-id before '<' token ^ drivedb.h:758:6: error: expected unqualified-id before ')' token }); ^ drivedb.h:759:1: error: expected unqualified-id before '<' token ^ drivedb.h:766:92: error: expected unqualified-id before ',' token bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^ drivedb.h:766:106: error: a function-definition is not allowed here before '{' token bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^ drivedb.h:782:6: error: expected unqualified-id before ')' token }); ^ drivedb.h:783:1: error: expected unqualified-id before '<' token ^ drivedb.h:791:96: error: expected unqualified-id before ',' token bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^ drivedb.h:791:110: error: a function-definition is not allowed here before '{' token bizx.cmp.ifConsent({ purposes: ['storage', 'measurement'], vendors: 'google-analytics'}, function () { ^ drivedb.h:802:10: error: expected unqualified-id before ')' token }); ^ drivedb.h:806:1: error: expected unqualified-id before '<' token ^ knowndrives.cpp:44:1: error: expected declaration before '}' token }; ^ make[1]: *** [Makefile:1305: knowndrives.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/smartmontools-7.1' make: *** [Makefile:939: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.iiMCAi (%build) Bad exit status from /var/tmp/rpm-tmp.iiMCAi (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/smartmontools.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/smartmontools.spec