* Package: net-proxy/squidguard-1.6.0 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ldap userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * Adding group 'squid' to your system ... * - Groupid: next available * Adding user 'squid' to your system ... * - Userid: 986 * - Shell: /sbin/nologin * - Home: /var/cache/squid * - Groups: squid * - GECOS: added by portage for squidguard * - Creating /var/cache/squid in >>> Unpacking source... >>> Unpacking squidguard-1.6.0.tar.gz to /var/tmp/portage/net-proxy/squidguard-1.6.0/work >>> Source unpacked in /var/tmp/portage/net-proxy/squidguard-1.6.0/work >>> Preparing source in /var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0 ... * Applying squidguard-1.6.0-gentoo.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: squidguard-1.6.0/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0 ... ./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/squidguard-1.6.0 --htmldir=/usr/share/doc/squidguard-1.6.0/html --libdir=/usr/lib64 --with-ldap --with-db-inc=/usr/include/db5.3 --with-sg-config=/etc/squidGuard/squidGuard.conf --with-sg-logdir=/var/log/squidGuard 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 how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for lynx... false checking for perl... /usr/bin/perl 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 db.h usability... yes checking db.h presence... yes checking for db.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for unistd.h... (cached) yes checking for db.h... (cached) yes checking suppress runtime logging... no checking syslog for logging... no checking squid runtime user ... squid checking for ldap_init in -lldap... yes checking for ldap support... yes checking for mysql support... no checking for pthread_create in -lpthread... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for regcomp... yes checking for regerror... yes checking for regexec... yes checking for strdup... yes checking for strerror... yes checking for vsnprintf... yes checking for sigaction... yes checking for signal... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/main.c config.status: creating src/sgLog.c config.status: creating src/sgDiv.c config.status: creating src/sg.h config.status: creating src/sg.y config.status: creating test/Makefile config.status: creating test/test1.conf config.status: creating test/test2.conf config.status: creating samples/Makefile config.status: creating samples/sample.conf config.status: creating samples/squidGuard.cgi config.status: creating samples/squidGuard-simple.cgi config.status: creating samples/squidGuard-simple-de.cgi config.status: creating contrib/Makefile config.status: creating contrib/squidGuardRobot/squidGuardRobot config.status: creating contrib/sgclean/sgclean config.status: creating contrib/hostbyname/hostbyname config.status: creating src/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0 ... make -j1 making all in squidguard-1.6.0 make[1]: Entering directory '/var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0/src' making all in src x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c main.c x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgLog.c x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgDb.c x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c HTParse.c x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgDiv.c In file included from /usr/include/string.h:494, from sg.h:27, from sgDiv.c:19: In function ‘strncpy’, inlined from ‘parseLine’ at sgDiv.c:159:10: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgDiv.c: In function ‘parseLine’: sgDiv.c:158:22: note: length computed here 158 | size_t sz = strlen(p+ndx+1); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from sg.h:27, from sgDiv.c:19: In function ‘strncpy’, inlined from ‘parseLine’ at sgDiv.c:146:10: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgDiv.c: In function ‘parseLine’: sgDiv.c:145:22: note: length computed here 145 | size_t sz = strlen(p+ndx+1); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgFree.c sg.y:102.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 102 | %type WORD | ^~~~ sg.y:103.16-28: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 103 | %type QUOTED_STRING | ^~~~~~~~~~~~~ sg.y:105.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 105 | %type EXECCMD | ^~~~~~~ sg.y:106.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 106 | %type WEEKDAY | ^~~~~~~ sg.y:108.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 108 | %type NUMBER | ^~~~~~ sg.y:109.14-17: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 109 | %type TVAL | ^~~~ sg.y:110.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 110 | %type DVAL | ^~~~ sg.y:111.16-23: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 111 | %type DVALCRON | ^~~~~~~~ sg.y:112.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 112 | %type CHAR | ^~~~ sg.y:113.16-20: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 113 | %type SUBST | ^~~~~ sg.y:114.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 114 | %type IPADDR | ^~~~~~ sg.y:115.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 115 | %type DBHOME LOGDIR | ^~~~~~ sg.y:115.23-28: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 115 | %type DBHOME LOGDIR | ^~~~~~ sg.y:116.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 116 | %type CIDR | ^~~~ sg.y:117.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 117 | %type IPCLASS | ^~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c y.tab.c In file included from /usr/include/string.h:494, from sg.h:27, from sg.y:21: In function ‘strncpy’, inlined from ‘is_blacklisted’ at sg.y:2589:4: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg.y: In function ‘is_blacklisted’: sg.y:2581:7: note: length computed here 2581 | if (strlen(domain)+strlen(suffix)+1>MAX_BUF) | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-common -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c lex.yy.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/local/BerkeleyDB/lib -L/usr/lib -o squidGuard main.o sgLog.o sgDb.o HTParse.o sgDiv.o sgFree.o y.tab.o lex.yy.o -lpthread -lldap -L/usr/lib -ldb-5.3 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgLog.o:(.bss+0x0): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgLog.o:(.bss+0x8): multiple definition of `progname'; main.o:(.bss+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgDb.o:(.bss+0x0): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgDb.o:(.bss+0x8): multiple definition of `progname'; main.o:(.bss+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgDiv.o:(.bss+0x8): multiple definition of `progname'; main.o:(.bss+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgDiv.o:(.bss+0x0): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgFree.o:(.bss+0x0): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgFree.o:(.bss+0x8): multiple definition of `progname'; main.o:(.bss+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: y.tab.o:(.bss+0x48): multiple definition of `progname'; main.o:(.bss+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: y.tab.o:(.bss+0x40): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lex.yy.o:(.bss+0x28): multiple definition of `yyin'; y.tab.o:(.bss+0x38): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lex.yy.o:(.bss+0x20): multiple definition of `yyout'; y.tab.o:(.bss+0x30): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lex.yy.o:(.bss+0x0): multiple definition of `lineno'; main.o:(.bss+0x108): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lex.yy.o:(.bss+0x8): multiple definition of `progname'; main.o:(.bss+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc collect2: error: ld returned 1 exit status make[1]: *** [Makefile:50: squidGuard] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0/src' make: *** [Makefile:34: all] Error 1 * ERROR: net-proxy/squidguard-1.6.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/squidguard-1.6.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/squidguard-1.6.0::gentoo'`. * The complete build log is located at '/var/log/portage/net-proxy:squidguard-1.6.0:20200205-211050.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-proxy/squidguard-1.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-proxy/squidguard-1.6.0/temp/environment'. * Working directory: '/var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0' * S: '/var/tmp/portage/net-proxy/squidguard-1.6.0/work/squidguard-1.6.0'