<86>Nov 9 06:39:17 userdel[1512986]: delete user 'rooter' <86>Nov 9 06:39:17 userdel[1512986]: removed group 'rooter' owned by 'rooter' <86>Nov 9 06:39:17 userdel[1512986]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 06:39:17 groupadd[1513015]: group added to /etc/group: name=rooter, GID=1805 <86>Nov 9 06:39:17 groupadd[1513015]: group added to /etc/gshadow: name=rooter <86>Nov 9 06:39:17 groupadd[1513015]: new group: name=rooter, GID=1805 <86>Nov 9 06:39:17 useradd[1513047]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none <86>Nov 9 06:39:17 userdel[1513091]: delete user 'builder' <86>Nov 9 06:39:17 userdel[1513091]: removed group 'builder' owned by 'builder' <86>Nov 9 06:39:17 userdel[1513091]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 06:39:17 groupadd[1513133]: group added to /etc/group: name=builder, GID=1806 <86>Nov 9 06:39:17 groupadd[1513133]: group added to /etc/gshadow: name=builder <86>Nov 9 06:39:17 groupadd[1513133]: new group: name=builder, GID=1806 <86>Nov 9 06:39:17 useradd[1513174]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none <13>Nov 9 06:39:20 rpmi: libsqlite3-3.46.0-alt1 sisyphus+352354.100.2.1 1721980459 installed <13>Nov 9 06:39:20 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010663 installed <13>Nov 9 06:39:20 rpmi: opendbx-1.4.3-alt3 sisyphus+286893.100.1.1 1634039901 installed <13>Nov 9 06:39:20 rpmi: opendbx-sqlite3-1.4.3-alt3 sisyphus+286893.100.1.1 1634039901 installed <13>Nov 9 06:39:20 rpmi: libmemcache-1.4.0.rc2-alt3.qa1 sisyphus+278170.100.1.1 1626074813 installed <13>Nov 9 06:39:20 rpmi: libmemcached-1.1.4-alt1 sisyphus+317667.100.1.1 1680064299 installed <13>Nov 9 06:39:20 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Nov 9 06:39:20 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Nov 9 06:39:20 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Nov 9 06:39:20 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Nov 9 06:39:20 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Nov 9 06:39:20 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 06:39:20 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 06:39:20 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 06:39:20 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 06:39:20 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 06:39:20 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 06:39:20 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 06:39:20 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 06:39:21 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <86>Nov 9 06:39:21 groupadd[1524487]: group added to /etc/group: name=_keytab, GID=999 <86>Nov 9 06:39:21 groupadd[1524487]: group added to /etc/gshadow: name=_keytab <86>Nov 9 06:39:21 groupadd[1524487]: new group: name=_keytab, GID=999 <13>Nov 9 06:39:21 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <86>Nov 9 06:39:21 groupadd[1524766]: group added to /etc/group: name=sasl, GID=998 <86>Nov 9 06:39:21 groupadd[1524766]: group added to /etc/gshadow: name=sasl <86>Nov 9 06:39:21 groupadd[1524766]: new group: name=sasl, GID=998 <13>Nov 9 06:39:21 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Nov 9 06:39:21 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420471 installed <86>Nov 9 06:39:21 groupadd[1524938]: group added to /etc/group: name=_c_icap, GID=997 <86>Nov 9 06:39:21 groupadd[1524938]: group added to /etc/gshadow: name=_c_icap <86>Nov 9 06:39:21 groupadd[1524938]: new group: name=_c_icap, GID=997 <86>Nov 9 06:39:21 useradd[1524980]: new user: name=_c_icap, UID=999, GID=997, home=/var/run/c-icap, shell=/dev/null, from=none <86>Nov 9 06:39:21 usermod[1525029]: change user '_c_icap' home from '/var/run/c-icap' to '/run/c-icap' <13>Nov 9 06:39:21 rpmi: c-icap-1:0.5.10-alt1 sisyphus+346082.200.2.1 1716243523 installed <13>Nov 9 06:39:21 rpmi: libpq5-17.0-alt3 sisyphus+361270.100.1.1 1730383838 installed <13>Nov 9 06:39:21 rpmi: opendbx-pgsql-1.4.3-alt3 sisyphus+286893.100.1.1 1634039901 installed <13>Nov 9 06:39:21 rpmi: libmysqlclient21-8.0.40-alt1 sisyphus+360277.100.1.1 1729512728 installed <13>Nov 9 06:39:21 rpmi: opendbx-mysql-1.4.3-alt3 sisyphus+286893.100.1.1 1634039901 installed <13>Nov 9 06:39:21 rpmi: opendbx-devel-1.4.3-alt3 sisyphus+286893.100.1.1 1634039901 installed <13>Nov 9 06:39:21 rpmi: c-icap-devel-1:0.5.10-alt1 sisyphus+346082.200.2.1 1716243523 installed <13>Nov 9 06:39:21 rpmi: libmemcache-devel-1.4.0.rc2-alt3.qa1 sisyphus+278170.100.1.1 1626074813 installed <13>Nov 9 06:39:21 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/netpolice-filter-1.01-alt5.1.nosrc.rpm (w1.gzdio) Installing netpolice-filter-1.01-alt5.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf netpolice-filter-1.01 + echo 'Source #0 (netpolice-filter-1.01.tar.gz):' Source #0 (netpolice-filter-1.01.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/netpolice-filter-1.01.tar.gz + /bin/tar -xf - + cd netpolice-filter-1.01 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (netpolice-filter-fix-func-name-typo.patch):' Patch #0 (netpolice-filter-fix-func-name-typo.patch): + /usr/bin/patch -p2 patching file services/url_filter/srv_url_filter.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.71062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd netpolice-filter-1.01 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: Entering directory '.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: configure.in: 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_DIRS([m4])' to configure.in, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using Gtkdoc autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.in:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:6: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9873: AM_CONFIG_HEADER is expanded from... configure.in:6: the top level configure.in:17: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete. configure.in:17: You should run autoupdate. aclocal.m4:8542: AC_LIBTOOL_DLOPEN is expanded from... configure.in:17: the top level configure.in:17: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.in:17: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8542: AC_LIBTOOL_DLOPEN is expanded from... configure.in:17: the top level configure.in:18: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. configure.in:18: You should run autoupdate. aclocal.m4:8577: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:18: the top level configure.in:18: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.in:18: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8577: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:18: the top level configure.in:19: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.in:19: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.in:19: the top level configure.in:36: warning: AC_OUTPUT should be used without arguments. configure.in:36: You should run autoupdate. autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoheader-2.71: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:13: installing './compile' configure.in:11: installing './missing' services/url_filter/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' services/url_filter/Makefile.am: installing './depcomp' autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run cicapincdir=/usr/include/c_icap cicaplibs=-licapapi checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-file... no checking for file... file checking for i586-alt-linux-objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating services/Makefile config.status: creating services/url_filter/Makefile config.status: creating autoconf.h config.status: executing depfiles commands config.status: executing libtool commands + make -j16 make all-recursive Making all in . Making all in services Making all in url_filter make[3]: Entering directory '/usr/src/RPM/BUILD/netpolice-filter-1.01/services/url_filter' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/c_icap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wall -c -o srv_url_filter_la-srv_url_filter.lo `test -f 'srv_url_filter.c' || echo './'`srv_url_filter.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/c_icap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wall -c srv_url_filter.c -fPIC -DPIC -o .libs/srv_url_filter_la-srv_url_filter.o srv_url_filter.c: In function 'url_filter_post_init_service': srv_url_filter.c:173:33: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 173 | ep = MemcachedServers + strlen(MemcachedServers); | ^~~~~~ srv_url_filter.c:33:1: note: include '' or provide a declaration of 'strlen' 32 | #include +++ |+#include 33 | #include srv_url_filter.c:173:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | ep = MemcachedServers + strlen(MemcachedServers); | ^~~~~~ srv_url_filter.c:173:33: note: include '' or provide a declaration of 'strlen' srv_url_filter.c:176:22: error: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] 176 | p1 = strchr (p, ','); | ^~~~~~ srv_url_filter.c:176:22: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:176:22: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:176:22: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:201:19: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 201 | if (!(p = strchr (Host2CatServer, ':'))) { | ^~~~~~ srv_url_filter.c:201:19: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:207:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 207 | bzero (&addr, sizeof addr); | ^~~~~ srv_url_filter.c:207:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] In file included from /usr/include/c_icap/net_io.h:26, from /usr/include/c_icap/request.h:31, from /usr/include/c_icap/simple_api.h:25, from srv_url_filter.c:24: srv_url_filter.c:209:32: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 209 | addr.sin_port = htons (atoi (p + 1)); | ^~~~ In file included from srv_url_filter.c:25: srv_url_filter.c:214:86: error: implicit declaration of function 'strerror'; did you mean 'hstrerror'? [-Wimplicit-function-declaration] 214 | ci_debug_printf (1, "Can't open UDP socket to Host2CatServer: %s\n", strerror (errno)); | ^~~~~~~~ /usr/include/c_icap/debug.h:44:96: note: in definition of macro 'ci_debug_printf' 44 | #define ci_debug_printf(i, args...) if(i<=CI_DEBUG_LEVEL){ if(__log_error) (*__log_error)(NULL,args); if(CI_DEBUG_STDOUT) printf(args);} | ^~~~ srv_url_filter.c:214:37: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] 214 | ci_debug_printf (1, "Can't open UDP socket to Host2CatServer: %s\n", strerror (errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | int /usr/include/c_icap/debug.h:44:130: note: in definition of macro 'ci_debug_printf' 44 | #define ci_debug_printf(i, args...) if(i<=CI_DEBUG_LEVEL){ if(__log_error) (*__log_error)(NULL,args); if(CI_DEBUG_STDOUT) printf(args);} | ^~~~ srv_url_filter.c:214:80: note: format string is defined here 214 | ci_debug_printf (1, "Can't open UDP socket to Host2CatServer: %s\n", strerror (errno)); | ~^ | | | char * | %d srv_url_filter.c: In function 'url_filter_init_request_data': srv_url_filter.c:267:32: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 267 | struct url_filter_data *uc=malloc(sizeof(struct url_filter_data)); | ^~~~~~ srv_url_filter.c:33:1: note: include '' or provide a declaration of 'malloc' 32 | #include +++ |+#include 33 | #include srv_url_filter.c:267:32: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 267 | struct url_filter_data *uc=malloc(sizeof(struct url_filter_data)); | ^~~~~~ srv_url_filter.c:267:32: note: include '' or provide a declaration of 'malloc' srv_url_filter.c: In function 'url_filter_release_data': srv_url_filter.c:278:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 278 | free(uc); /*Return object to pool.....*/ | ^~~~ srv_url_filter.c:278:5: note: include '' or provide a declaration of 'free' srv_url_filter.c:278:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:278:5: note: include '' or provide a declaration of 'free' srv_url_filter.c: In function 'get_http_info': srv_url_filter.c:287:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 287 | str=ci_headers_value(req_header,"Host"); | ^ srv_url_filter.c:288:5: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 288 | strncpy(httpinf->site,str,CI_MAXHOSTNAMELEN); | ^~~~~~~ srv_url_filter.c:288:5: note: include '' or provide a declaration of 'strncpy' srv_url_filter.c:288:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:288:5: note: include '' or provide a declaration of 'strncpy' srv_url_filter.c:300:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 300 | if((str=strchr(str,' '))==NULL){ /*The request must have the form:GETPOST page HTTP/X.X */ | ^~~~~~ srv_url_filter.c:300:13: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:317:25: error: implicit declaration of function 'strtol' [-Wimplicit-function-declaration] 317 | httpinf->http_major=strtol(str,&str,10); | ^~~~~~ srv_url_filter.c: In function 'check_destination': srv_url_filter.c:337:55: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 337 | uname = AuthUserPrefix && *AuthUserPrefix && !strncmp (httpinf->auth_user, AuthUserPrefix, strlen (AuthUserPrefix)) ? httpinf->auth_user + strlen (AuthUserPrefix) : httpinf->auth_user; | ^~~~~~~ srv_url_filter.c:337:55: note: include '' or provide a declaration of 'strncmp' srv_url_filter.c:337:100: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 337 | uname = AuthUserPrefix && *AuthUserPrefix && !strncmp (httpinf->auth_user, AuthUserPrefix, strlen (AuthUserPrefix)) ? httpinf->auth_user + strlen (AuthUserPrefix) : httpinf->auth_user; | ^~~~~~ srv_url_filter.c:337:100: note: include '' or provide a declaration of 'strlen' srv_url_filter.c:361:23: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 361 | ptr = strchr(val, ':') + 1; | ^~~~~~ srv_url_filter.c:361:23: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:362:17: error: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] 362 | strlcpy(rname, ptr, sizeof rname); | ^~~~~~~ srv_url_filter.c:363:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 363 | free(val); | ^~~~ srv_url_filter.c:363:17: note: include '' or provide a declaration of 'free' srv_url_filter.c:473:31: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 473 | url = strchr(s, ':') + 1; | ^~~~~~ srv_url_filter.c:473:31: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:489:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 489 | free(val); | ^~~~ srv_url_filter.c:489:33: note: include '' or provide a declaration of 'free' srv_url_filter.c:494:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 494 | free(val); | ^~~~ srv_url_filter.c:494:17: note: include '' or provide a declaration of 'free' srv_url_filter.c:537:36: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 537 | if ((ptr = realloc(val, valsz + len)) == NULL) { | ^~~~~~~ srv_url_filter.c:537:36: note: include '' or provide a declaration of 'realloc' srv_url_filter.c:537:36: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:537:36: note: include '' or provide a declaration of 'realloc' srv_url_filter.c:538:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 538 | free(val); | ^~~~ srv_url_filter.c:538:33: note: include '' or provide a declaration of 'free' srv_url_filter.c:546:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 546 | free(val); | ^~~~ srv_url_filter.c:546:41: note: include '' or provide a declaration of 'free' srv_url_filter.c:550:49: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 550 | memcpy(val,ptr,len); | ^~~~~~ srv_url_filter.c:550:49: note: include '' or provide a declaration of 'memcpy' srv_url_filter.c:550:49: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:550:49: note: include '' or provide a declaration of 'memcpy' srv_url_filter.c:552:49: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 552 | strcat(val, ptr); | ^~~~~~ srv_url_filter.c:552:49: note: include '' or provide a declaration of 'strcat' srv_url_filter.c:552:49: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:552:49: note: include '' or provide a declaration of 'strcat' srv_url_filter.c:583:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 583 | free(val); | ^~~~ srv_url_filter.c:583:17: note: include '' or provide a declaration of 'free' srv_url_filter.c:604:42: warning: comparison with string literal results in unspecified behavior [-Waddress] 604 | if (req_type_mod == "RESPMOD") { | ^~ srv_url_filter.c:607:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type '__time_t' {aka 'long int'} [-Wformat=] 607 | syslog(SyslogPriority,"%s %u %u %s", "RESPMOD SEARCH", timenow.tv_sec, timenow.tv_usec, httpinf->page); | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int __time_t {aka long int} | %lu srv_url_filter.c:607:59: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 607 | syslog(SyslogPriority,"%s %u %u %s", "RESPMOD SEARCH", timenow.tv_sec, timenow.tv_usec, httpinf->page); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int __suseconds_t {aka long int} | %lu srv_url_filter.c:624:25: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 624 | for (i = 1, p = strchr (cats, ':'); p; p = strchr (p + 1, ':'), i++) | ^~~~~~ srv_url_filter.c:624:25: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:626:17: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 626 | ncats = calloc (i + 1, sizeof (unsigned)); | ^~~~~~ srv_url_filter.c:626:17: note: include '' or provide a declaration of 'calloc' srv_url_filter.c:626:17: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] srv_url_filter.c:626:17: note: include '' or provide a declaration of 'calloc' srv_url_filter.c:627:36: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 627 | for (i = 0, p = cats, p1 = strchr (p, ':'); *p; p1 = strchr (p, ':'), i++) { | ^~~~~~ srv_url_filter.c:627:36: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:653:34: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 653 | catstr = strchr(s, ':') + 1; | ^~~~~~ srv_url_filter.c:653:34: note: include '' or provide a declaration of 'strchr' srv_url_filter.c:663:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 663 | free(val); | ^~~~ srv_url_filter.c:663:41: note: include '' or provide a declaration of 'free' srv_url_filter.c:670:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 670 | free(val); | ^~~~ srv_url_filter.c:670:17: note: include '' or provide a declaration of 'free' srv_url_filter.c:680:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 680 | free (ncats); | ^~~~ srv_url_filter.c:680:17: note: include '' or provide a declaration of 'free' srv_url_filter.c:689:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 689 | free (ncats); | ^~~~ srv_url_filter.c:689:17: note: include '' or provide a declaration of 'free' srv_url_filter.c:714:36: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 714 | if ((ptr = realloc(val, valsz + len)) == NULL) { | ^~~~~~~ srv_url_filter.c:714:36: note: include '' or provide a declaration of 'realloc' srv_url_filter.c:715:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 715 | free(val); | ^~~~ srv_url_filter.c:715:33: note: include '' or provide a declaration of 'free' srv_url_filter.c:723:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 723 | free(val); | ^~~~ srv_url_filter.c:723:41: note: include '' or provide a declaration of 'free' srv_url_filter.c:727:49: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 727 | memcpy(val, ptr, len); | ^~~~~~ srv_url_filter.c:727:49: note: include '' or provide a declaration of 'memcpy' srv_url_filter.c:729:49: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 729 | strcat(val, ptr); | ^~~~~~ srv_url_filter.c:729:49: note: include '' or provide a declaration of 'strcat' srv_url_filter.c:747:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 747 | free (ncats); | ^~~~ srv_url_filter.c:747:9: note: include '' or provide a declaration of 'free' srv_url_filter.c: In function 'url_filter_check_preview': srv_url_filter.c:796:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 796 | httpinf.client_ip = ci_headers_value (req->request_header, ClientIPHeader); | ^ srv_url_filter.c:799:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 799 | if ( !(authuser = ci_headers_value (req->request_header, AuthUserHeader)) ) authuser = ""; | ^ srv_url_filter.c:804:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 804 | strncpy(httpinf.auth_user, authuser, MAX_USERNAME_LEN); | ^~~~~~~ srv_url_filter.c:804:9: note: include '' or provide a declaration of 'strncpy' srv_url_filter.c:830:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 830 | char buf [strlen (RedirectUrl) + 20]; | ^~~~~~ srv_url_filter.c:830:22: note: include '' or provide a declaration of 'strlen' srv_url_filter.c:851:38: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 851 | uc->body=ci_cached_file_new(strlen(reject_message)+10); | ^~~~~~ srv_url_filter.c:851:38: note: include '' or provide a declaration of 'strlen' srv_url_filter.c: In function 'check_destination': srv_url_filter.c:542:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 542 | asprintf(&ptr, "%s:%s ", | ^~~~~~~~~~~~~~~~~~~~~~~~ 543 | odbx_field_value(sth, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | odbx_field_value(sth, 0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ srv_url_filter.c:719:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 719 | asprintf(&ptr, "%s:%s ", | ^~~~~~~~~~~~~~~~~~~~~~~~ 720 | odbx_field_value(sth, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~ 721 | odbx_field_value(sth, 0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:451: srv_url_filter_la-srv_url_filter.lo] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/netpolice-filter-1.01/services/url_filter' make[2]: *** [Makefile:353: all-recursive] Error 1 make[1]: *** [Makefile:402: all-recursive] Error 1 make: *** [Makefile:334: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.71062 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.71062 (%build) Command exited with non-zero status 1 2.86user 2.26system 0:05.76elapsed 89%CPU (0avgtext+0avgdata 19456maxresident)k 0inputs+0outputs (0major+472029minor)pagefaults 0swaps hsh-rebuild: rebuild of `netpolice-filter-1.01-alt5.1.src.rpm' failed. Command exited with non-zero status 1 3.21user 2.63system 0:15.40elapsed 37%CPU (0avgtext+0avgdata 132168maxresident)k 4208inputs+0outputs (0major+224759minor)pagefaults 0swaps