<86>Dec 6 02:41:10 userdel[3416774]: delete user 'rooter' <86>Dec 6 02:41:10 groupadd[3416782]: group added to /etc/group: name=rooter, GID=678 <86>Dec 6 02:41:10 groupadd[3416782]: group added to /etc/gshadow: name=rooter <86>Dec 6 02:41:10 groupadd[3416782]: new group: name=rooter, GID=678 <86>Dec 6 02:41:10 useradd[3416789]: new user: name=rooter, UID=678, GID=678, home=/root, shell=/bin/bash <86>Dec 6 02:41:10 userdel[3416811]: delete user 'builder' <86>Dec 6 02:41:10 userdel[3416811]: removed group 'builder' owned by 'builder' <86>Dec 6 02:41:10 userdel[3416811]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 02:41:10 groupadd[3416821]: group added to /etc/group: name=builder, GID=679 <86>Dec 6 02:41:10 groupadd[3416821]: group added to /etc/gshadow: name=builder <86>Dec 6 02:41:10 groupadd[3416821]: new group: name=builder, GID=679 <86>Dec 6 02:41:10 useradd[3416825]: new user: name=builder, UID=679, GID=679, home=/usr/src, shell=/bin/bash <13>Dec 6 02:41:12 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Dec 6 02:41:12 rpmi: libjasper-2.0.22-alt1 p9+259398.100.5.1 1602695042 installed <13>Dec 6 02:41:12 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 6 02:41:12 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 02:41:12 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Dec 6 02:41:12 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Dec 6 02:41:12 rpmi: libgif-4.1.6-alt3 1299634266 installed <13>Dec 6 02:41:12 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Dec 6 02:41:12 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 02:41:12 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 6 02:41:12 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 02:41:12 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 02:41:12 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Dec 6 02:41:12 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 6 02:41:12 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 02:41:12 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 02:41:12 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <86>Dec 6 02:41:12 groupadd[3420394]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 6 02:41:12 groupadd[3420394]: group added to /etc/gshadow: name=_keytab <86>Dec 6 02:41:12 groupadd[3420394]: new group: name=_keytab, GID=499 <13>Dec 6 02:41:12 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <86>Dec 6 02:41:12 groupadd[3420510]: group added to /etc/group: name=sasl, GID=498 <86>Dec 6 02:41:12 groupadd[3420510]: group added to /etc/gshadow: name=sasl <86>Dec 6 02:41:12 groupadd[3420510]: new group: name=sasl, GID=498 <13>Dec 6 02:41:12 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Dec 6 02:41:12 rpmi: libsasl2-devel-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Dec 6 02:41:12 rpmi: libgif-devel-4.1.6-alt3 1299634266 installed <13>Dec 6 02:41:12 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 02:41:12 rpmi: libjasper-devel-2.0.22-alt1 p9+259398.100.5.1 1602695042 installed <13>Dec 6 02:41:12 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ziproxy-3.2.0-alt1.2.nosrc.rpm Installing ziproxy-3.2.0-alt1.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19388 + 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 #0 (ziproxy-3.2.0-alt-libpng15.patch):' Patch #0 (ziproxy-3.2.0-alt-libpng15.patch): + /usr/bin/patch -p2 patching file src/image.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.19388 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ziproxy + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --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 for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-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... x86_64-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 for int... yes checking size of int... 4 checking for long int... yes checking size of long int... 8 checking for long long int... yes checking size of long long int... 8 checking for function prototypes... yes checking whether setvbuf arguments are reversed... no 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 strstr... yes checking for strtol... yes 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 + make make: Entering directory '/usr/src/RPM/BUILD/ziproxy' Making all in . make[1]: Entering directory '/usr/src/RPM/BUILD/ziproxy' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ziproxy' Making all in src make[1]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' make all-recursive make[2]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' Making all in tools make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src/tools' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../src -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] 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] 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] fgets (log_line, LINE_BUFFER - 1, goptions->in_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c ziproxy.c ziproxy.c: In function 'sigcatch': ziproxy.c:445:3: warning: 'sigflag' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] 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] if ( connect( sockfd, (struct sockaddr*) &sa[sa_entries], sa_len ) >= 0 ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] inlen = hopt_pack_html (inbuf, inlen, inbuf, hopt_flags); ^~~~~ In file included from http.c:62: htmlopt.h:44:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] inlen = hopt_pack_html (inbuf, inlen, inbuf, hopt_flags); ^~~~~ In file included from http.c:62: htmlopt.h:44:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] inlen = hopt_pack_css (inbuf, inlen, inbuf); ^~~~~ In file included from http.c:62: htmlopt.h:42:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] inlen = hopt_pack_css (inbuf, inlen, inbuf); ^~~~~ In file included from http.c:62: htmlopt.h:42:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] inlen = hopt_pack_javascript (inbuf, inlen, inbuf); ^~~~~ In file included from http.c:62: htmlopt.h:43:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] inlen = hopt_pack_javascript (inbuf, inlen, inbuf); ^~~~~ In file included from http.c:62: htmlopt.h:43:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] exit; ^~~~ http.c:1317:5: warning: statement with no effect [-Wunused-value] exit; ^~~~ http.c:1336:6: warning: statement with no effect [-Wunused-value] exit; ^~~~ http.c:1362:4: warning: statement with no effect [-Wunused-value] 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] 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] fscanf (from, "%x", &pending_chunk_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:1286:5: warning: ignoring return value of 'feof', declared with attribute warn_unused_result [-Wunused-result] 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] fgets(line, 5, sockrfp); ^~~~~~~~~~~~~~~~~~~~~~~ http.c:1414:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line+n, sizeof(line), sockrfp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c log.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] 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] fread(*outbuf, *outlen, 1, file_unpack); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c image.c image.c: In function 'compress_image': image.c:454:4: warning: enumeration value 'OTHER_CONTENT' not handled in switch [-Wswitch] 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] if ((insize < 8) || png_sig_cmp (inbuf, (png_size_t) 0, 8)) ^~~~~ 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 *' 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] png_set_tRNS (png_ptr, info_ptr, tr, bmp->opt_pal_transp, NULL); ^~ 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 *' 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] png_set_tRNS (png_ptr, info_ptr, tr, bmp->pal_entries, NULL); ^~ 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 *' PNG_EXPORT(167, void, png_set_tRNS, (png_structrp png_ptr, ^~~~~~~~~~ image.c:714:15: warning: unused variable 'transcol' [-Wunused-variable] png_color_16 transcol; ^~~~~~~~ image.c: In function 'jpeg_src_init': image.c:1104:32: warning: pointer targets in assignment from 'char *' to 'const JOCTET *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] dinfo-> src ->next_input_byte = desc->buf; ^ image.c: In function 'jpeg_src_skip_input': image.c:1120:32: warning: pointer targets in assignment from 'char *' to 'const JOCTET *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] dinfo->src->next_input_byte = &desc->x.jpeg_unexpected_end; ^ image.c: In function 'jpg2bitmap': image.c:1197:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BufferP=bmp->bitmap; ^ image.c: In function 'bitmap2jpg': image.c:1253:27: warning: pointer targets in assignment from 'char *' to 'JOCTET *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] memdest.next_output_byte = *outb = malloc (sizeof (char *) * outb_size); ^ image.c: In function 'bitmap2jp2': image.c:1850:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] *outb = jmem->buf_; ^ image.c:1688:39: warning: variable 'pos3' set but not used [-Wunused-but-set-variable] 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:1688:28: warning: variable 'pos2' set but not used [-Wunused-but-set-variable] 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:1688:17: warning: variable 'pos1' set but not used [-Wunused-but-set-variable] 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:1688:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 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:1872:28: warning: variable 'pos2' set but not used [-Wunused-but-set-variable] 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:1872:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 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:1645:31: warning: 'cheight' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((cwidth > 0) && (cheight > 0)) ~~~~~~~~~^~~~ image.c:1645:14: warning: 'cwidth' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((cwidth > 0) && (cheight > 0)) ~~~~~~~~^~~~ image.c: In function 'compress_image': image.c:398:16: warning: 'jpeg_q' may be used uninitialized in this function [-Wmaybe-uninitialized] jpegstatus = bitmap2jpg (bmp, jpeg_q, &buf_lossy, &buf_lossy_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c cfgfile.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] daemon (0, 0); ^~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c netd.c netd.c: In function 'main': netd.c:207:6: warning: unused variable 'debuglogdes' [-Wunused-variable] 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] if ((sock_client = accept(sock_listen, (struct sockaddr *) &gotConn, &sin_size)) < 0) { ^~~~~~~~~ In file included from netd.c:68: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] if (! WHICH_STRNCMP (rpos, "\n-->", 4)) { ^~~~~~~ In file included from htmlopt.c:29: fstring.h:64:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] strncpy_overlapping (rpos, wpos, 4); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] if (is_str_present_in_ss_comment (rpos, count, "", 3)) { ^~~~~ htmlopt.c:223:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] strncpy_overlapping ("//-->", wpos, 5); ^~~~~~~ htmlopt.c:75:6: note: expected 'const unsigned char *' but argument is of type 'char *' 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] strncpy_overlapping ("//-->", wpos, 5); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] } else if (is_str_present_in_ss_comment (rpos, count, "]]>", 3)) { ^~~~~ htmlopt.c:223:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] strncpy_overlapping ("//]]>\n", wpos, 6); ^~~~~~~~~ htmlopt.c:75:6: note: expected 'const unsigned char *' but argument is of type 'char *' 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] strncpy_overlapping ("//]]>\n", wpos, 6); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (wpos - (quote_len - 1), wpos - quote_len, quote_len - 2); ~~~~~^~~~~~~~~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' void strncpy_overlapping (const unsigned char *src, char *dst, int srclen) ^~~~~~~~~~~~~~~~~~~ htmlopt.c:643:33: warning: array subscript has type 'char' [-Wchar-subscripts] *(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] if (compare_tag (rpos + 2, "SCRIPT", 6) == 0) { ^~~~~~~~ htmlopt.c:741:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (! WHICH_STRNCMP ("", rpos, 3)) { ^~~~~ In file included from htmlopt.c:29: fstring.h:64:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (! WHICH_STRNCASECMP (closing_tag, "/SCRIPT", 7)) { ^~~~~~~~~ In file included from htmlopt.c:29: fstring.h:63:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (! WHICH_STRNCASECMP (closing_tag, "SCRIPT", 6)) { ^~~~~~~~ In file included from htmlopt.c:29: fstring.h:63:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (compare_tag (secd, "PRE", 3) == 0) { ^~~~~ htmlopt.c:741:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] c_size = return_junky_chunk_len (src, "PRE", 3); ^~~~~ htmlopt.c:994:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (compare_tag (secd, "TEXTAREA", 8) == 0) { ^~~~~~~~~~ htmlopt.c:741:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] c_size = return_junky_chunk_len (src, "TEXTAREA", 8); ^~~~~~~~~~ htmlopt.c:994:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (WHICH_STRNCMP (secd, "!--[", 4) == 0) { ^~~~~~ In file included from htmlopt.c:29: fstring.h:64:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] } else if (WHICH_STRNCMP (secd, "!--", 3) == 0) { ^~~~~ In file included from htmlopt.c:29: fstring.h:64:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] } else if (compare_tag (secd, "![CDATA[", 8) == 0) { ^~~~~~~~~~ htmlopt.c:741:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (compare_tag (secd, "STYLE", 5) == 0) { ^~~~~~~ htmlopt.c:741:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] c_size = return_junky_chunk_len (src, "STYLE", 5); ^~~~~~~ htmlopt.c:994:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] } else if (compare_tag (secd, "SCRIPT", 6) == 0) { ^~~~~~~~ htmlopt.c:741:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] c_size = return_junky_chunk_len (src, "SCRIPT", 6); ^~~~~~~~ htmlopt.c:994:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] closing_tag = "/SCRIPT"; ^ htmlopt.c:1214:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] closing_tag = "/STYLE"; ^ htmlopt.c:1219:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] closing_tag = "/PRE"; ^ htmlopt.c:1224:15: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] closing_tag = "/TEXTAREA"; ^ htmlopt.c:1239:30: warning: pointer targets in passing argument 2 of 'strncpy_overlapping' differ in signedness [-Wpointer-sign] strncpy_overlapping (src, dst, rsize1); ^~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (src + rsize1, dst + wsize1, rsize2); ~~~~^~~~~~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (src + rsize1 + rsize2, dst + wsize1 + wsize2, rsize3); ~~~~~~~~~~~~~^~~~~~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (src, dst, srclen); ^~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] if (! WHICH_STRNCMP ("", rpos, 8)) { ^~~~~~~~~~ In file included from htmlopt.c:29: fstring.h:64:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] strncpy_overlapping (rpos, wpos, rc_size); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (rpos, wpos, rc_size); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (rpos, wpos, rc_size); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (rpos, wpos, rc_size); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (rpos, wpos, rc_size); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] strncpy_overlapping (rpos, wpos, rc_size); ^~~~ htmlopt.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] *(wpos++) = *(rpos++); ~~~~~~~~~~^~~~~~~~~~~ htmlopt.c: In function 'return_javascript_body_len': htmlopt.c:863:15: warning: 'close_quote_char' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (*rpos == close_quote_char) { ^ htmlopt.c: In function 'hopt_pack_html': htmlopt.c:1280:16: warning: 'wc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] int rc_size, wc_size; ^~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c qparser.c qparser.c: In function 'remove_useless_data': qparser.c:98:19: warning: variable 'writepos2' set but not used [-Wunused-but-set-variable] char *writepos, *writepos2; ^~~~~~~~~ qparser.c: In function 'qp_init': qparser.c:649:33: warning: pointer targets in passing argument 1 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] fix_linebreaks_qp (conf_handler->filedata, conf_len, conf_handler->filedata); ~~~~~~~~~~~~^~~~~~~~~~ In file included from qparser.c:28: txtfiletools.h:30:12: note: expected 'const unsigned char *' but argument is of type 'char *' extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); ^~~~~~~~~~~~~~~~~ qparser.c:649:67: warning: pointer targets in passing argument 3 of 'fix_linebreaks_qp' differ in signedness [-Wpointer-sign] fix_linebreaks_qp (conf_handler->filedata, conf_len, conf_handler->filedata); ~~~~~~~~~~~~^~~~~~~~~~ In file included from qparser.c:28: txtfiletools.h:30:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); ^~~~~~~~~~~~~~~~~ qparser.c: In function 'qp_getconf_bool': qparser.c:777:9: warning: 'pre_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] *dst = pre_dst; ~~~~~^~~~~~~~~ qparser.c: In function 'qp_getconf_array_bool': qparser.c:803:9: warning: 'pre_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] *dst = pre_dst; ~~~~~^~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c gzpipe.c gzpipe.c: In function 'gzip_memory_stream': gzpipe.c:350:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strm.next_in = source; ^ gzpipe.c:351:19: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness [-Wpointer-sign] crc = crc32(crc, source, inlen); ^~~~~~ In file included from gzpipe.c:34: /usr/include/zlib.h:1725:23: note: expected 'const Bytef *' {aka 'const unsigned char *'} but argument is of type 'const char *' 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] fscanf (source, "%x", &pending_chunk_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzpipe.c:114:5: warning: ignoring return value of 'feof', declared with attribute warn_unused_result [-Wunused-result] 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] fscanf (source, "%x", &pending_chunk_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzpipe.c:246:5: warning: ignoring return value of 'feof', declared with attribute warn_unused_result [-Wunused-result] feof (source); ^~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c fstring.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] if (compare_tag_cd (rpos, "HTML", 4) == 0) ^~~~ cdetect.c:37:5: note: expected 'const unsigned char *' but argument is of type 'const char *' 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] if (compare_tag_cd (rpos, "HTML", 4) == 0) ^~~~~~ cdetect.c:37:5: note: expected 'const unsigned char *' but argument is of type 'char *' 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] rpos += return_chars_until_chr_cd (rpos, '>'); ^~~~ cdetect.c:62:5: note: expected 'const unsigned char *' but argument is of type 'const char *' 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] rpos += return_chars_until_chr_cd (rpos, xchar); ^~~~ cdetect.c:62:5: note: expected 'const unsigned char *' but argument is of type 'const char *' int return_chars_until_chr_cd (const unsigned char *src, const unsigned char breakpoint) ^~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] fix_linebreaks_qp (urltxt, strlen (urltxt), urltxt); ^~~~~~ In file included from urltables.c:29: txtfiletools.h:30:12: note: expected 'const unsigned char *' but argument is of type 'char *' 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] fix_linebreaks_qp (urltxt, strlen (urltxt), urltxt); ^~~~~~ In file included from urltables.c:29: txtfiletools.h:30:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, 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:106:10: warning: '__builtin_strncpy' accessing between 0 and 2147483647 bytes at offsets 0 and 7 may overlap up to 2147483640 bytes at offset [2147483646, 7] [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c txtfiletools.c txtfiletools.c: In function 'remove_junk_data': txtfiletools.c:142:19: warning: variable 'writepos2' set but not used [-Wunused-but-set-variable] 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] 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] fread (my_buff, my_filesize, 1, my_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] fix_linebreaks_qp (userpasstxt, strlen (userpasstxt), userpasstxt); ^~~~~~~~~~~ In file included from auth.c:39: txtfiletools.h:30:12: note: expected 'const unsigned char *' but argument is of type 'char *' 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] fix_linebreaks_qp (userpasstxt, strlen (userpasstxt), userpasstxt); ^~~~~~~~~~~ In file included from auth.c:39: txtfiletools.h:30:12: note: expected 'unsigned char *' but argument is of type 'char *' 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] 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 *' 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] } ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c strtables.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c 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] fix_linebreaks_qp (filedata, filedata_len, filedata); ^~~~~~~~ In file included from simplelist.c:29: txtfiletools.h:30:12: note: expected 'const unsigned char *' but argument is of type 'char *' 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] fix_linebreaks_qp (filedata, filedata_len, filedata); ^~~~~~~~ In file included from simplelist.c:29: txtfiletools.h:30:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int fix_linebreaks_qp (const unsigned char *src, int srclen, unsigned char *dst); ^~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c tosmarking.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c cttables.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c misc.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c session.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -c jp2tools.c jp2tools.c: In function 'return_downscaled_array_len': jp2tools.c:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' Making all in man make[1]: Entering directory '/usr/src/RPM/BUILD/ziproxy/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/man' make: Leaving directory '/usr/src/RPM/BUILD/ziproxy' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.61437 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ziproxy-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ziproxy-buildroot + cd ziproxy + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/ziproxy-buildroot/usr exec_prefix=/usr/src/tmp/ziproxy-buildroot/usr bindir=/usr/src/tmp/ziproxy-buildroot/usr/bin sbindir=/usr/src/tmp/ziproxy-buildroot/usr/sbin sysconfdir=/usr/src/tmp/ziproxy-buildroot/etc datadir=/usr/src/tmp/ziproxy-buildroot/usr/share includedir=/usr/src/tmp/ziproxy-buildroot/usr/include libdir=/usr/src/tmp/ziproxy-buildroot/usr/lib64 libexecdir=/usr/src/tmp/ziproxy-buildroot/usr/lib localstatedir=/usr/src/tmp/ziproxy-buildroot/var/lib sharedstatedir=/usr/src/tmp/ziproxy-buildroot/var/lib mandir=/usr/src/tmp/ziproxy-buildroot/usr/share/man infodir=/usr/src/tmp/ziproxy-buildroot/usr/share/info install make: Entering directory '/usr/src/RPM/BUILD/ziproxy' Making install in . make[1]: Entering directory '/usr/src/RPM/BUILD/ziproxy' make[2]: Entering directory '/usr/src/RPM/BUILD/ziproxy' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/ziproxy' make[1]: Leaving directory '/usr/src/RPM/BUILD/ziproxy' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' Making install in tools make[2]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src/tools' test -z "/usr/src/tmp/ziproxy-buildroot/usr/bin" || /bin/mkdir -p "/usr/src/tmp/ziproxy-buildroot/usr/bin" /bin/install -p 'ziproxylogtool' '/usr/src/tmp/ziproxy-buildroot/usr/bin/ziproxylogtool' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src/tools' make[2]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src/tools' make[2]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ziproxy/src' test -z "/usr/src/tmp/ziproxy-buildroot/usr/bin" || /bin/mkdir -p "/usr/src/tmp/ziproxy-buildroot/usr/bin" /bin/install -p 'ziproxy' '/usr/src/tmp/ziproxy-buildroot/usr/bin/ziproxy' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/src' Making install in man make[1]: Entering directory '/usr/src/RPM/BUILD/ziproxy/man' make[2]: Entering directory '/usr/src/RPM/BUILD/ziproxy/man' make[2]: Nothing to be done for 'install-exec-am'. if [ ! -d ]; then \ /bin/sh /usr/src/RPM/BUILD/ziproxy/config/install-sh -d ; \ fi for loc in ; do \ /bin/sh /usr/src/RPM/BUILD/ziproxy/config/install-sh -d /usr/src/tmp/ziproxy-buildroot/usr/share/man/$loc/man1; \ /bin/install -p -m 644 ./ziproxy.$loc.1 /usr/src/tmp/ziproxy-buildroot/usr/share/man/$loc/man1/ziproxy.1; \ /bin/install -p -m 644 ./ziproxylogtool.$loc.1 /usr/src/tmp/ziproxy-buildroot/usr/share/man/$loc/man1/ziproxylogtool.1; \ done test -z "/usr/src/tmp/ziproxy-buildroot/usr/share/man/man1" || /bin/mkdir -p "/usr/src/tmp/ziproxy-buildroot/usr/share/man/man1" /bin/install -p -m 644 './ziproxy.1' '/usr/src/tmp/ziproxy-buildroot/usr/share/man/man1/ziproxy.1' /bin/install -p -m 644 './ziproxylogtool.1' '/usr/src/tmp/ziproxy-buildroot/usr/share/man/man1/ziproxylogtool.1' make[2]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/man' make[1]: Leaving directory '/usr/src/RPM/BUILD/ziproxy/man' make: Leaving directory '/usr/src/RPM/BUILD/ziproxy' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ziproxy-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ziproxy-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/ziproxy-buildroot/ (default) Compressing files in /usr/src/tmp/ziproxy-buildroot (auto) Verifying ELF objects in /usr/src/tmp/ziproxy-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: ziproxy-3.2.0-alt1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fFm2nq find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JofmBA find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libgif.so.4()(64bit) >= set:jhe3DymTUk, libjasper.so.4()(64bit) >= set:miu9DGF5d4thdJXISnCeKRSuxOaMVafot, libjpeg.so.62()(64bit) >= set:jfvZgmfZvRVldYOagJzQb4SZ8aHwGZkDHALXv1, libm.so.6(GLIBC_2.2.5)(64bit), libpng16.so.16()(64bit) >= set:lgOKQrdlDoF4Yo9w4EZ5mLdnQQTv1mvctOp6Ku5XMrc2qScfLaKWMOeJHDBz0YsifeHKFja, libpng16.so.16(PNG16_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libsasl2.so.3()(64bit) >= set:liPTQs2s3yIx3gG10, libz.so.1()(64bit) >= set:kgb6dgbWdAhpAOUEJQTTIotoi5R, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dswaVN Creating ziproxy-debuginfo package Processing files: ziproxy-debuginfo-3.2.0-alt1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JUbJl4 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7IeFSn find-requires: running scripts (debuginfo) Requires: ziproxy = 3.2.0-alt1.2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libgif.so.4), debug64(libjasper.so.4), debug64(libjpeg.so.62), debug64(libm.so.6), debug64(libpng16.so.16), debug64(libpthread.so.0), debug64(libsasl2.so.3), debug64(libz.so.1) Adding to ziproxy-debuginfo a strict dependency on ziproxy Wrote: /usr/src/RPM/RPMS/x86_64/ziproxy-3.2.0-alt1.2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/ziproxy-debuginfo-3.2.0-alt1.2.x86_64.rpm 7.83user 2.62system 0:14.95elapsed 69%CPU (0avgtext+0avgdata 50268maxresident)k 0inputs+0outputs (0major+1083351minor)pagefaults 0swaps 11.74user 4.92system 0:21.14elapsed 78%CPU (0avgtext+0avgdata 117540maxresident)k 64inputs+0outputs (0major+1409663minor)pagefaults 0swaps