<86>Nov 9 08:01:20 userdel[1960533]: delete user 'rooter' <86>Nov 9 08:01:20 userdel[1960533]: removed group 'rooter' owned by 'rooter' <86>Nov 9 08:01:20 groupadd[1960608]: group added to /etc/group: name=rooter, GID=1811 <86>Nov 9 08:01:20 groupadd[1960608]: group added to /etc/gshadow: name=rooter <86>Nov 9 08:01:20 groupadd[1960608]: new group: name=rooter, GID=1811 <86>Nov 9 08:01:20 useradd[1960656]: new user: name=rooter, UID=1811, GID=1811, home=/root, shell=/bin/bash, from=none <86>Nov 9 08:01:20 userdel[1960766]: delete user 'builder' <86>Nov 9 08:01:20 userdel[1960766]: removed group 'builder' owned by 'builder' <86>Nov 9 08:01:20 userdel[1960766]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 08:01:20 groupadd[1960894]: group added to /etc/group: name=builder, GID=1812 <86>Nov 9 08:01:20 groupadd[1960894]: group added to /etc/gshadow: name=builder <86>Nov 9 08:01:20 groupadd[1960894]: new group: name=builder, GID=1812 <86>Nov 9 08:01:20 useradd[1960978]: new user: name=builder, UID=1812, GID=1812, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/cacti-spine-1.2.23-alt1.src.rpm: license not found in '/usr/share/license' directory: GPL2 <13>Nov 9 08:01:25 rpmi: libsensors3-3.6.0-alt3 sisyphus+308579.100.1.1 1666035269 installed <13>Nov 9 08:01:25 rpmi: libsensors3-devel-3.6.0-alt3 sisyphus+308579.100.1.1 1666035269 installed <13>Nov 9 08:01:25 rpmi: snmp-mibs-std-0.3-alt3 sisyphus+277128.100.1.1 1625404335 installed <86>Nov 9 08:01:25 groupadd[1974752]: group added to /etc/group: name=snmp, GID=999 <86>Nov 9 08:01:25 groupadd[1974752]: group added to /etc/gshadow: name=snmp <86>Nov 9 08:01:25 groupadd[1974752]: new group: name=snmp, GID=999 <86>Nov 9 08:01:25 useradd[1974793]: new user: name=snmp, UID=999, GID=999, home=/dev/null, shell=/dev/null, from=none <86>Nov 9 08:01:25 usermod[1974830]: change user 'snmp' GID from '999' to '19' <13>Nov 9 08:01:25 rpmi: net-snmp-common-5.9.4-alt1 sisyphus+333513.4600.71.1 1704536569 installed <13>Nov 9 08:01:25 rpmi: setproctitle-0.3.2-alt3 sisyphus+278100.6300.1.1 1626061075 installed <86>Nov 9 08:01:25 groupadd[1975106]: group added to /etc/group: name=crontab, GID=998 <86>Nov 9 08:01:25 groupadd[1975106]: group added to /etc/gshadow: name=crontab <86>Nov 9 08:01:25 groupadd[1975106]: new group: name=crontab, GID=998 <13>Nov 9 08:01:25 rpmi: crontab-control-1.1-alt1 sisyphus+276802.100.1.1 1625236144 installed <13>Nov 9 08:01:25 rpmi: vixie-cron-4.1.20060426-alt10.3 sisyphus+302849.200.2.1 1656579734 installed <13>Nov 9 08:01:25 rpmi: crontabs-1.8-alt1 sisyphus+276803.100.1.1 1625236331 installed <13>Nov 9 08:01:25 rpmi: logrotate-3.20.1-alt2 sisyphus+321776.100.2.1 1684960311 installed <13>Nov 9 08:01:25 rpmi: libnl-common-3.10.0-alt1 sisyphus+353291.100.1.1 1721583263 installed <13>Nov 9 08:01:25 rpmi: libnl3-3.10.0-alt1 sisyphus+353291.100.1.1 1721583263 installed <13>Nov 9 08:01:25 rpmi: libnl-devel-3.10.0-alt1 sisyphus+353291.100.1.1 1721583263 installed <13>Nov 9 08:01:25 rpmi: perl-Filter-1.64-alt1 sisyphus+335067.400.1.1 1700901530 installed <13>Nov 9 08:01:25 rpmi: perl-Encode-3.21-alt1 sisyphus+343095.100.1.1 1710875480 installed <13>Nov 9 08:01:25 rpmi: perl-Locale-gettext-1.07-alt1.2 sisyphus+335067.10500.2.2 1701152269 installed <13>Nov 9 08:01:25 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 08:01:25 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 08:01:25 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 08:01:25 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 08:01:25 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 08:01:25 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 08:01:25 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 08:01:25 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 08:01:25 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 08:01:26 rpmi: libmysqlclient21-8.0.40-alt1 sisyphus+360277.100.1.1 1729512728 installed <13>Nov 9 08:01:26 rpmi: libssl-devel-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 08:01:26 rpmi: libnet-snmp40-5.9.4-alt1 sisyphus+333513.4600.71.1 1704536847 installed <13>Nov 9 08:01:26 rpmi: libnet-snmp40-agent-5.9.4-alt1 sisyphus+333513.4600.71.1 1704536847 installed <13>Nov 9 08:01:26 rpmi: net-snmp-snmpd-5.9.4-alt1 sisyphus+333513.4600.71.1 1704536847 installed <13>Nov 9 08:01:26 rpmi: libnet-snmp-devel-5.9.4-alt1 sisyphus+333513.4600.71.1 1704536847 installed <13>Nov 9 08:01:26 rpmi: libmysqlclient21-devel-8.0.40-alt1 sisyphus+360277.100.1.1 1729512728 installed <13>Nov 9 08:01:26 rpmi: help2man-1.48.5-alt1 sisyphus+346293.200.2.1 1716441066 installed <13>Nov 9 08:01:26 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Nov 9 08:01:26 rpmi: libcap-devel-1:2.69-alt2 sisyphus+361325.100.1.1 1730392288 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/cacti-spine-1.2.23-alt1.nosrc.rpm (w1.gzdio) Installing cacti-spine-1.2.23-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.33248 + 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.23 + echo 'Source #0 (cacti-spine-1.2.23.tar):' Source #0 (cacti-spine-1.2.23.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/cacti-spine-1.2.23.tar + cd cacti-spine-1.2.23 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (cacti-spine-1.2.23-alt1.patch):' Patch #0 (cacti-spine-1.2.23-alt1.patch): + /usr/bin/patch -p1 patching file .gear/cacti-spine-1.2.0-alt-mysql8-transition.patch patching file .gear/cacti-spine.spec patching file .gear/rules patching file .gear/tags/list patching file .gear/upstream/filter-tag patching file .gear/upstream/remotes patching file .gear/upstream/transform-tag patching file Makefile.am patching file spine.h patching file util.c + echo 'Patch #1 (cacti-spine-1.2.0-alt-mysql8-transition.patch):' Patch #1 (cacti-spine-1.2.0-alt-mysql8-transition.patch): + /usr/bin/patch -p0 patching file sql.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.33248 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cacti-spine-1.2.23 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: Entering directory '.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 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_DIRS, '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' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using Gtkdoc autoreconf-default: running: aclocal --force -I m4 autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.ac:134: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:134: the top level configure.ac:138: warning: your code may safely assume C89 semantics that RETSIGTYPE is void. configure.ac:138: Remove this warning and the `AC_CACHE_CHECK' when you adjust the code. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... configure.ac:138: the top level autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:11: installing 'config/compile' configure.ac:13: installing 'config/missing' Makefile.am: installing 'config/depcomp' autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + 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 + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for i586-alt-linux-gcc... i586-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 the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for a BSD-compatible install... /usr/bin/ginstall -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 the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of i586-alt-linux-gcc... none checking for gawk... (cached) gawk checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether the compiler supports GNU C... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to enable C11 features... (cached) none needed checking whether i586-alt-linux-gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... i586-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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by i586-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 how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-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 i586-alt-linux-file... no checking for file... file checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... 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 sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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 socket in -lsocket... no checking for floor in -lm... yes checking for dlclose in -ldl... 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 sys/socket.h... yes checking for sys/select.h... yes checking for sys/wait.h... yes checking for sys/time.h... (cached) yes checking for assert.h... yes checking for ctype.h... yes checking for errno.h... yes checking for signal.h... yes checking for math.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for signal.h... (cached) yes checking for stdarg.h... yes checking for stdio.h... (cached) yes checking for syslog.h... 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 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 for priv.h... no checking whether we are using Solaris privileges... no checking for sys/capability.h... yes checking whether we are using Linux Capabilities... no checking for mysql_init in -lmysqlclient... yes checking if Net-SNMP needs crypto support... no checking for snmp_timeout in -lnetsnmp... yes checking for the spine results buffer size... 2048 bytes checking for the maximum simultaneous spine scripts... 20 checking for the maximum MySQL buffer size... 131072 checking whether we are using traditional popen... no checking whether to verify net-snmp library vs header versions... no checking if we can support backtracing... yes checking if we can support mysql/mariadb retry count... yes checking if we can support mysql/mariadb ssl keys... yes 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 -j16 make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o error.o error.c error.c: In function 'spine_signal_handler': error.c:82:67: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 82 | fprintf(stderr, "Generating backtrace...%ld line(s)...\n", set.exit_size); | ~~^ ~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d error.c:55:24: warning: unused variable 'now' [-Wunused-variable] 55 | struct timeval now; | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o nft_popen.o nft_popen.c make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o locks.o locks.c make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o keywords.o keywords.c make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o util.o util.c util.c: In function 'read_config_options': util.c:372:29: error: implicit declaration of function 'get_cacti_version' [-Wimplicit-function-declaration] 372 | set.cacti_version = get_cacti_version(&mysql, LOCAL); | ^~~~~~~~~~~~~~~~~ In file included from util.c:35: util.c:375:26: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] 375 | SPINE_LOG_DEBUG(("DEBUG: The binary Cacti version is %s", set.cacti_version)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | int spine.h:128:103: note: in definition of macro 'SPINE_LOG_DEBUG' 128 | #define SPINE_LOG_DEBUG(format_and_args) (void)(set.log_level >= POLLER_VERBOSITY_DEBUG && spine_log format_and_args) | ^~~~~~~~~~~~~~~ util.c:375:63: note: format string is defined here 375 | SPINE_LOG_DEBUG(("DEBUG: The binary Cacti version is %s", set.cacti_version)); | ~^ | | | char * | %d util.c: In function 'read_spine_config': util.c:1041:15: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] 1041 | char *buffer; | ^~~~~~ util.c: In function 'spine_log': util.c:1241:24: warning: unused variable 'now' [-Wunused-variable] 1241 | struct timeval now; | ^~~ util.c: In function 'is_numeric': util.c:1457:16: warning: variable 'local_dval' set but not used [-Wunused-but-set-variable] 1457 | double local_dval; | ^~~~~~~~~~ util.c:1456:14: warning: variable 'local_lval' set but not used [-Wunused-but-set-variable] 1456 | long local_lval; | ^~~~~~~~~~ util.c: In function 'get_cacti_version': util.c:1978:19: warning: unused variable 'i' [-Wunused-variable] 1978 | int i; | ^ make: *** [Makefile:507: util.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o php.o php.c php.c: In function 'php_close': php.c:509:17: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] 509 | ssize_t bytes; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o snmp.o snmp.c snmp.c: In function 'snmp_getnext': snmp.c:577:100: warning: pointer targets in passing argument 3 of 'snprint_asciistring' differ in signedness [-Wpointer-sign] 577 | snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result)); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/net-snmp/varbind_api.h:103, from /usr/include/net-snmp/library/snmp_api.h:33, from /usr/include/net-snmp/types.h:425, from /usr/include/net-snmp/definitions.h:22, from /usr/include/net-snmp/net-snmp-includes.h:24, from common.h:140, from snmp.c:35: /usr/include/net-snmp/library/mib.h:373:56: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' 373 | const u_char * cp, size_t len); | ~~~~~~~~~~~~~~~^~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o sql.o sql.c sql.c: In function 'db_create_connection_pool': sql.c:408:54: warning: the comparison will always evaluate as 'true' for the address of 'mysql' will never be NULL [-Waddress] 408 | if (&db_pool_local[id].mysql != NULL) { | ^~ In file included from sql.c:35: spine.h:606:15: note: 'mysql' declared here 606 | MYSQL mysql; | ^~~~~ sql.c:429:55: warning: the comparison will always evaluate as 'true' for the address of 'mysql' will never be NULL [-Waddress] 429 | if (&db_pool_remote[id].mysql != NULL) { | ^~ spine.h:606:15: note: 'mysql' declared here 606 | MYSQL mysql; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o ping.o ping.c ping.c: In function 'init_sockaddr': ping.c:895:44: warning: unused variable 'p' [-Wunused-variable] 895 | struct addrinfo hints, *hostinfo, *p; | ^ In file included from ping.c:35: ping.c: In function 'get_namebyhost': ping.c:1043:50: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1043 | SPINE_LOG_DEBUG(("get_hostbyname(%s) - No matching method for %li chars: %s", hostname, strlen(token), token)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} spine.h:128:103: note: in definition of macro 'SPINE_LOG_DEBUG' 128 | #define SPINE_LOG_DEBUG(format_and_args) (void)(set.log_level >= POLLER_VERBOSITY_DEBUG && spine_log format_and_args) | ^~~~~~~~~~~~~~~ ping.c:1043:97: note: format string is defined here 1043 | SPINE_LOG_DEBUG(("get_hostbyname(%s) - No matching method for %li chars: %s", hostname, strlen(token), token)); | ~~^ | | | long int | %i make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o spine.o spine.c spine.c: In function 'main': spine.c:805:21: warning: unused variable 'wait_retries' [-Wunused-variable] 805 | int wait_retries = 0; | ^~~~~~~~~~~~ spine.c:206:25: warning: variable 'until_spec' set but not used [-Wunused-but-set-variable] 206 | struct timespec until_spec; | ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' make: Entering directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' i586-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 -flto=auto -march=i586 -mtune=generic -c -o poller.o poller.c poller.c: In function 'child': poller.c:83:34: warning: unused variable 'details' [-Wunused-variable] 83 | extern poller_thread_t** details; | ^~~~~~~ poller.c: In function 'poll_host': poller.c:884:99: warning: zero-length gnu_printf format string [-Wformat-zero-length] 884 | snprintf(sysUptime, BUFSIZE, ""); | ^~ poller.c:175:14: warning: unused variable 'error_len' [-Wunused-variable] 175 | int error_len = 0; | ^~~~~~~~~ poller.c:163:13: warning: variable 'query10_len' set but not used [-Wunused-but-set-variable] 163 | int query10_len = 0; | ^~~~~~~~~~~ poller.c:162:13: warning: variable 'query9_len' set but not used [-Wunused-but-set-variable] 162 | int query9_len = 0; | ^~~~~~~~~~ poller.c:160:13: warning: variable 'query6_len' set but not used [-Wunused-but-set-variable] 160 | int query6_len = 0; | ^~~~~~~~~~ poller.c:159:13: warning: variable 'query5_len' set but not used [-Wunused-but-set-variable] 159 | int query5_len = 0; | ^~~~~~~~~~ poller.c:158:13: warning: variable 'query4_len' set but not used [-Wunused-but-set-variable] 158 | int query4_len = 0; | ^~~~~~~~~~ poller.c:157:13: warning: variable 'query2_len' set but not used [-Wunused-but-set-variable] 157 | int query2_len = 0; | ^~~~~~~~~~ poller.c:156:13: warning: variable 'query1_len' set but not used [-Wunused-but-set-variable] 156 | int query1_len = 0; | ^~~~~~~~~~ poller.c:153:14: warning: unused variable 'query13' [-Wunused-variable] 153 | char query13[BUFSIZE]; | ^~~~~~~ poller.c: In function 'exec_poll': poller.c:2126:13: warning: variable 'close_fd' set but not used [-Wunused-but-set-variable] 2126 | int close_fd = TRUE; | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/cacti-spine-1.2.23' error: Bad exit status from /usr/src/tmp/rpm-tmp.33248 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.33248 (%build) Command exited with non-zero status 1 7.75user 4.19system 0:11.50elapsed 103%CPU (0avgtext+0avgdata 32684maxresident)k 0inputs+0outputs (0major+826508minor)pagefaults 0swaps hsh-rebuild: rebuild of `cacti-spine-1.2.23-alt1.src.rpm' failed. Command exited with non-zero status 1 5.20user 3.43system 0:26.36elapsed 32%CPU (0avgtext+0avgdata 129568maxresident)k 13672inputs+0outputs (0major+214586minor)pagefaults 0swaps