* Package: net-analyzer/sarg-2.3.10 * 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 userpriv usersandbox >>> Unpacking source... >>> Unpacking sarg-2.3.10.tar.gz to /var/tmp/portage/net-analyzer/sarg-2.3.10/work >>> Source unpacked in /var/tmp/portage/net-analyzer/sarg-2.3.10/work >>> Preparing source in /var/tmp/portage/net-analyzer/sarg-2.3.10/work/sarg-2.3.10 ... * Applying sarg-2.3.9-configure.patch ... [ ok ] * Applying sarg-2.3.9-configure-bash.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/sarg-2.3.10/work/sarg-2.3.10' ... * Running autopoint --force ... [ ok ] * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running elibtoolize in: sarg-2.3.10/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/sarg-2.3.10/work/sarg-2.3.10 ... * econf: updating sarg-2.3.10/cfgaux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sarg-2.3.10/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 --libdir=/usr/lib64 --with-gd --with-ldap --with-pcre --sysconfdir=/etc/sarg/ 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 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.5/ebuild-helpers/xattr/install -c 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.10/work/sarg-2.3.10 ... 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.10\" -DPACKAGE_STRING=\"sarg\ 2.3.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE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OF_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 -Wall -Wno-sign-compare -Wextra -Wno-unused-parameter -Werror=implicit-function-declaration -Werror=format util.c util.c: In function ‘extract_address_mask’: util.c:2113:18: warning: comparison of constant ‘65535’ with boolean expression is always false [-Wbool-compare] if (port_num>65535) ip_size&=~0x04; ^ util.c: In function ‘buildtime’: util.c:684:25: error: ‘%02d’ directive writing between 2 and 3 bytes into a region of size between 0 and 6 [-Werror=format-overflow=] sprintf(buf,"%02d:%02d:%02d",hor,min,sec); ^~~~ util.c:684:14: note: directive argument in the range [-59, 59] sprintf(buf,"%02d:%02d:%02d",hor,min,sec); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 9 and 16 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘fixtime’: util.c:1251:24: error: ‘%02d’ directive writing between 2 and 3 bytes into a region of size between 0 and 7 [-Werror=format-overflow=] sprintf(buf,"%d:%02d:%02d",hor,min,sec); ^~~~ util.c:1251:15: note: directive argument in the range [-59, 59] sprintf(buf,"%d:%02d:%02d",hor,min,sec); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from include/conf.h:9, from util.c:30: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 8 and 16 bytes into a destination of size 12 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.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/sarg-2.3.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/sarg-2.3.10::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:sarg-2.3.10:20171216-031045.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/sarg-2.3.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/sarg-2.3.10/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/sarg-2.3.10/work/sarg-2.3.10' * S: '/var/tmp/portage/net-analyzer/sarg-2.3.10/work/sarg-2.3.10'