<86>Mar 6 02:39:01 userdel[27145]: delete user 'rooter' <86>Mar 6 02:39:01 groupadd[27212]: group added to /etc/group: name=rooter, GID=603 <86>Mar 6 02:39:01 groupadd[27212]: group added to /etc/gshadow: name=rooter <86>Mar 6 02:39:01 groupadd[27212]: new group: name=rooter, GID=603 <86>Mar 6 02:39:01 useradd[27258]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Mar 6 02:39:01 userdel[27360]: delete user 'builder' <86>Mar 6 02:39:01 userdel[27360]: removed group 'builder' owned by 'builder' <86>Mar 6 02:39:01 userdel[27360]: removed shadow group 'builder' owned by 'builder' <86>Mar 6 02:39:01 groupadd[27493]: group added to /etc/group: name=builder, GID=604 <86>Mar 6 02:39:01 groupadd[27493]: group added to /etc/gshadow: name=builder <86>Mar 6 02:39:01 groupadd[27493]: new group: name=builder, GID=604 <86>Mar 6 02:39:01 useradd[27579]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Mar 6 02:39:19 rpmi: libnl3-3.4.0-alt2 1507570084 installed <13>Mar 6 02:39:19 rpmi: libsensors3-3.4.0-alt4 1522934030 installed <13>Mar 6 02:39:19 rpmi: libsensors3-devel-3.4.0-alt4 1522934030 installed <13>Mar 6 02:39:19 rpmi: libnl3-utils-3.4.0-alt2 1507570084 installed <13>Mar 6 02:39:19 rpmi: libnl-devel-3.4.0-alt2 1507570084 installed <13>Mar 6 02:39:19 rpmi: snmp-mibs-std-0.3-alt3 1324533215 installed <86>Mar 6 02:39:19 groupadd[67010]: group added to /etc/group: name=snmp, GID=499 <86>Mar 6 02:39:19 groupadd[67010]: group added to /etc/gshadow: name=snmp <86>Mar 6 02:39:19 groupadd[67010]: new group: name=snmp, GID=499 <86>Mar 6 02:39:19 useradd[67137]: new user: name=snmp, UID=499, GID=499, home=/dev/null, shell=/dev/null <86>Mar 6 02:39:19 usermod[67214]: change user 'snmp' GID from '499' to '19' <13>Mar 6 02:39:19 rpmi: net-snmp-common-5.7.3-alt5 sisyphus+219939.200.2.1 1548749863 installed <13>Mar 6 02:39:19 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Mar 6 02:39:19 rpmi: perl-Encode-3.00-alt1 sisyphus+220447.100.1.1 1549145387 installed <13>Mar 6 02:39:19 rpmi: perl-Locale-gettext-1.07-alt1.2 sisyphus+219907.10400.1.1 1548355001 installed <13>Mar 6 02:39:19 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Mar 6 02:39:19 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Mar 6 02:39:19 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Mar 6 02:39:19 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Mar 6 02:39:19 rpmi: ca-certificates-2019.02.01-alt1 sisyphus+220384.200.1.1 1549032756 installed <13>Mar 6 02:39:19 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Mar 6 02:39:19 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Mar 6 02:39:19 rpmi: libcrypto1.1-1.1.0j-alt2 sisyphus+223638.100.2.1 1551791039 installed <13>Mar 6 02:39:19 rpmi: libssl1.1-1.1.0j-alt2 sisyphus+223638.100.2.1 1551791039 installed <13>Mar 6 02:39:20 rpmi: libnet-snmp30-5.7.3-alt5 sisyphus+219939.200.2.1 1548749863 installed <13>Mar 6 02:39:20 rpmi: net-snmp-config-5.7.3-alt5 sisyphus+219939.200.2.1 1548749863 installed <13>Mar 6 02:39:20 rpmi: libmysqlclient20-5.7.24-alt3 sisyphus+223624.40.3.1 1551793812 installed <13>Mar 6 02:39:20 rpmi: libnet-snmp30-snmptrapd-5.7.3-alt5 sisyphus+219939.200.2.1 1548749863 installed <13>Mar 6 02:39:20 rpmi: libmysqlclient21-8.0.15-alt1 sisyphus+223624.140.3.1 1551794830 installed <13>Mar 6 02:39:20 rpmi: libssl-devel-1.1.0j-alt2 sisyphus+223638.100.2.1 1551791039 installed <13>Mar 6 02:39:21 rpmi: libnet-snmp-devel-5.7.3-alt5 sisyphus+219939.200.2.1 1548749863 installed <13>Mar 6 02:39:21 rpmi: libmysqlclient21-devel-8.0.15-alt1 sisyphus+223624.140.3.1 1551794830 installed <13>Mar 6 02:39:21 rpmi: help2man-1.47.8-alt1 sisyphus+221902.3400.4.1 1550598060 installed <13>Mar 6 02:39:21 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Mar 6 02:39:21 rpmi: libcap-devel-1:2.26-alt1 sisyphus+221902.3600.4.1 1550598264 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/cacti-spine-1.2.2-alt1.nosrc.rpm Installing cacti-spine-1.2.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.81214 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf cacti-spine-1.2.2 + echo 'Source #0 (cacti-spine-1.2.2.tar):' Source #0 (cacti-spine-1.2.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/cacti-spine-1.2.2.tar + cd cacti-spine-1.2.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (cacti-spine-1.2.2-alt1.patch):' Patch #0 (cacti-spine-1.2.2-alt1.patch): + /usr/bin/patch -p1 patching file .gear/cacti-spine.spec patching file .gear/rules patching file .gear/tags/4b67ecb7a7d720636076ab0ae18a9f7e98af1cc0 patching file .gear/tags/list patching file Makefile.am patching file configure.ac patching file spine.h patching file util.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.2973 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cacti-spine-1.2.2 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: couldn't open directory 'm4': No such file or directory autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: creating directory config autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize-default: linking file `config/config.guess' libtoolize-default: linking file `config/config.sub' libtoolize-default: linking file `config/install-sh' libtoolize-default: linking file `config/ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize-default: linking file `m4/libtool.m4' libtoolize-default: linking file `m4/ltoptions.m4' libtoolize-default: linking file `m4/ltsugar.m4' libtoolize-default: linking file `m4/ltversion.m4' libtoolize-default: linking file `m4/lt~obsolete.m4' libtoolize-default: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:81: installing 'config/compile' configure.ac:12: installing 'config/missing' Makefile.am: installing 'config/depcomp' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) gawk checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc 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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether to enable -Wall... no checking for help2man... /usr/bin/help2man checking for help2man... /usr/bin/help2man checking for threadsafe gethostbyname()... no checking for gethostbyname_r in -lnls... no checking for socket in -lsocket... no checking for floor in -lm... yes checking for pthread_exit in -lpthread... yes checking for deflate in -lz... yes checking for kstat_close in -lkstat... no checking for CRYPTO_realloc in -lcrypto... yes checking for library containing clock_gettime... none required checking for ANSI C header files... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for signal.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for unsigned long long... yes checking for long long... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for malloc... yes checking for calloc... yes checking for gettimeofday... yes checking for strerror... yes checking for strtoll... yes checking priv.h usability... no checking priv.h presence... no checking for priv.h... no checking whether we are using Solaris privileges... no checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking whether we are using Linux Capabilities... no checking if Net-SNMP needs crypto support... yes checking for snmp_timeout in -lnetsnmp... yes checking for the spine results buffer size... 1024 bytes checking for the maximum simultaneous spine scripts... 20 checking for the maximum MySQL buffer size... 65536 checking whether we are using traditional popen... no checking whether to verify net-snmp library vs header versions... no checking for glibc gethostbyname_r... yes checking for Solaris/Irix gethostbyname_r... no checking for HP-UX gethostbyname_r... no checking if we can support backtracing... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sql.o sql.c sql.c: In function 'db_connect': sql.c:232:2: error: unknown type name 'my_bool'; did you mean 'bool'? my_bool reconnect = 1; ^~~~~~~ bool sql.c:232:10: warning: unused variable 'reconnect' [-Wunused-variable] my_bool reconnect = 1; ^~~~~~~~~ make: *** [Makefile:481: sql.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o locks.o locks.c make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o snmp.o snmp.c snmp.c: In function 'snmp_host_init': snmp.c:189:2: warning: 'remote_port' is deprecated [-Wdeprecated-declarations] session.remote_port = snmp_port; ^~~~~~~ In file included from /usr/include/net-snmp/utilities.h:16, from common.h:135, from snmp.c:34: /usr/include/net-snmp/types.h:317:21: note: declared here u_short remote_port NETSNMP_ATTRIBUTE_DEPRECATED; ^~~~~~~~~~~ snmp.c: In function 'snmp_get': snmp.c:369:57: warning: pointer targets in passing argument 3 of 'snprint_asciistring' differ in signedness [-Wpointer-sign] snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result)); ^~~~~~~~~~~ In file included from /usr/include/net-snmp/varbind_api.h:103, from /usr/include/net-snmp/library/snmp_api.h:28, from /usr/include/net-snmp/definitions.h:23, from /usr/include/net-snmp/types.h:431, from /usr/include/net-snmp/utilities.h:16, from common.h:135, from snmp.c:34: /usr/include/net-snmp/library/mib.h:375:21: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' int snprint_asciistring(char *buf, size_t buf_len, ^~~~~~~~~~~~~~~~~~~ snmp.c: In function 'snmp_getnext': snmp.c:448:58: warning: pointer targets in passing argument 3 of 'snprint_asciistring' differ in signedness [-Wpointer-sign] snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result)); ^~~~~~~~~~~ In file included from /usr/include/net-snmp/varbind_api.h:103, from /usr/include/net-snmp/library/snmp_api.h:28, from /usr/include/net-snmp/definitions.h:23, from /usr/include/net-snmp/types.h:431, from /usr/include/net-snmp/utilities.h:16, from common.h:135, from snmp.c:34: /usr/include/net-snmp/library/mib.h:375:21: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' int snprint_asciistring(char *buf, size_t buf_len, ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o spine.o spine.c spine.c: In function 'main': spine.c:496:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(conf_file, BUFSIZE, "%s%s", config_paths[0], DEFAULT_CONF_FILE); ^~ In file included from /usr/include/stdio.h:862, from common.h:93, from spine.c:97: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o nft_popen.o nft_popen.c make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o php.o php.c php.c: In function 'php_close': php.c:462:10: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] ssize_t bytes; ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o util.o util.c util.c: In function 'read_spine_config': util.c:867:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char *buffer; ^~~~~~ util.c: In function 'is_numeric': util.c:1288:9: warning: variable 'local_dval' set but not used [-Wunused-but-set-variable] double local_dval; ^~~~~~~~~~ util.c:1287:7: warning: variable 'local_lval' set but not used [-Wunused-but-set-variable] long local_lval; ^~~~~~~~~~ util.c: In function 'read_config_options': util.c:351:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] snprintf(set.path_logfile, SMALL_BUFSIZE, "%s/log/cacti.log", web_root); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from common.h:93, from util.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 15 and 1038 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:344:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] snprintf(set.path_logfile, SMALL_BUFSIZE, "%s/log/cacti.log", web_root); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from common.h:93, from util.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 15 and 1038 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'die': util.c:988:37: warning: ' (Spine init)' directive output may be truncated writing 13 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(flogmessage, BUFSIZE, "%s (Spine init)", logmessage); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from common.h:93, from util.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:985:38: warning: ' (Spine thread)' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(flogmessage, BUFSIZE, "%s (Spine thread)", logmessage); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from common.h:93, from util.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:983:38: warning: ' (Spine parent)' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(flogmessage, BUFSIZE, "%s (Spine parent)", logmessage); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from common.h:93, from util.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -pipe -frecord-gcc-switches -Wall -g -O2 -c -o poller.o poller.c poller.c: In function 'poll_host': poller.c:165:7: warning: variable 'num_snmp_agents' set but not used [-Wunused-but-set-variable] int num_snmp_agents = 0; ^~~~~~~~~~~~~~~ poller.c: In function 'exec_poll': poller.c:1871:6: warning: variable 'close_fd' set but not used [-Wunused-but-set-variable] int close_fd = TRUE; ^~~~~~~~ poller.c: In function 'poll_host': poller.c:913:77: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] snprintf(query3, BUFSIZE, "UPDATE poller_reindex SET assert_value='%s' WHERE host_id='%i' AND data_query_id='%i' AND arg1='%s'", temp_poll_result, host_id, reindex->data_query_id, temp_arg1); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from common.h:93, from poller.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 94 and 2160 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.2973 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.2973 (%build) Command exited with non-zero status 1 12.86user 2.81system 0:16.86elapsed 92%CPU (0avgtext+0avgdata 58396maxresident)k 0inputs+0outputs (0major+925648minor)pagefaults 0swaps hsh-rebuild: rebuild of `cacti-spine-1.2.2-alt1.src.rpm' failed. Command exited with non-zero status 1 26.11user 6.53system 1:51.41elapsed 29%CPU (0avgtext+0avgdata 121008maxresident)k 13696inputs+0outputs (0major+1348805minor)pagefaults 0swaps