<86>Nov 7 01:17:17 userdel[114272]: delete user 'rooter' <86>Nov 7 01:17:17 userdel[114272]: removed group 'rooter' owned by 'rooter' <86>Nov 7 01:17:17 userdel[114272]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 7 01:17:17 groupadd[114287]: group added to /etc/group: name=rooter, GID=570 <86>Nov 7 01:17:17 groupadd[114287]: group added to /etc/gshadow: name=rooter <86>Nov 7 01:17:17 groupadd[114287]: new group: name=rooter, GID=570 <86>Nov 7 01:17:17 useradd[114303]: new user: name=rooter, UID=570, GID=570, home=/root, shell=/bin/bash <86>Nov 7 01:17:17 userdel[114339]: delete user 'builder' <86>Nov 7 01:17:17 userdel[114339]: removed group 'builder' owned by 'builder' <86>Nov 7 01:17:17 groupadd[114358]: group added to /etc/group: name=builder, GID=571 <86>Nov 7 01:17:17 groupadd[114358]: group added to /etc/gshadow: name=builder <86>Nov 7 01:17:17 groupadd[114358]: new group: name=builder, GID=571 <86>Nov 7 01:17:17 useradd[114366]: new user: name=builder, UID=571, GID=571, home=/usr/src, shell=/bin/bash warning: Macro %gpl3only not found <13>Nov 7 01:17:20 rpmi: libpcre16-8.42-alt1 1531419110 installed <13>Nov 7 01:17:20 rpmi: pcretest-8.42-alt1 1531419110 installed <13>Nov 7 01:17:20 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Nov 7 01:17:20 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Nov 7 01:17:20 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 7 01:17:20 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 7 01:17:20 rpmi: ca-certificates-2018.09.09-alt1 sisyphus.212781.100 1536518628 installed <13>Nov 7 01:17:20 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 7 01:17:20 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Nov 7 01:17:20 rpmi: libcrypto1.1-1.1.0i-alt1 1535471288 installed <13>Nov 7 01:17:20 rpmi: libssl1.1-1.1.0i-alt1 1535471288 installed <13>Nov 7 01:17:20 rpmi: libmysqlclient20-5.7.23-alt3 sisyphus.214978.100 1539589947 installed <13>Nov 7 01:17:20 rpmi: libmysqlclient20-devel-5.7.23-alt3 sisyphus.214978.100 1539589947 installed <13>Nov 7 01:17:20 rpmi: libssl-devel-1.1.0i-alt1 1535471288 installed <13>Nov 7 01:17:20 rpmi: libpcre-devel-8.42-alt1 1531419110 installed <13>Nov 7 01:17:20 rpmi: rpm-build-licenses-2.0.5-alt2 1454794749 installed <13>Nov 7 01:17:20 rpmi: libdb4.7-devel-4.7.25-alt9 1490438456 installed <13>Nov 7 01:17:20 rpmi: libacl-devel-2.2.52.0.52.33f0-alt2 1511850751 installed <13>Nov 7 01:17:22 rpmi: glibc-devel-static-6:2.27-alt6 1530125885 installed <13>Nov 7 01:17:22 rpmi: flex-2.6.0-alt1 1449073214 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/cfengine-3.1.1-alt3.3.1.nosrc.rpm 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.15889 + 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.15889 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cfengine-3.1.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' + CFLAGS='-pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + ./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 + make -j8 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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o getopt.lo getopt.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c getopt.c -fPIC -DPIC -o .libs/getopt.o make[1]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o getloadavg.lo getloadavg.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c getloadavg.c -fPIC -DPIC -o .libs/getloadavg.o make[1]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o getopt1.lo getopt1.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o make[1]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o regex.lo regex.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c regex.c -fPIC -DPIC -o .libs/regex.o make[1]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o snprintf.c:418:13: warning: 'credits' defined but not used [-Wunused-variable] static char credits[] = "\n\ ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o full-write.lo full-write.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../src -I/usr/include/db4 -I/usr/include -pthread -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c full-write.c -fPIC -DPIC -o .libs/full-write.o make[1]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/pub' make[1]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/pub' /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -fPIC -DPIC -pthread -pipe -frecord-gcc-switches -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 all-am make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /bin/sh ../ylwrap cf3lex.l lex.yy.c cf3lex.c -- flex make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-patches.lo `test -f 'patches.c' || echo './'`patches.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c patches.c -fPIC -DPIC -o .libs/libpromises_la-patches.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]; ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dbm_api.lo `test -f 'dbm_api.c' || echo './'`dbm_api.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c dbm_api.c -fPIC -DPIC -o .libs/libpromises_la-dbm_api.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c dbm_berkeley.c -fPIC -DPIC -o .libs/libpromises_la-dbm_berkeley.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-install.lo `test -f 'install.c' || echo './'`install.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c install.c -fPIC -DPIC -o .libs/libpromises_la-install.o 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; ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dbm_quick.lo `test -f 'dbm_quick.c' || echo './'`dbm_quick.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c dbm_quick.c -fPIC -DPIC -o .libs/libpromises_la-dbm_quick.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' 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 /usr/src/RPM/BUILD/cfengine-3.1.1/src/cf3parse.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] updating cf3parse.h make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c dbm_tokyocab.c -fPIC -DPIC -o .libs/libpromises_la-dbm_tokyocab.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-dtypes.lo `test -f 'dtypes.c' || echo './'`dtypes.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c dtypes.c -fPIC -DPIC -o .libs/libpromises_la-dtypes.o dtypes.c: In function 'IsProcessType': dtypes.c:74:7: warning: unused variable 'i' [-Wunused-variable] { int i; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-classes.lo `test -f 'classes.c' || echo './'`classes.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c classes.c -fPIC -DPIC -o .libs/libpromises_la-classes.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-attributes.lo `test -f 'attributes.c' || echo './'`attributes.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c attributes.c -fPIC -DPIC -o .libs/libpromises_la-attributes.o attributes.c: In function 'GetOccurrenceAttributes': attributes.c:372:9: warning: unused variable 'value' [-Wunused-variable] char *value; ^~~~~ 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; ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-generic_agent.lo `test -f 'generic_agent.c' || echo './'`generic_agent.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c generic_agent.c -fPIC -DPIC -o .libs/libpromises_la-generic_agent.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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, 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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from generic_agent.c:32: /usr/include/bits/string_fortified.h:103: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: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; ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_properties.lo `test -f 'files_properties.c' || echo './'`files_properties.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_properties.c -fPIC -DPIC -o .libs/libpromises_la-files_properties.o 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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string_fortified.h:88: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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string_fortified.h:126: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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string_fortified.h:88: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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string_fortified.h:88: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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from cf.defs.h:43, from cf3.defs.h:30, from files_properties.c:32: /usr/include/bits/string_fortified.h:126: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:384: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:36: 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); ~^ ~~~~~~~~~~ %ld make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_repository.c -fPIC -DPIC -o .libs/libpromises_la-files_repository.o files_repository.c: In function 'ArchiveToRepository': files_repository.c:46:9: warning: unused variable 'imagecopy' [-Wunused-variable] short imagecopy; ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-env_context.lo `test -f 'env_context.c' || echo './'`env_context.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c env_context.c -fPIC -DPIC -o .libs/libpromises_la-env_context.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; ^~~ env_context.c: In function 'IsHardClass': env_context.c:463:26: warning: comparison between pointer and zero character constant [-Wpointer-compare] for (i = 2; CLASSTEXT[i] != '\0'; i++) ^~ env_context.c:463:13: note: did you mean to dereference the pointer? for (i = 2; CLASSTEXT[i] != '\0'; i++) ^ env_context.c: In function 'EvalClassExpression': env_context.c:755:47: 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); ~^ ~~~~~~~~ %p env_context.c:615:9: warning: unused variable 'lval' [-Wunused-variable] char *lval = cp->lval,buffer[CF_MAXVARSIZE]; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_copy.lo `test -f 'files_copy.c' || echo './'`files_copy.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_copy.c -fPIC -DPIC -o .libs/libpromises_la-files_copy.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_edit.lo `test -f 'files_edit.c' || echo './'`files_edit.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_edit.c -fPIC -DPIC -o .libs/libpromises_la-files_edit.o 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:33: 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))); ~^ %ld 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_select.lo `test -f 'files_select.c' || echo './'`files_select.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_select.c -fPIC -DPIC -o .libs/libpromises_la-files_select.o files_select.c: In function 'SelectLeaf': files_select.c:169:5: 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; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_hashes.c -fPIC -DPIC -o .libs/libpromises_la-files_hashes.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:245:14: error: storage size of 'context' isn't known EVP_MD_CTX context; ^~~~~~~ files_hashes.c:262:11: 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:16:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:519:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ files_hashes.c:245:14: warning: unused variable 'context' [-Wunused-variable] EVP_MD_CTX context; ^~~~~~~ files_hashes.c: In function 'HashList': files_hashes.c:279:14: error: storage size of 'context' isn't known EVP_MD_CTX context; ^~~~~~~ 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:16:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:519:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ files_hashes.c:279:14: warning: unused variable 'context' [-Wunused-variable] EVP_MD_CTX context; ^~~~~~~ files_hashes.c: In function 'HashString': files_hashes.c:304:14: error: storage size of 'context' isn't known { EVP_MD_CTX context; ^~~~~~~ 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:16:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:519:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ files_hashes.c:306:9: warning: unused variable 'file_buffer' [-Wunused-variable] char *file_buffer; ^~~~~~~~~~~ files_hashes.c:304:14: warning: unused variable 'context' [-Wunused-variable] { EVP_MD_CTX context; ^~~~~~~ files_hashes.c: In function 'HashPubKey': files_hashes.c:337:14: error: storage size of 'context' isn't known { EVP_MD_CTX context; ^~~~~~~ files_hashes.c:347:8: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' if (key->n) ^~ 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:16:0, from cf.defs.h:109, from cf3.defs.h:30, from files_hashes.c:33: /usr/include/openssl/evp.h:519:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ files_hashes.c:339:9: warning: unused variable 'file_buffer' [-Wunused-variable] char *file_buffer; ^~~~~~~~~~~ files_hashes.c:337:14: warning: unused variable 'context' [-Wunused-variable] { EVP_MD_CTX context; ^~~~~~~ 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; ^ make[2]: *** [Makefile:1151: libpromises_la-files_hashes.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_editline.c -fPIC -DPIC -o .libs/libpromises_la-files_editline.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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.startwith_from_list) ^ files_editline.c:1290:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.not_startwith_from_list) ^ files_editline.c:1305:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.match_from_list) ^ files_editline.c:1320:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.not_match_from_list) ^ files_editline.c:1335:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = a.line_select.contains_from_list) ^ files_editline.c:1350:5: 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:8: 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); ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_interfaces.c -fPIC -DPIC -o .libs/libpromises_la-files_interfaces.o 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': 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; ^~~~~~~~ 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:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (attr.transaction.action = cfa_warn) ^~~~ files_interfaces.c: In function 'VerifyFilePromise': files_interfaces.c:282:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(basedir); ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_operators.lo `test -f 'files_operators.c' || echo './'`files_operators.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_operators.c -fPIC -DPIC -o .libs/libpromises_la-files_operators.o files_operators.c: In function 'ScheduleEditOperation': files_operators.c:444:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (vp = GetConstraint("edit_line",pp,CF_FNCALL)) ^~ files_operators.c:450:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (vp = GetConstraint("edit_line",pp,CF_SCALAR)) ^~ files_operators.c:466:8: 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:28: 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))); ~^ %ld files_operators.c:556: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))); ~^ %ld 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 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c modes.c -fPIC -DPIC -o .libs/libpromises_la-modes.o make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_links.c -fPIC -DPIC -o .libs/libpromises_la-files_links.o 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]; ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-chflags.lo `test -f 'chflags.c' || echo './'`chflags.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c chflags.c -fPIC -DPIC -o .libs/libpromises_la-chflags.o chflags.c: In function 'ParseFlagString': chflags.c:103:31: 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); ~^ ~~~~~~~~~ %lo chflags.c:103:41: warning: format '%o' expects argument of type 'unsigned int', but argument 3 has type 'u_long {aka long unsigned int}' [-Wformat=] Debug("ParseFlagString:[PLUS=%o][MINUS=%o]\n",*plusmask,*minusmask); ~^ ~~~~~~~~~~ %lo chflags.c:70:7: warning: unused variable 'scan' [-Wunused-variable] int scan; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' /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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c -o libpromises_la-files_names.lo `test -f 'files_names.c' || echo './'`files_names.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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/db4 -c files_names.c -fPIC -DPIC -o .libs/libpromises_la-files_names.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; ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/cfengine-3.1.1/src' make[1]: *** [Makefile:665: all] Error 2 make: *** [Makefile:474: all-recursive] Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.15889 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.15889 (%build) Command exited with non-zero status 1 16.56user 3.28system 0:15.28elapsed 129%CPU (0avgtext+0avgdata 53540maxresident)k 0inputs+0outputs (0major+1554373minor)pagefaults 0swaps hsh-rebuild: rebuild of `cfengine-3.1.1-alt3.3.1.src.rpm' failed. Command exited with non-zero status 1 27.77user 5.55system 0:29.66elapsed 112%CPU (0avgtext+0avgdata 122496maxresident)k 0inputs+0outputs (0major+1937501minor)pagefaults 0swaps