* Package: net-analyzer/sarg-2.3.11-r1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gd kernel_linux ldap pcre userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking sarg-2.3.11.tar.gz to /var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work/sarg-2.3.11 ... * Applying sarg-2.3.10-config.patch ... [ ok ] * Applying sarg-2.3.11-configure.patch ... [ ok ] * Applying sarg-2.3.11-format.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work/sarg-2.3.11' ... * Running autopoint --force ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running elibtoolize in: sarg-2.3.11/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work/sarg-2.3.11 ... * econf: updating sarg-2.3.11/cfgaux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sarg-2.3.11/cfgaux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/sarg-2.3.11-r1 --htmldir=/usr/share/doc/sarg-2.3.11-r1/html --libdir=/usr/lib64 --with-gd --with-ldap --with-pcre --sysconfdir=/etc/sarg/ configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for extra warnings flag in x86_64-pc-linux-gnu-gcc... yes checking for implicit-function-declaration error flag in x86_64-pc-linux-gnu-gcc... yes checking for format error flag in x86_64-pc-linux-gnu-gcc... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 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 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.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 x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/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... yes checking pcre.h presence... yes checking for pcre.h... 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/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for a sed that does not truncate output... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge 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 bzero... yes 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 struct sockaddr_storage.ss_len... no checking size of rlim_t... 8 checking whether LLONG_MAX is declared... yes using /var/www/html as the directory to install sarg-php using /usr/share/sarg/fonts as the directory of the fonts using /usr/share/sarg/images as the directory of the images checking for /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl... no checking for /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl... yes 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... yes 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work/sarg-2.3.11 ... make -j1 x86_64-pc-linux-gnu-gcc -c -I. -DBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc/sarg\" -DFONTDIR=\"/usr/share/sarg/fonts\" -DIMAGEDIR=\"/usr/share/sarg/images\" -DSARGPHPDIR=\"/var/www/html\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE_NAME=\"sarg\" -DPACKAGE_TARNAME=\"sarg\" -DPACKAGE_VERSION=\"2.3.11\" -DPACKAGE_STRING=\"sarg\ 2.3.11\" -DPACKAGE_BUG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YMLINK=1 -DHAVE_LSTAT=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_MKSTEMP=1 -DSIZEOF_RLIM_T=8 -DRLIM_STRING=\"%lli\" -DHAVE__USR_SHARE_SGML_DOCBOOK_XSL_STYLESHEETS_MANPAGES_DOCBOOK_XSL=1 -DHAVE__USR_SHARE_SGML_DOCBOOK_XSL_STYLESHEETS_HTML_ONECHUNK_XSL=1 -O2 -pipe -march=native -Wall -Wno-sign-compare -Wextra -Wno-unused-parameter -Werror=implicit-function-declaration -Werror=format util.c util.c: In function ‘fixnum’: util.c:555:20: error: ‘%s’ directive writing up to 255 bytes into a region of size 30 [-Werror=format-overflow=] sprintf(abbrev,"%s",num); ^~ ~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 1 and 256 bytes into a destination of size 30 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:571:23: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 3 [-Werror=format-truncation=] snprintf(abbrev,3,"%s",num); ^~ ~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 3 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:557:23: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 2 [-Werror=format-truncation=] snprintf(abbrev,2,"%s",num); ^~ ~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 2 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:571:23: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 3 [-Werror=format-truncation=] snprintf(abbrev,3,"%s",num); ^~ ~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 3 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:585:23: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 4 [-Werror=format-truncation=] snprintf(abbrev,4,"%s",num); ^~ ~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:585:23: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 4 [-Werror=format-truncation=] snprintf(abbrev,4,"%s",num); ^~ ~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘getperiod_buildtext’: util.c:979:50: error: ‘%s’ directive output may be truncated writing up to 39 bytes into a region of size between 0 and 39 [-Werror=format-truncation=] snprintf(period->text,sizeof(period->text),"%s-%s",text1,text2); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 2 and 80 bytes into a destination of size 40 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:980:49: error: ‘—’ directive output may be truncated writing 7 bytes into a region of size between 1 and 40 [-Werror=format-truncation=] snprintf(period->html,sizeof(period->html),"%s—%s",text1,text2); ^~~~~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 8 and 86 bytes into a destination of size 40 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘vrfydir’: util.c:1151:23: error: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 0 and 19999 [-Werror=format-overflow=] sprintf(wdir,"%s.%d",dirname2,num); ^~ util.c:1151:19: note: directive argument in the range [1, 2147483647] sprintf(wdir,"%s.%d",dirname2,num); ^~~~~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 3 and 20011 bytes into a destination of size 20000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1128:23: error: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 0 and 19999 [-Werror=format-overflow=] sprintf(wdir,"%s.%d",outdirname,num); ^~ util.c:1128:19: note: directive argument in the range [1, 2147483647] sprintf(wdir,"%s.%d",outdirname,num); ^~~~~~~ In file included from /usr/include/stdio.h:862, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 3 and 20011 bytes into a destination of size 20000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:55: util.o] Error 1 * ERROR: net-analyzer/sarg-2.3.11-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/sarg-2.3.11-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/sarg-2.3.11-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:sarg-2.3.11-r1:20180825-022301.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/sarg-2.3.11-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/sarg-2.3.11-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work/sarg-2.3.11' * S: '/var/tmp/portage/net-analyzer/sarg-2.3.11-r1/work/sarg-2.3.11'