<86>Apr 21 01:27:05 userdel[12809]: delete user 'rooter' <86>Apr 21 01:27:05 groupadd[12854]: group added to /etc/group: name=rooter, GID=663 <86>Apr 21 01:27:05 groupadd[12854]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:27:05 groupadd[12854]: new group: name=rooter, GID=663 <86>Apr 21 01:27:05 useradd[12864]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Apr 21 01:27:05 userdel[12881]: delete user 'builder' <86>Apr 21 01:27:05 userdel[12881]: removed group 'builder' owned by 'builder' <86>Apr 21 01:27:05 userdel[12881]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:27:06 groupadd[12931]: group added to /etc/group: name=builder, GID=664 <86>Apr 21 01:27:06 groupadd[12931]: group added to /etc/gshadow: name=builder <86>Apr 21 01:27:06 groupadd[12931]: new group: name=builder, GID=664 <86>Apr 21 01:27:06 useradd[12938]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>Apr 21 01:27:09 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:27:09 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:27:09 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:27:09 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Apr 21 01:27:09 rpmi: libpcre16-8.40-alt1 1484570205 installed <13>Apr 21 01:27:09 rpmi: pcretest-8.40-alt1 1484570205 installed <13>Apr 21 01:27:09 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Apr 21 01:27:09 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:27:09 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:27:09 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:27:09 rpmi: libpcre-devel-8.40-alt1 1484570205 installed <13>Apr 21 01:27:09 rpmi: rpm-build-licenses-2.0.5-alt2 1454794749 installed <13>Apr 21 01:27:09 rpmi: libdb4.7-devel-4.7.25-alt8 1342057780 installed <13>Apr 21 01:27:09 rpmi: libacl-devel-2.2.52.0.52.33f0-alt0.M80P.1 1492681336 installed <13>Apr 21 01:27:09 rpmi: glibc-devel-static-6:2.23-alt3.M80P.2 1514455523 installed <13>Apr 21 01:27:10 rpmi: flex-2.6.0-alt1 1449073214 installed <13>Apr 21 01:27:10 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:27:10 groupadd[19929]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:27:10 groupadd[19929]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:27:10 groupadd[19929]: new group: name=_keytab, GID=499 <13>Apr 21 01:27:10 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Apr 21 01:27:10 groupadd[20013]: group added to /etc/group: name=sasl, GID=498 <86>Apr 21 01:27:10 groupadd[20013]: group added to /etc/gshadow: name=sasl <86>Apr 21 01:27:10 groupadd[20013]: new group: name=sasl, GID=498 <13>Apr 21 01:27:10 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 21 01:27:10 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 21 01:27:10 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:27:10 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:27:10 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:27:10 rpmi: libmysqlclient18-10.1.38-alt1 p8+223431.300.4.1 1551586717 installed <13>Apr 21 01:27:10 rpmi: libmysqlclient-devel-10.1.38-alt1 p8+223431.300.4.1 1551586717 installed Installing cfengine-3.1.1-alt3.3.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3412 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf cfengine-3.1.1 + echo 'Source #0 (cfengine-3.1.1.tar):' Source #0 (cfengine-3.1.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/cfengine-3.1.1.tar + cd cfengine-3.1.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (cfengine-3-alt-config.patch):' Patch #1 (cfengine-3-alt-config.patch): + /usr/bin/patch -p0 patching file inputs/update.cf patching file inputs/site.cf + echo 'Patch #2 (cfengine-3-alt-build.patch):' Patch #2 (cfengine-3-alt-build.patch): + /usr/bin/patch -p1 patching file src/cf3.defs.h + echo 'Patch #3 (cfengine-3.1.1-alt-DSO.patch):' Patch #3 (cfengine-3.1.1-alt-DSO.patch): + /usr/bin/patch -p0 patching file configure + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.3412 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cfengine-3.1.1 + export 'CFLAGS=-pipe -Wall -g -O2' + CFLAGS='-pipe -Wall -g -O2' + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in `.'. libtoolize-default: linking file `./config.guess' libtoolize-default: linking file `./config.sub' libtoolize-default: linking file `./install-sh' libtoolize-default: linking file `./ltmain.sh' libtoolize-default: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize-default: rerunning libtoolize-default, to keep the correct libtool macros in-tree. libtoolize-default: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize-default: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT' 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 autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.60: WARNING: is deprecated and discouraged. autoheader-2.60: autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.60: WARNING: `acconfig.h': autoheader-2.60: autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.60: [Define if a function `main' is needed.]) autoheader-2.60: autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the autoheader-2.60: WARNING: documentation. autoreconf-default: running: automake --add-missing --force-missing configure.ac:19: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:19: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:56: installing './compile' docs/Makefile.am:29: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:32: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:35: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:38: warning: '%'-style pattern rules are a GNU make extension pub/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./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 --with-workdir=/var/lib/cfengine --without-graphviz 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 target 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 style of include used by make... GNU 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 dependency style of x86_64-alt-linux-gcc... none checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... x86_64-alt-linux-gcc checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-alt-linux-gcc... (cached) none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib 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 whether ln -s works... yes 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... 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 how to run the C preprocessor... x86_64-alt-linux-gcc -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 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... yes 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... no checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for getconf... /usr/bin/getconf checking for main in -lm... yes checking for main in -lcfnova... no checking for door_create... no checking for setsockopt... yes checking for gethostent... yes checking for getaddrinfo... yes checking for library containing socket... none required checking for BerkeleyDB location in default... Found header in /usr/include/db4 checking for library containing db_create... -ldb-4 /usr checking Berkeley DB API... 4.7.25 OK checking for db_create in -ldb... yes checking for OpenSSL location... /usr checking OpenSSL Version... OK checking for main in -lcrypto... yes checking pcre... configure: Cannot find PCRE - specify the path checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking pcre/pcre.h usability... yes checking pcre/pcre.h presence... yes checking for pcre/pcre.h... yes checking for main in -lpcre... yes checking for main in -lrt... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/malloc.h usability... no checking sys/malloc.h presence... no checking for sys/malloc.h... no checking vfs.h usability... no checking vfs.h presence... no checking for vfs.h... no checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/filesys.h usability... no checking sys/filesys.h presence... no checking for sys/filesys.h... no checking dustat.h usability... no checking dustat.h presence... no checking for dustat.h... no checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for mode_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for clockid_t... yes checking for an ANSI C-conforming const... yes checking for getcwd... yes checking for getnetgrent... yes checking for waitpid... yes checking for seteuid... yes checking for setegid... yes checking for setreuid... yes checking for setregid... yes checking for uname... yes checking for gethostname... yes checking for realpath... yes checking for chflags... no checking for strstr... yes checking for strsep... yes checking for putenv... yes checking for drand48... yes checking for srand48... yes checking for getaddrinfo... (cached) yes checking for bcopy... yes checking for mkfifo... yes checking for statfs... yes checking for statvfs... yes checking for door... no checking for sysinfo... yes checking for setsid... yes checking for strdup... yes checking for strrchr... yes checking for strerror... yes checking for snprintf... yes checking for sysconf... yes checking for struct sockaddr.sa_len... no checking for either struct rtentry or struct ortentry... rtentry checking whether to compile with large file support... no checking for main in -lpthread... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for lchown... yes checking for pthread_attr_setstacksize... yes checking for pthread_sigmask... yes checking for yp_get_default_domain in -lnss_nis... no checking for main in -lacl... yes checking acl.h usability... no checking acl.h presence... no checking for acl.h... no checking for sys/acl.h... (cached) yes checking acl/libacl.h usability... yes checking acl/libacl.h presence... yes checking for acl/libacl.h... yes checking 8-bit support in Flex... 8-bit support added checking Checking for GCC Specific compile flags... yes checking for hostname... /bin/hostname checking Checking for Xen cpuid-based HVM detection... yes Summary of options... -> Configured with PCRE libraries -> No SQL library support for knowledge map -> No Graphviz libraries included -> No LDAP libraries included -> Will look for BerkeleyDB in default -> No libvirt support included -> No libmongoc support included checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating pub/Makefile config.status: creating src/Makefile config.status: creating src/cf3lex.l config.status: creating docs/Makefile config.status: creating tests/Makefile config.status: creating tests/file_masters/Makefile config.status: creating tests/file_operands/Makefile config.status: creating tests/units/Makefile config.status: creating inputs/Makefile config.status: creating src/conf.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext DONE: Configuration done. Run make/gmake to build cfengine. + sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool + export LD_LIBRARY_PATH=/usr/src/RPM/BUILD/cfengine-3.1.1/src/.libs + LD_LIBRARY_PATH=/usr/src/RPM/BUILD/cfengine-3.1.1/src/.libs + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1' Making all in pub make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/pub' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o getopt.lo getopt.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o getopt1.lo getopt1.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o full-write.lo full-write.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o regex.lo regex.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o getloadavg.lo getloadavg.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o snprintf.lo snprintf.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c full-write.c -fPIC -DPIC -o .libs/full-write.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c getopt.c -fPIC -DPIC -o .libs/getopt.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c getloadavg.c -fPIC -DPIC -o .libs/getloadavg.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c regex.c -fPIC -DPIC -o .libs/regex.o snprintf.c:418:13: warning: 'credits' defined but not used [-Wunused-variable] static char credits[] = "\n\ ^ /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o libcfpub.la getopt.lo getopt1.lo full-write.lo regex.lo getloadavg.lo snprintf.lo -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub libtool: link: ar cru .libs/libcfpub.a .libs/getopt.o .libs/getopt1.o .libs/full-write.o .libs/regex.o .libs/getloadavg.o .libs/snprintf.o libtool: link: ranlib .libs/libcfpub.a libtool: link: ( cd ".libs" && rm -f "libcfpub.la" && ln -s "../libcfpub.la" "libcfpub.la" ) make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/pub' Making all in src make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' make all-am make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' /bin/sh ../ylwrap cf3parse.y y.tab.c cf3parse.c y.tab.h `echo cf3parse.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output cf3parse.output -- bison -y -d /bin/sh ../ylwrap cf3lex.l lex.yy.c cf3lex.c -- flex /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-patches.lo `test -f 'patches.c' || echo './'`patches.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-attributes.lo `test -f 'attributes.c' || echo './'`attributes.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-install.lo `test -f 'install.c' || echo './'`install.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-generic_agent.lo `test -f 'generic_agent.c' || echo './'`generic_agent.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dbm_api.lo `test -f 'dbm_api.c' || echo './'`dbm_api.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dbm_berkeley.lo `test -f 'dbm_berkeley.c' || echo './'`dbm_berkeley.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c patches.c -fPIC -DPIC -o .libs/libpromises_la-patches.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c dbm_berkeley.c -fPIC -DPIC -o .libs/libpromises_la-dbm_berkeley.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c attributes.c -fPIC -DPIC -o .libs/libpromises_la-attributes.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c dbm_api.c -fPIC -DPIC -o .libs/libpromises_la-dbm_api.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c generic_agent.c -fPIC -DPIC -o .libs/libpromises_la-generic_agent.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c install.c -fPIC -DPIC -o .libs/libpromises_la-install.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dbm_quick.lo `test -f 'dbm_quick.c' || echo './'`dbm_quick.c /usr/src/RPM/BUILD/cfengine-3.1.1/src/cf3parse.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c dbm_quick.c -fPIC -DPIC -o .libs/libpromises_la-dbm_quick.o generic_agent.c: In function 'CheckPromises': generic_agent.c:156:24: warning: unused variable 'path' [-Wunused-variable] { char cmd[CF_BUFSIZE],path[CF_BUFSIZE]; ^ generic_agent.c: In function 'ReadPromises': generic_agent.c:204:22: warning: unused variable 'cp' [-Wunused-variable] struct Constraint *cp; ^ generic_agent.c:201:9: warning: variable 'v' set but not used [-Wunused-but-set-variable] { char *v,rettype; ^ generic_agent.c: In function 'PromiseManagement': generic_agent.c:296:1: warning: enumeration value 'cf_executor' not handled in switch [-Wswitch] switch (ag) ^ generic_agent.c:296:1: warning: enumeration value 'cf_runagent' not handled in switch [-Wswitch] generic_agent.c:296:1: warning: enumeration value 'cf_know' not handled in switch [-Wswitch] generic_agent.c:296:1: warning: enumeration value 'cf_report' not handled in switch [-Wswitch] generic_agent.c:296:1: warning: enumeration value 'cf_keygen' not handled in switch [-Wswitch] generic_agent.c:296:1: warning: enumeration value 'cf_hub' not handled in switch [-Wswitch] generic_agent.c:296:1: warning: enumeration value 'cf_noagent' not handled in switch [-Wswitch] generic_agent.c: In function 'InitializeGA': generic_agent.c:418:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%cinputs%cupdate.conf",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:419:24: warning: pointer targets in passing argument 1 of 'MakeParentDirectory' differ in signedness [-Wpointer-sign] MakeParentDirectory(vbuff,force); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:787:5: note: expected 'char *' but argument is of type 'unsigned char *' int MakeParentDirectory(char *parentandchild,int force); ^ generic_agent.c:420:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%cbin%ccf-agent -D from_cfexecd",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:421:24: warning: pointer targets in passing argument 1 of 'MakeParentDirectory' differ in signedness [-Wpointer-sign] MakeParentDirectory(vbuff,force); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:787:5: note: expected 'char *' but argument is of type 'unsigned char *' int MakeParentDirectory(char *parentandchild,int force); ^ generic_agent.c:422:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%coutputs%cspooled_reports",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:423:24: warning: pointer targets in passing argument 1 of 'MakeParentDirectory' differ in signedness [-Wpointer-sign] MakeParentDirectory(vbuff,force); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:787:5: note: expected 'char *' but argument is of type 'unsigned char *' int MakeParentDirectory(char *parentandchild,int force); ^ generic_agent.c:424:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%clastseen%cintermittencies",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:425:24: warning: pointer targets in passing argument 1 of 'MakeParentDirectory' differ in signedness [-Wpointer-sign] MakeParentDirectory(vbuff,force); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:787:5: note: expected 'char *' but argument is of type 'unsigned char *' int MakeParentDirectory(char *parentandchild,int force); ^ generic_agent.c:426:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%creports%cvarious",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:427:24: warning: pointer targets in passing argument 1 of 'MakeParentDirectory' differ in signedness [-Wpointer-sign] MakeParentDirectory(vbuff,force); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:787:5: note: expected 'char *' but argument is of type 'unsigned char *' int MakeParentDirectory(char *parentandchild,int force); ^ generic_agent.c:429:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%cinputs",CFWORKDIR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:431:15: warning: pointer targets in passing argument 1 of 'cfstat' differ in signedness [-Wpointer-sign] if (cfstat(vbuff,&sb) == -1) ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:710:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cfstat(const char *path, struct stat *buf); ^ generic_agent.c:437:16: warning: pointer targets in passing argument 1 of 'cf_chmod' differ in signedness [-Wpointer-sign] cf_chmod(vbuff,sb.st_mode | 0700); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:1159:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cf_chmod(const char *path, mode_t mode); ^ generic_agent.c:440:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%coutputs",CFWORKDIR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:442:15: warning: pointer targets in passing argument 1 of 'cfstat' differ in signedness [-Wpointer-sign] if (cfstat(vbuff,&sb) == -1) ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:710:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cfstat(const char *path, struct stat *buf); ^ generic_agent.c:448:16: warning: pointer targets in passing argument 1 of 'cf_chmod' differ in signedness [-Wpointer-sign] cf_chmod(vbuff,sb.st_mode | 0700); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:1159:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cf_chmod(const char *path, mode_t mode); ^ generic_agent.c:491:16: warning: pointer targets in passing argument 1 of 'ElfHash' differ in signedness [-Wpointer-sign] seed = ElfHash(s); ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:919:5: note: expected 'char *' but argument is of type 'unsigned char *' int ElfHash(char *key); ^ generic_agent.c:514:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(vbuff,CF_BUFSIZE,"%s%cinputs%cfailsafe.cf",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ generic_agent.c:516:34: warning: pointer targets in passing argument 1 of 'cfstat' differ in signedness [-Wpointer-sign] if (!IsEnterprise() && cfstat(vbuff,&statbuf) == -1) ^ In file included from cf3.defs.h:1872:0, from generic_agent.c:32: prototypes3.h:710:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cfstat(const char *path, struct stat *buf); ^ generic_agent.c:524:26: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(VINPUTFILE,vbuff,CF_BUFSIZE-1); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ generic_agent.c:319:9: warning: unused variable 'j' [-Wunused-variable] int i,j,seed,force = false; ^ generic_agent.c:319:7: warning: unused variable 'i' [-Wunused-variable] int i,j,seed,force = false; ^ generic_agent.c:318:9: warning: unused variable 'sp' [-Wunused-variable] { char *sp; ^ generic_agent.c: In function 'Cf3ParseFile': generic_agent.c:769:7: warning: unused variable 'access' [-Wunused-variable] int access = false; ^ generic_agent.c:768:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ generic_agent.c:766:9: warning: unused variable 'save_yyin' [-Wunused-variable] { FILE *save_yyin = yyin; ^ generic_agent.c: In function 'ControlBodyConstraints': generic_agent.c:842:8: warning: unused variable 'scope' [-Wunused-variable] char scope[CF_BUFSIZE]; ^ generic_agent.c: In function 'CheckWorkingDirectories': generic_agent.c:1116:27: warning: too many arguments for format [-Wformat-extra-args] snprintf(vbuff,CF_BUFSIZE,"%s%cstate",CFWORKDIR,FILE_SEPARATOR,FILE_SEPARATOR); ^ generic_agent.c:1116:27: warning: too many arguments for format [-Wformat-extra-args] generic_agent.c:1076:9: warning: unused variable 'sp' [-Wunused-variable] char *sp,vbuff[CF_BUFSIZE]; ^ generic_agent.c:1075:7: warning: unused variable 'result' [-Wunused-variable] int result; ^ generic_agent.c: In function 'VerifyPromises': generic_agent.c:1283:17: warning: unused variable 'name' [-Wunused-variable] char rettype,*name; ^ generic_agent.c:1283:8: warning: unused variable 'rettype' [-Wunused-variable] char rettype,*name; ^ generic_agent.c:1282:8: warning: unused variable 'buf' [-Wunused-variable] char buf[CF_BUFSIZE], *scope; ^ generic_agent.c:1280:21: warning: unused variable 'params' [-Wunused-variable] struct Rlist *rp,*params; ^ generic_agent.c:1279:17: warning: unused variable 'ptr' [-Wunused-variable] struct Scope *ptr; ^ generic_agent.c:1275:22: warning: unused variable 'bundles' [-Wunused-variable] { struct Bundle *bp,*bundles; ^ generic_agent.c: In function 'CheckControlPromises': generic_agent.c:1474:16: warning: unused variable 'rtype' [-Wunused-variable] char rettype,rtype; ^ generic_agent.c:1474:8: warning: unused variable 'rettype' [-Wunused-variable] char rettype,rtype; ^ generic_agent.c:1472:13: warning: unused variable 'override' [-Wunused-variable] int i = 0,override = true; ^ generic_agent.c:1471:22: warning: unused variable 'retval' [-Wunused-variable] void *rval = NULL,*retval; ^ generic_agent.c:1471:9: warning: unused variable 'rval' [-Wunused-variable] void *rval = NULL,*retval; ^ generic_agent.c:1470:9: warning: unused variable 'lval' [-Wunused-variable] char *lval; ^ generic_agent.c:1468:25: warning: unused variable 'sp' [-Wunused-variable] struct SubTypeSyntax *sp; ^ generic_agent.c: In function 'HashVariables': generic_agent.c:1697:17: warning: unused variable 'ptr' [-Wunused-variable] struct Scope *ptr; ^ generic_agent.c:1695:22: warning: unused variable 'bundles' [-Wunused-variable] { struct Bundle *bp,*bundles; ^ generic_agent.c: In function 'UnHashVariables': generic_agent.c:1756:22: warning: unused variable 'bundles' [-Wunused-variable] { struct Bundle *bp,*bundles; ^ generic_agent.c: In function 'BadBundleSequence': generic_agent.c:1768:21: warning: variable 'params' set but not used [-Wunused-but-set-variable] { struct Rlist *rp,*params; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dbm_tokyocab.lo `test -f 'dbm_tokyocab.c' || echo './'`dbm_tokyocab.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c dbm_tokyocab.c -fPIC -DPIC -o .libs/libpromises_la-dbm_tokyocab.o updating cf3parse.h /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dtypes.lo `test -f 'dtypes.c' || echo './'`dtypes.c install.c: In function 'AppendBundle': install.c:69:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ install.c:68:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ install.c: In function 'AppendBody': install.c:118:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c dtypes.c -fPIC -DPIC -o .libs/libpromises_la-dtypes.o patches.c: In function 'MapName': patches.c:61:14: warning: unused variable 'spto' [-Wunused-variable] char *spf,*spto; ^ patches.c:61:9: warning: unused variable 'spf' [-Wunused-variable] char *spf,*spto; ^ patches.c:60:8: warning: unused variable 'buffer' [-Wunused-variable] { char buffer[CF_BUFSIZE]; ^ patches.c: In function 'cf_malloc': patches.c:714:7: warning: unused variable 'buf' [-Wunused-variable] char buf[CF_SMALLBUF]; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-classes.lo `test -f 'classes.c' || echo './'`classes.c attributes.c: In function 'GetOccurrenceAttributes': attributes.c:372:9: warning: unused variable 'value' [-Wunused-variable] char *value; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c classes.c -fPIC -DPIC -o .libs/libpromises_la-classes.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-env_context.lo `test -f 'env_context.c' || echo './'`env_context.c attributes.c: In function 'GetPackageConstraints': attributes.c:1057:9: warning: unused variable 'value' [-Wunused-variable] char *value; ^ attributes.c: In function 'GetInsertionAttributes': attributes.c:1271:9: warning: unused variable 'value' [-Wunused-variable] char *value; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_interfaces.lo `test -f 'files_interfaces.c' || echo './'`files_interfaces.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c env_context.c -fPIC -DPIC -o .libs/libpromises_la-env_context.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_interfaces.c -fPIC -DPIC -o .libs/libpromises_la-files_interfaces.o dtypes.c: In function 'IsProcessType': dtypes.c:74:7: warning: unused variable 'i' [-Wunused-variable] { int i; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_properties.lo `test -f 'files_properties.c' || echo './'`files_properties.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_select.lo `test -f 'files_select.c' || echo './'`files_select.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_operators.lo `test -f 'files_operators.c' || echo './'`files_operators.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_repository.lo `test -f 'files_repository.c' || echo './'`files_repository.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_properties.c -fPIC -DPIC -o .libs/libpromises_la-files_properties.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_operators.c -fPIC -DPIC -o .libs/libpromises_la-files_operators.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_select.c -fPIC -DPIC -o .libs/libpromises_la-files_select.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_repository.c -fPIC -DPIC -o .libs/libpromises_la-files_repository.o env_context.c: In function 'PopPrivateClassContext': env_context.c:208:16: warning: unused variable 'list' [-Wunused-variable] { struct Item *list; ^ env_context.c: In function 'LoadPersistentContext': env_context.c:285:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ files_interfaces.c: In function 'VerifyFilePromise': files_interfaces.c:215:53: warning: unused variable 'isdirectory' [-Wunused-variable] int exists,success,rlevel = 0,isthere,save = true,isdirectory = false; ^ files_interfaces.c:215:41: warning: unused variable 'save' [-Wunused-variable] int exists,success,rlevel = 0,isthere,save = true,isdirectory = false; ^ files_interfaces.c:215:33: warning: unused variable 'isthere' [-Wunused-variable] int exists,success,rlevel = 0,isthere,save = true,isdirectory = false; ^ files_interfaces.c:215:14: warning: variable 'success' set but not used [-Wunused-but-set-variable] int exists,success,rlevel = 0,isthere,save = true,isdirectory = false; ^ files_interfaces.c:212:28: warning: unused variable 'dslb' [-Wunused-variable] { struct stat osb,oslb,dsb,dslb; ^ files_interfaces.c: In function 'VerifyCopy': /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_copy.lo `test -f 'files_copy.c' || echo './'`files_copy.c files_interfaces.c:424:17: warning: unused variable 'save_gid' [-Wunused-variable] int save_uid, save_gid, found; ^ files_interfaces.c:424:7: warning: unused variable 'save_uid' [-Wunused-variable] int save_uid, save_gid, found; ^ env_context.c: In function 'EvalClassExpression': env_context.c:755:42: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] snprintf(buffer,CF_MAXVARSIZE-1,"%s_%s",pp->promiser,rp->item); ^ env_context.c:755:42: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] env_context.c:615:9: warning: unused variable 'lval' [-Wunused-variable] char *lval = cp->lval,buffer[CF_MAXVARSIZE]; ^ files_interfaces.c: In function 'CfCopyFile': files_interfaces.c:655:13: warning: unused variable 'succeed' [-Wunused-variable] int found,succeed = false; ^ files_interfaces.c:654:22: warning: unused variable 'ptr1' [-Wunused-variable] struct Item *ptr, *ptr1; ^ files_interfaces.c:654:16: warning: unused variable 'ptr' [-Wunused-variable] struct Item *ptr, *ptr1; ^ files_interfaces.c: In function 'CopyRegularFile': files_interfaces.c:1574:23: warning: unused variable 'silent' [-Wunused-variable] int remote = false, silent, backupisdir=false, backupok=false,discardbackup; ^ files_interfaces.c: In function 'RegisterAHardLink': files_interfaces.c:1986:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (attr.transaction.action = cfa_warn) ^ files_interfaces.c: In function 'VerifyFilePromise': libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_copy.c -fPIC -DPIC -o .libs/libpromises_la-files_copy.o files_interfaces.c:282:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(basedir); ^ files_select.c: In function 'SelectLeaf': files_select.c:169:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = EvaluateORString(attr.select.result,leaf_attr,0)) ^ files_select.c:39:9: warning: unused variable 'criteria' [-Wunused-variable] char *criteria = NULL; ^ files_select.c:38:22: warning: unused variable 'tmpres' [-Wunused-variable] int result = true, tmpres; ^ files_select.c: In function 'SelectSizeMatch': files_select.c:188:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ files_select.c:187:16: warning: unused variable 'leafattrib' [-Wunused-variable] { struct Item *leafattrib = NULL; ^ files_select.c: In function 'SelectExecRegexMatch': files_select.c:431:9: warning: unused variable 'e' [-Wunused-variable] int s,e; ^ files_select.c:431:7: warning: unused variable 's' [-Wunused-variable] int s,e; ^ files_repository.c: In function 'ArchiveToRepository': files_repository.c:46:9: warning: unused variable 'imagecopy' [-Wunused-variable] short imagecopy; ^ files_properties.c: In function 'ConsiderFile': files_properties.c:100:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (sp = nodename; *sp != '\0'; sp++) ^ files_properties.c:109:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vbuff,path); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ files_properties.c:110:10: warning: pointer targets in passing argument 1 of 'AddSlash' differ in signedness [-Wpointer-sign] AddSlash(vbuff); ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:739:6: note: expected 'char *' but argument is of type 'unsigned char *' void AddSlash(char *str); ^ files_properties.c:111:8: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(vbuff,nodename); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ files_properties.c:116:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(newname,vbuff); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ files_properties.c:116:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(newname,vbuff); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ files_properties.c:126:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(newname,".cf-nonalpha"); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ files_properties.c:130:18: warning: pointer targets in passing argument 1 of 'cf_rename' differ in signedness [-Wpointer-sign] if (cf_rename(vbuff,newname) == -1) ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:1160:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cf_rename(const char *oldpath, const char *newpath); ^ files_properties.c:130:24: warning: pointer targets in passing argument 2 of 'cf_rename' differ in signedness [-Wpointer-sign] if (cf_rename(vbuff,newname) == -1) ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:1160:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cf_rename(const char *oldpath, const char *newpath); ^ files_properties.c:134:17: warning: pointer targets in passing argument 1 of 'cf_chmod' differ in signedness [-Wpointer-sign] if (cf_chmod(newname,0644) == -1) ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:1159:5: note: expected 'const char *' but argument is of type 'unsigned char *' int cf_chmod(const char *path, mode_t mode); ^ files_properties.c:143:17: warning: pointer targets in passing argument 1 of 'cf_lstat' differ in signedness [-Wpointer-sign] if (cf_lstat(vbuff,&statbuf,attr,pp) == -1) ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:712:5: note: expected 'char *' but argument is of type 'unsigned char *' int cf_lstat(char *file,struct stat *buf,struct Attributes attr, struct Promise *pp); ^ files_properties.c:157:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (sp = nodename+strlen(nodename)-1; *sp != '.'; sp--) ^ files_properties.c:165:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((strlen(sp) > 0) && IsItemIn(EXTENSIONLIST,sp)) ^ In file included from cf.defs.h:54:0, from cf3.defs.h:30, from files_properties.c:32: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ files_properties.c:165:57: warning: pointer targets in passing argument 2 of 'IsItemIn' differ in signedness [-Wpointer-sign] if ((strlen(sp) > 0) && IsItemIn(EXTENSIONLIST,sp)) ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:971:5: note: expected 'char *' but argument is of type 'unsigned char *' int IsItemIn (struct Item *list, char *item); ^ files_properties.c:174:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (sp = nodename; *sp != '\0'; sp++) /* Check for files like ".. ." */ ^ files_properties.c:186:14: warning: pointer targets in passing argument 1 of 'cf_lstat' differ in signedness [-Wpointer-sign] if (cf_lstat(vbuff,&statbuf,attr,pp) == -1) ^ In file included from cf3.defs.h:1872:0, from files_properties.c:32: prototypes3.h:712:5: note: expected 'char *' but argument is of type 'unsigned char *' int cf_lstat(char *file,struct stat *buf,struct Attributes attr, struct Promise *pp); ^ files_properties.c: In function 'SetSearchDevice': files_properties.c:219:7: warning: format '%d' expects argument of type 'int', but argument 2 has type '__dev_t {aka long unsigned int}' [-Wformat=] Debug("Registering root device as %d\n",sb->st_dev); ^ files_operators.c: In function 'ScheduleEditOperation': files_operators.c:444:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (vp = GetConstraint("edit_line",pp,CF_FNCALL)) ^ files_operators.c:450:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (vp = GetConstraint("edit_line",pp,CF_SCALAR)) ^ files_operators.c:466:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bp = GetBundle(edit_bundle_name,"edit_line")) ^ files_operators.c: In function 'MoveObstruction': files_operators.c:522:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=] sprintf(stamp, "_%d_%s",CFSTARTTIME,CanonifyName(cf_ctime(&now_stamp))); ^ files_operators.c:556:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=] sprintf(stamp, "_%d_%s", CFSTARTTIME, CanonifyName(cf_ctime(&now_stamp))); ^ files_operators.c: In function 'LogHashChange': files_operators.c:1463:26: warning: unused variable 'timebuf' [-Wunused-variable] char fname[CF_BUFSIZE],timebuf[CF_MAXVARSIZE]; ^ files_operators.c: In function 'Unix_VerifyOwner': files_operators.c:1756:25: warning: unused variable 'unknownglp' [-Wunused-variable] struct GidList *glp, *unknownglp; ^ files_operators.c:1755:25: warning: unused variable 'unknownulp' [-Wunused-variable] struct UidList *ulp, *unknownulp; ^ files_operators.c: In function 'RotateFiles': files_operators.c:1586:1: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(to,statbuf.st_uid,statbuf.st_gid); ^ files_operators.c:1595:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(name,statbuf.st_uid,statbuf.st_gid); /* NT doesn't have fchown */ ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_editline.lo `test -f 'files_editline.c' || echo './'`files_editline.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_editline.c -fPIC -DPIC -o .libs/libpromises_la-files_editline.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_edit.lo `test -f 'files_edit.c' || echo './'`files_edit.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_links.lo `test -f 'files_links.c' || echo './'`files_links.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_edit.c -fPIC -DPIC -o .libs/libpromises_la-files_edit.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_hashes.lo `test -f 'files_hashes.c' || echo './'`files_hashes.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_hashes.c -fPIC -DPIC -o .libs/libpromises_la-files_hashes.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_links.c -fPIC -DPIC -o .libs/libpromises_la-files_links.o files_editline.c: In function 'VerifyLineDeletions': files_editline.c:229:64: warning: unused variable 'prev' [-Wunused-variable] { struct Item **start = &(pp->edcontext->file_start), *match, *prev; ^ files_editline.c:229:56: warning: unused variable 'match' [-Wunused-variable] { struct Item **start = &(pp->edcontext->file_start), *match, *prev; ^ files_editline.c: In function 'VerifyColumnEdits': files_editline.c:272:64: warning: unused variable 'prev' [-Wunused-variable] { struct Item **start = &(pp->edcontext->file_start), *match, *prev; ^ files_editline.c:272:56: warning: unused variable 'match' [-Wunused-variable] { struct Item **start = &(pp->edcontext->file_start), *match, *prev; ^ files_editline.c: In function 'VerifyPatterns': files_editline.c:338:64: warning: unused variable 'prev' [-Wunused-variable] { struct Item **start = &(pp->edcontext->file_start), *match, *prev; ^ files_editline.c:338:56: warning: unused variable 'match' [-Wunused-variable] { struct Item **start = &(pp->edcontext->file_start), *match, *prev; ^ files_editline.c: In function 'ReplacePatterns': files_editline.c:820:18: warning: unused variable 'rex' [-Wunused-variable] struct CfRegEx rex; ^ files_editline.c:819:7: warning: variable 'match_len' set but not used [-Wunused-but-set-variable] int match_len,start_off,end_off,once_only = false,retval = false; ^ files_editline.c:817:28: warning: unused variable 'end' [-Wunused-variable] { char *sp, *start = NULL,*end,replace[CF_EXPANDSIZE],line_buff[CF_EXPANDSIZE]; ^ files_editline.c:817:14: warning: unused variable 'start' [-Wunused-variable] { char *sp, *start = NULL,*end,replace[CF_EXPANDSIZE],line_buff[CF_EXPANDSIZE]; ^ files_editline.c:817:9: warning: unused variable 'sp' [-Wunused-variable] { char *sp, *start = NULL,*end,replace[CF_EXPANDSIZE],line_buff[CF_EXPANDSIZE]; ^ files_editline.c: In function 'SelectLine': files_editline.c:1275:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.startwith_from_list) ^ files_editline.c:1290:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.not_startwith_from_list) ^ files_editline.c:1305:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.match_from_list) ^ files_editline.c:1320:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.not_match_from_list) ^ files_editline.c:1335:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.contains_from_list) ^ files_editline.c:1350:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.not_contains_from_list) ^ files_editline.c: In function 'EditColumn': files_editline.c:1379:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (found = KeyInRlist(*columns,a.column.column_value)) ^ files_editline.c:1375:6: warning: unused variable 'count' [-Wunused-variable] int count = 0,retval = false; ^ files_editline.c: In function 'InsertMissingLinesAtLocation': files_editline.c:602:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,CF_BUFSIZE,fin); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_names.lo `test -f 'files_names.c' || echo './'`files_names.c files_edit.c: In function 'FinishEditContext': files_edit.c:78:7: warning: unused variable 'retval' [-Wunused-variable] { int retval = false; ^ files_edit.c: In function 'SaveItemListAsFile': files_edit.c:238:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] snprintf(stamp,CF_BUFSIZE,"_%d_%s", CFSTARTTIME,CanonifyName(cf_ctime(&stamp_now))); ^ files_edit.c:238:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] files_edit.c:293:1: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(file,statbuf.st_uid,statbuf.st_gid); ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c files_names.c -fPIC -DPIC -o .libs/libpromises_la-files_names.o files_hashes.c: In function 'FileHashChanged': files_hashes.c:86:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^ files_hashes.c:84:45: warning: unused variable 'dbattr' [-Wunused-variable] unsigned char dbdigest[EVP_MAX_MD_SIZE+1],dbattr[EVP_MAX_MD_SIZE+1]; ^ files_hashes.c:83:9: warning: unused variable 'needupdate' [-Wunused-variable] int i,needupdate = false, size = 21; ^ files_hashes.c:82:22: warning: unused variable 'stat2' [-Wunused-variable] { struct stat stat1, stat2; ^ files_hashes.c:82:15: warning: unused variable 'stat1' [-Wunused-variable] { struct stat stat1, stat2; ^ files_hashes.c: In function 'HashFile': files_hashes.c:262:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (len = fread(buffer,1,1024,file)) ^ files_hashes.c:267:36: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ files_hashes.c: In function 'HashList': files_hashes.c:297:33: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ files_hashes.c: In function 'HashString': files_hashes.c:328:40: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ files_hashes.c:306:9: warning: unused variable 'file_buffer' [-Wunused-variable] char *file_buffer; ^ files_hashes.c: In function 'HashPubKey': files_hashes.c:389:40: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ files_hashes.c:339:9: warning: unused variable 'file_buffer' [-Wunused-variable] char *file_buffer; ^ files_hashes.c: In function 'PurgeHashes': files_hashes.c:452:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ files_hashes.c: In function 'FileHashSize': files_hashes.c:634:9: warning: unused variable 'size' [-Wunused-variable] { int i,size = 0; ^ files_hashes.c:634:7: warning: unused variable 'i' [-Wunused-variable] { int i,size = 0; ^ files_links.c: In function 'VerifyLink': files_links.c:45:43: warning: unused variable 'saved' [-Wunused-variable] { char to[CF_BUFSIZE],linkbuf[CF_BUFSIZE],saved[CF_BUFSIZE],absto[CF_BUFSIZE]; ^ files_links.c: In function 'VerifyHardLink': files_links.c:300:43: warning: unused variable 'saved' [-Wunused-variable] { char to[CF_BUFSIZE],linkbuf[CF_BUFSIZE],saved[CF_BUFSIZE],absto[CF_BUFSIZE]; ^ files_links.c:300:23: warning: unused variable 'linkbuf' [-Wunused-variable] { char to[CF_BUFSIZE],linkbuf[CF_BUFSIZE],saved[CF_BUFSIZE],absto[CF_BUFSIZE]; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-chflags.lo `test -f 'chflags.c' || echo './'`chflags.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-modes.lo `test -f 'modes.c' || echo './'`modes.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c chflags.c -fPIC -DPIC -o .libs/libpromises_la-chflags.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c modes.c -fPIC -DPIC -o .libs/libpromises_la-modes.o files_names.c: In function 'IsAbsoluteFileName': files_names.c:779:7: warning: unused variable 'quoted' [-Wunused-variable] { int quoted,off = 0; ^ files_names.c: In function 'RootDirLength': files_names.c:814:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ files_names.c:813:7: warning: unused variable 'len' [-Wunused-variable] { int len; ^ In file included from /usr/include/string.h:653:0, from cf.defs.h:54, from cf3.defs.h:30, from files_editline.c:32: In function 'strncat', inlined from 'ReplacePatterns' at files_editline.c:858:7: /usr/include/bits/string3.h:156:10: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-exec_tools.lo `test -f 'exec_tools.c' || echo './'`exec_tools.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-nfs.lo `test -f 'nfs.c' || echo './'`nfs.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-item-lib.lo `test -f 'item-lib.c' || echo './'`item-lib.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c nfs.c -fPIC -DPIC -o .libs/libpromises_la-nfs.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-cf_sql.lo `test -f 'cf_sql.c' || echo './'`cf_sql.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c exec_tools.c -fPIC -DPIC -o .libs/libpromises_la-exec_tools.o chflags.c: In function 'ParseFlagString': chflags.c:103:7: warning: format '%o' expects argument of type 'unsigned int', but argument 2 has type 'u_long {aka long unsigned int}' [-Wformat=] Debug("ParseFlagString:[PLUS=%o][MINUS=%o]\n",*plusmask,*minusmask); ^ chflags.c:103:7: warning: format '%o' expects argument of type 'unsigned int', but argument 3 has type 'u_long {aka long unsigned int}' [-Wformat=] chflags.c:70:7: warning: unused variable 'scan' [-Wunused-variable] int scan; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-client_protocol.lo `test -f 'client_protocol.c' || echo './'`client_protocol.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c cf_sql.c -fPIC -DPIC -o .libs/libpromises_la-cf_sql.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c item-lib.c -fPIC -DPIC -o .libs/libpromises_la-item-lib.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-client_code.lo `test -f 'client_code.c' || echo './'`client_code.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c client_protocol.c -fPIC -DPIC -o .libs/libpromises_la-client_protocol.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c client_code.c -fPIC -DPIC -o .libs/libpromises_la-client_code.o cf_sql.c: In function 'CfConnectDB': cf_sql.c:68:8: warning: unused variable 'format' [-Wunused-variable] { char format[CF_BUFSIZE]; ^ cf_sql.c: In function 'CfNewQueryDB': cf_sql.c:213:9: warning: unused variable 'result' [-Wunused-variable] { int i,result; ^ cf_sql.c:213:7: warning: unused variable 'i' [-Wunused-variable] { int i,result; ^ cf_sql.c: In function 'CfFetchRow': cf_sql.c:281:7: warning: unused variable 'i' [-Wunused-variable] { int i; ^ exec_tools.c: In function 'ActAsDaemon': exec_tools.c:181:1: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ cf_sql.c: In function 'EscapeSQL': cf_sql.c:401:14: warning: unused variable 'spt' [-Wunused-variable] char *spf,*spt; ^ cf_sql.c:401:9: warning: unused variable 'spf' [-Wunused-variable] char *spf,*spt; ^ cf_sql.c: In function 'Debugcfdb': cf_sql.c:442:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("SIZE of CfdbConn: %d = %d\n",sizeof(CfdbConn),sizeof(*cfdb)); ^ cf_sql.c:442:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] nfs.c: In function 'VerifyNotInFstab': nfs.c:409:34: warning: variable 'fstype' set but not used [-Wunused-but-set-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c:408:8: warning: unused variable 'fstab' [-Wunused-variable] { char fstab[CF_BUFSIZE],regex[CF_BUFSIZE],aixcomm[CF_BUFSIZE],line[CF_BUFSIZE]; ^ nfs.c: In function 'VerifyMount': nfs.c:510:42: warning: unused variable 'opts' [-Wunused-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c:510:34: warning: variable 'fstype' set but not used [-Wunused-but-set-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c: In function 'VerifyUnmount': nfs.c:550:42: warning: unused variable 'opts' [-Wunused-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c:550:34: warning: variable 'fstype' set but not used [-Wunused-but-set-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c:550:15: warning: variable 'rmountpt' set but not used [-Wunused-but-set-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c:550:9: warning: variable 'host' set but not used [-Wunused-but-set-variable] char *host,*rmountpt,*mountpt,*fstype,*opts; ^ nfs.c: In function 'MountAll': nfs.c:628:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,"#!/bin/sh\n\n",10); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-communication.lo `test -f 'communication.c' || echo './'`communication.c item-lib.c: In function 'IdempItemCount': item-lib.c:167:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ip = ReturnItemIn(*liststart,itemstring)) ^ item-lib.c: In function 'RawSaveItemList': item-lib.c:365:10: warning: variable 'STAMPNOW' set but not used [-Wunused-but-set-variable] time_t STAMPNOW; ^ item-lib.c:364:8: warning: unused variable 'stamp' [-Wunused-variable] char stamp[CF_BUFSIZE]; ^ item-lib.c:363:10: warning: unused variable 'mask' [-Wunused-variable] mode_t mask; ^ item-lib.c:360:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ item-lib.c: In function 'SortItemListNames': item-lib.c:550:35: warning: variable 'oldhead' set but not used [-Wunused-but-set-variable] { struct Item *p, *q, *e, *tail, *oldhead; ^ item-lib.c: In function 'SortItemListClasses': item-lib.c:660:35: warning: variable 'oldhead' set but not used [-Wunused-but-set-variable] { struct Item *p, *q, *e, *tail, *oldhead; ^ item-lib.c: In function 'SortItemListCounters': item-lib.c:770:35: warning: variable 'oldhead' set but not used [-Wunused-but-set-variable] { struct Item *p, *q, *e, *tail, *oldhead; ^ item-lib.c: In function 'SortItemListTimes': item-lib.c:881:35: warning: variable 'oldhead' set but not used [-Wunused-but-set-variable] { struct Item *p, *q, *e, *tail, *oldhead; ^ item-lib.c: In function 'InsertAfter': item-lib.c:995:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ item-lib.c: In function 'DeleteItemGeneral': item-lib.c:1481:1: warning: enumeration value 'literalComplete' not handled in switch [-Wswitch] switch (type) ^ item-lib.c:1481:1: warning: enumeration value 'literalSomewhere' not handled in switch [-Wswitch] item-lib.c:1481:1: warning: enumeration value 'NOTliteralStart' not handled in switch [-Wswitch] item-lib.c:1481:1: warning: enumeration value 'NOTliteralComplete' not handled in switch [-Wswitch] item-lib.c:1481:1: warning: enumeration value 'NOTliteralSomewhere' not handled in switch [-Wswitch] item-lib.c:1474:14: warning: unused variable 'pmatch' [-Wunused-variable] regmatch_t pmatch; ^ item-lib.c: In function 'CompareToFile': item-lib.c:1638:34: warning: unused variable 'idx' [-Wunused-variable] unsigned long fip = 0, tmplen, idx; ^ item-lib.c:1638:26: warning: unused variable 'tmplen' [-Wunused-variable] unsigned long fip = 0, tmplen, idx; ^ item-lib.c:1638:17: warning: unused variable 'fip' [-Wunused-variable] unsigned long fip = 0, tmplen, idx; ^ item-lib.c:1637:33: warning: unused variable 'fdata' [-Wunused-variable] unsigned char *finmem = NULL, fdata; ^ item-lib.c:1637:18: warning: unused variable 'finmem' [-Wunused-variable] unsigned char *finmem = NULL, fdata; ^ item-lib.c:1636:16: warning: unused variable 'ip' [-Wunused-variable] struct Item *ip = liststart,*cmplist = NULL; ^ item-lib.c:1634:9: warning: unused variable 'fp' [-Wunused-variable] { FILE *fp; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-net.lo `test -f 'net.c' || echo './'`net.c client_protocol.c: In function 'IdentifyAgent': client_protocol.c:79:50: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(sd,(struct sockaddr *)&myaddr,&len) == -1) ^ In file included from cf.defs.h:269:0, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ client_protocol.c:42:19: warning: unused variable 'hp' [-Wunused-variable] struct hostent *hp; ^ client_protocol.c:41:19: warning: unused variable 'iaddr' [-Wunused-variable] struct in_addr *iaddr; ^ client_protocol.c: In function 'AuthenticateAgent': client_protocol.c:193:39: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness [-Wpointer-sign] nonce_len = BN_bn2mpi(nonce_challenge,in); ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/bn.h:445:5: note: expected 'unsigned char *' but argument is of type 'char *' int BN_bn2mpi(const BIGNUM *a, unsigned char *to); ^ client_protocol.c:206:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_pubkey = HavePublicKeyByIP(conn->username,conn->remoteip)) ^ client_protocol.c:228:37: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] if (RSA_public_encrypt(nonce_len,in,out,server_pubkey,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/rsa.h:335:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ client_protocol.c:228:40: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] if (RSA_public_encrypt(nonce_len,in,out,server_pubkey,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/rsa.h:335:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ client_protocol.c:260:27: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness [-Wpointer-sign] len = BN_bn2mpi(PUBKEY->n,sendbuffer); ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/bn.h:445:5: note: expected 'unsigned char *' but argument is of type 'char *' int BN_bn2mpi(const BIGNUM *a, unsigned char *to); ^ client_protocol.c:265:27: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness [-Wpointer-sign] len = BN_bn2mpi(PUBKEY->e,sendbuffer); ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/bn.h:445:5: note: expected 'unsigned char *' but argument is of type 'char *' int BN_bn2mpi(const BIGNUM *a, unsigned char *to); ^ client_protocol.c:296:24: warning: pointer targets in passing argument 2 of 'HashesMatch' differ in signedness [-Wpointer-sign] if (HashesMatch(digest,in,CF_DEFAULT_DIGEST) || HashesMatch(digest,in,cf_md5)) // Legacy ^ In file included from cf3.defs.h:1872:0, from client_protocol.c:33: prototypes3.h:696:5: note: expected 'unsigned char *' but argument is of type 'char *' int HashesMatch(unsigned char digest1[EVP_MAX_MD_SIZE+1],unsigned char digest2[EVP_MAX_MD_SIZE+1],enum cfhashes type); ^ client_protocol.c:296:68: warning: pointer targets in passing argument 2 of 'HashesMatch' differ in signedness [-Wpointer-sign] if (HashesMatch(digest,in,CF_DEFAULT_DIGEST) || HashesMatch(digest,in,cf_md5)) // Legacy ^ In file included from cf3.defs.h:1872:0, from client_protocol.c:33: prototypes3.h:696:5: note: expected 'unsigned char *' but argument is of type 'char *' int HashesMatch(unsigned char digest1[EVP_MAX_MD_SIZE+1],unsigned char digest2[EVP_MAX_MD_SIZE+1],enum cfhashes type); ^ client_protocol.c:343:39: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if (RSA_private_decrypt(encrypted_len,in,decrypted_cchall,PRIVKEY,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/rsa.h:341:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ client_protocol.c:343:42: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if (RSA_private_decrypt(encrypted_len,in,decrypted_cchall,PRIVKEY,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/rsa.h:341:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ client_protocol.c:364:29: warning: pointer targets in passing argument 2 of 'SendTransaction' differ in signedness [-Wpointer-sign] SendTransaction(conn->sd,digest,CF_DEFAULT_DIGEST_LEN,CF_DONE); ^ In file included from cf3.defs.h:1872:0, from client_protocol.c:33: prototypes3.h:1100:5: note: expected 'char *' but argument is of type 'unsigned char *' int SendTransaction (int sd, char *buffer,int len, char status); ^ client_protocol.c:368:29: warning: pointer targets in passing argument 2 of 'SendTransaction' differ in signedness [-Wpointer-sign] SendTransaction(conn->sd,digest,CF_MD5_LEN,CF_DONE); ^ In file included from cf3.defs.h:1872:0, from client_protocol.c:33: prototypes3.h:1100:5: note: expected 'char *' but argument is of type 'unsigned char *' int SendTransaction (int sd, char *buffer,int len, char status); ^ client_protocol.c:388:31: warning: pointer targets in passing argument 1 of 'BN_mpi2bn' differ in signedness [-Wpointer-sign] if ((newkey->n = BN_mpi2bn(in,len,NULL)) == NULL) ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/bn.h:444:9: note: expected 'const unsigned char *' but argument is of type 'char *' BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); ^ client_protocol.c:405:31: warning: pointer targets in passing argument 1 of 'BN_mpi2bn' differ in signedness [-Wpointer-sign] if ((newkey->e = BN_mpi2bn(in,len,NULL)) == NULL) ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/bn.h:444:9: note: expected 'const unsigned char *' but argument is of type 'char *' BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); ^ client_protocol.c:436:55: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] if (RSA_public_encrypt(session_size,conn->session_key,out,server_pubkey,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from client_protocol.c:33: /usr/include/openssl/rsa.h:335:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ client_protocol.c:176:41: warning: unused variable 'len_e' [-Wunused-variable] int encrypted_len,nonce_len = 0,len_n,len_e,len,session_size; ^ client_protocol.c:176:35: warning: unused variable 'len_n' [-Wunused-variable] int encrypted_len,nonce_len = 0,len_n,len_e,len,session_size; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c communication.c -fPIC -DPIC -o .libs/libpromises_la-communication.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-sockaddr.lo `test -f 'sockaddr.c' || echo './'`sockaddr.c client_code.c: In function 'NewServerConnection': client_code.c:90:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (conn = ServerConnectionReady(rp->item)) ^ client_code.c: In function 'ServerConnection': client_code.c:121:8: warning: unused variable 'username' [-Wunused-variable] char username[CF_SMALLBUF]; ^ client_code.c: In function 'cf_remote_stat': client_code.c:270:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] snprintf(in,CF_BUFSIZE-1,"SYNCH %d STAT %s",tloc,file); ^ client_code.c:270:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] client_code.c:278:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] snprintf(sendbuffer,CF_BUFSIZE,"SYNCH %d STAT %s",tloc,file); ^ client_code.c:278:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] client_code.c:330:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] Debug("Mode = %d,%d\n",d2,d3); ^ client_code.c:330:10: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] client_code.c:332:10: warning: format '%d' expects argument of type 'int', but argument 8 has type 'time_t {aka long int}' [-Wformat=] Debug("OK: type=%d\n mode=%o\n lmode=%o\n uid=%d\n gid=%d\n size=%ld\n atime=%d\n mtime=%d ino=%d nlnk=%d, dev=%d\n", ^ client_code.c:332:10: warning: format '%d' expects argument of type 'int', but argument 9 has type 'time_t {aka long int}' [-Wformat=] client_code.c:332:10: warning: format '%d' expects argument of type 'int', but argument 12 has type 'dev_t {aka long unsigned int}' [-Wformat=] client_code.c: In function 'cf_remote_opendir': client_code.c:426:36: warning: variable 'plainlen' set but not used [-Wunused-but-set-variable] int n, done=false, cipherlen = 0,plainlen = 0,tosend; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c net.c -fPIC -DPIC -o .libs/libpromises_la-net.o client_code.c: In function 'CopyRegularFileNet': client_code.c:650:17: warning: unused variable 'iv' [-Wunused-variable] unsigned char iv[32] = {1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8}; ^ client_code.c:649:28: warning: unused variable 'out' [-Wunused-variable] char *buf,in[CF_BUFSIZE],out[CF_BUFSIZE],workbuf[CF_BUFSIZE],cfchangedstr[265]; ^ client_code.c:649:13: warning: unused variable 'in' [-Wunused-variable] char *buf,in[CF_BUFSIZE],out[CF_BUFSIZE],workbuf[CF_BUFSIZE],cfchangedstr[265]; ^ client_code.c:648:53: warning: unused variable 'cipherlen' [-Wunused-variable] int last_write_made_hole = 0, done = false,tosend,cipherlen=0,value; ^ client_code.c:647:67: warning: unused variable 'finlen' [-Wunused-variable] { int dd, buf_size,n_read = 0,toget,towrite,plainlen,more = true, finlen; ^ client_code.c:647:54: warning: unused variable 'more' [-Wunused-variable] { int dd, buf_size,n_read = 0,toget,towrite,plainlen,more = true, finlen; ^ client_code.c:647:45: warning: unused variable 'plainlen' [-Wunused-variable] { int dd, buf_size,n_read = 0,toget,towrite,plainlen,more = true, finlen; ^ client_code.c: In function 'EncryptCopyRegularFileNet': client_code.c:885:32: warning: pointer targets in passing argument 2 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_DecryptUpdate(&ctx,workbuf,&plainlen,buf,cipherlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from client_code.c:35: /usr/include/openssl/evp.h:635:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ client_code.c:885:50: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_DecryptUpdate(&ctx,workbuf,&plainlen,buf,cipherlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from client_code.c:35: /usr/include/openssl/evp.h:635:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ client_code.c:893:31: warning: pointer targets in passing argument 2 of 'EVP_DecryptFinal' differ in signedness [-Wpointer-sign] if (!EVP_DecryptFinal(&ctx,workbuf+plainlen,&finlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from client_code.c:35: /usr/include/openssl/evp.h:637:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); ^ client_code.c:802:65: warning: unused variable 'value' [-Wunused-variable] int last_write_made_hole = 0, done = false,tosend,cipherlen=0,value; ^ client_code.c:802:33: warning: unused variable 'done' [-Wunused-variable] int last_write_made_hole = 0, done = false,tosend,cipherlen=0,value; ^ client_code.c:801:39: warning: unused variable 'toget' [-Wunused-variable] { int dd, blocksize = 2048,n_read = 0,toget,towrite,plainlen,more = true, finlen,cnt = 0; ^ client_code.c: In function 'ServerConnect': client_code.c:998:12: warning: unused variable 'res' [-Wunused-variable] int res; ^ client_code.c:1076:9: warning: unused variable 'res' [-Wunused-variable] int res; ^ client_code.c:946:7: warning: unused variable 'err' [-Wunused-variable] { int err; ^ client_code.c: In function 'ServerOffline': client_code.c:1117:30: warning: unused variable 'conn' [-Wunused-variable] struct cfagent_connection *conn; ^ client_code.c: In function 'ServerConnectionReady': client_code.c:1148:30: warning: unused variable 'conn' [-Wunused-variable] struct cfagent_connection *conn; ^ client_code.c: In function 'MarkServerOffline': client_code.c:1259:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (svp->conn = NewAgentConn()) ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c sockaddr.c -fPIC -DPIC -o .libs/libpromises_la-sockaddr.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-recursion.lo `test -f 'recursion.c' || echo './'`recursion.c communication.c: In function 'DePort': communication.c:77:7: warning: unused variable 'i' [-Wunused-variable] int i = 0,ccount = 0, dcount = 0; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c recursion.c -fPIC -DPIC -o .libs/libpromises_la-recursion.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-processes_select.lo `test -f 'processes_select.c' || echo './'`processes_select.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-fncall.lo `test -f 'fncall.c' || echo './'`fncall.c net.c: In function 'RecvSocketStream': net.c:121:14: warning: variable 'fraction' set but not used [-Wunused-but-set-variable] static int fraction; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c fncall.c -fPIC -DPIC -o .libs/libpromises_la-fncall.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c processes_select.c -fPIC -DPIC -o .libs/libpromises_la-processes_select.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-cf3globals.lo `test -f 'cf3globals.c' || echo './'`cf3globals.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-reporting.lo `test -f 'reporting.c' || echo './'`reporting.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-evalfunction.lo `test -f 'evalfunction.c' || echo './'`evalfunction.c recursion.c: In function 'DepthSearch': recursion.c:54:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(basedir); ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c cf3globals.c -fPIC -DPIC -o .libs/libpromises_la-cf3globals.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c reporting.c -fPIC -DPIC -o .libs/libpromises_la-reporting.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c evalfunction.c -fPIC -DPIC -o .libs/libpromises_la-evalfunction.o fncall.c: In function 'NewFnCall': fncall.c:71:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ fncall.c: In function 'PrintFunctions': fncall.c:141:18: warning: unused variable 'fp' [-Wunused-variable] { struct FnCall *fp; ^ fncall.c: In function 'FunctionReturnType': fncall.c:239:21: warning: unused variable 'fncall' [-Wunused-variable] { struct FnCallType fncall; ^ reporting.c:37:4: warning: missing braces around initializer [-Wmissing-braces] { ^ reporting.c:37:4: note: (near initialization for 'CFX') reporting.c:59:4: warning: missing braces around initializer [-Wmissing-braces] { ^ reporting.c:59:4: note: (near initialization for 'CFH') reporting.c: In function 'ShowPromise': reporting.c:304:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bp = IsBody(BODIES,(char *)cp->rval)) ^ reporting.c:330:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bp = IsBody(BODIES,fp->name)) ^ reporting.c:252:17: warning: variable 'var' set but not used [-Wunused-but-set-variable] double val,av,var; ^ reporting.c:252:14: warning: variable 'av' set but not used [-Wunused-but-set-variable] double val,av,var; ^ reporting.c:252:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] double val,av,var; ^ reporting.c:251:19: warning: variable 'last' set but not used [-Wunused-but-set-variable] time_t lastseen,last; ^ reporting.c:251:10: warning: unused variable 'lastseen' [-Wunused-variable] time_t lastseen,last; ^ reporting.c:249:19: warning: unused variable 'vbuff' [-Wunused-variable] char *v,rettype,vbuff[CF_BUFSIZE]; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-sysinfo.lo `test -f 'sysinfo.c' || echo './'`sysinfo.c evalfunction.c: In function 'FnCallHostsSeen': /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-conversion.lo `test -f 'conversion.c' || echo './'`conversion.c evalfunction.c:139:26: warning: unused variable 'addr' [-Wunused-variable] char tbuf[CF_BUFSIZE],addr[CF_BUFSIZE]; ^ evalfunction.c:139:9: warning: unused variable 'tbuf' [-Wunused-variable] char tbuf[CF_BUFSIZE],addr[CF_BUFSIZE]; ^ evalfunction.c:138:11: warning: unused variable 'fthen' [-Wunused-variable] time_t fthen; ^ evalfunction.c:88:10: warning: unused variable 'ticksperhr' [-Wunused-variable] double ticksperhr = (double)CF_TICKS_PER_HOUR; ^ evalfunction.c:87:41: warning: variable 'var' set but not used [-Wunused-but-set-variable] double now = (double)tid,average = 0, var = 0; ^ evalfunction.c:87:28: warning: variable 'average' set but not used [-Wunused-but-set-variable] double now = (double)tid,average = 0, var = 0; ^ evalfunction.c:82:29: warning: unused variable 'result' [-Wunused-variable] int ksize,vsize,tmp,range,result,from=-1,to=-1; ^ evalfunction.c:82:23: warning: unused variable 'range' [-Wunused-variable] int ksize,vsize,tmp,range,result,from=-1,to=-1; ^ evalfunction.c:82:19: warning: unused variable 'tmp' [-Wunused-variable] int ksize,vsize,tmp,range,result,from=-1,to=-1; ^ evalfunction.c:81:29: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char *key,*policy,*format,buffer[CF_BUFSIZE]; ^ evalfunction.c:80:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp,*returnlist = NULL; ^ evalfunction.c: In function 'FnCallRandomInt': evalfunction.c:209:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallGetEnv': evalfunction.c:282:33: warning: zero-length gnu_printf format string [-Wformat-zero-length] snprintf(buffer,CF_BUFSIZE-1,""); ^ evalfunction.c:282:33: warning: zero-length gnu_printf format string [-Wformat-zero-length] evalfunction.c:260:18: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ evalfunction.c:258:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallGetUsers': evalfunction.c:323:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (pw = getpwent()) ^ evalfunction.c:308:7: warning: unused variable 'limit' [-Wunused-variable] int limit; ^ evalfunction.c:306:27: warning: unused variable 'ctrlstr' [-Wunused-variable] char buffer[CF_BUFSIZE],ctrlstr[CF_SMALLBUF]; ^ evalfunction.c:306:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char buffer[CF_BUFSIZE],ctrlstr[CF_SMALLBUF]; ^ evalfunction.c:303:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp,*newlist = NULL,*except_names,*except_uids; ^ evalfunction.c: In function 'FnCallEscape': evalfunction.c:358:7: warning: unused variable 'limit' [-Wunused-variable] int limit; ^ evalfunction.c:356:27: warning: unused variable 'ctrlstr' [-Wunused-variable] char buffer[CF_BUFSIZE],ctrlstr[CF_SMALLBUF]; ^ evalfunction.c:355:18: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ evalfunction.c:353:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallHost2IP': evalfunction.c:391:7: warning: unused variable 'limit' [-Wunused-variable] int limit; ^ evalfunction.c:389:27: warning: unused variable 'ctrlstr' [-Wunused-variable] char buffer[CF_BUFSIZE],ctrlstr[CF_SMALLBUF]; ^ evalfunction.c:389:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char buffer[CF_BUFSIZE],ctrlstr[CF_SMALLBUF]; ^ evalfunction.c:388:18: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ evalfunction.c:386:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallGetUid': evalfunction.c:418:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallGetGid': evalfunction.c:467:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallHash': evalfunction.c:517:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallHashMatch': evalfunction.c:561:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallClassMatch': evalfunction.c:605:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallCountClassesMatching': evalfunction.c:655:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallCanonify': evalfunction.c:702:16: warning: unused variable 'ip' [-Wunused-variable] struct Item *ip; ^ evalfunction.c:700:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallLastNode': evalfunction.c:727:16: warning: unused variable 'ip' [-Wunused-variable] struct Item *ip; ^ evalfunction.c: In function 'FnCallClassify': evalfunction.c:777:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallReturnsZero': evalfunction.c:842:32: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] snprintf(comm,CF_BUFSIZE,"%s",finalargs->item); ^ evalfunction.c:842:32: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] evalfunction.c:847:32: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] snprintf(comm,CF_BUFSIZE,"%s",finalargs->item); ^ evalfunction.c:847:32: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] evalfunction.c:816:7: warning: unused variable 'ret' [-Wunused-variable] int ret = false, useshell = false; ^ evalfunction.c:813:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallExecResult': evalfunction.c:884:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallUseModule': evalfunction.c:948:7: warning: unused variable 'ret' [-Wunused-variable] int ret = false; ^ evalfunction.c:945:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallSplayClass': evalfunction.c:1016:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallReadTcp': evalfunction.c:1123:9: warning: unused variable 'sp' [-Wunused-variable] char *sp,*hostnameip,*maxbytes,*port,*sendstring; ^ evalfunction.c:1122:7: warning: unused variable 'ret' [-Wunused-variable] int ret = false; ^ evalfunction.c:1119:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRegList': evalfunction.c:1225:7: warning: unused variable 'ret' [-Wunused-variable] int ret = false; ^ evalfunction.c: In function 'FnCallRegArray': evalfunction.c:1300:51: warning: unused variable 'rettype' [-Wunused-variable] { char lval[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],rettype; ^ evalfunction.c: In function 'FnCallGetIndices': evalfunction.c:1419:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (sp = strchr(index,']')) ^ evalfunction.c:1371:51: warning: unused variable 'rettype' [-Wunused-variable] { char lval[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],rettype; ^ evalfunction.c: In function 'FnCallGrep': evalfunction.c:1459:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ evalfunction.c:1455:65: warning: unused variable 'match' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c:1455:21: warning: unused variable 'index' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c: In function 'FnCallSum': evalfunction.c:1537:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ evalfunction.c:1534:21: warning: unused variable 'returnlist' [-Wunused-variable] struct Rlist *rp,*returnlist = NULL; ^ evalfunction.c:1532:65: warning: unused variable 'match' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c:1532:21: warning: unused variable 'index' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c:1532:15: warning: unused variable 'regex' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c: In function 'FnCallProduct': evalfunction.c:1623:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ evalfunction.c:1620:21: warning: unused variable 'returnlist' [-Wunused-variable] struct Rlist *rp,*returnlist = NULL; ^ evalfunction.c:1618:65: warning: unused variable 'match' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c:1618:21: warning: unused variable 'index' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c:1618:15: warning: unused variable 'regex' [-Wunused-variable] char *name,*regex,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c: In function 'FnCallJoin': evalfunction.c:1708:7: warning: unused variable 'i' [-Wunused-variable] int i,size = 0; ^ evalfunction.c:1704:64: warning: unused variable 'match' [-Wunused-variable] char *name,*join,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c:1704:20: warning: unused variable 'index' [-Wunused-variable] char *name,*join,index[CF_MAXVARSIZE],scopeid[CF_MAXVARSIZE],match[CF_MAXVARSIZE]; ^ evalfunction.c: In function 'FnCallCountLinesMatching': evalfunction.c:1878:29: warning: unused variable 'nopurge' [-Wunused-variable] int lcount = 0,vcount = 0,nopurge = false; ^ evalfunction.c:1878:18: warning: unused variable 'vcount' [-Wunused-variable] int lcount = 0,vcount = 0,nopurge = false; ^ evalfunction.c:1877:8: warning: unused variable 'name' [-Wunused-variable] char name[CF_MAXVARSIZE],line[CF_BUFSIZE],retval[CF_SMALLBUF]; ^ evalfunction.c:1876:38: warning: unused variable 'split' [-Wunused-variable] char *filename,*regex,*array_lval,*split; ^ evalfunction.c:1876:26: warning: unused variable 'array_lval' [-Wunused-variable] char *filename,*regex,*array_lval,*split; ^ evalfunction.c:1875:21: warning: unused variable 'newlist' [-Wunused-variable] struct Rlist *rp,*newlist; ^ evalfunction.c:1875:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp,*newlist; ^ cf3globals.c:394:6: warning: missing braces around initializer [-Wmissing-braces] { ^ cf3globals.c:394:6: note: (near initialization for 'CF_DIGEST_TYPES') evalfunction.c: In function 'FnCallSelectServers': evalfunction.c:2027:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] Debug("Want to read %d bytes from port %d at %s\n",val,portnum,rp->item); ^ processes_select.c: In function 'SelectProcess': processes_select.c:126:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = EvaluateORString(a.process_select.process_result,proc_attr,0)) ^ processes_select.c:41:9: warning: unused variable 'criteria' [-Wunused-variable] char *criteria = NULL; ^ processes_select.c:40:22: warning: unused variable 'e' [-Wunused-variable] int result = true,s,e; ^ processes_select.c:40:20: warning: unused variable 's' [-Wunused-variable] int result = true,s,e; ^ evalfunction.c:1940:9: warning: unused variable 'sp' [-Wunused-variable] char *sp,*maxbytes,*port,*sendstring,*regex,*array_lval,*listvar; ^ evalfunction.c:1939:7: warning: unused variable 'ret' [-Wunused-variable] int ret = false; ^ evalfunction.c: In function 'FnCallIsNewerThan': evalfunction.c:2109:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ cf3globals.c:518:5: warning: missing braces around initializer [-Wmissing-braces] { ^ cf3globals.c:518:5: note: (near initialization for 'OBS') evalfunction.c: In function 'FnCallIsAccessedBefore': evalfunction.c:2155:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallIsChangedBefore': evalfunction.c:2201:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallStatInfo': evalfunction.c:2265:4: warning: enumeration value 'cfn_accessedbefore' not handled in switch [-Wswitch] switch (fn) ^ evalfunction.c:2265:4: warning: enumeration value 'cfn_accum' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_ago' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_canonify' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_changedbefore' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_classify' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_classmatch' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_countclassesmatching' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_countlinesmatching' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_diskfree' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_escape' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_execresult' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_filesexist' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_getenv' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_getfields' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_getgid' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_getindices' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_getuid' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_getusers' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_grep' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_groupexists' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_hash' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_hashmatch' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_host2ip' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_hostinnetgroup' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_hostrange' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_hostsseen' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_hubknowledge' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_iprange' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_irange' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_isgreaterthan' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_islessthan' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_isnewerthan' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_isvariable' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_join' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_lastnode' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_laterthan' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_ldaparray' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_ldaplist' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_ldapvalue' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_now' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_date' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_peers' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_peerleader' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_peerleaders' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_product' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_randomint' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readfile' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readintarray' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readintlist' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readrealarray' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readreallist' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readstringarray' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readstringarrayidx' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readstringlist' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_readtcp' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_regarray' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_regcmp' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_regextract' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_registryvalue' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_regline' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_reglist' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_regldap' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_remotescalar' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_remoteclassesmatching' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_returnszero' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_rrange' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_selectservers' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_splayclass' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_splitstring' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_strcmp' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_sum' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_translatepath' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_usemodule' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_userexists' not handled in switch [-Wswitch] evalfunction.c:2265:4: warning: enumeration value 'cfn_unknown' not handled in switch [-Wswitch] evalfunction.c:2247:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallIPRange': evalfunction.c:2315:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallHostRange': evalfunction.c:2379:16: warning: unused variable 'ip' [-Wunused-variable] struct Item *ip; ^ evalfunction.c:2376:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallHostInNetgroup': evalfunction.c:2419:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallIsVariable': evalfunction.c:2467:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallStrCmp': evalfunction.c:2504:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallTranslatePath': evalfunction.c:2551:34: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] snprintf(buffer, sizeof(buffer), "%s", finalargs->item); ^ evalfunction.c:2551:34: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] evalfunction.c:2542:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRegistryValue': evalfunction.c:2575:23: warning: unused variable 'tobuf' [-Wunused-variable] struct stat frombuf,tobuf; ^ evalfunction.c:2575:15: warning: unused variable 'frombuf' [-Wunused-variable] struct stat frombuf,tobuf; ^ evalfunction.c:2572:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRemoteScalar': evalfunction.c:2647:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] snprintf(buffer,2,""); ^ evalfunction.c:2647:28: warning: zero-length gnu_printf format string [-Wformat-zero-length] evalfunction.c:2606:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallHubKnowledge': evalfunction.c:2677:7: warning: unused variable 'encrypted' [-Wunused-variable] int encrypted; ^ evalfunction.c:2673:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRemoteClasses': evalfunction.c:2775:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (classlist = SplitStringAsRList(buffer,',')) ^ evalfunction.c:2779:41: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] snprintf(class,CF_MAXVARSIZE-1,"%s_%s",prefix,rp->item); ^ evalfunction.c:2779:41: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] evalfunction.c: In function 'FnCallPeers': evalfunction.c:2798:22: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char *split = "\n",buffer[CF_BUFSIZE]; ^ evalfunction.c: In function 'FnCallPeerLeaders': evalfunction.c:3006:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] int i,found,groupsize,maxent = 100000,maxsize = 100000; ^ evalfunction.c:3005:47: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char *filename,*comment,*file_buffer = NULL,buffer[CF_MAXVARSIZE]; ^ evalfunction.c: In function 'FnCallRegCmp': evalfunction.c:3099:30: warning: unused variable 'ret' [-Wunused-variable] struct Item *list = NULL, *ret; ^ evalfunction.c:3099:16: warning: unused variable 'list' [-Wunused-variable] struct Item *list = NULL, *ret; ^ evalfunction.c:3096:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRegExtract': evalfunction.c:3140:30: warning: unused variable 'ret' [-Wunused-variable] struct Item *list = NULL, *ret; ^ evalfunction.c:3140:16: warning: unused variable 'list' [-Wunused-variable] struct Item *list = NULL, *ret; ^ evalfunction.c:3137:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRegLine': evalfunction.c:3215:30: warning: unused variable 'ret' [-Wunused-variable] struct Item *list = NULL, *ret; ^ evalfunction.c:3215:16: warning: unused variable 'list' [-Wunused-variable] struct Item *list = NULL, *ret; ^ evalfunction.c:3212:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallGreaterThan': evalfunction.c:3268:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallIRange': evalfunction.c:3398:31: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] snprintf(buffer,CF_BUFSIZE,"Error reading assumed int values %s=>%d,%s=>%d\n",(char *)(finalargs->item),from,(char *)(finalargs->next->item),to); ^ evalfunction.c:3398:31: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] evalfunction.c:3398:31: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] evalfunction.c:3398:31: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] evalfunction.c:3375:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallRRange': evalfunction.c:3431:17: warning: unused variable 'result' [-Wunused-variable] int tmp,range,result; ^ evalfunction.c:3431:11: warning: unused variable 'range' [-Wunused-variable] int tmp,range,result; ^ evalfunction.c:3428:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallAgoDate': evalfunction.c:3643:33: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] snprintf(buffer,CF_BUFSIZE-1,"%ld",0); ^ evalfunction.c:3643:33: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] evalfunction.c:3606:13: warning: unused variable 'tmv' [-Wunused-variable] struct tm tmv; ^ evalfunction.c: In function 'FnCallAccumulatedDate': evalfunction.c:3666:13: warning: unused variable 'tmv' [-Wunused-variable] struct tm tmv; ^ evalfunction.c: In function 'FnCallNow': evalfunction.c:3720:23: warning: unused variable 'i' [-Wunused-variable] enum cfdatetemplate i; ^ evalfunction.c:3719:13: warning: unused variable 'tmv' [-Wunused-variable] struct tm tmv; ^ evalfunction.c:3717:7: warning: unused variable 'd' [-Wunused-variable] int d[6]; ^ evalfunction.c:3714:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'FnCallReadStringList': evalfunction.c:3788:22: warning: unused variable 'count' [-Wunused-variable] int maxent,maxsize,count = 0,noerrors = true,blanks = false; ^ evalfunction.c: In function 'FnCallReadStringArray': evalfunction.c:3889:32: warning: unused variable 'noerrors' [-Wunused-variable] int maxent,maxsize,count = 0,noerrors = false,entries = 0; ^ evalfunction.c:3889:22: warning: unused variable 'count' [-Wunused-variable] int maxent,maxsize,count = 0,noerrors = false,entries = 0; ^ evalfunction.c:3886:21: warning: unused variable 'newlist' [-Wunused-variable] { struct Rlist *rp,*newlist = NULL; ^ evalfunction.c:3886:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp,*newlist = NULL; ^ evalfunction.c: In function 'FnCallSplitString': evalfunction.c:3973:9: warning: unused variable 'newval' [-Wunused-variable] void *newval; ^ evalfunction.c:3972:31: warning: unused variable 'purge' [-Wunused-variable] int max = 0,noerrors = true,purge = true; ^ evalfunction.c:3972:15: warning: unused variable 'noerrors' [-Wunused-variable] int max = 0,noerrors = true,purge = true; ^ evalfunction.c:3971:23: warning: unused variable 'fnname' [-Wunused-variable] char *string,*split,fnname[CF_MAXVARSIZE]; ^ evalfunction.c: In function 'FnCallLDAPValue': evalfunction.c:4093:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newval = CfLDAPValue(uri,dn,filter,name,scope,sec)) ^ evalfunction.c:4074:17: warning: unused variable 'newlist' [-Wunused-variable] { struct Rlist *newlist = NULL; ^ evalfunction.c: In function 'FnCallLDAPArray': evalfunction.c:4140:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newval = CfLDAPArray(array,uri,dn,filter,scope,sec)) ^ evalfunction.c:4124:17: warning: unused variable 'newlist' [-Wunused-variable] { struct Rlist *newlist = NULL; ^ evalfunction.c: In function 'FnCallLDAPList': evalfunction.c:4174:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newval = CfLDAPList(uri,dn,filter,name,scope,sec)) ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c sysinfo.c -fPIC -DPIC -o .libs/libpromises_la-sysinfo.o evalfunction.c:4158:17: warning: unused variable 'newlist' [-Wunused-variable] { struct Rlist *newlist = NULL; ^ evalfunction.c: In function 'FnCallRegLDAP': evalfunction.c:4209:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newval = CfRegLDAP(uri,dn,filter,name,scope,regex,sec)) ^ evalfunction.c:4192:17: warning: unused variable 'newlist' [-Wunused-variable] { struct Rlist *newlist = NULL; ^ evalfunction.c: In function 'FnCallDiskFree': evalfunction.c:4242:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u_long {aka long unsigned int}' [-Wformat=] snprintf(buffer,CF_BUFSIZE-1,"%d", df); ^ evalfunction.c:4242:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u_long {aka long unsigned int}' [-Wformat=] evalfunction.c:4227:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c conversion.c -fPIC -DPIC -o .libs/libpromises_la-conversion.o evalfunction.c: In function 'Unix_FnCallUserExists': evalfunction.c:4263:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'Unix_FnCallGroupExists': evalfunction.c:4315:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ evalfunction.c: In function 'CloseStringHole': evalfunction.c:4478:7: warning: unused variable 'count' [-Wunused-variable] { int count,off = end - start; ^ evalfunction.c: In function 'BuildLineArray': evalfunction.c:4542:14: warning: variable 'rval' set but not used [-Wunused-but-set-variable] double rval; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-scope.lo `test -f 'scope.c' || echo './'`scope.c evalfunction.c: In function 'FnCallGetFields': evalfunction.c:1826:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line,CF_BUFSIZE-1,fin); ^ evalfunction.c: In function 'FnCallCountLinesMatching': evalfunction.c:1900:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line,CF_BUFSIZE-1,fin); ^ evalfunction.c: In function 'FnCallRegLine': evalfunction.c:3238:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line,CF_BUFSIZE-1,fin); ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c scope.c -fPIC -DPIC -o .libs/libpromises_la-scope.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-assoc.lo `test -f 'assoc.c' || echo './'`assoc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c assoc.c -fPIC -DPIC -o .libs/libpromises_la-assoc.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-comparray.lo `test -f 'comparray.c' || echo './'`comparray.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-vars.lo `test -f 'vars.c' || echo './'`vars.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c comparray.c -fPIC -DPIC -o .libs/libpromises_la-comparray.o scope.c: In function 'AugmentScope': scope.c:130:14: warning: unused variable 'rettype' [-Wunused-variable] char *lval,rettype,naked[CF_MAXVARSIZE]; ^ scope.c:129:9: warning: unused variable 'result' [-Wunused-variable] void *result; ^ scope.c: In function 'CopyScope': scope.c:286:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (op = GetScope(old)) ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-args.lo `test -f 'args.c' || echo './'`args.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c vars.c -fPIC -DPIC -o .libs/libpromises_la-vars.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c args.c -fPIC -DPIC -o .libs/libpromises_la-args.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-hashes.lo `test -f 'hashes.c' || echo './'`hashes.c conversion.c: In function 'IPString2KeyDigest': conversion.c:45:24: warning: unused variable 'ok' [-Wunused-variable] int ret,ksize,vsize, ok = false; ^ conversion.c:45:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize, ok = false; ^ sysinfo.c: In function 'GetNameInfo3': sysinfo.c:392:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(workbuf,"%d_bit",sizeof(long)*8); ^ sysinfo.c:102:8: warning: unused variable 'sz' [-Wunused-variable] long sz; ^ sysinfo.c:90:13: warning: unused variable 'sp2' [-Wunused-variable] char *sp,*sp2,workbuf[CF_BUFSIZE]; ^ sysinfo.c: In function 'FindDomainName': sysinfo.c:624:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (hp = gethostbyname(fqn)) ^ sysinfo.c: In function 'OSClasses': sysinfo.c:682:26: warning: unused variable 'class' [-Wunused-variable] char vbuff[CF_BUFSIZE],class[CF_BUFSIZE]; ^ conversion.c: In function 'Str2Int': conversion.c:568:31: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] snprintf(output,CF_BUFSIZE,"Error reading assumed integer value \"%s\" => \"%d\" (found remainder \"%s\")\n",s,a,remainder); ^ conversion.c:568:31: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c hashes.c -fPIC -DPIC -o .libs/libpromises_la-hashes.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-crypto.lo `test -f 'crypto.c' || echo './'`crypto.c conversion.c: In function 'TimeAbs2Int': conversion.c:677:13: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long int *' [-Wformat=] sscanf(s,"%3[a-zA-Z] %d",mon,&day); ^ conversion.c:688:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] Debug("(%s)\n%d=%s,%d=%s,%d,%d,%d\n",s,year,VYEAR,month,VMONTH,day,hour,min); ^ conversion.c:688:7: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] conversion.c:688:7: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] conversion.c:688:7: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=] conversion.c:688:7: warning: format '%d' expects argument of type 'int', but argument 9 has type 'long int' [-Wformat=] conversion.c: In function 'Months2Seconds': conversion.c:711:10: warning: unused variable 'cftime' [-Wunused-variable] { time_t cftime; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-expand.lo `test -f 'expand.c' || echo './'`expand.c sysinfo.c: In function 'VM_Version': sysinfo.c:1712:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (sufficient < 1 && ((fp = fopen("/etc/vmware-release","r")) != NULL) || ^ sysinfo.c:1683:7: warning: unused variable 'len' [-Wunused-variable] int len = 0; ^ sysinfo.c:1681:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ sysinfo.c: In function 'Xen_Hv_Check': sysinfo.c:1796:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(signature + 0) = ebx; ^ sysinfo.c: In function 'Unix_GetInterfaceInfo': sysinfo.c:1879:8: warning: unused variable 'skip' [-Wunused-variable] int skip = false; ^ vars.c: In function 'IdempNewScalar': vars.c:96:14: warning: unused variable 'sp2' [-Wunused-variable] { char *sp1,*sp2; ^ vars.c:96:9: warning: unused variable 'sp1' [-Wunused-variable] { char *sp1,*sp2; ^ vars.c: In function 'DeleteScalar': vars.c:125:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ap = (struct CfAssoc *)(ptr->hashtable[slot])) ^ vars.c: In function 'GetVariable': vars.c:156:9: warning: unused variable 'sp' [-Wunused-variable] { char *sp; ^ vars.c: In function 'CompareVariable': vars.c:327:8: warning: unused variable 'buffer' [-Wunused-variable] { char buffer[CF_BUFSIZE]; ^ vars.c: In function 'CompareVariableValue': vars.c:341:8: warning: unused variable 'buffer' [-Wunused-variable] { char buffer[CF_BUFSIZE]; ^ vars.c: In function 'UnresolvedVariables': vars.c:378:8: warning: unused variable 'buffer' [-Wunused-variable] { char buffer[CF_BUFSIZE]; ^ vars.c: In function 'ExtractOuterCf3VarString': vars.c:771:7: warning: variable 'nobracks' set but not used [-Wunused-but-set-variable] int nobracks = true; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c crypto.c -fPIC -DPIC -o .libs/libpromises_la-crypto.o sysinfo.c: In function 'Get3Environment': sysinfo.c:557:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(class,CF_BUFSIZE-1,fp); ^ sysinfo.c: In function 'Linux_Fedora_Version': sysinfo.c:994:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(relstring, sizeof(relstring), fp); ^ sysinfo.c: In function 'Linux_Redhat_Version': sysinfo.c:1106:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(relstring, sizeof(relstring), fp); ^ sysinfo.c: In function 'Linux_Suse_Version': sysinfo.c:1303:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(relstring, sizeof(relstring), fp); ^ sysinfo.c: In function 'Linux_Debian_Version': sysinfo.c:1460:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,CF_MAXVARSIZE,fp); ^ sysinfo.c:1501:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,CF_MAXVARSIZE,fp); ^ sysinfo.c: In function 'Linux_Old_Mandriva_Version': sysinfo.c:1555:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(relstring, sizeof(relstring), fp); ^ sysinfo.c: In function 'Linux_New_Mandriva_Version': sysinfo.c:1603:1: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(relstring, sizeof(relstring), fp); ^ sysinfo.c: In function 'Unix_FindV6InterfaceInfo': sysinfo.c:2144:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,CF_BUFSIZE-1,pp); ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c expand.c -fPIC -DPIC -o .libs/libpromises_la-expand.o args.c: In function 'MapBodyArgs': args.c:96:17: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug("MapBodyArgs(SCALAR,%s,%s)\n",lval,rval); ^ args.c:65:25: warning: unused variable 'extra' [-Wunused-variable] struct Rval returnval,extra; ^ args.c: In function 'NewExpArgs': args.c:196:10: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug("EXPARG: %s.%s\n",CONTEXTID,rval.item); ^ args.c: In function 'DeleteExpArgs': args.c:207:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ args.c: In function 'ArgTemplate': args.c:238:19: warning: too many arguments for format [-Wformat-extra-args] fprintf(stderr,")\n",fp->name); ^ args.c:260:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] Debug("finalarg: %s\n",rp->item); ^ hashes.c: In function 'AddVariableHash': hashes.c:219:10: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] Debug("AddVariableHash(%s.%s=%s (%s) rtype=%c)\n",scope,lval,rval,CF_DATATYPES[dtype],rtype); ^ hashes.c:343:23: warning: unused variable 'ap2' [-Wunused-variable] struct CfAssoc *ap2 = ptr->hashtable[slot]; ^ hashes.c: In function 'DeRefListsInHashtable': hashes.c:405:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (rp->state_ptr == NULL || rp->state_ptr && rp->state_ptr->type == CF_FNCALL) ^ hashes.c:413:28: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] Debug("Rewriting expanded type for %s from %s to %s\n",cphash->lval,CF_DATATYPES[cphash->dtype],rp->state_ptr->item); ^ hashes.c:418:19: warning: enumeration value 'cf_str' not handled in switch [-Wswitch] switch(cphash->dtype) ^ hashes.c:418:19: warning: enumeration value 'cf_int' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_real' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_opts' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_olist' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_body' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_bundle' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_class' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_clist' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_irange' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_rrange' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_counter' not handled in switch [-Wswitch] hashes.c:418:19: warning: enumeration value 'cf_notype' not handled in switch [-Wswitch] hashes.c:371:21: warning: variable 'state' set but not used [-Wunused-but-set-variable] struct Rlist *rp,*state; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-matching.lo `test -f 'matching.c' || echo './'`matching.c crypto.c: In function 'KeepKeyPromises': crypto.c:133:45: warning: pointer targets in passing argument 4 of 'PEM_write_RSAPrivateKey' differ in signedness [-Wpointer-sign] if (!PEM_write_RSAPrivateKey(fp,pair,cipher,passphrase,strlen(passphrase),NULL,NULL)) ^ In file included from cf.defs.h:109:0, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/pem.h:462:1: note: expected 'unsigned char *' but argument is of type 'char *' DECLARE_PEM_rw_cb(RSAPrivateKey, RSA) ^ crypto.c: In function 'HavePublicKey': crypto.c:295:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (newkey = SelectKeyRing(keyname)) ^ crypto.c:279:72: warning: unused variable 'sp' [-Wunused-variable] { char keyname[CF_MAXVARSIZE],newname[CF_BUFSIZE],oldname[CF_BUFSIZE],*sp; ^ crypto.c: In function 'SavePublicKey': crypto.c:353:53: warning: unused variable 'sp' [-Wunused-variable] { char keyname[CF_MAXVARSIZE],filename[CF_BUFSIZE],*sp; ^ crypto.c: In function 'DeletePublicKey': crypto.c:396:30: warning: unused variable 'sp' [-Wunused-variable] { char filename[CF_BUFSIZE],*sp; ^ crypto.c: In function 'MD5Random': crypto.c:434:10: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(buffer,CF_BUFSIZE,"%d%d%25s",(int)CFSTARTTIME,(int)*digest,VFQNAME); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from crypto.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ crypto.c:446:18: warning: pointer targets in passing argument 1 of 'CfReadLine' differ in signedness [-Wpointer-sign] CfReadLine(buffer,CF_BUFSIZE,pp); ^ In file included from cf3.defs.h:1872:0, from crypto.c:32: prototypes3.h:719:5: note: expected 'char *' but argument is of type 'unsigned char *' int CfReadLine(char *buff,int size,FILE *fp); ^ crypto.c:452:10: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(buffer,CF_BUFSIZE-1,"%ld %s",time(NULL),uninitbuffer); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from crypto.c:32: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ crypto.c:457:33: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ crypto.c: In function 'EncryptString': crypto.c:471:29: warning: pointer targets in passing argument 2 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_EncryptUpdate(&ctx,out,&cipherlen,in,plainlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:625:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ crypto.c:471:44: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_EncryptUpdate(&ctx,out,&cipherlen,in,plainlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:625:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ crypto.c:477:28: warning: pointer targets in passing argument 2 of 'EVP_EncryptFinal' differ in signedness [-Wpointer-sign] if (!EVP_EncryptFinal(&ctx,out+cipherlen,&tmplen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:628:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); ^ crypto.c: In function 'DecryptString': crypto.c:499:29: warning: pointer targets in passing argument 2 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_DecryptUpdate(&ctx,out,&plainlen,in,cipherlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:635:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ crypto.c:499:43: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_DecryptUpdate(&ctx,out,&plainlen,in,cipherlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:635:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ crypto.c:506:28: warning: pointer targets in passing argument 2 of 'EVP_DecryptFinal' differ in signedness [-Wpointer-sign] if (!EVP_DecryptFinal(&ctx,out+plainlen,&tmplen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from crypto.c:32: /usr/include/openssl/evp.h:637:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); ^ crypto.c: In function 'DebugBinOut': crypto.c:537:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (sp = buffer; sp < (unsigned char *)(buffer+len); sp++) ^ crypto.c: In function 'LoadSecretKeys': crypto.c:230:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",POLICY_SERVER); ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c matching.c -fPIC -DPIC -o .libs/libpromises_la-matching.o expand.c: In function 'ExpandPromise': expand.c:95:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp, *listvars = NULL, *scalarvars = NULL; ^ expand.c: In function 'ExpandDanglers': expand.c:133:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ expand.c: In function 'ScanScalar': expand.c:207:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ expand.c: In function 'ExpandThis': expand.c:302:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (level == cf_error || (strstr(string,"$(this.") == 0) && (strstr(string,"${this.") == 0)) ^ expand.c: In function 'ExpandPrivateRval': expand.c:358:24: warning: unused variable 'extra' [-Wunused-variable] struct Rval returnval,extra; ^ expand.c:356:21: warning: unused variable 'start' [-Wunused-variable] struct Rlist *rp, *start = NULL; ^ expand.c:356:16: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp, *start = NULL; ^ expand.c: In function 'ExpandBundleReference': expand.c:402:24: warning: unused variable 'extra' [-Wunused-variable] struct Rval returnval,extra; ^ expand.c:400:21: warning: unused variable 'start' [-Wunused-variable] struct Rlist *rp, *start = NULL; ^ expand.c:400:16: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp, *start = NULL; ^ expand.c: In function 'ExpandPrivateScalar': expand.c:443:10: warning: unused variable 'tloc' [-Wunused-variable] time_t tloc; ^ expand.c:442:7: warning: unused variable 'len' [-Wunused-variable] int len,increment, returnval = true; ^ expand.c: In function 'ExpandPromiseAndDo': expand.c:599:7: warning: unused variable 'i' [-Wunused-variable] int i = 1, cutoff = 0; ^ expand.c:596:17: warning: unused variable 'ptr' [-Wunused-variable] struct Scope *ptr; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-selfdiagnostic.lo `test -f 'selfdiagnostic.c' || echo './'`selfdiagnostic.c expand.c: In function 'ConvergeVarHashPromise': expand.c:1081:7: warning: statement with no effect [-Wunused-value] returnval.rtype; ^ expand.c:1102:24: warning: too many arguments for format [-Wformat-extra-args] printf(" now ",VPREFIX); ^ expand.c:1104:24: warning: too many arguments for format [-Wformat-extra-args] printf("\n",VPREFIX); ^ expand.c:952:21: warning: unused variable 'last' [-Wunused-variable] struct Rlist *rp,*last = NULL; ^ expand.c:948:9: warning: unused variable 'lval' [-Wunused-variable] char *lval,rtype,type; ^ expand.c:947:21: warning: unused variable 'a' [-Wunused-variable] struct Attributes a; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c selfdiagnostic.c -fPIC -DPIC -o .libs/libpromises_la-selfdiagnostic.o matching.c: In function 'IsPathRegex': matching.c:262:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = IsRegex(str)) ^ matching.c: In function 'MatchRlistItem': matching.c:441:13: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] Debug("MatchRlistItem(%s > %s)\n",rp->item,teststring); ^ matching.c: In function 'FirstBackReference': matching.c:790:8: warning: variable 'match_start' set but not used [-Wunused-but-set-variable] char *match_start; ^ matching.c:789:30: warning: variable 'match_len' set but not used [-Wunused-but-set-variable] int ovector[OVECCOUNT],i,rc,match_len; ^ matching.c: In function 'FuzzyMatchParse': matching.c:1003:14: warning: variable 'blocks' set but not used [-Wunused-but-set-variable] int mask,blocks; ^ matching.c: In function 'FuzzySetMatch': matching.c:1177:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] Debug("Out of range %d > %d > %d (range %s)\n",from,cmp,to,buffer2); ^ matching.c:1177:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] matching.c:1177:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] matching.c:1262:22: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] Debug("%x < %x < %x\n",from,cmp,to); ^ matching.c:1262:22: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] matching.c:1262:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] matching.c: In function 'FuzzyHostParse': matching.c:1294:17: warning: format '%n' expects argument of type 'int *', but argument 5 has type 'long int *' [-Wformat=] n = sscanf(arg2,"%ld-%ld%n",&start,&end,&where); ^ matching.c:1290:16: warning: unused variable 'args' [-Wunused-variable] { struct Item *args; ^ matching.c: In function 'FuzzyHostMatch': matching.c:1309:16: warning: unused variable 'args' [-Wunused-variable] { struct Item *args; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-instrumentation.lo `test -f 'instrumentation.c' || echo './'`instrumentation.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-granules.lo `test -f 'granules.c' || echo './'`granules.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c instrumentation.c -fPIC -DPIC -o .libs/libpromises_la-instrumentation.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-timeout.lo `test -f 'timeout.c' || echo './'`timeout.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c granules.c -fPIC -DPIC -o .libs/libpromises_la-granules.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c timeout.c -fPIC -DPIC -o .libs/libpromises_la-timeout.o selfdiagnostic.c: In function 'SelfDiagnostic': selfdiagnostic.c:42:9: warning: unused variable 'def' [-Wunused-variable] char *def; ^ selfdiagnostic.c:41:22: warning: unused variable 'j' [-Wunused-variable] { int intval,s1,s2,i,j; ^ selfdiagnostic.c:41:20: warning: unused variable 'i' [-Wunused-variable] { int intval,s1,s2,i,j; ^ selfdiagnostic.c:41:17: warning: unused variable 's2' [-Wunused-variable] { int intval,s1,s2,i,j; ^ selfdiagnostic.c:41:14: warning: unused variable 's1' [-Wunused-variable] { int intval,s1,s2,i,j; ^ selfdiagnostic.c:41:7: warning: unused variable 'intval' [-Wunused-variable] { int intval,s1,s2,i,j; ^ selfdiagnostic.c: In function 'TestExpandPromise': selfdiagnostic.c:210:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ selfdiagnostic.c: In function 'TestExpandVariables': selfdiagnostic.c:261:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp, *args, *listvars = NULL, *scalarvars = NULL; ^ selfdiagnostic.c:260:9: warning: unused variable 'list_text2' [-Wunused-variable] char *list_text2 = "1,2,3,4,5,6,7"; ^ selfdiagnostic.c:259:9: warning: unused variable 'list_text1' [-Wunused-variable] char *list_text1 = "a,b,c,d,e,f,g"; ^ selfdiagnostic.c:258:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ selfdiagnostic.c:257:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ selfdiagnostic.c: In function 'TestAgentPromises': selfdiagnostic.c:459:21: warning: variable 'a' set but not used [-Wunused-but-set-variable] { struct Attributes a = {0}; ^ selfdiagnostic.c: In function 'SDIntegerDefault': selfdiagnostic.c:492:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (def = GetControlDefault(ref)) ^ selfdiagnostic.c: At top level: selfdiagnostic.c:596:6: warning: no previous prototype for 'CfDebugBreak' [-Wmissing-prototypes] void CfDebugBreak() { /* Called on error condition to break for inspection */ } ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-promises.lo `test -f 'promises.c' || echo './'`promises.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c promises.c -fPIC -DPIC -o .libs/libpromises_la-promises.o instrumentation.c: In function 'NoteClassUsage': instrumentation.c:235:11: warning: variable 'measure' set but not used [-Wunused-but-set-variable] double measure,av,var; ^ instrumentation.c: In function 'LastSaw': instrumentation.c:284:7: warning: variable 'known' set but not used [-Wunused-but-set-variable] int known = false; ^ instrumentation.c:282:47: warning: unused variable 'rtype' [-Wunused-variable] { char databuf[CF_BUFSIZE],varbuf[CF_BUFSIZE],rtype; ^ instrumentation.c:282:28: warning: unused variable 'varbuf' [-Wunused-variable] { char databuf[CF_BUFSIZE],varbuf[CF_BUFSIZE],rtype; ^ granules.c: In function 'GetShiftSlot': /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-ontology.lo `test -f 'ontology.c' || echo './'`ontology.c granules.c:153:8: warning: unused variable 'cday' [-Wunused-variable] char cday[10]; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c ontology.c -fPIC -DPIC -o .libs/libpromises_la-ontology.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-constraints.lo `test -f 'constraints.c' || echo './'`constraints.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c constraints.c -fPIC -DPIC -o .libs/libpromises_la-constraints.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-iteration.lo `test -f 'iteration.c' || echo './'`iteration.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c iteration.c -fPIC -DPIC -o .libs/libpromises_la-iteration.o promises.c: In function 'DeRefCopyPromise': promises.c:159:20: warning: unused variable 'dtype' [-Wunused-variable] enum cfdatatype dtype; ^ promises.c:158:18: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp,*rnew; ^ promises.c:83:26: warning: unused variable 'naked' [-Wunused-variable] char scope[CF_BUFSIZE],naked[CF_MAXVARSIZE]; ^ promises.c:83:8: warning: unused variable 'scope' [-Wunused-variable] char scope[CF_BUFSIZE],naked[CF_MAXVARSIZE]; ^ promises.c: In function 'ExpandDeRefPromise': promises.c:334:9: warning: unused variable 'type' [-Wunused-variable] char type; ^ promises.c:332:18: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ promises.c:331:19: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ promises.c:269:26: warning: unused variable 'naked' [-Wunused-variable] char scope[CF_BUFSIZE],naked[CF_MAXVARSIZE]; ^ promises.c:269:8: warning: unused variable 'scope' [-Wunused-variable] char scope[CF_BUFSIZE],naked[CF_MAXVARSIZE]; ^ promises.c:268:26: warning: unused variable 'scp' [-Wunused-variable] struct Constraint *cp,*scp; ^ promises.c: In function 'CopyPromise': promises.c:440:9: warning: unused variable 'type' [-Wunused-variable] char type; ^ promises.c:438:18: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ promises.c:437:19: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ promises.c:376:26: warning: unused variable 'naked' [-Wunused-variable] char scope[CF_BUFSIZE],naked[CF_MAXVARSIZE]; ^ promises.c:376:8: warning: unused variable 'scope' [-Wunused-variable] char scope[CF_BUFSIZE],naked[CF_MAXVARSIZE]; ^ promises.c:375:26: warning: unused variable 'scp' [-Wunused-variable] struct Constraint *cp,*scp; ^ promises.c: In function 'DebugPromise': promises.c:513:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bp = IsBody(BODIES,(char *)cp->rval)) ^ promises.c:532:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bp = IsBody(BODIES,fp->name)) ^ promises.c:482:17: warning: unused variable 'var' [-Wunused-variable] double val,av,var; ^ promises.c:482:14: warning: unused variable 'av' [-Wunused-variable] double val,av,var; ^ promises.c:482:10: warning: unused variable 'val' [-Wunused-variable] double val,av,var; ^ promises.c:481:19: warning: unused variable 'last' [-Wunused-variable] time_t lastseen,last; ^ promises.c:481:10: warning: unused variable 'lastseen' [-Wunused-variable] time_t lastseen,last; ^ promises.c:479:19: warning: unused variable 'vbuff' [-Wunused-variable] char *v,rettype,vbuff[CF_BUFSIZE]; ^ promises.c:479:9: warning: variable 'v' set but not used [-Wunused-but-set-variable] char *v,rettype,vbuff[CF_BUFSIZE]; ^ promises.c: In function 'HashPromise': promises.c:856:33: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from promises.c:32: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ promises.c:776:7: warning: unused variable 'len' [-Wunused-variable] int len, md_len; ^ promises.c: In function 'DereferenceComment': promises.c:870:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (sp = strstr(pre_buffer,"$(this.promiser)")) ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-rlist.lo `test -f 'rlist.c' || echo './'`rlist.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c rlist.c -fPIC -DPIC -o .libs/libpromises_la-rlist.o ontology.c: In function 'AddTopic': ontology.c:43:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tp = TopicExists(*list,name,type)) ^ ontology.c: In function 'AddCommentedTopic': ontology.c:85:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tp = TopicExists(*list,name,type)) ^ ontology.c: In function 'AddTopicAssociation': ontology.c:178:8: warning: the address of 'assoc_type' will always evaluate as 'true' [-Waddress] if (assoc_type && (ta->assoc_type = strdup(assoc_type)) == NULL) ^ ontology.c: In function 'AddOccurrence': ontology.c:210:29: warning: unused variable 'tr' [-Wunused-variable] struct TopRepresentation *tr; ^ ontology.c: In function 'GetTopicPid': ontology.c:366:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tp = GetTopic(TOPIC_MAP,typed_topic)) ^ ontology.c: In function 'AssociationExists': ontology.c:429:17: warning: variable 'level' set but not used [-Wunused-but-set-variable] enum cfreport level; ^ ontology.c: In function 'GetTopic': ontology.c:542:49: warning: unused variable 'sp' [-Wunused-variable] char type[CF_MAXVARSIZE],name[CF_MAXVARSIZE],*sp; ^ ontology.c: In function 'GetCanonizedTopic': ontology.c:575:49: warning: unused variable 'sp' [-Wunused-variable] char type[CF_MAXVARSIZE],name[CF_MAXVARSIZE],*sp; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-syntax.lo `test -f 'syntax.c' || echo './'`syntax.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-logging.lo `test -f 'logging.c' || echo './'`logging.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c syntax.c -fPIC -DPIC -o .libs/libpromises_la-syntax.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c logging.c -fPIC -DPIC -o .libs/libpromises_la-logging.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-signals.lo `test -f 'signals.c' || echo './'`signals.c constraints.c: In function 'AppendConstraint': constraints.c:51:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug(" Appending Constraint: %s => %s\n",lval,rval); ^ rlist.c: In function 'CopyRvalItem': rlist.c:175:26: warning: unused variable 'output' [-Wunused-variable] char rtype = CF_SCALAR,output[CF_BUFSIZE]; ^ rlist.c: In function 'CopyRlist': rlist.c:346:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ rlist.c: In function 'AppendRlist': rlist.c:511:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug("Cannot append %c to rval-list [%s]\n",type,item); ^ rlist.c:482:9: warning: unused variable 'sp' [-Wunused-variable] char *sp = NULL; ^ rlist.c: In function 'PrependRlist': rlist.c:568:14: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] Debug("Prepending scalar to rval-list [%s]\n",item); ^ rlist.c:591:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug("Cannot prepend %c to rval-list [%s]\n",type,item); ^ rlist.c:563:9: warning: unused variable 'sp' [-Wunused-variable] char *sp = NULL; ^ rlist.c: In function 'OrthogAppendRlist': rlist.c:643:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug("Cannot append %c to rval-list [%s]\n",type,item); ^ rlist.c:632:9: warning: unused variable 'sp' [-Wunused-variable] char *sp = NULL; ^ rlist.c:631:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ rlist.c: In function 'ParseShownRlist': rlist.c:711:4: warning: statement with no effect [-Wunused-value] value[0]; ^ rlist.c: In function 'GetStringListElement': rlist.c:817:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if((sp[0] == '\'') && sp[1] == ',' || sp[1] == '}') ^ rlist.c: In function 'StripListSep': rlist.c:848:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ rlist.c: In function 'ShowRlistState': rlist.c:922:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ rlist.c: In function 'SplitStringAsRList': rlist.c:1150:8: warning: unused variable 'format' [-Wunused-variable] char format[9], *sp; ^ rlist.c: In function 'SplitRegexAsRList': rlist.c:1189:7: warning: variable 'delta' set but not used [-Wunused-but-set-variable] int delta, count = 0; ^ rlist.c:1188:17: warning: unused variable 'b' [-Wunused-variable] int start,end,b = 0; ^ rlist.c:1186:8: warning: unused variable 'format' [-Wunused-variable] char format[9], *sp; ^ rlist.c: In function 'SortRlist': rlist.c:1243:64: warning: variable 'oldhead' set but not used [-Wunused-but-set-variable] { struct Rlist *p = NULL, *q = NULL, *e = NULL, *tail = NULL, *oldhead = NULL; ^ rlist.c: In function 'AlphaSortRListNames': rlist.c:1356:36: warning: variable 'oldhead' set but not used [-Wunused-but-set-variable] { struct Rlist *p, *q, *e, *tail, *oldhead; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c signals.c -fPIC -DPIC -o .libs/libpromises_la-signals.o constraints.c: In function 'ReCheckAllConstraints': constraints.c:620:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (prid = PromiseIdExists(handle)) ^ constraints.c:670:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ptr = ReturnItemIn(EDIT_ANCHORS,sp)) ^ constraints.c: In function 'PostCheckConstraint': constraints.c:694:11: warning: unused variable 'k' [-Wunused-variable] int i,j,k,l,m; ^ constraints.c:693:7: warning: unused variable 'lmatch' [-Wunused-variable] int lmatch = false; ^ logging.c: In function 'ClassAuditLog': logging.c:295:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (AUDITDBP && attr.transaction.audit || AUDITDBP && AUDIT) ^ logging.c:138:79: warning: unused variable 'id' [-Wunused-variable] char date[CF_BUFSIZE],lock[CF_BUFSIZE],key[CF_BUFSIZE],operator[CF_BUFSIZE],id[CF_MAXVARSIZE]; ^ constraints.c: In function 'VerifyConstraintName': constraints.c:777:11: warning: unused variable 'k' [-Wunused-variable] int i,j,k,l,m; ^ constraints.c:776:7: warning: unused variable 'lmatch' [-Wunused-variable] int lmatch = false; ^ logging.c: In function 'PromiseLog': logging.c:430:47: warning: unused variable 'end' [-Wunused-variable] { char filename[CF_BUFSIZE],start[CF_BUFSIZE],end[CF_BUFSIZE]; ^ logging.c:430:29: warning: unused variable 'start' [-Wunused-variable] { char filename[CF_BUFSIZE],start[CF_BUFSIZE],end[CF_BUFSIZE]; ^ syntax.c: In function 'CheckSubType': syntax.c:90:31: warning: too many arguments for format [-Wformat-extra-args] snprintf(output,CF_BUFSIZE,"Missing promise type category for %s bundle",subtype,bundletype); ^ syntax.c:90:31: warning: too many arguments for format [-Wformat-extra-args] syntax.c: In function 'CheckConstraint': syntax.c:163:11: warning: unused variable 'k' [-Wunused-variable] int i,j,k,l, allowed = false; ^ syntax.c:163:9: warning: unused variable 'j' [-Wunused-variable] int i,j,k,l, allowed = false; ^ syntax.c: In function 'CheckSelection': syntax.c:264:19: warning: unused variable 'ltype' [-Wunused-variable] enum cfdatatype ltype; ^ syntax.c:261:16: warning: unused variable 'allowed' [-Wunused-variable] int i,j,k,l, allowed = false; ^ syntax.c: In function 'CheckConstraintTypeMatch': syntax.c:409:8: warning: enumeration value 'cf_str' not handled in switch [-Wswitch] switch(dt) ^ syntax.c:409:8: warning: enumeration value 'cf_int' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_real' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_opts' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_body' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_bundle' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_class' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_irange' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_rrange' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_counter' not handled in switch [-Wswitch] syntax.c:409:8: warning: enumeration value 'cf_notype' not handled in switch [-Wswitch] syntax.c: In function 'StringDataType': syntax.c:522:24: warning: variable 'exp' set but not used [-Wunused-but-set-variable] char var[CF_BUFSIZE],exp[CF_EXPANDSIZE]; ^ syntax.c:517:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp; ^ syntax.c: In function 'CheckParseClass': syntax.c:640:14: warning: unused variable 'pmatch' [-Wunused-variable] regmatch_t pmatch; ^ syntax.c:639:11: warning: unused variable 'rx' [-Wunused-variable] { regex_t rx; ^ syntax.c: In function 'CheckParseInt': syntax.c:669:23: warning: unused variable 'ip' [-Wunused-variable] { struct Item *split,*ip; ^ iteration.c: In function 'NewIterationContext': iteration.c:86:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new = NewAssoc(rp->item,returnval,rtype,dtype)) ^ iteration.c:43:17: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] struct Scope *ptr = NULL; ^ syntax.c: In function 'CheckParseReal': syntax.c:815:23: warning: unused variable 'ip' [-Wunused-variable] { struct Item *split,*ip; ^ syntax.c: In function 'CheckParseOpts': syntax.c:954:23: warning: unused variable 'ip' [-Wunused-variable] { struct Item *split,*ip; ^ iteration.c:40:9: warning: unused variable 'lval' [-Wunused-variable] char *lval,rtype; ^ iteration.c:39:17: warning: variable 'this' set but not used [-Wunused-but-set-variable] { struct Rlist *this,*rp,*rps,*deref_listoflists = NULL; ^ iteration.c: In function 'IncrementIterationContext': iteration.c:146:7: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug(" -> Incrementing (%s) from \"%s\"\n",cp->lval,iterator->state_ptr->item); ^ iteration.c:179:10: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] Debug(" <- Incrementing wheel (%s) to \"%s\"\n",cp->lval,iterator->state_ptr->item); ^ iteration.c:125:21: warning: unused variable 'state_ptr' [-Wunused-variable] { struct Rlist *rp,*state_ptr,*state; ^ iteration.c:125:17: warning: unused variable 'rp' [-Wunused-variable] { struct Rlist *rp,*state_ptr,*state; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-transaction.lo `test -f 'transaction.c' || echo './'`transaction.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c transaction.c -fPIC -DPIC -o .libs/libpromises_la-transaction.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-cfstream.lo `test -f 'cfstream.c' || echo './'`cfstream.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-pipes.lo `test -f 'pipes.c' || echo './'`pipes.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c cfstream.c -fPIC -DPIC -o .libs/libpromises_la-cfstream.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c pipes.c -fPIC -DPIC -o .libs/libpromises_la-pipes.o transaction.c: In function 'ThreadUnlock': transaction.c:426:11: warning: too many arguments for format [-Wformat-extra-args] printf("pthread_mutex_unlock","pthread_mutex_unlock failed"); ^ transaction.c: In function 'RemoveDates': transaction.c:704:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dayp = strstr(s,days[i])) ^ transaction.c:715:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (monthp = strstr(s,months[i])) ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-html.lo `test -f 'html.c' || echo './'`html.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-interfaces.lo `test -f 'interfaces.c' || echo './'`interfaces.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c html.c -fPIC -DPIC -o .libs/libpromises_la-html.o cfstream.c: In function 'CfFOut': cfstream.c:43:16: warning: unused variable 'ip' [-Wunused-variable] struct Item *ip,*mess = NULL; ^ cfstream.c:42:9: warning: unused variable 'sp' [-Wunused-variable] char *sp,buffer[CF_BUFSIZE],output[CF_BUFSIZE],expand[CF_EXPANDSIZE]; ^ cfstream.c: In function 'CfOut': cfstream.c:115:16: warning: unused variable 'ip' [-Wunused-variable] struct Item *ip,*mess = NULL; ^ cfstream.c:114:8: warning: unused variable 'sp' [-Wunused-variable] char *sp,buffer[CF_BUFSIZE],output[CF_BUFSIZE],expand[CF_EXPANDSIZE]; ^ cfstream.c: In function 'cfPS': cfstream.c:254:43: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] snprintf(output,CF_BUFSIZE-1,"I: The promise was made to: \'%s\'\n",pp->promisee); ^ cfstream.c:254:43: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] cfstream.c:264:46: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] snprintf(output,CF_BUFSIZE-1,"I: \'%s\'\n",rp->item); ^ cfstream.c:264:46: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] cfstream.c: In function 'CfFile': cfstream.c:381:7: warning: unused variable 'endl' [-Wunused-variable] int endl = false; ^ cfstream.c:380:9: warning: unused variable 'sp' [-Wunused-variable] char *sp,buffer[CF_BUFSIZE]; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c interfaces.c -fPIC -DPIC -o .libs/libpromises_la-interfaces.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-storage_tools.lo `test -f 'storage_tools.c' || echo './'`storage_tools.c pipes.c: In function 'cf_pwait': pipes.c:769:15: warning: unused variable 'wait_result' [-Wunused-variable] { int status, wait_result; ^ pipes.c: In function 'Unix_cf_pclose': pipes.c:814:19: warning: unused variable 'wait_result' [-Wunused-variable] { int fd, status, wait_result; ^ pipes.c:814:11: warning: unused variable 'status' [-Wunused-variable] { int fd, status, wait_result; ^ pipes.c: In function 'Unix_cf_pclose_def': pipes.c:864:19: warning: unused variable 'wait_result' [-Wunused-variable] { int fd, status, wait_result; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c storage_tools.c -fPIC -DPIC -o .libs/libpromises_la-storage_tools.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-verify_reports.lo `test -f 'verify_reports.c' || echo './'`verify_reports.c storage_tools.c: In function 'Unix_GetDiskUsage': storage_tools.c:149:8: warning: format '%d' expects argument of type 'int', but argument 3 has type 'u_long {aka long unsigned int}' [-Wformat=] Debug2("GetDiskUsage(%s) = %d/%d\n",file,avail,capacity); ^ storage_tools.c:73:30: warning: variable 'total' set but not used [-Wunused-but-set-variable] u_long blocksize = 1024, total = 0, used = 0, avail = 0; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c verify_reports.c -fPIC -DPIC -o .libs/libpromises_la-verify_reports.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-verify_processes.lo `test -f 'verify_processes.c' || echo './'`verify_processes.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-enterprise_stubs.lo `test -f 'enterprise_stubs.c' || echo './'`enterprise_stubs.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_functions.lo `test -f 'mod_functions.c' || echo './'`mod_functions.c interfaces.c: In function 'VerifyInterfacePromise': libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c verify_processes.c -fPIC -DPIC -o .libs/libpromises_la-verify_processes.o interfaces.c:103:18: warning: variable 'metric' set but not used [-Wunused-but-set-variable] { int sk, flags, metric, isnotsane = false; ^ interfaces.c:103:11: warning: variable 'flags' set but not used [-Wunused-but-set-variable] { int sk, flags, metric, isnotsane = false; ^ interfaces.c: In function 'SetPromisedDefaultRoute': interfaces.c:421:26: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[16]' [-Wformat=] if ((sscanf(vbuff, "%*[default0. ]%s%*[ ]", &oldroute)) == 1) ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_functions.c -fPIC -DPIC -o .libs/libpromises_la-mod_functions.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c enterprise_stubs.c -fPIC -DPIC -o .libs/libpromises_la-enterprise_stubs.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_defaults.lo `test -f 'mod_defaults.c' || echo './'`mod_defaults.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_common.lo `test -f 'mod_common.c' || echo './'`mod_common.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_defaults.c -fPIC -DPIC -o .libs/libpromises_la-mod_defaults.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_common.c -fPIC -DPIC -o .libs/libpromises_la-mod_common.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_access.lo `test -f 'mod_access.c' || echo './'`mod_access.c verify_processes.c: In function 'ProcessSanityChecks': verify_processes.c:53:22: warning: variable 'promised_any' set but not used [-Wunused-but-set-variable] { int promised_zero, promised_any, ret = true; ^ verify_processes.c: In function 'VerifyProcessOp': verify_processes.c:143:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ verify_processes.c:142:10: warning: unused variable 'maskval' [-Wunused-variable] mode_t maskval; ^ verify_processes.c:140:8: warning: unused variable 'line' [-Wunused-variable] { char line[CF_BUFSIZE]; ^ verify_processes.c: In function 'FindPidMatches': verify_processes.c:246:18: warning: unused variable 'rex' [-Wunused-variable] struct CfRegEx rex; ^ verify_processes.c:241:34: warning: unused variable 'one_space' [-Wunused-variable] int pid=-1,ret,matches=0,got,i,one_space,s,e,promised_zero; ^ verify_processes.c:241:28: warning: unused variable 'got' [-Wunused-variable] int pid=-1,ret,matches=0,got,i,one_space,s,e,promised_zero; ^ verify_processes.c:241:14: warning: unused variable 'ret' [-Wunused-variable] int pid=-1,ret,matches=0,got,i,one_space,s,e,promised_zero; ^ verify_processes.c:240:9: warning: unused variable 'sp' [-Wunused-variable] char *sp,saveuid[16]; ^ verify_processes.c:239:21: warning: unused variable 'ip2' [-Wunused-variable] { struct Item *ip, *ip2; ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_access.c -fPIC -DPIC -o .libs/libpromises_la-mod_access.o verify_reports.c: In function 'ShowState': verify_reports.c:190:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (offset = strstr(buffer,"CMD")) ^ verify_reports.c:193:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (offset = strstr(buffer,"COMMAND")) ^ verify_reports.c: In function 'VerifyFriendConnections': verify_reports.c:358:51: warning: unused variable 'ticksperday' [-Wunused-variable] double ticksperhour = (double)CF_TICKS_PER_HOUR,ticksperday = (double)CF_TICKS_PER_DAY; ^ verify_reports.c:352:64: warning: unused variable 'regex' [-Wunused-variable] int ret, secs = CF_TICKS_PER_HOUR*hours, criterion, overdue, regex=false; ^ verify_reports.c:352:7: warning: unused variable 'ret' [-Wunused-variable] int ret, secs = CF_TICKS_PER_HOUR*hours, criterion, overdue, regex=false; ^ verify_reports.c: In function 'VerifyFriendReliability': verify_reports.c:510:26: warning: variable 'var' set but not used [-Wunused-but-set-variable] double entropy,average,var,sum,sum_av,expect,actual; ^ verify_reports.c:510:10: warning: unused variable 'entropy' [-Wunused-variable] double entropy,average,var,sum,sum_av,expect,actual; ^ verify_reports.c:502:9: warning: unused variable 'ret' [-Wunused-variable] int i,ret,ksize,vsize; ^ verify_reports.c: In function 'PrintFile': verify_reports.c:113:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,CF_BUFSIZE,fp); ^ verify_reports.c: In function 'ShowState': verify_reports.c:153:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,CF_BUFSIZE,fp); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_exec.lo `test -f 'mod_exec.c' || echo './'`mod_exec.c enterprise_stubs.c: In function 'HistoryUpdate': enterprise_stubs.c:425:8: warning: unused variable 'timekey' [-Wunused-variable] char timekey[CF_MAXVARSIZE]; ^ enterprise_stubs.c:424:10: warning: unused variable 'now' [-Wunused-variable] time_t now = time(NULL); ^ enterprise_stubs.c:423:17: warning: unused variable 'thislock' [-Wunused-variable] struct CfLock thislock; ^ enterprise_stubs.c:422:21: warning: unused variable 'dummyattr' [-Wunused-variable] struct Attributes dummyattr = {0}; ^ enterprise_stubs.c:421:19: warning: unused variable 'pp' [-Wunused-variable] { struct Promise *pp = NewPromise("history_db","the long term memory"); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_methods.lo `test -f 'mod_methods.c' || echo './'`mod_methods.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_exec.c -fPIC -DPIC -o .libs/libpromises_la-mod_exec.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_methods.c -fPIC -DPIC -o .libs/libpromises_la-mod_methods.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_interfaces.lo `test -f 'mod_interfaces.c' || echo './'`mod_interfaces.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_interfaces.c -fPIC -DPIC -o .libs/libpromises_la-mod_interfaces.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_packages.lo `test -f 'mod_packages.c' || echo './'`mod_packages.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_files.lo `test -f 'mod_files.c' || echo './'`mod_files.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_report.lo `test -f 'mod_report.c' || echo './'`mod_report.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_packages.c -fPIC -DPIC -o .libs/libpromises_la-mod_packages.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_storage.lo `test -f 'mod_storage.c' || echo './'`mod_storage.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_files.c -fPIC -DPIC -o .libs/libpromises_la-mod_files.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_report.c -fPIC -DPIC -o .libs/libpromises_la-mod_report.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_knowledge.lo `test -f 'mod_knowledge.c' || echo './'`mod_knowledge.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_measurement.lo `test -f 'mod_measurement.c' || echo './'`mod_measurement.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_storage.c -fPIC -DPIC -o .libs/libpromises_la-mod_storage.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_databases.lo `test -f 'mod_databases.c' || echo './'`mod_databases.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_knowledge.c -fPIC -DPIC -o .libs/libpromises_la-mod_knowledge.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_measurement.c -fPIC -DPIC -o .libs/libpromises_la-mod_measurement.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_services.lo `test -f 'mod_services.c' || echo './'`mod_services.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_databases.c -fPIC -DPIC -o .libs/libpromises_la-mod_databases.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_process.lo `test -f 'mod_process.c' || echo './'`mod_process.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_services.c -fPIC -DPIC -o .libs/libpromises_la-mod_services.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_process.c -fPIC -DPIC -o .libs/libpromises_la-mod_process.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_environ.lo `test -f 'mod_environ.c' || echo './'`mod_environ.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-mod_outputs.lo `test -f 'mod_outputs.c' || echo './'`mod_outputs.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-unix.lo `test -f 'unix.c' || echo './'`unix.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_environ.c -fPIC -DPIC -o .libs/libpromises_la-mod_environ.o x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o cfknow.o cfknow.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c mod_outputs.c -fPIC -DPIC -o .libs/libpromises_la-mod_outputs.o x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o graph.o graph.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o manual.o manual.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c unix.c -fPIC -DPIC -o .libs/libpromises_la-unix.o x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o cfpromises.o cfpromises.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o agent.o agent.c graph.c: In function 'VerifyGraph': graph.c:117:14: warning: unused variable 'count' [-Wunused-variable] int count = 0; ^ graph.c:49:17: warning: unused variable 'evc' [-Wunused-variable] double **adj,*evc; ^ graph.c:48:7: warning: unused variable 'size' [-Wunused-variable] int size,*k,max_k = 0; ^ graph.c:45:22: warning: unused variable 'op' [-Wunused-variable] struct Occurrence *op; ^ graph.c: In function 'IsTop': graph.c:394:17: warning: left-hand operand of comma expression has no effect [-Wunused-value] if (adj[topic,i] && (evc[i] > evc[topic])) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_files.o verify_files.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_storage.o verify_storage.c cfpromises.c: In function 'CheckOpts': cfpromises.c:118:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_exec.o verify_exec.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_methods.o verify_methods.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_interfaces.o verify_interfaces.c verify_storage.c: In function 'VerifyStoragePromise': verify_storage.c:63:26: warning: unused variable 'isthere' [-Wunused-variable] int success,rlevel = 0,isthere; ^ verify_storage.c:63:15: warning: unused variable 'rlevel' [-Wunused-variable] int success,rlevel = 0,isthere; ^ verify_storage.c:63:7: warning: unused variable 'success' [-Wunused-variable] int success,rlevel = 0,isthere; ^ verify_storage.c:60:28: warning: unused variable 'dslb' [-Wunused-variable] { struct stat osb,oslb,dsb,dslb; ^ verify_storage.c:60:24: warning: unused variable 'dsb' [-Wunused-variable] { struct stat osb,oslb,dsb,dslb; ^ verify_storage.c:60:19: warning: unused variable 'oslb' [-Wunused-variable] { struct stat osb,oslb,dsb,dslb; ^ verify_storage.c:60:15: warning: unused variable 'osb' [-Wunused-variable] { struct stat osb,oslb,dsb,dslb; ^ verify_storage.c: In function 'IsForeignFileSystem': verify_storage.c:356:8: warning: unused variable 'host' [-Wunused-variable] char host[CF_MAXVARSIZE], vbuff[CF_BUFSIZE]; ^ verify_storage.c: In function 'VerifyMountPromise': verify_storage.c:409:18: warning: unused variable 'mount' [-Wunused-variable] { struct CfMount mount; ^ verify_exec.c: In function 'VerifyExec': verify_exec.c:104:7: warning: unused variable 'preview' [-Wunused-variable] int preview = false; ^ verify_exec.c:101:7: warning: unused variable 'print' [-Wunused-variable] int print, outsourced,count = 0; ^ verify_exec.c:100:19: warning: variable 'start' set but not used [-Wunused-but-set-variable] struct timespec start; ^ verify_exec.c:98:19: warning: unused variable 'sp' [-Wunused-variable] char comm[20], *sp; ^ verify_exec.c: In function 'PreviewProtocolLine': verify_exec.c:320:17: warning: variable 'level' set but not used [-Wunused-but-set-variable] enum cfreport level = cf_error; ^ verify_methods.c: In function 'VerifyMethod': verify_methods.c:63:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (vp = GetConstraint("usebundle",pp,CF_FNCALL)) ^ verify_methods.c:69:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (vp = GetConstraint("usebundle",pp,CF_SCALAR)) ^ verify_methods.c:91:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bp = GetBundle(method_name,"agent")) ^ verify_methods.c:59:17: warning: unused variable 'expargs' [-Wunused-variable] struct Rlist *expargs; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_packages.o verify_packages.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_databases.o verify_databases.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_services.o verify_services.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_environments.o verify_environments.c verify_databases.c: In function 'VerifySQLPromise': verify_databases.c:76:18: warning: unused variable 'need_connector' [-Wunused-variable] int count = 0, need_connector = false; ^ verify_databases.c:75:12: warning: variable 'sep' set but not used [-Wunused-but-set-variable] char *sp,sep = 'x'; ^ manual.c: In function 'TexinfoManual': manual.c:57:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ manual.c:55:9: warning: unused variable 'thischapter' [-Wunused-variable] char *thischapter = NULL; ^ manual.c: In function 'TexinfoPromiseTypesFor': manual.c:313:7: warning: unused variable 'i' [-Wunused-variable] { int i,j; ^ manual.c: In function 'TexinfoBodyParts': manual.c:375:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (res = GetControlDefault(bs[i].lval)) ^ manual.c:379:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (res = GetBodyDefault(bs[i].lval)) ^ manual.c: In function 'TexinfoVariables': manual.c:424:17: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=] fprintf(fout,"@node Variable %s.%s\n@subsection Variable %s.%s \n\n",scope,rp->item,scope,rp->item); ^ manual.c:424:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] manual.c:425:35: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] snprintf(filename,CF_BUFSIZE-1,"var_%s_%s.texinfo",scope,rp->item); ^ manual.c:425:35: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] manual.c: In function 'TexinfoShowRange': manual.c:475:17: warning: too many arguments for format [-Wformat-extra-args] fprintf(fout,"@noindent @b{Allowed input range}: @*\n@example",s); ^ manual.c:479:20: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] fprintf(fout,"\n @code{%s}",rp->item); ^ manual.c:462:9: warning: unused variable 'sp' [-Wunused-variable] { char *sp; ^ manual.c: In function 'TexinfoSubBodyParts': manual.c:522:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (res = GetControlDefault(bs[i].lval)) ^ manual.c:526:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (res = GetBodyDefault(bs[i].lval)) ^ manual.c: In function 'IncludeManualFile': manual.c:582:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,CF_BUFSIZE,fp); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o agentdiagnostic.o agentdiagnostic.c cfknow.c: In function 'CheckOpts': cfknow.c:227:8: warning: unused variable 'ld_library_path' [-Wunused-variable] char ld_library_path[CF_BUFSIZE]; ^ cfknow.c:224:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ cfknow.c: In function 'ThisAgentInit': cfknow.c:363:10: warning: unused variable 's2' [-Wunused-variable] int s1,s2; ^ cfknow.c:363:7: warning: unused variable 's1' [-Wunused-variable] int s1,s2; ^ cfknow.c:362:8: warning: unused variable 'vbuff' [-Wunused-variable] { char vbuff[CF_BUFSIZE]; ^ unix.c: In function 'Unix_ShellCommandReturnsZero': unix.c:227:10: warning: unused variable 'wait_result' [-Wunused-variable] pid_t wait_result; ^ cfknow.c: In function 'LookupUniqueTopic': cfknow.c:952:9: warning: unused variable 'e' [-Wunused-variable] int s,e; ^ cfknow.c:952:7: warning: unused variable 's' [-Wunused-variable] int s,e; ^ cfknow.c:948:36: warning: unused variable 'trymatch' [-Wunused-variable] int sql_database_defined = false,trymatch = false,count = 0,matched = 0; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o verify_measurements.o verify_measurements.c cfknow.c: In function 'LookupMatchingTopics': cfknow.c:1132:54: warning: variable 'count' set but not used [-Wunused-but-set-variable] int sql_database_defined = false,trymatch = false,count = 0,matched = 0; ^ cfknow.c:1132:37: warning: unused variable 'trymatch' [-Wunused-variable] int sql_database_defined = false,trymatch = false,count = 0,matched = 0; ^ cfknow.c:1128:8: warning: unused variable 'topic_comment' [-Wunused-variable] char topic_comment[CF_BUFSIZE]; ^ agent.c: In function 'main': agent.c:145:15: warning: unused variable 'sar' [-Wunused-variable] { struct stat sar; ^ agent.c: In function 'CheckOpts': agent.c:167:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ cfknow.c: In function 'VerifyTopicPromise': cfknow.c:1405:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tp = GetTopic(TOPIC_MAP,pp->promiser)) ^ cfknow.c:1344:21: warning: variable 'tp_sub' set but not used [-Wunused-but-set-variable] struct Topic *tp,*tp_sub; ^ cfknow.c:1343:21: warning: variable 'a' set but not used [-Wunused-but-set-variable] struct Attributes a = {0}; ^ cfknow.c:1342:24: warning: unused variable 'bwd' [-Wunused-variable] char fwd[CF_BUFSIZE],bwd[CF_BUFSIZE]; ^ cfknow.c:1342:8: warning: unused variable 'fwd' [-Wunused-variable] char fwd[CF_BUFSIZE],bwd[CF_BUFSIZE]; ^ cfknow.c: In function 'KeepAssociationPromise': cfknow.c:1445:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tp = GetTopic(TOPIC_MAP,pp->promiser)) ^ cfknow.c:1437:24: warning: unused variable 'bwd' [-Wunused-variable] char fwd[CF_BUFSIZE],bwd[CF_BUFSIZE]; ^ cfknow.c:1437:8: warning: unused variable 'fwd' [-Wunused-variable] char fwd[CF_BUFSIZE],bwd[CF_BUFSIZE]; ^ cfknow.c: In function 'ShowOccurrencesLTM': cfknow.c:1606:4: warning: enumeration value 'cfk_portal' not handled in switch [-Wswitch] switch (op->rep_type) ^ cfknow.c:1606:4: warning: enumeration value 'cfk_none' not handled in switch [-Wswitch] cfknow.c: In function 'GenerateSQL': cfknow.c:1714:9: warning: too many arguments for format [-Wformat-extra-args] "CREATE TABLE topics" ^ cfknow.c:1714:9: warning: too many arguments for format [-Wformat-extra-args] cfknow.c:1808:29: warning: too many arguments for format [-Wformat-extra-args] snprintf(query,CF_BUFSIZE-1,"delete from topics\n",TM_PREFIX); ^ cfknow.c:1808:29: warning: too many arguments for format [-Wformat-extra-args] cfknow.c:1811:29: warning: too many arguments for format [-Wformat-extra-args] snprintf(query,CF_BUFSIZE-1,"delete from associations\n",TM_PREFIX); ^ cfknow.c:1811:29: warning: too many arguments for format [-Wformat-extra-args] cfknow.c:1814:29: warning: too many arguments for format [-Wformat-extra-args] snprintf(query,CF_BUFSIZE-1,"delete from occurrences\n",TM_PREFIX); ^ cfknow.c:1814:29: warning: too many arguments for format [-Wformat-extra-args] cfknow.c:1875:38: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] snprintf(query,CF_BUFSIZE-1,"INSERT INTO occurrences (from_id,topic_name,locator,locator_type,subtype) values ('%d','%s','%s','%d','%s')\n",tp->id,CanonifyName(tp->topic_name),safeexpr,op->rep_type,rp->item); ^ cfknow.c:1875:38: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] cfknow.c:1644:7: warning: unused variable 'i' [-Wunused-variable] int i,sql_database_defined = false; ^ cfknow.c:1642:29: warning: unused variable 'longname' [-Wunused-variable] char filename[CF_BUFSIZE],longname[CF_BUFSIZE],query[CF_BUFSIZE],safe[CF_BUFSIZE],safe2[CF_BUFSIZE]; ^ cfknow.c: In function 'NothingFound': cfknow.c:1978:17: warning: unused variable 'tp' [-Wunused-variable] struct Topic *tp; ^ verify_packages.c: In function 'PackageSanityCheck': verify_packages.c:151:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (a.packages.package_name_regex||a.packages.package_version_regex||a.packages.package_arch_regex) ^ verify_packages.c: In function 'VerifyInstalledPackages': verify_packages.c:245:8: warning: unused variable 'dirh' [-Wunused-variable] DIR *dirh; ^ verify_packages.c:243:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ verify_packages.c:242:18: warning: unused variable 'dirp' [-Wunused-variable] struct dirent *dirp; ^ verify_packages.c: In function 'ExecuteSchedule': verify_packages.c:591:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (command_string = (malloc(estimated_size + strlen(a.packages.package_add_command) + 2))) ^ verify_packages.c:607:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (command_string = (malloc(estimated_size + strlen(a.packages.package_delete_command) + 2))) ^ verify_packages.c:623:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (command_string = (malloc(estimated_size + strlen(a.packages.package_update_command) + 2))) ^ verify_packages.c:641:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (command_string = (malloc(estimated_size + strlen(a.packages.package_verify_command) + 2))) ^ verify_packages.c: In function 'ExecutePatch': verify_packages.c:836:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (command_string = (malloc(estimated_size + strlen(a.packages.package_patch_command) + 2))) ^ cfknow.c: In function 'ShowTopicCosmology': agent.c: In function 'CheckAgentAccess': agent.c:859:18: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ agent.c:858:8: warning: unused variable 'id' [-Wunused-variable] { char id[CF_MAXVARSIZE]; ^ verify_packages.c: In function 'SchedulePackageOp': verify_packages.c:1326:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (matched && package_select_in_range || installed && no_version_specified) ^ verify_packages.c:1381:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (matched && package_select_in_range || installed && no_version_specified) ^ verify_packages.c:1451:20: warning: statement with no effect [-Wunused-value] instVer[0] == '*'; ^ verify_packages.c:1452:20: warning: statement with no effect [-Wunused-value] instVer[1] == '\0'; ^ verify_packages.c:1457:20: warning: statement with no effect [-Wunused-value] instArch[0] == '*'; ^ verify_packages.c:1458:20: warning: statement with no effect [-Wunused-value] instArch[1] == '\0'; ^ verify_packages.c:1512:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (matched && package_select_in_range || installed && no_version_specified) ^ cfknow.c:2006:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp; ^ cfknow.c: In function 'ShowAssociationSummary': cfknow.c:2201:8: warning: unused variable 'banner' [-Wunused-variable] { char banner[CF_BUFSIZE]; ^ cfknow.c: In function 'ShowAssociationCosmology': cfknow.c:2365:14: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] printf("\"%s\"",rp->item); ^ cfknow.c:2375:14: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] printf("\"%s\"",rp->item); ^ agent.c: In function 'NewTypeContext': agent.c:1073:1: warning: enumeration value 'kp_vars' not handled in switch [-Wswitch] switch(type) ^ agent.c:1073:1: warning: enumeration value 'kp_classes' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_outputs' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_interfaces' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_methods' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_services' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_commands' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_databases' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_reports' not handled in switch [-Wswitch] agent.c:1073:1: warning: enumeration value 'kp_none' not handled in switch [-Wswitch] agent.c:1068:16: warning: unused variable 'procdata' [-Wunused-variable] struct Item *procdata = NULL; ^ agent.c:1067:22: warning: unused variable 'i' [-Wunused-variable] { int maxconnections,i; ^ agent.c:1067:7: warning: unused variable 'maxconnections' [-Wunused-variable] { int maxconnections,i; ^ agent.c: In function 'DeleteTypeContext': agent.c:1128:1: warning: enumeration value 'kp_vars' not handled in switch [-Wswitch] switch(type) ^ agent.c:1128:1: warning: enumeration value 'kp_classes' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_outputs' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_interfaces' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_methods' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_services' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_commands' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_databases' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_reports' not handled in switch [-Wswitch] agent.c:1128:1: warning: enumeration value 'kp_none' not handled in switch [-Wswitch] agent.c:1126:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ verify_packages.c: In function 'ExecPackageCommand': verify_packages.c:1717:7: warning: unused variable 'offset' [-Wunused-variable] { int offset = 0, retval = true; ^ cfknow.c:2401:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] printf("%s\n",rp->item); ^ verify_packages.c: In function 'ComparePackages': verify_packages.c:1831:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] rp_1 != NULL & rp_2 != NULL; ^ verify_packages.c:1846:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (rp_1->next != NULL && rp_2->next == NULL || rp_1->next == NULL && rp_2->next != NULL) ^ verify_packages.c:1865:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] rp_1 != NULL & rp_2 != NULL; ^ cfknow.c:2419:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] printf("%s\n",rp->item); ^ cfknow.c:2220:31: warning: unused variable 'topic_id' [-Wunused-variable] { char topic_name[CF_BUFSIZE],topic_id[CF_BUFSIZE],topic_type[CF_BUFSIZE],query[CF_BUFSIZE]; ^ cfknow.c:2220:8: warning: unused variable 'topic_name' [-Wunused-variable] { char topic_name[CF_BUFSIZE],topic_id[CF_BUFSIZE],topic_type[CF_BUFSIZE],query[CF_BUFSIZE]; ^ cfknow.c: In function 'Name2Id': cfknow.c:2458:5: warning: the address of 'TM_PREFIX' will always evaluate as 'true' [-Waddress] if (TM_PREFIX && strlen(TM_PREFIX) > 0) ^ cfknow.c: In function 'ShowTextResults': cfknow.c:2513:18: warning: too many arguments for format [-Wformat-extra-args] printf("(Image)\n",oc->locator); ^ cfknow.c:2550:14: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] printf(" - %s\n",rp->item); ^ cfknow.c: In function 'ShowHtmlResults': cfknow.c:2685:29: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] fprintf(fout,"%s ",rp->item); ^ cfknow.c:2597:9: warning: variable 'v' set but not used [-Wunused-but-set-variable] char *v,rettype; ^ cfknow.c:2596:27: warning: unused variable 'filename' [-Wunused-variable] char banner[CF_BUFSIZE],filename[CF_BUFSIZE],pngfile[CF_BUFSIZE]; ^ cfknow.c: In function 'ShowImageMap': cfknow.c:2866:9: warning: variable 'v' set but not used [-Wunused-but-set-variable] char *v,rettype; ^ cfknow.c: In function 'VerifyOccurrenceGroup': cfknow.c:2948:24: warning: variable 'rep_type' set but not used [-Wunused-but-set-variable] enum representations rep_type; ^ cfknow.c: In function 'NextTopic': cfknow.c:3024:8: warning: the address of 'ctype' will always evaluate as 'true' [-Waddress] if (ctype && strlen(ctype) > 0) ^ cfknow.c: In function 'NextMap': cfknow.c:3072:8: warning: the address of 'ctype' will always evaluate as 'true' [-Waddress] if (ctype && strlen(ctype) > 0) ^ cfknow.c: In function 'ShowImageMap': cfknow.c:2916:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line,CF_BUFSIZE,fin); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o env_monitor.o env_monitor.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o monitor.o monitor.c agentdiagnostic.c: In function 'AgentDiagnostic': agentdiagnostic.c:307:8: warning: unused variable 'cwd' [-Wunused-variable] { char cwd[CF_BUFSIZE]; ^ agentdiagnostic.c: In function 'TestSearchFilePromiser': agentdiagnostic.c:362:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ agentdiagnostic.c:361:22: warning: unused variable 'cp' [-Wunused-variable] struct Constraint *cp; ^ agentdiagnostic.c:360:47: warning: unused variable 'scalarvars' [-Wunused-variable] struct Rlist *rp, *args, *listvars = NULL, *scalarvars = NULL; ^ agentdiagnostic.c:360:29: warning: unused variable 'listvars' [-Wunused-variable] struct Rlist *rp, *args, *listvars = NULL, *scalarvars = NULL; ^ agentdiagnostic.c:360:22: warning: unused variable 'args' [-Wunused-variable] struct Rlist *rp, *args, *listvars = NULL, *scalarvars = NULL; ^ agentdiagnostic.c:360:17: warning: unused variable 'rp' [-Wunused-variable] struct Rlist *rp, *args, *listvars = NULL, *scalarvars = NULL; ^ agentdiagnostic.c:359:9: warning: unused variable 'list_text2' [-Wunused-variable] char *list_text2 = "1,2,3,4,5,6,7"; ^ agentdiagnostic.c:358:9: warning: unused variable 'list_text1' [-Wunused-variable] char *list_text1 = "a,b,c,d,e,f,g"; ^ agentdiagnostic.c:357:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ agentdiagnostic.c:356:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ agentdiagnostic.c:355:22: warning: unused variable 'pcopy' [-Wunused-variable] { struct Promise pp,*pcopy; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o server.o server.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o server_transform.o server_transform.c env_monitor.c: In function 'MonInitialize': env_monitor.c:235:8: warning: statement with no effect [-Wunused-value] LDT_BUF[i][j]; ^ env_monitor.c: In function 'GetDatabaseAge': env_monitor.c:268:7: warning: unused variable 'err_no' [-Wunused-variable] { int err_no; ^ env_monitor.c: In function 'StartServer': env_monitor.c:352:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ env_monitor.c: In function 'Sniff': env_monitor.c:463:7: warning: unused variable 'i' [-Wunused-variable] { int i; ^ env_monitor.c: In function 'EvalAvQ': env_monitor.c:551:31: warning: unused variable 'delta2' [-Wunused-variable] double This[CF_OBSERVABLES],delta2; ^ env_monitor.c: In function 'LeapDetection': env_monitor.c:639:9: warning: unused variable 'j' [-Wunused-variable] { int i,j,last_pos = LDT_POS; ^ env_monitor.c: In function 'ArmClasses': env_monitor.c:718:16: warning: variable 'anomaly_chi_limit' set but not used [-Wunused-but-set-variable] static double anomaly_chi_limit[CF_OBSERVABLES]; ^ env_monitor.c:717:16: warning: variable 'anomaly_chi' set but not used [-Wunused-but-set-variable] static double anomaly_chi[CF_OBSERVABLES]; ^ env_monitor.c:713:12: warning: unused variable 'pos' [-Wunused-variable] int i,j,k,pos; ^ env_monitor.c: In function 'GatherDiskData': env_monitor.c:1110:4: warning: label 'linuxx' defined but not used [-Wunused-label] linuxx: ^ env_monitor.c: In function 'GetCurrentAverages': env_monitor.c:1393:7: warning: unused variable 'err_no' [-Wunused-variable] { int err_no; ^ env_monitor.c: In function 'UpdateAverages': env_monitor.c:1428:7: warning: unused variable 'err_no' [-Wunused-variable] { int err_no; ^ env_monitor.c: In function 'UpdateDistributions': env_monitor.c:1451:22: warning: unused variable 'time_to_update' [-Wunused-variable] { int position,day,i,time_to_update = true; ^ env_monitor.c: At top level: env_monitor.c:1990:1: warning: "/*" within comment [-Wcomment] /* We're mainly interested in temperature and power consumption, but only the */ ^ env_monitor.c: In function 'GatherSensorData': env_monitor.c:2000:2: warning: enumeration value 'empty' not handled in switch [-Wswitch] switch(VSYSTEMHARDCLASS) ^ env_monitor.c:2000:2: warning: enumeration value 'soft' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'sun4' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'ultrx' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'hp' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'aix' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'osf' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'digital' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'sun3' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'irix4' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'irix' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'irix64' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'freebsd' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'solarisx86' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'bsd4_3' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'newsos' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'netbsd' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'aos' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'bsd_i' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'nextstep' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'crayos' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'GnU' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'cfnt' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'unix_sv' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'openbsd' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'cfsco' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'darwin' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'ux4800' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'qnx' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'dragonfly' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'mingw' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'vmware' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'unused1' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'unused2' not handled in switch [-Wswitch] env_monitor.c:2000:2: warning: enumeration value 'unused3' not handled in switch [-Wswitch] env_monitor.c:1996:8: warning: unused variable 'buffer' [-Wunused-variable] { char buffer[CF_BUFSIZE]; ^ env_monitor.c: In function 'Unix_GatherCPUData': env_monitor.c:2445:15: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[1024]' [-Wformat=] sscanf(buf,"%s%ld%ld%ld%ld%ld%ld%ld",&cpuname,&userticks,&niceticks,&systemticks,&idle,&iowait,&irq,&softirq); ^ env_monitor.c:2446:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] snprintf(name,16,"cpu%d",count); ^ env_monitor.c:2446:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] env_monitor.c: In function 'LoadHistogram': env_monitor.c:319:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d ",&position); ^ env_monitor.c:325:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf ",&(HISTOGRAM[i][day][position])); ^ env_monitor.c: In function 'OpenSniffer': env_monitor.c:449:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tcpbuffer,CF_BUFSIZE-1,TCPPIPE); ^ env_monitor.c: In function 'Sniff': env_monitor.c:479:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tcpbuffer,CF_BUFSIZE-1,TCPPIPE); ^ env_monitor.c: In function 'GetAcpi': env_monitor.c:2090:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,CF_BUFSIZE-1,fp); ^ env_monitor.c: In function 'Unix_GatherCPUData': env_monitor.c:2443:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,CF_BUFSIZE,fp); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o exec.o exec.c server.c: In function 'CheckOpts': server.c:188:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ server.c: In function 'StartServer': server.c:416:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((sd_reply = accept(sd,(struct sockaddr *)&cin,&addrlen)) != -1) ^ In file included from cf.defs.h:269:0, from cf3.defs.h:30, from server.c:32: /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ server.c: In function 'CheckFileChanges': server.c:771:7: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type '__time_t {aka long int}' [-Wformat=] Debug("Checking file updates on %s (%x/%x)\n",filename, newstat.st_mtime, CFDSTARTTIME); ^ server.c:771:7: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] server.c:756:30: warning: unused variable 'sp' [-Wunused-variable] char filename[CF_BUFSIZE],*sp; ^ server.c: In function 'BusyWithConnection': server.c:1257:23: warning: pointer targets in passing argument 1 of 'DebugBinOut' differ in signedness [-Wpointer-sign] DebugBinOut(conn->session_key,32,"Session key"); ^ In file included from cf3.defs.h:1872:0, from server.c:32: prototypes3.h:304:6: note: expected 'char *' but argument is of type 'unsigned char *' void DebugBinOut(char *buffer,int len,char *com); ^ server.c: In function 'DoExec': server.c:1567:9: warning: unused variable 'rval' [-Wunused-variable] void *rval; ^ server.c:1566:24: warning: unused variable 'opt' [-Wunused-variable] int print = false,i, opt=false; ^ server.c:1565:52: warning: unused variable 'rtype' [-Wunused-variable] { char ebuff[CF_EXPANDSIZE], line[CF_BUFSIZE], *sp,rtype; ^ server.c: In function 'AccessControl': server.c:1975:89: warning: unused variable 'sp' [-Wunused-variable] char realname[CF_BUFSIZE],path[CF_BUFSIZE],lastnode[CF_BUFSIZE],filename[CF_BUFSIZE],*sp; ^ server.c: In function 'LiteralAccessControl': server.c:2147:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ server.c:2146:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ server.c: In function 'ContextAccessControl': server.c:2264:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ server.c:2260:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ server.c:2259:9: warning: unused variable 'sp' [-Wunused-variable] char *sp; ^ server.c: In function 'AuthenticationDialogue': server.c:2556:38: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if (RSA_private_decrypt(crypt_len,recvbuffer+CF_RSA_PROTO_OFFSET,decrypted_nonce,PRIVKEY,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/rsa.h:341:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ server.c:2556:69: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if (RSA_private_decrypt(crypt_len,recvbuffer+CF_RSA_PROTO_OFFSET,decrypted_nonce,PRIVKEY,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/rsa.h:341:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ server.c:2608:28: warning: pointer targets in passing argument 1 of 'BN_mpi2bn' differ in signedness [-Wpointer-sign] if ((newkey->n = BN_mpi2bn(recvbuffer,len_n,NULL)) == NULL) ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/bn.h:444:9: note: expected 'const unsigned char *' but argument is of type 'char *' BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); ^ server.c:2632:28: warning: pointer targets in passing argument 1 of 'BN_mpi2bn' differ in signedness [-Wpointer-sign] if ((newkey->e = BN_mpi2bn(recvbuffer,len_e,NULL)) == NULL) ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/bn.h:444:9: note: expected 'const unsigned char *' but argument is of type 'char *' BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); ^ server.c:2669:32: warning: pointer targets in passing argument 2 of 'SendTransaction' differ in signedness [-Wpointer-sign] SendTransaction(conn->sd_reply,digest,digestLen,CF_DONE); ^ In file included from cf3.defs.h:1872:0, from server.c:32: prototypes3.h:1100:5: note: expected 'char *' but argument is of type 'unsigned char *' int SendTransaction (int sd, char *buffer,int len, char status); ^ server.c:2678:41: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness [-Wpointer-sign] nonce_len = BN_bn2mpi(counter_challenge,in); ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/bn.h:445:5: note: expected 'unsigned char *' but argument is of type 'char *' int BN_bn2mpi(const BIGNUM *a, unsigned char *to); ^ server.c:2691:34: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] if (RSA_public_encrypt(nonce_len,in,out,newkey,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/rsa.h:335:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ server.c:2691:37: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness [-Wpointer-sign] if (RSA_public_encrypt(nonce_len,in,out,newkey,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/rsa.h:335:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_public_encrypt(int flen, const unsigned char *from, ^ server.c:2711:32: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness [-Wpointer-sign] len_n = BN_bn2mpi(PUBKEY->n,in); ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/bn.h:445:5: note: expected 'unsigned char *' but argument is of type 'char *' int BN_bn2mpi(const BIGNUM *a, unsigned char *to); ^ server.c:2716:32: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness [-Wpointer-sign] len_e = BN_bn2mpi(PUBKEY->e,in); ^ In file included from /usr/include/openssl/asn1.h:74:0, from /usr/include/openssl/objects.h:965, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/pem.h:69, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/bn.h:445:5: note: expected 'unsigned char *' but argument is of type 'char *' int BN_bn2mpi(const BIGNUM *a, unsigned char *to); ^ server.c:2733:24: warning: pointer targets in passing argument 2 of 'HashesMatch' differ in signedness [-Wpointer-sign] if (HashesMatch(digest,in,digestType)) /* replay / piggy in the middle attack ? */ ^ In file included from cf3.defs.h:1872:0, from server.c:32: prototypes3.h:696:5: note: expected 'unsigned char *' but argument is of type 'char *' int HashesMatch(unsigned char digest1[EVP_MAX_MD_SIZE+1],unsigned char digest2[EVP_MAX_MD_SIZE+1],enum cfhashes type); ^ server.c:2802:35: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if (RSA_private_decrypt(keylen,in,out,PRIVKEY,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/rsa.h:341:5: note: expected 'const unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ server.c:2802:38: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness [-Wpointer-sign] if (RSA_private_decrypt(keylen,in,out,PRIVKEY,RSA_PKCS1_PADDING) <= 0) ^ In file included from /usr/include/openssl/x509.h:96:0, from /usr/include/openssl/pem.h:70, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/rsa.h:341:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_private_decrypt(int flen, const unsigned char *from, ^ server.c: In function 'StatFile': server.c:2974:7: warning: format '%d' expects argument of type 'int', but argument 8 has type 'time_t {aka long int}' [-Wformat=] Debug("OK: type=%d\n mode=%o\n lmode=%o\n uid=%d\n gid=%d\n size=%ld\n atime=%d\n mtime=%d\n", ^ server.c:2974:7: warning: format '%d' expects argument of type 'int', but argument 9 has type 'time_t {aka long int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 10 has type 'time_t {aka long int}' [-Wformat=] snprintf(sendbuffer,CF_BUFSIZE,"OK: %d %d %d %d %d %ld %d %d %d %d %d %d %d", ^ server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 11 has type 'time_t {aka long int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 12 has type 'time_t {aka long int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 16 has type 'dev_t {aka long unsigned int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 10 has type 'time_t {aka long int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 11 has type 'time_t {aka long int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 12 has type 'time_t {aka long int}' [-Wformat=] server.c:2978:32: warning: format '%d' expects argument of type 'int', but argument 16 has type 'dev_t {aka long unsigned int}' [-Wformat=] server.c: In function 'CfGetFile': server.c:3013:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key = (args->connect)->session_key; ^ server.c:3019:7: warning: format '%d' expects argument of type 'int', but argument 4 has type '__off_t {aka long int}' [-Wformat=] Debug("CfGetFile(%s on sd=%d), size=%d\n",filename,sd,sb.st_size); ^ server.c:3010:9: warning: variable 'key' set but not used [-Wunused-but-set-variable] char *key; ^ server.c:3009:9: warning: unused variable 'uid' [-Wunused-variable] uid_t uid; ^ server.c:3006:35: warning: unused variable 'out' [-Wunused-variable] char sendbuffer[CF_BUFSIZE+256],out[CF_BUFSIZE],filename[CF_BUFSIZE]; ^ server.c:3005:58: warning: unused variable 'finlen' [-Wunused-variable] { int sd,fd,n_read,total=0,cipherlen,sendlen=0,count = 0,finlen; ^ server.c:3005:28: warning: unused variable 'cipherlen' [-Wunused-variable] { int sd,fd,n_read,total=0,cipherlen,sendlen=0,count = 0,finlen; ^ server.c: In function 'CfEncryptGetFile': server.c:3124:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key = (args->connect)->session_key; ^ server.c:3131:7: warning: format '%d' expects argument of type 'int', but argument 4 has type '__off_t {aka long int}' [-Wformat=] Debug("CfEncryptGetFile(%s on sd=%d), size=%d\n",filename,sd,sb.st_size); ^ server.c:3178:55: warning: pointer targets in passing argument 3 of 'EVP_EncryptInit' differ in signedness [-Wpointer-sign] EVP_EncryptInit(&ctx,CfengineCipher(enctype),key,iv); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/evp.h:620:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ^ server.c:3180:38: warning: pointer targets in passing argument 2 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_EncryptUpdate(&ctx,out,&cipherlen,sendbuffer,n_read)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/evp.h:625:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ server.c:3180:53: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness [-Wpointer-sign] if (!EVP_EncryptUpdate(&ctx,out,&cipherlen,sendbuffer,n_read)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/evp.h:625:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, ^ server.c:3187:37: warning: pointer targets in passing argument 2 of 'EVP_EncryptFinal' differ in signedness [-Wpointer-sign] if (!EVP_EncryptFinal(&ctx,out+cipherlen,&finlen)) ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from server.c:32: /usr/include/openssl/evp.h:628:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); ^ server.c:3121:9: warning: unused variable 'uid' [-Wunused-variable] uid_t uid; ^ server.c:3113:38: warning: unused variable 'sendlen' [-Wunused-variable] { int sd,fd,n_read,total=0,cipherlen,sendlen=0,count = 0,finlen,cnt = 0; ^ server.c: In function 'GetServerLiteral': server.c:3272:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ok = ReturnLiteralData(handle,out)) ^ server.c: In function 'GetServerQuery': server.c:3299:18: warning: unused variable 'ok' [-Wunused-variable] int cipherlen, ok = false; ^ server.c:3299:7: warning: unused variable 'cipherlen' [-Wunused-variable] int cipherlen, ok = false; ^ server.c:3298:26: warning: unused variable 'out' [-Wunused-variable] { char query[CF_BUFSIZE],out[CF_BUFSIZE]; ^ server.c: In function 'ReplyServerContext': server.c:3321:18: warning: unused variable 'ok' [-Wunused-variable] int cipherlen, ok = false; ^ server.c: In function 'CheckStoreKey': server.c:3725:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (savedkey = HavePublicKey(conn->username,MapAddress(conn->ipaddr),udigest)) ^ monitor.c: In function 'main': monitor.c:104:1: warning: implicit declaration of function 'StartServer' [-Wimplicit-function-declaration] StartServer(argc,argv); ^ monitor.c: In function 'CheckOpts': monitor.c:113:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ monitor.c: In function 'ThisAgentInit': monitor.c:257:1: warning: implicit declaration of function 'MonInitialize' [-Wimplicit-function-declaration] MonInitialize(); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o runagent.o runagent.c env_monitor.c: In function 'LoadHistogram': env_monitor.c:328:26: warning: array subscript is above array bounds [-Warray-bounds] if (HISTOGRAM[i][day][position] < 0) ^ env_monitor.c:330:25: warning: array subscript is above array bounds [-Warray-bounds] HISTOGRAM[i][day][position] = 0; ^ env_monitor.c:333:26: warning: array subscript is above array bounds [-Warray-bounds] if (HISTOGRAM[i][day][position] > maxval[i]) ^ env_monitor.c:338:38: warning: array subscript is above array bounds [-Warray-bounds] HISTOGRAM[i][day][position] *= 1000.0/maxval[i]; ^ env_monitor.c: In function 'MonInitialize': env_monitor.c:219:30: warning: iteration 7u invokes undefined behavior [-Waggressive-loop-optimizations] HISTOGRAM[i][j][k] = 0; ^ env_monitor.c:215:5: note: containing loop for (j = 0; j < CF_OBSERVABLES; j++) ^ exec.c: In function 'CheckOpts': exec.c:159:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ exec.c: In function 'ThisAgentInit': exec.c:270:8: warning: unused variable 'vbuff' [-Wunused-variable] { char vbuff[CF_BUFSIZE]; ^ exec.c: In function 'StartServer': exec.c:450:10: warning: unused variable 'i' [-Wunused-variable] int i; ^ exec.c:449:13: warning: unused variable 'nargv' [-Wunused-variable] { char **nargv; ^ exec.c:384:7: warning: unused variable 'pid' [-Wunused-variable] { int pid,time_to_run = false; ^ exec.c: In function 'Apoptosis': exec.c:535:18: warning: unused variable 'pidrange' [-Wunused-variable] char mypid[32],pidrange[32]; ^ exec.c: In function 'LocalExec': exec.c:775:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] snprintf(line,CF_BUFSIZE-1,"_%d_%s",starttime,CanonifyName(cf_ctime(&starttime))); ^ exec.c:775:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] exec.c:776:32: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=] snprintf(filename,CF_BUFSIZE-1,"%s/outputs/cf_%s_%s_%x",CFWORKDIR,CanonifyName(VFQNAME),line,threadName); ^ exec.c:776:32: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=] exec.c: In function 'FileChecksum': exec.c:900:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (len = fread(buffer,1,1024,file)) ^ exec.c:905:36: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&context,digest,&md_len); ^ In file included from /usr/include/openssl/pem.h:69:0, from cf.defs.h:109, from cf3.defs.h:30, from exec.c:32: /usr/include/openssl/evp.h:603:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); ^ exec.c: In function 'CompareResult': exec.c:930:38: warning: pointer targets in passing argument 2 of 'FileChecksum' differ in signedness [-Wpointer-sign] md_len1 = FileChecksum(prev_file, digest1, 'm'); ^ exec.c:868:5: note: expected 'unsigned char *' but argument is of type 'char *' int FileChecksum(char *filename,unsigned char digest[EVP_MAX_MD_SIZE+1],char type) ^ exec.c:931:38: warning: pointer targets in passing argument 2 of 'FileChecksum' differ in signedness [-Wpointer-sign] md_len2 = FileChecksum(filename, digest2, 'm'); ^ exec.c:868:5: note: expected 'unsigned char *' but argument is of type 'char *' int FileChecksum(char *filename,unsigned char digest[EVP_MAX_MD_SIZE+1],char type) ^ exec.c: In function 'MailResult': exec.c:979:7: warning: unused variable 'domain' [-Wunused-variable] char domain[256], prev_file[CF_BUFSIZE],vbuff[CF_BUFSIZE]; ^ exec.c:978:11: warning: variable 'sent' set but not used [-Wunused-but-set-variable] { int sd, sent, count = 0, anomaly = false; ^ exec.c: At top level: exec.c:657:14: warning: 'timestamp' defined but not used [-Wunused-function] static char *timestamp(time_t stamp, char *buf, size_t len) ^ exec.c: In function 'MailResult': exec.c:1040:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(vbuff,CF_BUFSIZE,fp); ^ exec.c:1179:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(vbuff,CF_BUFSIZE,fp); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o cfkey.o cfkey.c server_transform.c: In function 'KeepControlPromises': server_transform.c:183:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ server_transform.c:180:15: warning: unused variable 'rrval' [-Wunused-variable] struct Rval rrval; ^ server_transform.c:179:17: warning: unused variable 'ptr' [-Wunused-variable] struct Scope *ptr; ^ server_transform.c: In function 'KeepContextBundles': server_transform.c:417:9: warning: unused variable 'retval' [-Wunused-variable] void *retval; ^ server_transform.c:416:17: warning: unused variable 'rettype' [-Wunused-variable] char *scope, *rettype; ^ server_transform.c: In function 'KeepPromiseBundles': server_transform.c:461:9: warning: unused variable 'retval' [-Wunused-variable] void *retval; ^ server_transform.c:460:17: warning: unused variable 'rettype' [-Wunused-variable] char *scope, *rettype; ^ server_transform.c: In function 'KeepFileAccessPromise': server_transform.c:570:9: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^ server_transform.c:567:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ server_transform.c:566:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ server_transform.c: In function 'KeepLiteralAccessPromise': server_transform.c:651:9: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^ server_transform.c:647:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ server_transform.c:646:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ server_transform.c: In function 'KeepQueryAccessPromise': server_transform.c:744:9: warning: variable 'val' set but not used [-Wunused-but-set-variable] char *val; ^ server_transform.c:741:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ server_transform.c:740:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ server_transform.c: In function 'KeepServerRolePromise': server_transform.c:826:9: warning: unused variable 'val' [-Wunused-variable] char *val; ^ server_transform.c:825:20: warning: unused variable 'dp' [-Wunused-variable] struct Auth *ap,*dp; ^ server_transform.c:823:18: warning: unused variable 'fp' [-Wunused-variable] struct FnCall *fp; ^ server_transform.c:822:16: warning: unused variable 'bp' [-Wunused-variable] struct Body *bp; ^ server_transform.c: In function 'InstallServerAuthPath': server_transform.c:881:8: warning: unused variable 'ebuff' [-Wunused-variable] char ebuff[CF_EXPANDSIZE]; ^ server_transform.c: In function 'GetAuthPath': server_transform.c:925:8: warning: unused variable 'ebuff' [-Wunused-variable] char ebuff[CF_EXPANDSIZE]; ^ runagent.c: In function 'CheckOpts': runagent.c:158:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ runagent.c: In function 'HailServer': runagent.c:299:8: warning: unused variable 'sp' [-Wunused-variable] char *sp,sendbuffer[CF_BUFSIZE],recvbuffer[CF_BUFSIZE],peer[CF_MAXVARSIZE],ipv4[CF_MAXVARSIZE],digest[CF_MAXVARSIZE],user[CF_SMALLBUF]; ^ runagent.c: In function 'MakeDefaultRunAgentPromise': runagent.c:530:20: warning: unused variable 'spe' [-Wunused-variable] char *sp = NULL,*spe = NULL; ^ runagent.c:530:9: warning: unused variable 'sp' [-Wunused-variable] char *sp = NULL,*spe = NULL; ^ runagent.c:529:23: warning: unused variable 'lp' [-Wunused-variable] { struct Promise *pp,*lp; ^ runagent.c: In function 'SendClassData': runagent.c:584:7: warning: unused variable 'used' [-Wunused-variable] int used; ^ runagent.c: In function 'HailServer': runagent.c:327:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(reply,8,stdin); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o cfreport.o cfreport.c cfkey.c: In function 'CheckOpts': cfkey.c:97:8: warning: unused variable 'ld_library_path' [-Wunused-variable] char ld_library_path[CF_BUFSIZE]; ^ cfkey.c:94:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ cfkey.c: In function 'ShowLastSeenHosts': cfkey.c:156:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o hub.o hub.c cfreport.c:200:4: warning: missing braces around initializer [-Wmissing-braces] { ^ cfreport.c:200:4: note: (near initialization for 'CFRX') cfreport.c:222:4: warning: missing braces around initializer [-Wmissing-braces] { ^ cfreport.c:222:4: note: (near initialization for 'CFRH') cfreport.c: In function 'CheckOpts': cfreport.c:266:8: warning: unused variable 'ld_library_path' [-Wunused-variable] char ld_library_path[CF_BUFSIZE]; ^ cfreport.c:263:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ cfreport.c: In function 'ThisAgentInit': cfreport.c:388:8: warning: unused variable 'vbuff' [-Wunused-variable] { char vbuff[CF_BUFSIZE]; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-cf3parse.lo `test -f 'cf3parse.c' || echo './'`cf3parse.c cfreport.c: In function 'RemoveHostSeen': cfreport.c:750:9: warning: unused variable 'value' [-Wunused-variable] void *value; ^ cfreport.c:749:9: warning: unused variable 'key' [-Wunused-variable] char *key,name[CF_BUFSIZE]; ^ cfreport.c:748:11: warning: unused variable 'dbcp' [-Wunused-variable] CF_DBC *dbcp; ^ cfreport.c: In function 'ShowLastSeen': cfreport.c:789:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ cfreport.c: In function 'ShowPerformance': cfreport.c:1039:26: warning: unused variable 'addr' [-Wunused-variable] char tbuf[CF_BUFSIZE],addr[CF_BUFSIZE]; ^ cfreport.c:974:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ cfreport.c: In function 'ShowClasses': cfreport.c:1218:26: warning: unused variable 'addr' [-Wunused-variable] char tbuf[CF_BUFSIZE],addr[CF_BUFSIZE]; ^ cfreport.c:1216:11: warning: variable 'measure' set but not used [-Wunused-but-set-variable] double measure; ^ cfreport.c:1143:7: warning: unused variable 'ret' [-Wunused-variable] int ret,i,ksize,vsize; ^ cfreport.c:1139:10: warning: unused variable 'ticksperminute' [-Wunused-variable] double ticksperminute = 60.0; ^ cfreport.c: In function 'ShowChecksums': cfreport.c:1384:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ cfreport.c:1382:9: warning: unused variable 'pp' [-Wunused-variable] FILE *pp,*fout; ^ cfreport.c:1381:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ cfreport.c: In function 'ShowLocks': cfreport.c:1508:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ cfreport.c: In function 'ShowCurrentAudit': cfreport.c:1672:7: warning: unused variable 'ret' [-Wunused-variable] int ret,ksize,vsize; ^ cfreport.c: In function 'ReadAverages': cfreport.c:1914:9: warning: unused variable 'err' [-Wunused-variable] int i,err; ^ cfreport.c: In function 'EraseAverages': cfreport.c:1971:9: warning: unused variable 'err' [-Wunused-variable] { int i,err; ^ cfreport.c: In function 'SummarizeAverages': cfreport.c:2023:9: warning: unused variable 'err' [-Wunused-variable] { int i,err; ^ cfreport.c: In function 'WriteGraphFiles': cfreport.c:2133:31: warning: unused variable 'name' [-Wunused-variable] char timekey[CF_MAXVARSIZE],name[CF_MAXVARSIZE]; ^ cfreport.c:2131:15: warning: unused variable 'statbuf' [-Wunused-variable] struct stat statbuf; ^ cfreport.c:2129:28: warning: unused variable 'err' [-Wunused-variable] { int its,i,j,k, count = 0,err; ^ cfreport.c:2129:15: warning: unused variable 'k' [-Wunused-variable] { int its,i,j,k, count = 0,err; ^ cfreport.c: In function 'MagnifyNow': cfreport.c:2269:28: warning: unused variable 'err' [-Wunused-variable] { int its,i,j,k, count = 0,err; ^ cfreport.c:2269:15: warning: unused variable 'k' [-Wunused-variable] { int its,i,j,k, count = 0,err; ^ cfreport.c: In function 'DiskArrivals': cfreport.c:2454:31: warning: unused variable 'err' [-Wunused-variable] int count = 0, index = 0, i,err; ^ cfreport.c: In function 'PeerIntermittency': cfreport.c:2672:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=] fprintf(fp2,"%d %lf %lf\n",now,average,sqrt(var)); ^ cfreport.c:2683:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=] fprintf(fp1,"%d %d\n",now,lastseen); ^ cfreport.c:2683:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat=] cfreport.c:2581:34: warning: unused variable 'sum_av' [-Wunused-variable] double entropy,average,var,sum,sum_av; ^ cfreport.c:2581:30: warning: unused variable 'sum' [-Wunused-variable] double entropy,average,var,sum,sum_av; ^ cfreport.c:2581:10: warning: unused variable 'entropy' [-Wunused-variable] double entropy,average,var,sum,sum_av; ^ cfreport.c:2575:9: warning: unused variable 'ret' [-Wunused-variable] int i,ret,ksize,vsize; ^ cfreport.c:2575:7: warning: unused variable 'i' [-Wunused-variable] int i,ret,ksize,vsize; ^ cfreport.c:2571:15: warning: unused variable 'dbpent' [-Wunused-variable] { CF_DB *dbp,*dbpent; ^ cfreport.c: At top level: cfreport.c:88:24: warning: 'ENTRY' defined but not used [-Wunused-variable] static struct Averages ENTRY,MAX,MIN,DET; ^ cfreport.c:88:38: warning: 'DET' defined but not used [-Wunused-variable] static struct Averages ENTRY,MAX,MIN,DET; ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-cf3lex.lo `test -f 'cf3lex.c' || echo './'`cf3lex.c cfreport.c: In function 'WriteHistograms': cfreport.c:2366:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d ",&position); ^ cfreport.c:2372:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d ",&(HISTOGRAM[i][day][position])); ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c cf3parse.c -fPIC -DPIC -o .libs/libpromises_la-cf3parse.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -pthread -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -c cf3lex.c -fPIC -DPIC -o .libs/libpromises_la-cf3lex.o cf3parse.y: In function 'yyparse': cf3parse.y:167:13: warning: unused variable 'contextid' [-Wunused-variable] { char *contextid = NULL; ^ cf3parse.y:232:50: warning: unused variable 'ss' [-Wunused-variable] struct SubTypeSyntax ss = CheckSubType(P.blocktype,P.currenttype); ^ cf3parse.y:316:33: warning: unused variable 'contextid' [-Wunused-variable] char *contextid = NULL; ^ hub.c: In function 'CheckOpts': cf3parse.y:356:32: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] Debug("Recorded IDRVAL %s\n",P.rval); ^ hub.c:138:8: warning: unused variable 'ld_library_path' [-Wunused-variable] char ld_library_path[CF_BUFSIZE]; ^ hub.c:135:16: warning: unused variable 'actionList' [-Wunused-variable] struct Item *actionList; ^ cf3parse.y:364:32: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] Debug("Recorded scalarRVAL %s\n",P.rval); ^ cf3parse.y:372:32: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'void *' [-Wformat=] Debug("Recorded saclarvariableRVAL %s\n",P.rval); ^ hub.c: In function 'ThisAgentInit': hub.c:228:8: warning: unused variable 'vbuff' [-Wunused-variable] { char vbuff[CF_BUFSIZE]; ^ hub.c: In function 'KeepPromises': hub.c:258:16: warning: unused variable 'splay' [-Wunused-variable] char rettype,splay[CF_BUFSIZE]; ^ cf3lex.c:1351:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^ cf3lex.c:1394:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^ /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -version-info 1:0:0 -no-undefined -o libpromises.la -rpath /usr/lib64 libpromises_la-cf3parse.lo libpromises_la-cf3lex.lo libpromises_la-patches.lo libpromises_la-attributes.lo libpromises_la-install.lo libpromises_la-generic_agent.lo libpromises_la-dbm_api.lo libpromises_la-dbm_berkeley.lo libpromises_la-dbm_quick.lo libpromises_la-dbm_tokyocab.lo libpromises_la-dtypes.lo libpromises_la-classes.lo libpromises_la-env_context.lo libpromises_la-files_interfaces.lo libpromises_la-files_properties.lo libpromises_la-files_select.lo libpromises_la-files_operators.lo libpromises_la-files_repository.lo libpromises_la-files_copy.lo libpromises_la-files_editline.lo libpromises_la-files_edit.lo libpromises_la-files_links.lo libpromises_la-files_hashes.lo libpromises_la-files_names.lo libpromises_la-chflags.lo libpromises_la-modes.lo libpromises_la-exec_tools.lo libpromises_la-nfs.lo libpromises_la-item-lib.lo libpromises_la-cf_sql.lo libpromises_la-client_protocol.lo libpromises_la-client_code.lo libpromises_la-communication.lo libpromises_la-net.lo libpromises_la-sockaddr.lo libpromises_la-recursion.lo libpromises_la-processes_select.lo libpromises_la-fncall.lo libpromises_la-cf3globals.lo libpromises_la-reporting.lo libpromises_la-evalfunction.lo libpromises_la-sysinfo.lo libpromises_la-conversion.lo libpromises_la-scope.lo libpromises_la-assoc.lo libpromises_la-comparray.lo libpromises_la-vars.lo libpromises_la-args.lo libpromises_la-hashes.lo libpromises_la-crypto.lo libpromises_la-expand.lo libpromises_la-matching.lo libpromises_la-selfdiagnostic.lo libpromises_la-instrumentation.lo libpromises_la-granules.lo libpromises_la-timeout.lo libpromises_la-promises.lo libpromises_la-ontology.lo libpromises_la-constraints.lo libpromises_la-iteration.lo libpromises_la-rlist.lo libpromises_la-syntax.lo libpromises_la-logging.lo libpromises_la-signals.lo libpromises_la-transaction.lo libpromises_la-cfstream.lo libpromises_la-pipes.lo libpromises_la-html.lo libpromises_la-interfaces.lo libpromises_la-storage_tools.lo libpromises_la-verify_reports.lo libpromises_la-verify_processes.lo libpromises_la-enterprise_stubs.lo libpromises_la-mod_functions.lo libpromises_la-mod_defaults.lo libpromises_la-mod_common.lo libpromises_la-mod_access.lo libpromises_la-mod_exec.lo libpromises_la-mod_methods.lo libpromises_la-mod_interfaces.lo libpromises_la-mod_packages.lo libpromises_la-mod_files.lo libpromises_la-mod_report.lo libpromises_la-mod_storage.lo libpromises_la-mod_knowledge.lo libpromises_la-mod_measurement.lo libpromises_la-mod_databases.lo libpromises_la-mod_services.lo libpromises_la-mod_process.lo libpromises_la-mod_environ.lo libpromises_la-mod_outputs.lo libpromises_la-unix.lo -ldb-4 -L/usr/lib64 -lcrypto -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub libtool: link: x86_64-alt-linux-gcc -shared -fPIC -DPIC .libs/libpromises_la-cf3parse.o .libs/libpromises_la-cf3lex.o .libs/libpromises_la-patches.o .libs/libpromises_la-attributes.o .libs/libpromises_la-install.o .libs/libpromises_la-generic_agent.o .libs/libpromises_la-dbm_api.o .libs/libpromises_la-dbm_berkeley.o .libs/libpromises_la-dbm_quick.o .libs/libpromises_la-dbm_tokyocab.o .libs/libpromises_la-dtypes.o .libs/libpromises_la-classes.o .libs/libpromises_la-env_context.o .libs/libpromises_la-files_interfaces.o .libs/libpromises_la-files_properties.o .libs/libpromises_la-files_select.o .libs/libpromises_la-files_operators.o .libs/libpromises_la-files_repository.o .libs/libpromises_la-files_copy.o .libs/libpromises_la-files_editline.o .libs/libpromises_la-files_edit.o .libs/libpromises_la-files_links.o .libs/libpromises_la-files_hashes.o .libs/libpromises_la-files_names.o .libs/libpromises_la-chflags.o .libs/libpromises_la-modes.o .libs/libpromises_la-exec_tools.o .libs/libpromises_la-nfs.o .libs/libpromises_la-item-lib.o .libs/libpromises_la-cf_sql.o .libs/libpromises_la-client_protocol.o .libs/libpromises_la-client_code.o .libs/libpromises_la-communication.o .libs/libpromises_la-net.o .libs/libpromises_la-sockaddr.o .libs/libpromises_la-recursion.o .libs/libpromises_la-processes_select.o .libs/libpromises_la-fncall.o .libs/libpromises_la-cf3globals.o .libs/libpromises_la-reporting.o .libs/libpromises_la-evalfunction.o .libs/libpromises_la-sysinfo.o .libs/libpromises_la-conversion.o .libs/libpromises_la-scope.o .libs/libpromises_la-assoc.o .libs/libpromises_la-comparray.o .libs/libpromises_la-vars.o .libs/libpromises_la-args.o .libs/libpromises_la-hashes.o .libs/libpromises_la-crypto.o .libs/libpromises_la-expand.o .libs/libpromises_la-matching.o .libs/libpromises_la-selfdiagnostic.o .libs/libpromises_la-instrumentation.o .libs/libpromises_la-granules.o .libs/libpromises_la-timeout.o .libs/libpromises_la-promises.o .libs/libpromises_la-ontology.o .libs/libpromises_la-constraints.o .libs/libpromises_la-iteration.o .libs/libpromises_la-rlist.o .libs/libpromises_la-syntax.o .libs/libpromises_la-logging.o .libs/libpromises_la-signals.o .libs/libpromises_la-transaction.o .libs/libpromises_la-cfstream.o .libs/libpromises_la-pipes.o .libs/libpromises_la-html.o .libs/libpromises_la-interfaces.o .libs/libpromises_la-storage_tools.o .libs/libpromises_la-verify_reports.o .libs/libpromises_la-verify_processes.o .libs/libpromises_la-enterprise_stubs.o .libs/libpromises_la-mod_functions.o .libs/libpromises_la-mod_defaults.o .libs/libpromises_la-mod_common.o .libs/libpromises_la-mod_access.o .libs/libpromises_la-mod_exec.o .libs/libpromises_la-mod_methods.o .libs/libpromises_la-mod_interfaces.o .libs/libpromises_la-mod_packages.o .libs/libpromises_la-mod_files.o .libs/libpromises_la-mod_report.o .libs/libpromises_la-mod_storage.o .libs/libpromises_la-mod_knowledge.o .libs/libpromises_la-mod_measurement.o .libs/libpromises_la-mod_databases.o .libs/libpromises_la-mod_services.o .libs/libpromises_la-mod_process.o .libs/libpromises_la-mod_environ.o .libs/libpromises_la-mod_outputs.o .libs/libpromises_la-unix.o -Wl,--whole-archive /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -Wl,--no-whole-archive -L/usr/lib64 -L../pub -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread -O2 -pthread -O2 -pthread -Wl,-soname -Wl,libpromises.so.1 -o .libs/libpromises.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libpromises.so.1" && ln -s "libpromises.so.1.0.0" "libpromises.so.1") libtool: link: (cd ".libs" && rm -f "libpromises.so" && ln -s "libpromises.so.1.0.0" "libpromises.so") libtool: link: ( cd ".libs" && rm -f "libpromises.la" && ln -s "../libpromises.la" "libpromises.la" ) /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-know cfknow.o graph.o manual.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-promises cfpromises.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-agent agent.o verify_files.o verify_storage.o verify_exec.o verify_methods.o verify_interfaces.o verify_packages.o verify_databases.o verify_services.o verify_environments.o agentdiagnostic.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-monitord verify_measurements.o env_monitor.o monitor.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-serverd server.o server_transform.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-execd exec.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-runagent runagent.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-key cfkey.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-promises cfpromises.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-know cfknow.o graph.o manual.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-monitord verify_measurements.o env_monitor.o monitor.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-agent agent.o verify_files.o verify_storage.o verify_exec.o verify_methods.o verify_interfaces.o verify_packages.o verify_databases.o verify_services.o verify_environments.o agentdiagnostic.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-execd exec.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-serverd server.o server_transform.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-key cfkey.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-runagent runagent.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-report cfreport.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -L/usr/lib64 -o cf-hub hub.o libpromises.la -lacl -lpthread -lrt -lpcre -lm -ldb-4 -L/usr/lib64 -lcrypto -L../pub -lcfpub libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-hub hub.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread libtool: link: x86_64-alt-linux-gcc -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -Wall -g -O2 -I/usr/include/db4 -o .libs/cf-report cfreport.o -L/usr/lib64 ./.libs/libpromises.so -L../pub /usr/src/RPM/BUILD/cfengine-3.1.1/pub/.libs/libcfpub.a -lacl -lpthread -lrt -lpcre -lm -ldb-4 -lcrypto ../pub/.libs/libcfpub.a -pthread make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' Making all in tests make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' Making all in file_masters make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_masters' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_masters' Making all in file_operands make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_operands' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_operands' Making all in units make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/units' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/units' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' Making all in docs make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/docs' ../src/../src/cf-agent -M > `echo ../src/cf-agent.8 | sed s/src/docs/` ../src/../src/cf-serverd -M > `echo ../src/cf-serverd.8 | sed s/src/docs/` ../src/../src/cf-execd -M > `echo ../src/cf-execd.8 | sed s/src/docs/` ../src/../src/cf-monitord -M > `echo ../src/cf-monitord.8 | sed s/src/docs/` ../src/../src/cf-report -M > `echo ../src/cf-report.8 | sed s/src/docs/` ../src/../src/cf-know -M > `echo ../src/cf-know.8 | sed s/src/docs/` ../src/../src/cf-runagent -M > `echo ../src/cf-runagent.8 | sed s/src/docs/` ../src/../src/cf-promises -M > `echo ../src/cf-promises.8 | sed s/src/docs/` ../src/../src/cf-key -M > `echo ../src/cf-key.8 | sed s/src/docs/` ../src/../src/cf-hub -M > `echo ../src/cf-hub.8 | sed s/src/docs/` make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/docs' Making all in inputs make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/inputs' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/inputs' make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1' make: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.71305 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/cfengine-buildroot + : + /bin/rm -rf -- /usr/src/tmp/cfengine-buildroot + cd cfengine-3.1.1 + make install DESTDIR=/usr/src/tmp/cfengine-buildroot make: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1' Making install in pub make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/pub' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/pub' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/pub' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/pub' Making install in src make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/lib64' /bin/sh ../libtool --mode=install /bin/install -c libpromises.la '/usr/src/tmp/cfengine-buildroot/usr/lib64' libtool: install: /bin/install -c .libs/libpromises.so.1.0.0 /usr/src/tmp/cfengine-buildroot/usr/lib64/libpromises.so.1.0.0 libtool: install: (cd /usr/src/tmp/cfengine-buildroot/usr/lib64 && { ln -s -f libpromises.so.1.0.0 libpromises.so.1 || { rm -f libpromises.so.1 && ln -s libpromises.so.1.0.0 libpromises.so.1; }; }) libtool: install: (cd /usr/src/tmp/cfengine-buildroot/usr/lib64 && { ln -s -f libpromises.so.1.0.0 libpromises.so || { rm -f libpromises.so && ln -s libpromises.so.1.0.0 libpromises.so; }; }) libtool: install: /bin/install -c .libs/libpromises.lai /usr/src/tmp/cfengine-buildroot/usr/lib64/libpromises.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/sbin' /bin/sh ../libtool --mode=install /bin/install -c cf-know cf-promises cf-agent cf-monitord cf-serverd cf-execd cf-runagent cf-key cf-report cf-hub '/usr/src/tmp/cfengine-buildroot/usr/sbin' libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-know /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-know libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-promises /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-promises libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-agent /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-agent libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-monitord /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-monitord libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-serverd /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-serverd libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-execd /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-execd libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-runagent /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-runagent libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-key /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-key libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-report /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-report libtool: install: warning: `libpromises.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -c .libs/cf-hub /usr/src/tmp/cfengine-buildroot/usr/sbin/cf-hub make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/src' Making install in tests make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' Making install in file_masters make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_masters' make[3]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_masters' make[3]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 README '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' make[3]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_masters' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_masters' Making install in file_operands make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_operands' make[3]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_operands' make[3]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 README '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' make[3]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_operands' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/file_operands' Making install in units make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/units' make[3]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/units' make[3]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 active_directory.cf app_baseline.cf cfengine_stdlib.cf promise_knowledge.cf unit_abort.cf unit_accessed_before.cf unit_accumulated_time.cf unit_acl.cf unit_acl_generic.cf unit_acl_secret.cf unit_activedirectory_listusers.cf unit_activedirectory_showuser.cf unit_ago.cf unit_arrays.cf unit_backreferences_files.cf unit_badpromise.cf unit_badtype.cf unit_bsdflags.cf unit_cf2_integration.cf unit_change_detect.cf unit_changedbefore.cf unit_chdir.cf unit_classes_global.cf unit_classmatch.cf unit_classvar_convergence.cf unit_compare.cf unit_control_expand.cf unit_controlclasses.cf unit_copy.cf unit_copy_classes.cf unit_copy_edit.cf unit_copylinks.cf unit_countclassesmatching.cf unit_countlinesmatching.cf unit_create_filedir.cf unit_createdb.cf unit_customize_by_named_list.cf unit_definitions.cf unit_deletelines.cf unit_disable_and_rotate_files.cf '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 unit_diskfree.cf unit_dollar.cf unit_edit_column_files.cf unit_edit_comment_lines.cf unit_edit_deletenotmatch.cf unit_edit_insert_fuzzylines.cf unit_edit_insert_lines.cf unit_edit_insert_lines_silly.cf unit_edit_passwd_file.cf unit_edit_replace_string.cf unit_edit_sectioned_file.cf unit_edit_setvar.cf unit_edit_triggerclass.cf unit_env.cf unit_environment.cf unit_environment_simple.cf unit_epimenides.cf unit_escape.cf unit_exec_args.cf unit_exec_in_sequence.cf unit_execd.cf unit_execresult.cf unit_expand.cf unit_failsafe.cf unit_file_change_detection.cf unit_file_owner_list_template.cf unit_fileexists.cf unit_filenames.cf unit_fileperms.cf unit_filesexist.cf unit_filesexist2.cf unit_fix_names.cf unit_getenv.cf unit_getfields.cf unit_getgid.cf unit_getindices.cf unit_getindixes.cf unit_getregistry.cf unit_getuid.cf unit_getusers.cf '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 unit_global_list_expansion.cf unit_global_list_expansion_2.cf unit_grep.cf unit_groupexists.cf unit_hash.cf unit_hashcomment.cf unit_hashmatch.cf unit_hashuncomment.cf unit_helloworld.cf unit_host2ip.cf unit_hostrange.cf unit_hostsseen.cf unit_hub.cf unit_id.cf unit_insert_users.cf unit_intarray.cf unit_iprange.cf unit_irange.cf unit_isdir.cf unit_islink.cf unit_isnewerthan.cf unit_isplain.cf unit_isvariable.cf unit_iteration.cf unit_join.cf unit_knowledge_driver.cf unit_knowledge_txt.cf unit_lastnode.cf unit_ldap.cf unit_linking.cf unit_literal_server.cf unit_locate_files_and_compress.cf unit_log_private.cf unit_loops.cf unit_measure_log.cf unit_measurements.cf unit_menu.cf unit_method.cf unit_method_validate.cf unit_module_exec.cf '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 unit_module_exec_2.cf unit_monitord.cf unit_mount_fs.cf unit_multipassvars.cf unit_neighbourhood_watch.cf unit_null_config.cf unit_occurrences.cf unit_ordering.cf unit_package_apt.cf unit_package_freebsd.cf unit_package_hash.cf unit_package_msi_file.cf unit_package_msi_version.cf unit_package_rpm.cf unit_package_solaris.cf unit_package_yum.cf unit_package_zypper.cf unit_parallel_exec.cf unit_pathtype.cf unit_pattern_and_edit.cf unit_peers.cf unit_postfix.cf unit_process_kill.cf unit_process_matching.cf unit_process_matching2.cf unit_process_matching3.cf unit_process_signalling.cf unit_product.cf unit_promises.cf unit_readlist.cf unit_readtcp.cf unit_reg_multiline.cf unit_regarray.cf unit_regex_win.cf unit_regextract.cf unit_registry.cf unit_registry_cache.cf unit_regline.cf unit_reglist.cf unit_remoteclasses.cf '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 unit_remove_deadlinks.cf unit_rename.cf unit_report_custom.cf unit_report_diffs.cf unit_report_state.cf unit_reporting.cf unit_reporttofile.cf unit_resolveconf.cf unit_returnszero.cf unit_root_passwd.cf unit_select_mode.cf unit_select_region.cf unit_select_size.cf unit_selectservers.cf unit_server_copy_localhost.cf unit_server_copy_purge.cf unit_server_copy_remote.cf unit_server_flatcopy_localhost.cf unit_service_disable.cf unit_service_start.cf unit_setuidlog.cf unit_setvar.cf unit_software_dist.cf unit_splitstring.cf unit_sql.cf unit_storage.cf unit_strcmp.cf unit_stringarray.cf unit_switchcase.cf unit_syslog.cf unit_syslog2.cf unit_template.cf unit_template2.cf unit_test_environment.cf unit_tidy_all_files.cf unit_translatepath.cf unit_update.cf unit_user_edit.cf unit_user_edit_method.cf unit_userexists.cf '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 unit_varclass.cf unit_varexpansion.cf unit_varnet.cf unit_vars.cf unit_warnifline.cf unit_webserver.cf unit_zenoss.cf win_emergency.cf win_registry.cf win_schedule.cf win_services.cf README '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' make[3]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/units' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests/units' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' make[3]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/tests' Making install in docs make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/docs' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/docs' make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/man/man8' /bin/install -c -m 644 cf-agent.8 cf-serverd.8 cf-execd.8 cf-monitord.8 cf-report.8 cf-know.8 cf-runagent.8 cf-promises.8 cf-key.8 cf-hub.8 '/usr/src/tmp/cfengine-buildroot/usr/share/man/man8' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/docs' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/docs' Making install in inputs make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/inputs' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1/inputs' make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine/inputs' /bin/install -c -m 644 failsafe.cf cfengine_stdlib.cf promises.cf site.cf update.cf '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine/inputs' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/inputs' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1/inputs' make[1]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1' make[2]: Entering directory `/usr/src/RPM/BUILD/cfengine-3.1.1' make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' /bin/install -c -m 644 README ChangeLog INSTALL NEWS '/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine' make[2]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1' make[1]: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1' make: Leaving directory `/usr/src/RPM/BUILD/cfengine-3.1.1' + install -m 755 -d /usr/src/tmp/cfengine-buildroot//etc/rc.d/init.d + install -m 744 /usr/src/RPM/SOURCES/cf-monitord /usr/src/RPM/SOURCES/cf-execd /usr/src/RPM/SOURCES/cf-serverd /usr/src/tmp/cfengine-buildroot//etc/rc.d/init.d + install -m 755 -d /usr/src/tmp/cfengine-buildroot//usr/share/doc/cfengine + install -m 644 /usr/src/RPM/SOURCES/users_managment.cf /usr/src/tmp/cfengine-buildroot//usr/share/doc/cfengine + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/cfengine-buildroot (auto) removed './usr/lib64/libpromises.la' mode of './usr/lib64/libpromises.so.1.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/cfengine-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/cfengine-buildroot (auto) Adjusting library links in /usr/src/tmp/cfengine-buildroot ./usr/lib64: libpromises.so.1 -> libpromises.so.1.0.0 Verifying ELF objects in /usr/src/tmp/cfengine-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: cfengine-3.1.1-alt3.3.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.27469 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cfengine-3.1.1 + DOCDIR=/usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine-3.1.1 + export DOCDIR + rm -rf /usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine-3.1.1 + /bin/mkdir -p /usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine-3.1.1 + cp -prL AUTHORS ChangeLog README COPYING docs/ContributorStatement.pdf /usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine-3.1.1 + chmod -R go-w /usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine-3.1.1 + chmod -R a+rX /usr/src/tmp/cfengine-buildroot/usr/share/doc/cfengine-3.1.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b2TkUl find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/cfengine-buildroot/usr/lib64/libpromises.so.1: 1530 symbols, 21 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PyFJXa find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FdI1jd find-scriptlet-requires: FINDPACKAGE-COMMANDS: find install Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.T6Hjri Provides: libpromises.so.1()(64bit) = set:odLmZuFVyTBlBeA7uZvefMEMyr3kduhcf8Zyhx7roX2gHQTYwIk6OEH5ZIr3M0C9AHghEEFMOyGXXSZdZIPEHUUqss226BRlc62kLQuUZ922D92dIOdMEAYOZzBSug0KQi2SxpKa1XcNwdxgvRbl4hcr4MZxJciTz0mRyuTlcQ0ETIvUFV6bHkE7En2j3P0mJCPSZwIK71at2EZbZ5Pgkdipe8VZt5PGUmX7EXctklGnDtFuC6tY42BQZiiMqZq0W8uWMdj9AJ26MFvaacWGqlW7HZCwODdVrdL5kzuZKx1SkPZl7v35wUmwFqoXeiANELJIWPv4HZDm1OdziBW1gqt6RFy537u5b339LZKWcW8O1D7NiTpa4XKxtelJff4nWnEcTTb8hFZADhPxazZixarJFSUEM95RyIcZ10IokIMZ9JZex9q0ZpZthFxhScUexdHHp7s4vXGZKfi140xZxST3qc5XwR2gipnQJA0ywS71zE3wJsn58Yx9xxjkW1ba1Zg3HSPiAQZsIHHP9T50SjyWYPZgwT3fEX08ZI5g1Zf7sa1qf8uQkeVSt73aP0mrxy9TnQdPo8xGyHKyShIW4peI8eZ6c09aJYExbTlFU2HFoJ9thXpSPWoZ3my4dsAyFW3TBnl6OUr3hqR1ngZjWFMLARIvNDOjfj8AU9gOSEkfqkuOEcWBAOixMZiDx2z3Hcld6BkTJ0eWRRevDuk3PviunSMdPv9ZsTiHBXkHafdKFFg3Z0S1g5sZExNcF6PZGvfwb8dA0BbsxoyIMAhG6t9WayuZGKbBC8O83EafjslmtL3881ELGglTB6TelbqfFVhicVgUsntI1fPEFJxfBCDKrLFQkKyu5LDSDwkKxFHeJ0VQUXiC9B1Dg5Mx1z4HIZtZIwecRKBgKbmJoSzQJZEMBoZBF4ybR4KZrn5fA5aU25X1ZqiXZxfIWBDZBk9B55922M1Yzsx9J2r65Bao3Xp2D3Hef2TCq3jvcIQNpKOr6tPBNXI1SskiIyvs416lUXEhRDeUEwVMQnURNuPcy7ysMtEIEtoNmQLw2ZvtBFS9Q7xzPYygRv3bxqcqfYszeSbq4FDFryra1LwLuWVw4CNiCoX7Z4BhpQAbyVj9UhFzITZj4dgzBJDeUln5NsxV2Z5zB5kTGPO3EIZ9rc1az5jXdNGahxJZw3wPpA8OKBZiZtZxiPq3pwwGmcoGMXkiDhlQmO2QPZ4aZJcsHkSkKLlrZGK1U0JLDznMy2KwlZHxpZop6hpFHozpD5gWWylYkUGlEJEtZv3xBU10w2LMx429FPr1E9R6YtYKCnhJZ3uFNwWJYDZcQfZr8bm79wuDsXYeMmn52K1tqY1tLy8nDbR3tWwwpbMQd7Y6NqsiQFZ4FTZdk3UvM9EvDoO8xZlpHbgLj5dNPetWgr8Vgm565uIA2Y9mtZyR9gfgfwXx37jbfGLiJ3AmAuOr90hbAjZrYrIJsoXsOBCZr3haT3NZaj9jBLHsJeseWQdVg3b7Rbe7u45wwZBPADgjoU7IdM5Ur4cdOIcpfqcNwBIBp455xca8V0h2f0mnUlAa6fy8SXRamqc7gufkQ11VG3Z8ZsZzkfMWZyTGkin8aYbd6t8iBYTZcdPcBW1DUXwFc2856D23YiSSizpodsqkNLeGMseot7oevesYNIySwrZEi7OBSbRHwrZ0Jilf93hvyTLC0u1W7vw5TjOfZglEeOYRZhMXUVoEe4ZcaSpXxLeofZwHeJNyCcvVZwLXUQfbrApaF69wb2Izv92C1dJ7J4ZnNkm7sDyK9lS1ir3vbOih6H04kKimaIehhOjOEPqS4qEPim7m7Cfu0fZsfiZiudkTZ8YEzCudieXdoslDo95f6nv7UGfZ3ozG3ng1V3E6OlMfp2Z555E2umXpi9KvhZjkiG8vAIZkHy7FB7UZ75wxECpMInkWNL813CZm47bXC9ovuDRZ2p8l1soFKBVE2Mz8s5RAfVpidkRgxtlJbtgzZjYcVURZ0FvpjV16TX1eeqQ9XKryq21zovncUaIWSFg3hZKWfY5vhbln9p5j5Zy5CUe9wE5wAMCi7DZwPkac9bTvkFMDXswRRMCuLQRs1hF73hC7lBJaKhl4ZqolJpZ5GICbGxnZIIYS1ycQv4N6JrEUIgT5wuwTkZxZGIgqntMrSKGgTX4TNyBg5omCh0STrgN2KV55azS9znQWUTOTf6VgAPZ2jDgUVjNFKhEZGaaEVgLpLTJ2tlxYvbWxgIn4YZaZ4Hxj5DdK8M59y2hZIilkroSBk8C8MQw9wMoJEtBusIAYa0uDazOexk5hCfW5VaKFVuZAoDZ8hjNiZFejZEJWJE1o0HPAkCUolIayejME1dMjOZLOys9J5bJpX2OBTyekhTjw7cABGjMFkrhlZ2knvkqikHORh469LjXlzQlTrc8ZJyNMdPfTMybycfmntzn6oa04ylOQDHVLEkYwbz5cT9f6pC1PcH0OFNrd5y5wuKDZgOQ9aPOotL1tbhfnv1tmZACqXeh0Gm5Xy49p9sJxI465ZByCq9ZtIzRnYiDXQD64ti7ex33A8xuTwzMGhxYcGsObjMO0HcQaxZzhAf8mv247y1yyTLZsLaPgUDlfzum6bF7PrxKIHCmoQoOv2eBLKAbuGlE4E7u6WEAlD6c653D6NeZqQFL5ir3nPZulZA71ZrOmdZeXJpQEonS0Ke4ROc29Um807SaFOuWrqXs5YJ9Y9yJ7i1Agf5QHM69ukdFAjQqyzTxPFYyJyZjvoTzeNM75DUW9sZHXbZ2XZeQrOkqlFZL80R4eb5o7GwoSWERoVWtZdijRuJQLERsEDFZg3BgBkDiBQxrL1cis2UKq4YifBBVyNZgJbtY67SOKVdDkHeujN7v35cuXZqZ9KMBOGhLOFgYxwS7i3VWXBB35NGgQM409jvyI9mX2YZ2cojxqJD3NGZzFI3XjKsp6mAerLIfob0qH9rBDZwZtfheqw1gBRKyi3XCXFJjS0m3cOv2ZBdhjTMDyGiN18EKPCNpR2ALO1MOx7DoPZgPIsk35yy84XMx5argHQsDIJWgHxWOM6CvC5zBFgKkBN4G30 Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(failure), /etc/rc.d/init.d(msg_not_running), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(passed), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d(success), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.10()(64bit) >= set:qkvV28r9PmCGw5dYizklZEei5spn4ArZjPyaZeNKSlFsTkP6L9pN58VLjXaGGMWONOcgNDCC8eEaetEfFGrA0c9b8tQ8BnO9CXcit5vJifxX4ZtghwBVOyPgMsXQaDznbEgpypOIbt00e01GTD0, libdb-4.7.so()(64bit) >= set:jhdaAZd8, libm.so.6(GLIBC_2.2.5)(64bit), libpcre.so.3()(64bit) >= set:igW8KBZGd4, libpthread.so.0(GLIBC_2.2.5)(64bit), librt.so.1()(64bit) >= set:jiq20, librt.so.1(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(interp): /bin/sh, /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service, findutils, coreutils Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ttZZiq Creating cfengine-debuginfo package Processing files: cfengine-debuginfo-3.1.1-alt3.3.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZZQCdB find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vceW1O find-requires: running scripts (debuginfo) Provides: debug64(libpromises.so.1) Requires: cfengine = 3.1.1-alt3.3.1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.10), debug64(libdb-4.7.so), debug64(libm.so.6), debug64(libpcre.so.3), debug64(libpthread.so.0), debug64(librt.so.1) Wrote: /usr/src/RPM/RPMS/x86_64/cfengine-3.1.1-alt3.3.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/cfengine-debuginfo-3.1.1-alt3.3.1.x86_64.rpm 39.35user 7.67system 0:35.85elapsed 131%CPU (0avgtext+0avgdata 60456maxresident)k 0inputs+0outputs (0major+3507907minor)pagefaults 0swaps 43.38user 9.45system 0:43.82elapsed 120%CPU (0avgtext+0avgdata 124284maxresident)k 24inputs+0outputs (0major+3751483minor)pagefaults 0swaps --- cfengine-3.1.1-alt3.3.1.x86_64.rpm.repo 2014-07-23 21:07:39.000000000 +0000 +++ cfengine-3.1.1-alt3.3.1.x86_64.rpm.hasher 2019-04-21 01:27:48.320216862 +0000 @@ -245,12 +245,12 @@ /usr/share/doc/cfengine/win_services.cf 100644 -/usr/share/man/man8/cf-agent.8.gz 100644 -/usr/share/man/man8/cf-execd.8.gz 100644 -/usr/share/man/man8/cf-hub.8.gz 100644 -/usr/share/man/man8/cf-key.8.gz 100644 -/usr/share/man/man8/cf-know.8.gz 100644 -/usr/share/man/man8/cf-monitord.8.gz 100644 -/usr/share/man/man8/cf-promises.8.gz 100644 -/usr/share/man/man8/cf-report.8.gz 100644 -/usr/share/man/man8/cf-runagent.8.gz 100644 -/usr/share/man/man8/cf-serverd.8.gz 100644 +/usr/share/man/man8/cf-agent.8.xz 100644 +/usr/share/man/man8/cf-execd.8.xz 100644 +/usr/share/man/man8/cf-hub.8.xz 100644 +/usr/share/man/man8/cf-key.8.xz 100644 +/usr/share/man/man8/cf-know.8.xz 100644 +/usr/share/man/man8/cf-monitord.8.xz 100644 +/usr/share/man/man8/cf-promises.8.xz 100644 +/usr/share/man/man8/cf-report.8.xz 100644 +/usr/share/man/man8/cf-runagent.8.xz 100644 +/usr/share/man/man8/cf-serverd.8.xz 100644 Requires: /bin/sh @@ -276,3 +276,3 @@ Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libcrypto.so.10()(64bit) >= set:pjvV2wY9sUdw4SiaLs5eiMyKDjo6FGyLiFD8x6nlZC3sKxyAKV0KIb2OddEGpiw9x03UswtJrFsv2dIOVKgmAVk2B9PAVbtwTkqs1aZJFt55loZcNOowyDCC8eE6DeWjGtzA4nrZej +Requires: libcrypto.so.10()(64bit) >= set:qkvV28r9PmCGw5dYizklZEei5spn4ArZjPyaZeNKSlFsTkP6L9pN58VLjXaGGMWONOcgNDCC8eEaetEfFGrA0c9b8tQ8BnO9CXcit5vJifxX4ZtghwBVOyPgMsXQaDznbEgpypOIbt00e01GTD0 Requires: rpmlib(SetVersions)