<86>Mar 29 08:06:07 userdel[4068972]: delete user 'rooter' <86>Mar 29 08:06:07 userdel[4068972]: removed group 'rooter' owned by 'rooter' <86>Mar 29 08:06:07 userdel[4068972]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 29 08:06:07 groupadd[4068981]: group added to /etc/group: name=rooter, GID=690 <86>Mar 29 08:06:07 groupadd[4068981]: group added to /etc/gshadow: name=rooter <86>Mar 29 08:06:07 groupadd[4068981]: new group: name=rooter, GID=690 <86>Mar 29 08:06:07 useradd[4068990]: new user: name=rooter, UID=690, GID=690, home=/root, shell=/bin/bash <86>Mar 29 08:06:07 userdel[4069008]: delete user 'builder' <86>Mar 29 08:06:07 userdel[4069008]: removed group 'builder' owned by 'builder' <86>Mar 29 08:06:07 userdel[4069008]: removed shadow group 'builder' owned by 'builder' <86>Mar 29 08:06:07 groupadd[4069015]: group added to /etc/group: name=builder, GID=691 <86>Mar 29 08:06:07 groupadd[4069015]: group added to /etc/gshadow: name=builder <86>Mar 29 08:06:07 groupadd[4069015]: new group: name=builder, GID=691 <86>Mar 29 08:06:07 useradd[4069019]: new user: name=builder, UID=691, GID=691, home=/usr/src, shell=/bin/bash <13>Mar 29 08:06:11 rpmi: libjpeg-2:2.0.6-alt1 sisyphus+266888.100.1.1 1614172387 installed <13>Mar 29 08:06:11 rpmi: libjasper-2.0.27-alt1 sisyphus+268170.100.2.1 1616580955 installed <13>Mar 29 08:06:11 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Mar 29 08:06:11 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 29 08:06:11 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Mar 29 08:06:11 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Mar 29 08:06:11 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Mar 29 08:06:11 rpmi: libgif-4.1.6-alt3 1299634261 installed <13>Mar 29 08:06:11 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Mar 29 08:06:11 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Mar 29 08:06:11 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 29 08:06:11 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 29 08:06:11 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 29 08:06:11 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Mar 29 08:06:11 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 29 08:06:11 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Mar 29 08:06:12 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Mar 29 08:06:12 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <86>Mar 29 08:06:12 groupadd[4076559]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 29 08:06:12 groupadd[4076559]: group added to /etc/gshadow: name=_keytab <86>Mar 29 08:06:12 groupadd[4076559]: new group: name=_keytab, GID=499 <13>Mar 29 08:06:12 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <86>Mar 29 08:06:12 groupadd[4076787]: group added to /etc/group: name=sasl, GID=498 <86>Mar 29 08:06:12 groupadd[4076787]: group added to /etc/gshadow: name=sasl <86>Mar 29 08:06:12 groupadd[4076787]: new group: name=sasl, GID=498 <13>Mar 29 08:06:12 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Mar 29 08:06:12 rpmi: libsasl2-devel-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Mar 29 08:06:12 rpmi: libgif-devel-4.1.6-alt3 1299634261 installed <13>Mar 29 08:06:12 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 29 08:06:12 rpmi: libjasper-devel-2.0.27-alt1 sisyphus+268170.100.2.1 1616580955 installed <13>Mar 29 08:06:12 rpmi: libjpeg-devel-2:2.0.6-alt1 sisyphus+266888.100.1.1 1614172387 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ziproxy-3.3.0-alt1.nosrc.rpm (w1.gzdio) Installing ziproxy-3.3.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.78617 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ziproxy + echo 'Source #0 (ziproxy.tar):' Source #0 (ziproxy.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ziproxy.tar + cd ziproxy + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ziproxy-ziproxyconf.patch):' Patch #1 (ziproxy-ziproxyconf.patch): + /usr/bin/patch -p1 patching file etc/ziproxy/ziproxy.conf + echo 'Patch #2 (ziproxy-fix-spelling.patch):' Patch #2 (ziproxy-fix-spelling.patch): + /usr/bin/patch -p1 patching file src/netd.c + echo 'Patch #3 (ziproxy-giflib5.patch):' Patch #3 (ziproxy-giflib5.patch): + /usr/bin/patch -p1 patching file src/image.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.9272 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ziproxy + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -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 find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri dirname -- '{}' + ./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 --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext 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 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 we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for libraries containing socket functions... -lc checking for gzopen in -lz... yes checking for pow in -lm... yes checking for library containing DGifSlurp... -lgif checking for jpeg_start_decompress in -ljpeg... yes checking for png_sig_cmp in -lpng... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 jas_init in -ljasper... yes checking jasper/jasper.h usability... yes checking jasper/jasper.h presence... yes checking for jasper/jasper.h... yes checking for sasl_set_path in -lsasl2... yes checking sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking gif_lib.h usability... yes checking gif_lib.h presence... yes checking for gif_lib.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of int... 4 checking size of long int... 4 checking size of long long int... 8 checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strndup... yes checking for strstr... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/tools/Makefile config.status: creating man/Makefile config.status: creating src/config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 Making all in . make[1]: Nothing to be done for 'all-am'. Making all in src make all-recursive Making all in tools make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src/tools' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../src -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ziproxylogtool.o ziproxylogtool.c ziproxylogtool.c: In function 'stats_general_loop': ziproxylogtool.c:418:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | fgets (log_line, LINE_BUFFER - 1, goptions->in_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ziproxylogtool.c: In function 'stats_max_hosts': ziproxylogtool.c:453:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 453 | fgets (log_line, LINE_BUFFER - 1, goptions->in_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ziproxylogtool.c: In function 'stats_filter_mode': ziproxylogtool.c:476:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | fgets (log_line, LINE_BUFFER - 1, goptions->in_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src/tools' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ziproxylogtool ziproxylogtool.o -lpthread -lpng -ljpeg -lgif -lm -lz -ljasper -lsasl2 make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o text.o text.c text.c: In function 'do_compress_memory_stream': text.c:150:6: warning: variable 'de_chunk' set but not used [-Wunused-but-set-variable] 150 | int de_chunk = 0; | ^~~~~~~~ text.c: In function 'gunzip': text.c:229:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | fread(*outbuf, *outlen, 1, file_unpack); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ziproxy.o ziproxy.c ziproxy.c: In function 'sigcatch': ziproxy.c:445:3: warning: 'sigflag' may be used uninitialized in this function [-Wmaybe-uninitialized] 445 | access_log_set_flags (sigflag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ziproxy.c: In function 'open_client_socket': ziproxy.c:368:14: warning: 'sock_protocol' may be used uninitialized in this function [-Wmaybe-uninitialized] 368 | sockfd = socket( sock_family, sock_type, sock_protocol ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ziproxy.c:368:14: warning: 'sock_type' may be used uninitialized in this function [-Wmaybe-uninitialized] ziproxy.c:368:14: warning: 'sock_family' may be used uninitialized in this function [-Wmaybe-uninitialized] ziproxy.c:378:14: warning: 'sa_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 378 | if ( connect( sockfd, (struct sockaddr*) &sa[sa_entries], sa_len ) >= 0 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o log.o log.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o preemptdns.o preemptdns.c preemptdns.c: In function 'preempt_dns_from_html': preemptdns.c:201:25: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 201 | daemon (0, 0); | ^~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fstring.o fstring.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o netd.o netd.c netd.c: In function 'main': netd.c:207:6: warning: unused variable 'debuglogdes' [-Wunused-variable] 207 | int debuglogdes, i; | ^~~~~~~~~~~ netd.c: In function 'proxy_server': netd.c:445:73: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 445 | if ((sock_client = accept(sock_listen, (struct sockaddr *) &gotConn, &sin_size)) < 0) { | ^~~~~~~~~ | | | int * In file included from netd.c:68: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o qparser.o qparser.c qparser.c: In function 'remove_useless_data': qparser.c:91:19: warning: variable 'writepos2' set but not used [-Wunused-but-set-variable] 91 | char *writepos, *writepos2; | ^~~~~~~~~ qparser.c: In function 'qp_init': qparser.c:642:33: warning: pointer targets in passing argument 1 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 642 | fix_linebreaks_qp (conf_handler->filedata, conf_len, conf_handler->filedata); | ~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from qparser.c:29: txtfiletools.h:30:52: note: expected 'const unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~~~~~~~^~~ qparser.c:642:67: warning: pointer targets in passing argument 3 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 642 | fix_linebreaks_qp (conf_handler->filedata, conf_len, conf_handler->filedata); | ~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from qparser.c:29: txtfiletools.h:30:84: note: expected 'unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~^~~ qparser.c: In function 'qp_getconf_bool': qparser.c:770:9: warning: 'pre_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] 770 | *dst = pre_dst; | ~~~~~^~~~~~~~~ qparser.c: In function 'qp_getconf_array_bool': qparser.c:796:9: warning: 'pre_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] 796 | *dst = pre_dst; | ~~~~~^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o urltables.o urltables.c urltables.c: In function 'ut_create_populate_from_file': urltables.c:122:21: warning: pointer targets in passing argument 1 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 122 | fix_linebreaks_qp (urltxt, strlen (urltxt), urltxt); | ^~~~~~ | | | char * In file included from urltables.c:29: txtfiletools.h:30:52: note: expected 'const unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~~~~~~~^~~ urltables.c:122:46: warning: pointer targets in passing argument 3 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 122 | fix_linebreaks_qp (urltxt, strlen (urltxt), urltxt); | ^~~~~~ | | | char * In file included from urltables.c:29: txtfiletools.h:30:84: note: expected 'unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~^~~ In file included from /usr/include/string.h:532, from urltables.c:26: In function 'strncpy', inlined from 'ut_create_populate_from_file' at urltables.c:144:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' accessing 0 or more bytes at offsets 0 and 7 may overlap up to 4294967288 bytes at offset [7, 4294967294] [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cdetect.o cdetect.c cdetect.c: In function 'is_that_text_html': cdetect.c:87:24: warning: pointer targets in passing argument 1 of 'compare_tag_cd' differ in signedness [-Wpointer-sign] 87 | if (compare_tag_cd (rpos, "HTML", 4) == 0) | ^~~~ | | | const char * cdetect.c:37:42: note: expected 'const unsigned char *' but argument is of type 'const char *' 37 | int compare_tag_cd (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ cdetect.c:87:30: warning: pointer targets in passing argument 2 of 'compare_tag_cd' differ in signedness [-Wpointer-sign] 87 | if (compare_tag_cd (rpos, "HTML", 4) == 0) | ^~~~~~ | | | char * cdetect.c:37:68: note: expected 'const unsigned char *' but argument is of type 'char *' 37 | int compare_tag_cd (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ cdetect.c:89:39: warning: pointer targets in passing argument 1 of 'return_chars_until_chr_cd' differ in signedness [-Wpointer-sign] 89 | rpos += return_chars_until_chr_cd (rpos, '>'); | ^~~~ | | | const char * cdetect.c:62:53: note: expected 'const unsigned char *' but argument is of type 'const char *' 62 | int return_chars_until_chr_cd (const unsigned char *src, const unsigned char breakpoint) | ~~~~~~~~~~~~~~~~~~~~~^~~ cdetect.c:98:39: warning: pointer targets in passing argument 1 of 'return_chars_until_chr_cd' differ in signedness [-Wpointer-sign] 98 | rpos += return_chars_until_chr_cd (rpos, xchar); | ^~~~ | | | const char * cdetect.c:62:53: note: expected 'const unsigned char *' but argument is of type 'const char *' 62 | int return_chars_until_chr_cd (const unsigned char *src, const unsigned char breakpoint) | ~~~~~~~~~~~~~~~~~~~~~^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gzpipe.o gzpipe.c gzpipe.c: In function 'gzip_memory_stream': gzpipe.c:350:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | strm.next_in = source; | ^ gzpipe.c:351:19: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign] 351 | crc = crc32(crc, source, inlen); | ^~~~~~ | | | const char * In file included from /usr/include/zlib.h:34, from gzpipe.c:34: /usr/include/zlib.h:1725:31: note: expected 'const Bytef *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1725 | ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); | ^~ gzpipe.c: In function 'gzip_stream_stream': gzpipe.c:101:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | fscanf (source, "%x", &pending_chunk_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzpipe.c:114:5: warning: ignoring return value of 'feof' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | feof (source); | ^~~~~~~~~~~~~ gzpipe.c: In function 'gunzip_stream_stream': gzpipe.c:233:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | fscanf (source, "%x", &pending_chunk_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzpipe.c:246:5: warning: ignoring return value of 'feof' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | feof (source); | ^~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cfgfile.o cfgfile.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o auth.o auth.c auth.c: In function 'auth_create_populate_from_file': auth.c:115:21: warning: pointer targets in passing argument 1 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 115 | fix_linebreaks_qp (userpasstxt, strlen (userpasstxt), userpasstxt); | ^~~~~~~~~~~ | | | char * In file included from auth.c:39: txtfiletools.h:30:52: note: expected 'const unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~~~~~~~^~~ auth.c:115:56: warning: pointer targets in passing argument 3 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 115 | fix_linebreaks_qp (userpasstxt, strlen (userpasstxt), userpasstxt); | ^~~~~~~~~~~ | | | char * In file included from auth.c:39: txtfiletools.h:30:84: note: expected 'unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~^~~ auth.c: In function 'auth_sasl_init': auth.c:163:45: warning: passing argument 2 of 'sasl_set_path' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | if (sasl_set_path (SASL_PATH_TYPE_CONFIG, local_AuthSASLConfPath) != SASL_OK) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from auth.c:35: /usr/include/sasl/sasl.h:677:54: note: expected 'char *' but argument is of type 'const char *' 677 | LIBSASL_API int sasl_set_path (int path_type, char * path); | ~~~~~~~^~~~ auth.c: In function 'auth_sasl_end': auth.c:176:1: warning: control reaches end of non-void function [-Wreturn-type] 176 | } | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o txtfiletools.o txtfiletools.c txtfiletools.c: In function 'remove_junk_data': txtfiletools.c:142:19: warning: variable 'writepos2' set but not used [-Wunused-but-set-variable] 142 | char *writepos, *writepos2; | ^~~~~~~~~ txtfiletools.c: In function 'dump_string_to_textfile': txtfiletools.c:225:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 225 | if (my_file = fopen (given_filename, "w")) { | ^~~~~~~ txtfiletools.c: In function 'load_textfile_to_memory': txtfiletools.c:88:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | fread (my_buff, my_filesize, 1, my_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o simplelist.o simplelist.c simplelist.c: In function 'slist_create': simplelist.c:45:22: warning: pointer targets in passing argument 1 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 45 | fix_linebreaks_qp (filedata, filedata_len, filedata); | ^~~~~~~~ | | | char * In file included from simplelist.c:29: txtfiletools.h:30:52: note: expected 'const unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~~~~~~~^~~ simplelist.c:45:46: warning: pointer targets in passing argument 3 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] 45 | fix_linebreaks_qp (filedata, filedata_len, filedata); | ^~~~~~~~ | | | char * In file included from simplelist.c:29: txtfiletools.h:30:84: note: expected 'unsigned char *' but argument is of type 'char *' 30 | extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o session.o session.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o strtables.o strtables.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o misc.o misc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tosmarking.o tosmarking.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cttables.o cttables.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o http.o http.c http.c: In function 'proxy_http': http.c:465:28: warning: pointer targets in passing argument 1 of 'hopt_pack_html' differ in signedness [-Wpointer-sign] 465 | inlen = hopt_pack_html (inbuf, inlen, inbuf, hopt_flags); | ^~~~~ | | | char * In file included from http.c:62: htmlopt.h:44:42: note: expected 'const unsigned char *' but argument is of type 'char *' 44 | int hopt_pack_html (const unsigned char *src, int srclen, unsigned char *dst, HOPT_FLAGS flags); | ~~~~~~~~~~~~~~~~~~~~~^~~ http.c:465:42: warning: pointer targets in passing argument 3 of 'hopt_pack_html' differ in signedness [-Wpointer-sign] 465 | inlen = hopt_pack_html (inbuf, inlen, inbuf, hopt_flags); | ^~~~~ | | | char * In file included from http.c:62: htmlopt.h:44:74: note: expected 'unsigned char *' but argument is of type 'char *' 44 | int hopt_pack_html (const unsigned char *src, int srclen, unsigned char *dst, HOPT_FLAGS flags); | ~~~~~~~~~~~~~~~^~~ http.c:478:26: warning: pointer targets in passing argument 1 of 'hopt_pack_css' differ in signedness [-Wpointer-sign] 478 | inlen = hopt_pack_css (inbuf, inlen, inbuf); | ^~~~~ | | | char * In file included from http.c:62: htmlopt.h:42:41: note: expected 'const unsigned char *' but argument is of type 'char *' 42 | int hopt_pack_css (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~~~~~~~^~~ http.c:478:40: warning: pointer targets in passing argument 3 of 'hopt_pack_css' differ in signedness [-Wpointer-sign] 478 | inlen = hopt_pack_css (inbuf, inlen, inbuf); | ^~~~~ | | | char * In file included from http.c:62: htmlopt.h:42:73: note: expected 'unsigned char *' but argument is of type 'char *' 42 | int hopt_pack_css (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~^~~ http.c:486:33: warning: pointer targets in passing argument 1 of 'hopt_pack_javascript' differ in signedness [-Wpointer-sign] 486 | inlen = hopt_pack_javascript (inbuf, inlen, inbuf); | ^~~~~ | | | char * In file included from http.c:62: htmlopt.h:43:48: note: expected 'const unsigned char *' but argument is of type 'char *' 43 | int hopt_pack_javascript (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~~~~~~~^~~ http.c:486:47: warning: pointer targets in passing argument 3 of 'hopt_pack_javascript' differ in signedness [-Wpointer-sign] 486 | inlen = hopt_pack_javascript (inbuf, inlen, inbuf); | ^~~~~ | | | char * In file included from http.c:62: htmlopt.h:43:80: note: expected 'unsigned char *' but argument is of type 'char *' 43 | int hopt_pack_javascript (const unsigned char *src, int srclen, unsigned char *dst); | ~~~~~~~~~~~~~~~^~~ http.c: In function 'read_content': http.c:1249:3: warning: statement with no effect [-Wunused-value] 1249 | exit; | ^~~~ http.c:1317:5: warning: statement with no effect [-Wunused-value] 1317 | exit; | ^~~~ http.c:1336:6: warning: statement with no effect [-Wunused-value] 1336 | exit; | ^~~~ http.c:1362:4: warning: statement with no effect [-Wunused-value] 1362 | exit; | ^~~~ http.c: In function 'send_error': http.c:721:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | fread (txtfilebuf, 1, txtfilesize, txtfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'read_content': http.c:1273:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1273 | fscanf (from, "%x", &pending_chunk_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:1286:5: warning: ignoring return value of 'feof' declared with attribute 'warn_unused_result' [-Wunused-result] 1286 | feof (from); | ^~~~~~~~~~~ http.c: In function 'get_response_headers': http.c:1392:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1392 | fgets(line, 5, sockrfp); | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:1414:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1414 | fgets(line+n, sizeof(line), sockrfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from http.c:74: In function 'strncpy', inlined from 'parse_initial_request' at http.c:903:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o htmlopt.o htmlopt.c htmlopt.c: In function 'compress_javascript_chunk': htmlopt.c:300:32: warning: pointer targets in passing argument 2 of 'custom_strncmp' differ in signedness [-Wpointer-sign] 300 | if (! WHICH_STRNCMP (rpos, "\n-->", 4)) { | ^~~~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:64:69: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | int custom_strncmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c:302:33: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 302 | strncpy_overlapping (rpos, wpos, 4); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:408:54: warning: pointer targets in passing argument 3 of 'is_str_present_in_ss_comment' differ in signedness [-Wpointer-sign] 408 | if (is_str_present_in_ss_comment (rpos, count, "", 3)) { | ^~~~~ | | | char * htmlopt.c:223:94: note: expected 'const unsigned char *' but argument is of type 'char *' 223 | int is_str_present_in_ss_comment (const unsigned char *src, int srclen, const unsigned char *substr, int substrlen) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ htmlopt.c:419:29: warning: pointer targets in passing argument 1 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 419 | strncpy_overlapping ("//-->", wpos, 5); | ^~~~~~~ | | | char * htmlopt.c:75:48: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:419:38: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 419 | strncpy_overlapping ("//-->", wpos, 5); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:422:61: warning: pointer targets in passing argument 3 of 'is_str_present_in_ss_comment' differ in signedness [-Wpointer-sign] 422 | } else if (is_str_present_in_ss_comment (rpos, count, "]]>", 3)) { | ^~~~~ | | | char * htmlopt.c:223:94: note: expected 'const unsigned char *' but argument is of type 'char *' 223 | int is_str_present_in_ss_comment (const unsigned char *src, int srclen, const unsigned char *substr, int substrlen) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ htmlopt.c:424:29: warning: pointer targets in passing argument 1 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 424 | strncpy_overlapping ("//]]>\n", wpos, 6); | ^~~~~~~~~ | | | char * htmlopt.c:75:48: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:424:40: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 424 | strncpy_overlapping ("//]]>\n", wpos, 6); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c: In function 'compress_html_tag': htmlopt.c:592:56: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 592 | strncpy_overlapping (wpos - (quote_len - 1), wpos - quote_len, quote_len - 2); | ~~~~~^~~~~~~~~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:643:33: warning: array subscript has type 'char' [-Wchar-subscripts] 643 | *(wpos++) = lowercase_table [current_char]; | ^ htmlopt.c: In function 'return_javascript_body_len': htmlopt.c:803:32: warning: pointer targets in passing argument 2 of 'compare_tag' differ in signedness [-Wpointer-sign] 803 | if (compare_tag (rpos + 2, "SCRIPT", 6) == 0) { | ^~~~~~~~ | | | char * htmlopt.c:741:65: note: expected 'const unsigned char *' but argument is of type 'char *' 741 | int compare_tag (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:809:26: warning: pointer targets in passing argument 1 of 'custom_strncmp' differ in signedness [-Wpointer-sign] 809 | if (! WHICH_STRNCMP ("", rpos, 3)) { | ^~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:64:42: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | int custom_strncmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c: In function 'break_composite_chunk': htmlopt.c:936:40: warning: pointer targets in passing argument 2 of 'custom_strncasecmp' differ in signedness [-Wpointer-sign] 936 | if (! WHICH_STRNCASECMP (closing_tag, "/SCRIPT", 7)) { | ^~~~~~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:63:73: note: expected 'const unsigned char *' but argument is of type 'char *' 63 | int custom_strncasecmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c: In function 'return_junky_chunk_len': htmlopt.c:1002:40: warning: pointer targets in passing argument 2 of 'custom_strncasecmp' differ in signedness [-Wpointer-sign] 1002 | if (! WHICH_STRNCASECMP (closing_tag, "SCRIPT", 6)) { | ^~~~~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:63:73: note: expected 'const unsigned char *' but argument is of type 'char *' 63 | int custom_strncasecmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c: In function 'get_chunk_info': htmlopt.c:1082:27: warning: pointer targets in passing argument 2 of 'compare_tag' differ in signedness [-Wpointer-sign] 1082 | if (compare_tag (secd, "PRE", 3) == 0) { | ^~~~~ | | | char * htmlopt.c:741:65: note: expected 'const unsigned char *' but argument is of type 'char *' 741 | int compare_tag (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:1084:43: warning: pointer targets in passing argument 2 of 'return_junky_chunk_len' differ in signedness [-Wpointer-sign] 1084 | c_size = return_junky_chunk_len (src, "PRE", 3); | ^~~~~ | | | char * htmlopt.c:994:76: note: expected 'const unsigned char *' but argument is of type 'char *' 994 | int return_junky_chunk_len (const unsigned char *src, const unsigned char *closing_tag, int closing_tag_len) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ htmlopt.c:1090:27: warning: pointer targets in passing argument 2 of 'compare_tag' differ in signedness [-Wpointer-sign] 1090 | if (compare_tag (secd, "TEXTAREA", 8) == 0) { | ^~~~~~~~~~ | | | char * htmlopt.c:741:65: note: expected 'const unsigned char *' but argument is of type 'char *' 741 | int compare_tag (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:1092:43: warning: pointer targets in passing argument 2 of 'return_junky_chunk_len' differ in signedness [-Wpointer-sign] 1092 | c_size = return_junky_chunk_len (src, "TEXTAREA", 8); | ^~~~~~~~~~ | | | char * htmlopt.c:994:76: note: expected 'const unsigned char *' but argument is of type 'char *' 994 | int return_junky_chunk_len (const unsigned char *src, const unsigned char *closing_tag, int closing_tag_len) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ htmlopt.c:1098:29: warning: pointer targets in passing argument 2 of 'custom_strncmp' differ in signedness [-Wpointer-sign] 1098 | if (WHICH_STRNCMP (secd, "!--[", 4) == 0) { | ^~~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:64:69: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | int custom_strncmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c:1101:36: warning: pointer targets in passing argument 2 of 'custom_strncmp' differ in signedness [-Wpointer-sign] 1101 | } else if (WHICH_STRNCMP (secd, "!--", 3) == 0) { | ^~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:64:69: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | int custom_strncmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c:1104:34: warning: pointer targets in passing argument 2 of 'compare_tag' differ in signedness [-Wpointer-sign] 1104 | } else if (compare_tag (secd, "![CDATA[", 8) == 0) { | ^~~~~~~~~~ | | | char * htmlopt.c:741:65: note: expected 'const unsigned char *' but argument is of type 'char *' 741 | int compare_tag (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:1112:27: warning: pointer targets in passing argument 2 of 'compare_tag' differ in signedness [-Wpointer-sign] 1112 | if (compare_tag (secd, "STYLE", 5) == 0) { | ^~~~~~~ | | | char * htmlopt.c:741:65: note: expected 'const unsigned char *' but argument is of type 'char *' 741 | int compare_tag (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:1114:43: warning: pointer targets in passing argument 2 of 'return_junky_chunk_len' differ in signedness [-Wpointer-sign] 1114 | c_size = return_junky_chunk_len (src, "STYLE", 5); | ^~~~~~~ | | | char * htmlopt.c:994:76: note: expected 'const unsigned char *' but argument is of type 'char *' 994 | int return_junky_chunk_len (const unsigned char *src, const unsigned char *closing_tag, int closing_tag_len) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ htmlopt.c:1119:34: warning: pointer targets in passing argument 2 of 'compare_tag' differ in signedness [-Wpointer-sign] 1119 | } else if (compare_tag (secd, "SCRIPT", 6) == 0) { | ^~~~~~~~ | | | char * htmlopt.c:741:65: note: expected 'const unsigned char *' but argument is of type 'char *' 741 | int compare_tag (const unsigned char *src, const unsigned char *tag, int taglen) | ~~~~~~~~~~~~~~~~~~~~~^~~ htmlopt.c:1121:43: warning: pointer targets in passing argument 2 of 'return_junky_chunk_len' differ in signedness [-Wpointer-sign] 1121 | c_size = return_junky_chunk_len (src, "SCRIPT", 6); | ^~~~~~~~ | | | char * htmlopt.c:994:76: note: expected 'const unsigned char *' but argument is of type 'char *' 994 | int return_junky_chunk_len (const unsigned char *src, const unsigned char *closing_tag, int closing_tag_len) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ htmlopt.c: In function 'pack_composite_chunk': htmlopt.c:1209:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1209 | closing_tag = "/SCRIPT"; | ^ htmlopt.c:1214:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1214 | closing_tag = "/STYLE"; | ^ htmlopt.c:1219:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1219 | closing_tag = "/PRE"; | ^ htmlopt.c:1224:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1224 | closing_tag = "/TEXTAREA"; | ^ htmlopt.c:1239:30: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1239 | strncpy_overlapping (src, dst, rsize1); | ^~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1248:43: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1248 | strncpy_overlapping (src + rsize1, dst + wsize1, rsize2); | ~~~~^~~~~~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1256:61: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1256 | strncpy_overlapping (src + rsize1 + rsize2, dst + wsize1 + wsize2, rsize3); | ~~~~~~~~~~~~~^~~~~~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1263:29: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1263 | strncpy_overlapping (src, dst, srclen); | ^~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c: In function 'hopt_pack_html': htmlopt.c:1305:27: warning: pointer targets in passing argument 1 of 'custom_strncmp' differ in signedness [-Wpointer-sign] 1305 | if (! WHICH_STRNCMP ("", rpos, 8)) { | ^~~~~~~~~~ | | | char * In file included from htmlopt.c:29: fstring.h:64:42: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | int custom_strncmp (const unsigned char *src1, const unsigned char *src2, int len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ htmlopt.c:1306:34: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1306 | strncpy_overlapping (rpos, wpos, rc_size); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1311:32: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1311 | strncpy_overlapping (rpos, wpos, rc_size); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1322:32: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1322 | strncpy_overlapping (rpos, wpos, rc_size); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1338:32: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1338 | strncpy_overlapping (rpos, wpos, rc_size); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1376:31: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1376 | strncpy_overlapping (rpos, wpos, rc_size); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c:1384:31: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] 1384 | strncpy_overlapping (rpos, wpos, rc_size); | ^~~~ | | | unsigned char * htmlopt.c:75:59: note: expected 'char *' but argument is of type 'unsigned char *' 75 | void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) | ~~~~~~^~~ htmlopt.c: In function 'compress_javascript_chunk': htmlopt.c:474:16: warning: 'close_quote_char' may be used uninitialized in this function [-Wmaybe-uninitialized] 474 | *(wpos++) = *(rpos++); | ~~~~~~~~~~^~~~~~~~~~~ htmlopt.c: In function 'hopt_pack_html': htmlopt.c:1394:16: warning: 'wc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 1394 | w_total_size += wc_size; | ~~~~~~~~~~~~~^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o image.o image.c image.c: In function 'compress_image': image.c:454:4: warning: enumeration value 'OTHER_CONTENT' not handled in switch [-Wswitch] 454 | switch(outtype){ | ^~~~~~ image.c:454:4: warning: enumeration value 'IMG_GIF' not handled in switch [-Wswitch] image.c:454:4: warning: enumeration value 'TEXT_HTML' not handled in switch [-Wswitch] image.c:454:4: warning: enumeration value 'TEXT_CSS' not handled in switch [-Wswitch] image.c:454:4: warning: enumeration value 'APPLICATION_JAVASCRIPT' not handled in switch [-Wswitch] image.c: In function 'png2bitmap': image.c:534:35: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness [-Wpointer-sign] 534 | if ((insize < 8) || png_sig_cmp (inbuf, (png_size_t) 0, 8)) | ^~~~~ | | | char * In file included from /usr/include/png.h:335, from image.c:70: /usr/include/png.h:913:1: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'char *' 913 | PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, | ^~~~~~~~~~ image.c: In function 'bitmap2png': image.c:785:38: warning: pointer targets in passing argument 3 of 'png_set_tRNS' differ in signedness [-Wpointer-sign] 785 | png_set_tRNS (png_ptr, info_ptr, tr, bmp->opt_pal_transp, NULL); | ^~ | | | char * In file included from /usr/include/png.h:335, from image.c:70: /usr/include/png.h:2146:1: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'char *' 2146 | PNG_EXPORT(167, void, png_set_tRNS, (png_structrp png_ptr, | ^~~~~~~~~~ image.c:787:38: warning: pointer targets in passing argument 3 of 'png_set_tRNS' differ in signedness [-Wpointer-sign] 787 | png_set_tRNS (png_ptr, info_ptr, tr, bmp->pal_entries, NULL); | ^~ | | | char * In file included from /usr/include/png.h:335, from image.c:70: /usr/include/png.h:2146:1: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'char *' 2146 | PNG_EXPORT(167, void, png_set_tRNS, (png_structrp png_ptr, | ^~~~~~~~~~ image.c:714:15: warning: unused variable 'transcol' [-Wunused-variable] 714 | png_color_16 transcol; | ^~~~~~~~ image.c: In function 'jpeg_src_init': image.c:1112:32: warning: pointer targets in assignment from 'char *' to 'const JOCTET *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1112 | dinfo-> src ->next_input_byte = desc->buf; | ^ image.c: In function 'jpeg_src_skip_input': image.c:1128:32: warning: pointer targets in assignment from 'char *' to 'const JOCTET *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1128 | dinfo->src->next_input_byte = &desc->x.jpeg_unexpected_end; | ^ image.c: In function 'jpg2bitmap': image.c:1205:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1205 | BufferP=bmp->bitmap; | ^ image.c: In function 'bitmap2jpg': image.c:1261:27: warning: pointer targets in assignment from 'char *' to 'JOCTET *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1261 | memdest.next_output_byte = *outb = malloc (sizeof (char *) * outb_size); | ^ image.c: In function 'bitmap2jp2': image.c:1862:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1862 | *outb = jmem->buf_; | ^ image.c:1696:39: warning: variable 'pos3' set but not used [-Wunused-but-set-variable] 1696 | int pos0 = -1, pos1 = -1, pos2 = -1, pos3 = -1; // holds jp2-component number for each -- FIXME: this is pointless, we may use constants in this routine instead. | ^~~~ image.c:1696:28: warning: variable 'pos2' set but not used [-Wunused-but-set-variable] 1696 | int pos0 = -1, pos1 = -1, pos2 = -1, pos3 = -1; // holds jp2-component number for each -- FIXME: this is pointless, we may use constants in this routine instead. | ^~~~ image.c:1696:17: warning: variable 'pos1' set but not used [-Wunused-but-set-variable] 1696 | int pos0 = -1, pos1 = -1, pos2 = -1, pos3 = -1; // holds jp2-component number for each -- FIXME: this is pointless, we may use constants in this routine instead. | ^~~~ image.c:1696:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 1696 | int pos0 = -1, pos1 = -1, pos2 = -1, pos3 = -1; // holds jp2-component number for each -- FIXME: this is pointless, we may use constants in this routine instead. | ^~~~ image.c: In function 'jp22bitmap': image.c:1884:28: warning: variable 'pos2' set but not used [-Wunused-but-set-variable] 1884 | int pos0 = -1, pos1 = -1, pos2 = -1, pos3 = -1; // posX where 'X' is the position in the internal buffer, holds the jp2-component number equivalent - its meanings depends on the color model (Y, RGBA, YUV etc) | ^~~~ image.c:1884:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 1884 | int pos0 = -1, pos1 = -1, pos2 = -1, pos3 = -1; // posX where 'X' is the position in the internal buffer, holds the jp2-component number equivalent - its meanings depends on the color model (Y, RGBA, YUV etc) | ^~~~ image.c: In function 'calculate_jp2_rawsize': image.c:1653:31: warning: 'cheight' may be used uninitialized in this function [-Wmaybe-uninitialized] 1653 | if ((cwidth > 0) && (cheight > 0)) | ~~~~~~~~~^~~~ image.c:1653:14: warning: 'cwidth' may be used uninitialized in this function [-Wmaybe-uninitialized] 1653 | if ((cwidth > 0) && (cheight > 0)) | ~~~~~~~~^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o jp2tools.o jp2tools.c jp2tools.c: In function 'return_downscaled_array_len': jp2tools.c:65:1: warning: control reaches end of non-void function [-Wreturn-type] 65 | } | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o ziproxy ziproxy.o http.o log.o text.o image.o cfgfile.o preemptdns.o netd.o htmlopt.o qparser.o gzpipe.o fstring.o cdetect.o urltables.o txtfiletools.o auth.o strtables.o simplelist.o tosmarking.o cttables.o misc.o session.o jp2tools.o -lpthread -lpng -ljpeg -lgif -lm -lz -ljasper -lsasl2 ld: tosmarking.o:/usr/src/RPM/BUILD/ziproxy/src/tosmarking.c:39: multiple definition of `TOSFlagsDefault'; cfgfile.o:/usr/src/RPM/BUILD/ziproxy/src/cfgfile.c:114: first defined here ld: tosmarking.o:/usr/src/RPM/BUILD/ziproxy/src/tosmarking.c:41: multiple definition of `tos_markasdiff_url'; cfgfile.o:/usr/src/RPM/BUILD/ziproxy/src/cfgfile.c:162: first defined here ld: tosmarking.o:/usr/src/RPM/BUILD/ziproxy/src/tosmarking.c:42: multiple definition of `tos_maskasdiff_ct'; cfgfile.o:/usr/src/RPM/BUILD/ziproxy/src/cfgfile.c:163: first defined here ld: tosmarking.o:/usr/src/RPM/BUILD/ziproxy/src/tosmarking.c:40: multiple definition of `TOSFlagsDiff'; cfgfile.o:/usr/src/RPM/BUILD/ziproxy/src/cfgfile.c:115: first defined here ld: tosmarking.o:/usr/src/RPM/BUILD/ziproxy/src/tosmarking.c:43: multiple definition of `TOSMarkAsDiffSizeBT'; cfgfile.o:/usr/src/RPM/BUILD/ziproxy/src/cfgfile.c:118: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:419: ziproxy] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[2]: *** [Makefile:472: all-recursive] Error 1 make[1]: *** [Makefile:325: all] Error 2 make: *** [Makefile:329: all-recursive] Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.9272 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.9272 (%build) Command exited with non-zero status 1 11.93user 2.95system 0:10.27elapsed 144%CPU (0avgtext+0avgdata 38652maxresident)k 0inputs+0outputs (0major+617122minor)pagefaults 0swaps hsh-rebuild: rebuild of `ziproxy-3.3.0-alt1.src.rpm' failed. Command exited with non-zero status 1 21.91user 8.81system 0:25.21elapsed 121%CPU (0avgtext+0avgdata 109808maxresident)k 232inputs+0outputs (0major+873618minor)pagefaults 0swaps