+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/webalizer.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZXhqWL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf webalizer-2.23-08 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/webalizer-2.23-08-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd webalizer-2.23-08 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #4 (webalizer-2.21-02-underrun.patch):' Patch #4 (webalizer-2.21-02-underrun.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .underrun --fuzz=0 patching file webalizer.c + echo 'Patch #6 (webalizer-2.23-05-confuser.patch):' Patch #6 (webalizer-2.23-05-confuser.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .confuser --fuzz=0 patching file webalizer.c Hunk #1 succeeded at 296 (offset 44 lines). Hunk #2 succeeded at 315 (offset 47 lines). patching file webalizer.1 Hunk #1 succeeded at 45 (offset 1 line). + echo 'Patch #9 (webalizer-2.23-05-groupvisit.patch):' Patch #9 (webalizer-2.23-05-groupvisit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .groupvisit --fuzz=0 patching file hashtab.c Hunk #2 succeeded at 181 (offset -7 lines). Hunk #3 succeeded at 191 (offset -7 lines). Hunk #4 succeeded at 212 (offset -17 lines). Hunk #5 succeeded at 246 (offset -21 lines). Hunk #6 succeeded at 256 (offset -21 lines). Hunk #7 succeeded at 852 (offset -30 lines). Hunk #8 succeeded at 881 (offset -30 lines). Hunk #9 succeeded at 906 (offset -30 lines). + echo 'Patch #10 (webalizer-2.23-08-memmove.patch):' Patch #10 (webalizer-2.23-08-memmove.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .memmove --fuzz=0 patching file dns_resolv.c patching file preserve.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ie0fNJ + umask 022 + cd /builddir/build/BUILD + cd webalizer-2.23-08 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-dns --enable-bz2 --enable-geoip checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 whether char is unsigned... yes checking for u_int64_t... yes checking whether altzone is declared... no checking for main in -l44bsd... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for main in -lm... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for main in -lz... yes checking for gzrewind in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for main in -lpng... yes checking for main in -lgd... yes checking for gdImagePng in -lgd... yes checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for main in -ldb... yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for fdatasync... yes checking for socket... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for inet_pton... yes checking for main in -lbz2... yes checking for BZ2_bzopen in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for main in -lGeoIP... yes checking GeoIP.h usability... yes checking GeoIP.h presence... yes checking for GeoIP.h... yes checking for language file... yes - english configure: creating ./config.status config.status: creating Makefile config.status: linking ./lang/webalizer_lang.english to webalizer_lang.h configure: Done. Type 'make' to continue with build. + /usr/bin/make -O -j4 gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c linklist.c gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c hashtab.c hashtab.c: In function 'new_hnode': hashtab.c:124:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_hnode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld hashtab.c: In function 'new_unode': hashtab.c:320:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_unode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld hashtab.c: In function 'new_rnode': hashtab.c:449:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_rnode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld hashtab.c: In function 'new_anode': hashtab.c:570:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_anode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld hashtab.c: In function 'new_snode': hashtab.c:689:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_snode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld hashtab.c: In function 'new_inode': hashtab.c:796:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_inode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld hashtab.c: In function 'new_dnode': hashtab.c:979:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"[new_dnode] %s (%d)",msg_big_one,strlen(str)); ~^ ~~~~~~~~~~~ %ld gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c preserve.c preserve.c: In function 'get_history': preserve.c:124:46: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] numfields = sscanf(buffer,"%d %d %llu %llu %llu %lf %d %d %llu %llu", ~~~^ %lu preserve.c:127:24: &hist[i].hit, ~~~~~~~~~~~~ preserve.c:124:51: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 6 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] numfields = sscanf(buffer,"%d %d %llu %llu %llu %lf %d %d %llu %llu", ~~~^ %lu preserve.c:128:24: &hist[i].files, ~~~~~~~~~~~~~~ preserve.c:124:56: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] numfields = sscanf(buffer,"%d %d %llu %llu %llu %lf %d %d %llu %llu", ~~~^ %lu preserve.c:129:24: &hist[i].site, ~~~~~~~~~~~~~ preserve.c:124:71: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 11 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] numfields = sscanf(buffer,"%d %d %llu %llu %llu %lf %d %d %llu %llu", ~~~^ %lu preserve.c:133:24: &hist[i].page, ~~~~~~~~~~~~~ preserve.c:124:76: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 12 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] numfields = sscanf(buffer,"%d %d %llu %llu %llu %lf %d %d %llu %llu", ~~~^ %lu preserve.c:134:24: &hist[i].visit); ~~~~~~~~~~~~~~ preserve.c:67:14: warning: variable 'numfields' set but not used [-Wunused-but-set-variable] int i,n,numfields; ^~~~~~~~~ preserve.c: In function 'put_history': preserve.c:187:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(hist_fp,"%d %d %llu %llu %llu %.0f %d %d %llu %llu\n", ~~~^ %lu preserve.c:190:26: hist[i].hit, ~~~~~~~~~~~ preserve.c:187:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(hist_fp,"%d %d %llu %llu %llu %.0f %d %d %llu %llu\n", ~~~^ %lu preserve.c:191:26: hist[i].files, ~~~~~~~~~~~~~ preserve.c:187:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(hist_fp,"%d %d %llu %llu %llu %.0f %d %d %llu %llu\n", ~~~^ %lu preserve.c:192:26: hist[i].site, ~~~~~~~~~~~~ preserve.c:187:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(hist_fp,"%d %d %llu %llu %llu %.0f %d %d %llu %llu\n", ~~~^ %lu preserve.c:196:26: hist[i].page, ~~~~~~~~~~~~ preserve.c:187:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 12 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(hist_fp,"%d %d %llu %llu %llu %.0f %d %d %llu %llu\n", ~~~^ %lu preserve.c:197:26: hist[i].visit); ~~~~~~~~~~~~~ preserve.c: In function 'save_state': preserve.c:364:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:364:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 12 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %llu %llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu preserve.c:370:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %d %d\n", ~~~^ %lu preserve.c:370:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %d %d\n", ~~~^ %lu preserve.c:370:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %llu %d %d\n", ~~~^ %lu preserve.c:377:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu tm_hit[i],tm_file[i],tm_xfer[i],tm_site[i],tm_page[i],tm_visit[i]); ~~~~~~~~~ preserve.c:377:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu tm_hit[i],tm_file[i],tm_xfer[i],tm_site[i],tm_page[i],tm_visit[i]); ~~~~~~~~~~ preserve.c:377:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu tm_hit[i],tm_file[i],tm_xfer[i],tm_site[i],tm_page[i],tm_visit[i]); ~~~~~~~~~~ preserve.c:377:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu tm_hit[i],tm_file[i],tm_xfer[i],tm_site[i],tm_page[i],tm_visit[i]); ~~~~~~~~~~ preserve.c:377:51: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu %llu %llu\n", ~~~^ %lu tm_hit[i],tm_file[i],tm_xfer[i],tm_site[i],tm_page[i],tm_visit[i]); ~~~~~~~~~~~ preserve.c:385:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu\n", ~~~^ %lu th_hit[i],th_file[i],th_xfer[i],th_page[i]); ~~~~~~~~~ preserve.c:385:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu\n", ~~~^ %lu th_hit[i],th_file[i],th_xfer[i],th_page[i]); ~~~~~~~~~~ preserve.c:385:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu %llu %.0f %llu\n", ~~~^ %lu th_hit[i],th_file[i],th_xfer[i],th_page[i]); ~~~~~~~~~~ preserve.c:393:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(buffer,"%llu\n",response[i].count); ~~~^ ~~~~~~~~~~~~~~~~~ %lu preserve.c:405:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu uptr->string, uptr->flag, uptr->count, uptr->files, ~~~~~~~~~~~ preserve.c:405:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu uptr->string, uptr->flag, uptr->count, uptr->files, ~~~~~~~~~~~ preserve.c:405:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu preserve.c:407:31: uptr->xfer, uptr->entry, uptr->exit); ~~~~~~~~~~~ preserve.c:405:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu preserve.c:407:44: uptr->xfer, uptr->entry, uptr->exit); ~~~~~~~~~~ preserve.c:422:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu hptr->string, hptr->flag, hptr->count, hptr->files, ~~~~~~~~~~~ preserve.c:422:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu hptr->string, hptr->flag, hptr->count, hptr->files, ~~~~~~~~~~~ preserve.c:422:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu preserve.c:424:31: hptr->xfer, hptr->visit, hptr->tstamp, ~~~~~~~~~~~ preserve.c:422:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu preserve.c:424:44: hptr->xfer, hptr->visit, hptr->tstamp, ~~~~~~~~~~~~ preserve.c:439:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu hptr->string, hptr->flag, hptr->count, hptr->files, ~~~~~~~~~~~ preserve.c:439:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu hptr->string, hptr->flag, hptr->count, hptr->files, ~~~~~~~~~~~ preserve.c:439:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu preserve.c:441:31: hptr->xfer, hptr->visit, hptr->tstamp, ~~~~~~~~~~~ preserve.c:439:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n%s\n", ~~~^ %lu preserve.c:441:44: hptr->xfer, hptr->visit, hptr->tstamp, ~~~~~~~~~~~~ preserve.c:458:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu\n", ~~~^ %lu rptr->string, rptr->flag, rptr->count); ~~~~~~~~~~~ preserve.c:476:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu\n", ~~~^ %lu aptr->string, aptr->flag, aptr->count); ~~~~~~~~~~~ preserve.c:492:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%llu\n", ~~~^ %lu sptr->string,sptr->count); ~~~~~~~~~~~ preserve.c:508:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu iptr->string, iptr->flag, iptr->count, iptr->files, ~~~~~~~~~~~ preserve.c:508:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu iptr->string, iptr->flag, iptr->count, iptr->files, ~~~~~~~~~~~ preserve.c:508:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu preserve.c:510:27: iptr->xfer, iptr->visit, iptr->tstamp); ~~~~~~~~~~~ preserve.c:508:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(buffer,sizeof(buffer),"%s\n%d %llu %llu %.0f %llu %llu\n", ~~~^ %lu preserve.c:510:40: iptr->xfer, iptr->visit, iptr->tstamp); ~~~~~~~~~~~~ preserve.c: In function 'restore_state': preserve.c:592:25: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu &t_hit, &t_file, &t_site, &t_url, ~~~~~~ preserve.c:592:30: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu &t_hit, &t_file, &t_site, &t_url, ~~~~~~~ preserve.c:592:35: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu &t_hit, &t_file, &t_site, &t_url, ~~~~~~~ preserve.c:592:40: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 6 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu &t_hit, &t_file, &t_site, &t_url, ~~~~~~ preserve.c:592:45: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu preserve.c:594:8: &t_ref, &t_agent, &t_xfer, &t_page, &t_visit, &t_user); ~~~~~~ preserve.c:592:50: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 8 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu preserve.c:594:16: &t_ref, &t_agent, &t_xfer, &t_page, &t_visit, &t_user); ~~~~~~~~ preserve.c:592:59: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 10 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu preserve.c:594:35: &t_ref, &t_agent, &t_xfer, &t_page, &t_visit, &t_user); ~~~~~~~ preserve.c:592:64: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 11 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu preserve.c:594:44: &t_ref, &t_agent, &t_xfer, &t_page, &t_visit, &t_user); ~~~~~~~~ preserve.c:592:69: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 12 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %llu %llu %llu %lf %llu %llu %llu", ~~~^ %lu preserve.c:594:54: &t_ref, &t_agent, &t_xfer, &t_page, &t_visit, &t_user); ~~~~~~~ preserve.c:600:25: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %d %d", ~~~^ %lu &dt_site, &ht_hit, &mh_hit, &f_day, &l_day); ~~~~~~~~ preserve.c:600:30: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %d %d", ~~~^ %lu &dt_site, &ht_hit, &mh_hit, &f_day, &l_day); ~~~~~~~ preserve.c:600:35: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %llu %d %d", ~~~^ %lu &dt_site, &ht_hit, &mh_hit, &f_day, &l_day); ~~~~~~~ preserve.c:609:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu %llu %llu", ~~~^ %lu &tm_hit[i],&tm_file[i],&tm_xfer[i],&tm_site[i],&tm_page[i], ~~~~~~~~~~ preserve.c:609:33: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu %llu %llu", ~~~^ %lu &tm_hit[i],&tm_file[i],&tm_xfer[i],&tm_site[i],&tm_page[i], ~~~~~~~~~~~ preserve.c:609:42: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 6 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu %llu %llu", ~~~^ %lu &tm_hit[i],&tm_file[i],&tm_xfer[i],&tm_site[i],&tm_page[i], ~~~~~~~~~~~ preserve.c:609:47: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu %llu %llu", ~~~^ %lu &tm_hit[i],&tm_file[i],&tm_xfer[i],&tm_site[i],&tm_page[i], ~~~~~~~~~~~ preserve.c:609:52: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 8 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu %llu %llu", ~~~^ %lu preserve.c:611:11: &tm_visit[i]); ~~~~~~~~~~~~ preserve.c:620:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu", ~~~^ %lu &th_hit[i],&th_file[i],&th_xfer[i],&th_page[i]); ~~~~~~~~~~ preserve.c:620:33: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu", ~~~^ %lu &th_hit[i],&th_file[i],&th_xfer[i],&th_page[i]); ~~~~~~~~~~~ preserve.c:620:42: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 6 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu %llu %lf %llu", ~~~^ %lu &th_hit[i],&th_file[i],&th_xfer[i],&th_page[i]); ~~~~~~~~~~~ preserve.c:629:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu",&response[i].count); ~~~^ ~~~~~~~~~~~~~~~~~~ %lu preserve.c:655:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu &t_unode.flag,&t_unode.count, ~~~~~~~~~~~~~~ preserve.c:655:33: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:657:10: &t_unode.files, &t_unode.xfer, ~~~~~~~~~~~~~~ preserve.c:655:42: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:658:10: &t_unode.entry, &t_unode.exit); ~~~~~~~~~~~~~~ preserve.c:655:47: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 8 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:658:26: &t_unode.entry, &t_unode.exit); ~~~~~~~~~~~~~ preserve.c:686:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu &t_hnode.flag,&t_hnode.count, ~~~~~~~~~~~~~~ preserve.c:686:33: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:688:10: &t_hnode.files, &t_hnode.xfer, ~~~~~~~~~~~~~~ preserve.c:686:42: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:689:10: &t_hnode.visit, &t_hnode.tstamp); ~~~~~~~~~~~~~~ preserve.c:686:47: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 8 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:689:26: &t_hnode.visit, &t_hnode.tstamp); ~~~~~~~~~~~~~~~ preserve.c:726:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu &t_hnode.flag,&t_hnode.count, ~~~~~~~~~~~~~~ preserve.c:726:33: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:728:11: &t_hnode.files, &t_hnode.xfer, ~~~~~~~~~~~~~~ preserve.c:726:42: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:729:11: &t_hnode.visit, &t_hnode.tstamp); ~~~~~~~~~~~~~~ preserve.c:726:47: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 8 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:729:27: &t_hnode.visit, &t_hnode.tstamp); ~~~~~~~~~~~~~~~ preserve.c:765:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu",&t_rnode.flag,&t_rnode.count); ~~~^ ~~~~~~~~~~~~~~ %lu preserve.c:790:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu",&t_anode.flag,&t_anode.count); ~~~^ ~~~~~~~~~~~~~~ %lu preserve.c:815:25: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%llu",&t_snode.count); ~~~^ ~~~~~~~~~~~~~~ %lu preserve.c:840:28: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu &t_inode.flag,&t_inode.count, ~~~~~~~~~~~~~~ preserve.c:840:33: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:842:10: &t_inode.files, &t_inode.xfer, ~~~~~~~~~~~~~~ preserve.c:840:42: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:843:10: &t_inode.visit, &t_inode.tstamp); ~~~~~~~~~~~~~~ preserve.c:840:47: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 8 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(buffer,"%d %llu %llu %lf %llu %llu", ~~~^ %lu preserve.c:843:26: &t_inode.visit, &t_inode.tstamp); ~~~~~~~~~~~~~~~ gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c dns_resolv.c dns_resolv.c: In function 'dns_resolver': dns_resolv.c:319:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("%llu %s ",listEntries, msg_addresses); ~~~^ %lu gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c parser.c gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c graphs.c graphs.c: In function 'year_graph6x': graphs.c:226:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(maxvaltxt, "%llu", maxval); ~~~^ %lu graphs.c:273:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(maxvaltxt, "%llu", maxval); ~~~^ %lu graphs.c: In function 'month_graph6': graphs.c:421:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(maxvaltxt, "%llu", maxval); ~~~^ %lu graphs.c:513:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(maxvaltxt, "%llu", maxval); ~~~^ %lu graphs.c: In function 'day_graph3': graphs.c:623:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] sprintf(maxvaltxt, "%llu", maxval); ~~~^ %lu graphs.c: In function 'pie_chart': graphs.c:722:59: warning: variable 'brown_or_pie4' set but not used [-Wunused-but-set-variable] int purple_or_pie1, ltgreen_or_pie2, ltpurple_or_pie3, brown_or_pie4; ^~~~~~~~~~~~~ graphs.c:722:41: warning: variable 'ltpurple_or_pie3' set but not used [-Wunused-but-set-variable] int purple_or_pie1, ltgreen_or_pie2, ltpurple_or_pie3, brown_or_pie4; ^~~~~~~~~~~~~~~~ graphs.c:722:24: warning: variable 'ltgreen_or_pie2' set but not used [-Wunused-but-set-variable] int purple_or_pie1, ltgreen_or_pie2, ltpurple_or_pie3, brown_or_pie4; ^~~~~~~~~~~~~~~ graphs.c:722:8: warning: variable 'purple_or_pie1' set but not used [-Wunused-but-set-variable] int purple_or_pie1, ltgreen_or_pie2, ltpurple_or_pie3, brown_or_pie4; ^~~~~~~~~~~~~~ gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c webalizer.c webalizer.c: In function 'main': webalizer.c:756:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"%s: %s [%llu]", ~~~^ %lu webalizer.c:987:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] if (verbose) fprintf(stderr,"%s [%llu]\n", ~~~^ %lu webalizer.c:995:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] if (verbose) fprintf(stderr,"%s [%llu]\n", ~~~^ %lu webalizer.c:1414:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stderr,"%s (%llu)",msg_bad_rec,total_rec); ~~~^ %lu webalizer.c:1466:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("%llu %s ",total_rec, msg_records); ~~~^ %lu webalizer.c:1469:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("(%llu %s",total_ignore,msg_ignored); ~~~^ %lu webalizer.c:1470:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] if (total_bad) printf(", %llu %s) ",total_bad,msg_bad); ~~~^ %lu webalizer.c:1473:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] else if (total_bad) printf("(%llu %s) ",total_bad,msg_bad); ~~~^ %lu webalizer.c: In function 'get_config': webalizer.c:1724:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 29: if (tolower(value[0])=='y') ^~ webalizer.c:1725:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' verbose=0; break; /* ReallyQuiet */ ^~~~~ webalizer.c: In function 'srch_string': webalizer.c:2163:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (*cp1!='=' && *cp1!=0) cp1++; if (*cp1!=0) cp1++; ^~~~~ webalizer.c:2163:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while (*cp1!='=' && *cp1!=0) cp1++; if (*cp1!=0) cp1++; ^~ gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c wcmgr.c wcmgr.c: In function 'list_cache': wcmgr.c:355:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("Filename: %s (%llu records)\n",in_file, t_rec); ~~~^ %lu wcmgr.c: In function 'purge_cache': wcmgr.c:489:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("%llu of %llu records purged from '%s'\n",t_exp,t_in,in_file); ~~~^ %lu wcmgr.c:489:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("%llu of %llu records purged from '%s'\n",t_exp,t_in,in_file); ~~~^ %lu wcmgr.c: In function 'stat_cache': wcmgr.c:559:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("Total Records : %llu\n",t_rec); ~~~^ %lu wcmgr.c:560:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("Total Resolved : %llu\n",t_name); ~~~^ %lu wcmgr.c:561:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("Total Unresolved : %llu\n",t_num); ~~~^ %lu wcmgr.c:562:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("Total Permanent : %llu\n",t_perm); ~~~^ %lu wcmgr.c:565:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] printf("Total over %02d days : %llu\n",rec_ttl,t_old); ~~~^ %lu wcmgr.c:566:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] if (t_err) printf("Record Size Errors : %llu\n",t_err); ~~~^ %lu wcmgr.c: In function 'import_cache': wcmgr.c:855:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] if (verbose) printf("%llu records imported into '%s' from file '%s'\n", ~~~^ %lu wcmgr.c: In function 'export_cache': wcmgr.c:939:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] if (verbose) printf("%llu records exported from '%s' to file '%s'\n", ~~~^ %lu gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o wcmgr wcmgr.o -ldb gcc -fsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DETCDIR=\"/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_SOCKET_H=1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c output.c output.c: In function 'month_total_table': output.c:529:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(out_fp,"