root@localhost:/home/gonzalo/sarg-2.4.0-pre1# apt install libgd-dev libbz2-dev libldap2-dev zlib1g-dev liblzma-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: bzip2-doc libbrotli-dev libdeflate-dev libexpat1-dev libfontconfig-dev libfreetype-dev libfreetype6-dev libice-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev libpng-dev libpng-tools libpthread-stubs0-dev libsm-dev libtiff-dev libtiffxx5 libvpx-dev libvpx6 libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxpm-dev libxt-dev pkg-config uuid-dev x11proto-dev xorg-sgml-doctools xtrans-dev Suggested packages: freetype2-doc libice-doc liblzma-doc libsm-doc libx11-doc libxcb-doc libxt-doc The following NEW packages will be installed: bzip2-doc libbrotli-dev libbz2-dev libdeflate-dev libexpat1-dev libfontconfig-dev libfreetype-dev libfreetype6-dev libgd-dev libice-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev libldap2-dev liblzma-dev libpng-dev libpng-tools libpthread-stubs0-dev libsm-dev libtiff-dev libtiffxx5 libvpx-dev libvpx6 libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxpm-dev libxt-dev pkg-config uuid-dev x11proto-dev xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 8817 kB of archives. After this operation, 26.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://deb.debian.org/debian bullseye/main amd64 bzip2-doc all 1.0.8-4 [514 kB] Get:2 http://security.debian.org/debian-security bullseye-security/main amd64 libtiffxx5 amd64 4.2.0-1+deb11u3 [129 kB] Get:3 http://security.debian.org/debian-security bullseye-security/main amd64 libtiff-dev amd64 4.2.0-1+deb11u3 [416 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 libbrotli-dev amd64 1.0.9-2+b2 [288 kB] Get:5 http://deb.debian.org/debian bullseye/main amd64 libbz2-dev amd64 1.0.8-4 [30.1 kB] Get:6 http://deb.debian.org/debian bullseye/main amd64 libdeflate-dev amd64 1.7-1 [46.9 kB] Get:7 http://deb.debian.org/debian bullseye/main amd64 libexpat1-dev amd64 2.2.10-2+deb11u5 [141 kB] Get:8 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB] Get:9 http://deb.debian.org/debian bullseye/main amd64 libpng-dev amd64 1.6.37-3 [298 kB] Get:10 http://deb.debian.org/debian bullseye/main amd64 libfreetype-dev amd64 2.10.4+dfsg-1+deb11u1 [571 kB] Get:11 http://deb.debian.org/debian bullseye/main amd64 libfreetype6-dev amd64 2.10.4+dfsg-1+deb11u1 [82.6 kB] Get:12 http://deb.debian.org/debian bullseye/main amd64 uuid-dev amd64 2.36.1-8+deb11u1 [99.4 kB] Get:13 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB] Get:14 http://deb.debian.org/debian bullseye/main amd64 libfontconfig-dev amd64 2.13.1-4.2 [368 kB] Get:15 http://deb.debian.org/debian bullseye/main amd64 libjpeg62-turbo-dev amd64 1:2.0.6-4 [278 kB] Get:16 http://deb.debian.org/debian bullseye/main amd64 libjpeg-dev amd64 1:2.0.6-4 [67.8 kB] Get:17 http://deb.debian.org/debian bullseye/main amd64 xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get:18 http://deb.debian.org/debian bullseye/main amd64 x11proto-dev all 2020.1-1 [594 kB] Get:19 http://deb.debian.org/debian bullseye/main amd64 libxau-dev amd64 1:1.0.9-1 [22.9 kB] Get:20 http://deb.debian.org/debian bullseye/main amd64 libxdmcp-dev amd64 1:1.1.2-3 [42.2 kB] Get:21 http://deb.debian.org/debian bullseye/main amd64 xtrans-dev all 1.4.0-1 [98.7 kB] Get:22 http://deb.debian.org/debian bullseye/main amd64 libpthread-stubs0-dev amd64 0.4-1 [5344 B] Get:23 http://deb.debian.org/debian bullseye/main amd64 libxcb1-dev amd64 1.14-3 [176 kB] Get:24 http://deb.debian.org/debian bullseye/main amd64 libx11-dev amd64 2:1.7.2-1 [841 kB] Get:25 http://deb.debian.org/debian bullseye/main amd64 libxpm-dev amd64 1:3.5.12-1 [104 kB] Get:26 http://deb.debian.org/debian bullseye/main amd64 libice-dev amd64 2:1.0.10-1 [67.1 kB] Get:27 http://deb.debian.org/debian bullseye/main amd64 libsm-dev amd64 2:1.2.3-1 [38.0 kB] Get:28 http://deb.debian.org/debian bullseye/main amd64 libxt-dev amd64 1:1.2.0-1 [407 kB] Get:29 http://deb.debian.org/debian bullseye/main amd64 libvpx6 amd64 1.9.0-1 [829 kB] Get:30 http://deb.debian.org/debian bullseye/main amd64 libvpx-dev amd64 1.9.0-1 [965 kB] Get:31 http://deb.debian.org/debian bullseye/main amd64 libjbig-dev amd64 2.1-3.1+b2 [30.5 kB] Get:32 http://deb.debian.org/debian bullseye/main amd64 liblzma-dev amd64 5.2.5-2.1~deb11u1 [229 kB] Get:33 http://deb.debian.org/debian bullseye/main amd64 libgd-dev amd64 2.3.0-2 [274 kB] Get:34 http://deb.debian.org/debian bullseye/main amd64 libldap2-dev amd64 2.4.57+dfsg-3+deb11u1 [341 kB] Get:35 http://deb.debian.org/debian bullseye/main amd64 libpng-tools amd64 1.6.37-3 [141 kB] Fetched 8817 kB in 1s (6458 kB/s) Extracting templates from packages: 100% Selecting previously unselected package bzip2-doc. (Reading database ... 76527 files and directories currently installed.) Preparing to unpack .../00-bzip2-doc_1.0.8-4_all.deb ... Unpacking bzip2-doc (1.0.8-4) ... Selecting previously unselected package libbrotli-dev:amd64. Preparing to unpack .../01-libbrotli-dev_1.0.9-2+b2_amd64.deb ... Unpacking libbrotli-dev:amd64 (1.0.9-2+b2) ... Selecting previously unselected package libbz2-dev:amd64. Preparing to unpack .../02-libbz2-dev_1.0.8-4_amd64.deb ... Unpacking libbz2-dev:amd64 (1.0.8-4) ... Selecting previously unselected package libdeflate-dev:amd64. Preparing to unpack .../03-libdeflate-dev_1.7-1_amd64.deb ... Unpacking libdeflate-dev:amd64 (1.7-1) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../04-libexpat1-dev_2.2.10-2+deb11u5_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.2.10-2+deb11u5) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../05-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ... Selecting previously unselected package libpng-dev:amd64. Preparing to unpack .../06-libpng-dev_1.6.37-3_amd64.deb ... Unpacking libpng-dev:amd64 (1.6.37-3) ... Selecting previously unselected package libfreetype-dev:amd64. Preparing to unpack .../07-libfreetype-dev_2.10.4+dfsg-1+deb11u1_amd64.deb ... Unpacking libfreetype-dev:amd64 (2.10.4+dfsg-1+deb11u1) ... Selecting previously unselected package libfreetype6-dev:amd64. Preparing to unpack .../08-libfreetype6-dev_2.10.4+dfsg-1+deb11u1_amd64.deb ... Unpacking libfreetype6-dev:amd64 (2.10.4+dfsg-1+deb11u1) ... Selecting previously unselected package uuid-dev:amd64. Preparing to unpack .../09-uuid-dev_2.36.1-8+deb11u1_amd64.deb ... Unpacking uuid-dev:amd64 (2.36.1-8+deb11u1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../10-pkg-config_0.29.2-1_amd64.deb ... Unpacking pkg-config (0.29.2-1) ... Selecting previously unselected package libfontconfig-dev:amd64. Preparing to unpack .../11-libfontconfig-dev_2.13.1-4.2_amd64.deb ... Unpacking libfontconfig-dev:amd64 (2.13.1-4.2) ... Selecting previously unselected package libjpeg62-turbo-dev:amd64. Preparing to unpack .../12-libjpeg62-turbo-dev_1%3a2.0.6-4_amd64.deb ... Unpacking libjpeg62-turbo-dev:amd64 (1:2.0.6-4) ... Selecting previously unselected package libjpeg-dev:amd64. Preparing to unpack .../13-libjpeg-dev_1%3a2.0.6-4_amd64.deb ... Unpacking libjpeg-dev:amd64 (1:2.0.6-4) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../14-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../15-x11proto-dev_2020.1-1_all.deb ... Unpacking x11proto-dev (2020.1-1) ... Selecting previously unselected package libxau-dev:amd64. Preparing to unpack .../16-libxau-dev_1%3a1.0.9-1_amd64.deb ... Unpacking libxau-dev:amd64 (1:1.0.9-1) ... Selecting previously unselected package libxdmcp-dev:amd64. Preparing to unpack .../17-libxdmcp-dev_1%3a1.1.2-3_amd64.deb ... Unpacking libxdmcp-dev:amd64 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../18-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Preparing to unpack .../19-libpthread-stubs0-dev_0.4-1_amd64.deb ... Unpacking libpthread-stubs0-dev:amd64 (0.4-1) ... Selecting previously unselected package libxcb1-dev:amd64. Preparing to unpack .../20-libxcb1-dev_1.14-3_amd64.deb ... Unpacking libxcb1-dev:amd64 (1.14-3) ... Selecting previously unselected package libx11-dev:amd64. Preparing to unpack .../21-libx11-dev_2%3a1.7.2-1_amd64.deb ... Unpacking libx11-dev:amd64 (2:1.7.2-1) ... Selecting previously unselected package libxpm-dev:amd64. Preparing to unpack .../22-libxpm-dev_1%3a3.5.12-1_amd64.deb ... Unpacking libxpm-dev:amd64 (1:3.5.12-1) ... Selecting previously unselected package libice-dev:amd64. Preparing to unpack .../23-libice-dev_2%3a1.0.10-1_amd64.deb ... Unpacking libice-dev:amd64 (2:1.0.10-1) ... Selecting previously unselected package libsm-dev:amd64. Preparing to unpack .../24-libsm-dev_2%3a1.2.3-1_amd64.deb ... Unpacking libsm-dev:amd64 (2:1.2.3-1) ... Selecting previously unselected package libxt-dev:amd64. Preparing to unpack .../25-libxt-dev_1%3a1.2.0-1_amd64.deb ... Unpacking libxt-dev:amd64 (1:1.2.0-1) ... Selecting previously unselected package libvpx6:amd64. Preparing to unpack .../26-libvpx6_1.9.0-1_amd64.deb ... Unpacking libvpx6:amd64 (1.9.0-1) ... Selecting previously unselected package libvpx-dev:amd64. Preparing to unpack .../27-libvpx-dev_1.9.0-1_amd64.deb ... Unpacking libvpx-dev:amd64 (1.9.0-1) ... Selecting previously unselected package libjbig-dev:amd64. Preparing to unpack .../28-libjbig-dev_2.1-3.1+b2_amd64.deb ... Unpacking libjbig-dev:amd64 (2.1-3.1+b2) ... Selecting previously unselected package liblzma-dev:amd64. Preparing to unpack .../29-liblzma-dev_5.2.5-2.1~deb11u1_amd64.deb ... Unpacking liblzma-dev:amd64 (5.2.5-2.1~deb11u1) ... Selecting previously unselected package libtiffxx5:amd64. Preparing to unpack .../30-libtiffxx5_4.2.0-1+deb11u3_amd64.deb ... Unpacking libtiffxx5:amd64 (4.2.0-1+deb11u3) ... Selecting previously unselected package libtiff-dev:amd64. Preparing to unpack .../31-libtiff-dev_4.2.0-1+deb11u3_amd64.deb ... Unpacking libtiff-dev:amd64 (4.2.0-1+deb11u3) ... Selecting previously unselected package libgd-dev:amd64. Preparing to unpack .../32-libgd-dev_2.3.0-2_amd64.deb ... Unpacking libgd-dev:amd64 (2.3.0-2) ... Selecting previously unselected package libldap2-dev:amd64. Preparing to unpack .../33-libldap2-dev_2.4.57+dfsg-3+deb11u1_amd64.deb ... Unpacking libldap2-dev:amd64 (2.4.57+dfsg-3+deb11u1) ... Selecting previously unselected package libpng-tools. Preparing to unpack .../34-libpng-tools_1.6.37-3_amd64.deb ... Unpacking libpng-tools (1.6.37-3) ... Setting up bzip2-doc (1.0.8-4) ... Setting up libpng-tools (1.6.37-3) ... Setting up libjbig-dev:amd64 (2.1-3.1+b2) ... Setting up libpthread-stubs0-dev:amd64 (0.4-1) ... Setting up libldap2-dev:amd64 (2.4.57+dfsg-3+deb11u1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up libexpat1-dev:amd64 (2.2.10-2+deb11u5) ... Setting up libjpeg62-turbo-dev:amd64 (1:2.0.6-4) ... Setting up uuid-dev:amd64 (2.36.1-8+deb11u1) ... Setting up pkg-config (0.29.2-1) ... Setting up liblzma-dev:amd64 (5.2.5-2.1~deb11u1) ... Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ... Setting up libvpx6:amd64 (1.9.0-1) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libdeflate-dev:amd64 (1.7-1) ... Setting up libbrotli-dev:amd64 (1.0.9-2+b2) ... Setting up libtiffxx5:amd64 (4.2.0-1+deb11u3) ... Setting up libbz2-dev:amd64 (1.0.8-4) ... Setting up x11proto-dev (2020.1-1) ... Setting up libxau-dev:amd64 (1:1.0.9-1) ... Setting up libice-dev:amd64 (2:1.0.10-1) ... Setting up libsm-dev:amd64 (2:1.2.3-1) ... Setting up libpng-dev:amd64 (1.6.37-3) ... Setting up libjpeg-dev:amd64 (1:2.0.6-4) ... Setting up libfreetype-dev:amd64 (2.10.4+dfsg-1+deb11u1) ... Setting up libxdmcp-dev:amd64 (1:1.1.2-3) ... Setting up libtiff-dev:amd64 (4.2.0-1+deb11u3) ... Setting up libvpx-dev:amd64 (1.9.0-1) ... Setting up libxcb1-dev:amd64 (1.14-3) ... Setting up libx11-dev:amd64 (2:1.7.2-1) ... Setting up libfreetype6-dev:amd64 (2.10.4+dfsg-1+deb11u1) ... Setting up libxt-dev:amd64 (1:1.2.0-1) ... Setting up libxpm-dev:amd64 (1:3.5.12-1) ... Setting up libfontconfig-dev:amd64 (2.13.1-4.2) ... Setting up libgd-dev:amd64 (2.3.0-2) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+deb11u5) ... root@localhost:/home/gonzalo/sarg-2.4.0-pre1# ./configure --prefix=/ --sysconfdir=/etc/sarg --enable-extraprotection checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for extra warnings flag in gcc... yes checking for implicit-function-declaration error flag in gcc... yes checking for format error flag in gcc... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 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 for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking sys/dirent.h usability... no checking sys/dirent.h presence... no checking for sys/dirent.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/stat.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking gdfontl.h usability... yes checking gdfontl.h presence... yes checking for gdfontl.h... yes checking gdfontt.h usability... yes checking gdfontt.h presence... yes checking for gdfontt.h... yes checking gdfonts.h usability... yes checking gdfonts.h presence... yes checking for gdfonts.h... yes checking gdfontmb.h usability... yes checking gdfontmb.h presence... yes checking for gdfontmb.h... yes checking gdfontg.h usability... yes checking gdfontg.h presence... yes checking for gdfontg.h... yes checking for gdImagePng in -lgd... yes checking ldap_cdefs.h usability... yes checking ldap_cdefs.h presence... yes checking for ldap_cdefs.h... yes checking ldap_features.h usability... yes checking ldap_features.h presence... yes checking for ldap_features.h... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for ldap_init in -lldap... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzReadOpen in -lbz2... yes checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_stream_decoder in -llzma... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for fopen64... need -D_LARGEFILE64_SOURCE checking for backtrace... yes checking for symlink... yes checking for lstat... yes checking for getnameinfo... yes checking for getaddrinfo... yes checking for mkstemp... yes checking for fnmatch... yes checking for struct sockaddr_storage.ss_len... no checking size of rlim_t... 8 checking whether LLONG_MAX is declared... yes configure: using /var/www/html as the directory to install sarg-php configure: using //share/sarg/fonts as the directory of the fonts configure: using //share/sarg/images as the directory of the images checking for format security flag in gcc... yes checking for empty body flag in gcc... yes checking for /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl... no checking for /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl... no checking for /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html/onechunk.xsl... no checking for /usr/share/sgml/docbook/xsl-stylesheets/html/onechunk.xsl... no configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: pcre.h was not found so the regexp won't be available in hostalias root@localhost:/home/gonzalo/sarg-2.4.0-pre1# make gcc -c -I. -DBINDIR=\"//bin\" -DSYSCONFDIR=\"/etc/sarg\" -DFONTDIR=\"//share/sarg/fonts\" -DIMAGEDIR=\"//share/sarg/images\" -DSARGPHPDIR=\"/var/www/html\" -DLOCALEDIR=\"//share/locale\" -DPACKAGE_NAME=\"sarg\" -DPACKAGE_TARNAME=\"sarg\" -DPACKAGE_VERSION=\"2.4.0-pre1\" -DPACKAGE_STRING=\"sarg\ 2.4.0-pre1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_DIRENT_H=1 -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_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETDB_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_CTYPE_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_STDARG_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_MATH_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETOPT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FNMATCH_H=1 -DHAVE_GD_H=1 -DHAVE_GDFONTL_H=1 -DHAVE_GDFONTT_H=1 -DHAVE_GDFONTS_H=1 -DHAVE_GDFONTMB_H=1 -DHAVE_GDFONTG_H=1 -DHAVE_LDAP_CDEFS_H=1 -DHAVE_LDAP_FEATURES_H=1 -DHAVE_LDAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_ICONV_H=1 -DHAVE_GLOB_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DHAVE_LZMA_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_FOPEN64=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_BACKTRACE=1 -DHAVE_SYMLINK=1 -DHAVE_LSTAT=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_MKSTEMP=1 -DHAVE_FNMATCH=1 -DSIZEOF_RLIM_T=8 -DRLIM_STRING=\"%lli\" -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Werror=implicit-function-declaration -Werror=format -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Werror -Wformat -Werror=format-security -Wempty-body util.c util.c: In function ‘vrfydir’: util.c:605:29: error: ‘%03d’ directive output may be truncated writing between 3 and 11 bytes into a region of size 4 [-Werror=format-truncation=] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~ util.c:605:28: note: directive argument in the range [-2147483647, 2147483647] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~~~ In file included from /usr/include/stdio.h:867, from include/conf.h:12, from util.c:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 12 bytes into a destination of size 4 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:605:29: error: ‘%03d’ directive output may be truncated writing between 3 and 11 bytes into a region of size 4 [-Werror=format-truncation=] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~ util.c:605:28: note: directive argument in the range [-2147483647, 2147483647] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~~~ In file included from /usr/include/stdio.h:867, from include/conf.h:12, from util.c:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 12 bytes into a destination of size 4 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:605:29: error: ‘%03d’ directive output may be truncated writing between 3 and 11 bytes into a region of size 4 [-Werror=format-truncation=] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~ util.c:605:28: note: directive argument in the range [-2147483647, 2147483647] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~~~ In file included from /usr/include/stdio.h:867, from include/conf.h:12, from util.c:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 12 bytes into a destination of size 4 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:605:29: error: ‘%03d’ directive output may be truncated writing between 3 and 11 bytes into a region of size 4 [-Werror=format-truncation=] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~ util.c:605:28: note: directive argument in the range [-2147483647, 2147483647] 605 | snprintf(str,sizeof(str),"%03d",month); | ^~~~~~ In file included from /usr/include/stdio.h:867, from include/conf.h:12, from util.c:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 12 bytes into a destination of size 4 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:75: util.o] Error 1