Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'], chrootPath='/var/lib/mock/f33-build-125766-39879/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Macro expanded in comment on line 58: %{_bindir}/chcon warning: Macro expanded in comment on line 247: %{_sysconfdir}/selinux/targeted/src/policy/domains/program/squidGuard.te warning: Macro expanded in comment on line 248: %{_sysconfdir}/selinux/targeted/src/policy/file_contexts/program/squidGuard.fc Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Wrote: /builddir/build/SRPMS/squidGuard-1.4-37.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'], chrootPath='/var/lib/mock/f33-build-125766-39879/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Macro expanded in comment on line 58: %{_bindir}/chcon warning: Macro expanded in comment on line 247: %{_sysconfdir}/selinux/targeted/src/policy/domains/program/squidGuard.te warning: Macro expanded in comment on line 248: %{_sysconfdir}/selinux/targeted/src/policy/file_contexts/program/squidGuard.fc Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VrXyMn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf squidGuard-1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/squidGuard-1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd squidGuard-1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cp /builddir/build/SOURCES/squid-getlist.html . + echo 'Patch #2 (squid-getlist.html.patch):' Patch #2 (squid-getlist.html.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=2 patching file squid-getlist.html Patch #3 (squidGuard-perlwarning.patch): + echo 'Patch #3 (squidGuard-perlwarning.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=2 patching file samples/squidGuard.cgi.in Patch #5 (squidGuard-makeinstall.patch): + echo 'Patch #5 (squidGuard-makeinstall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 patching file src/Makefile.in Hunk #1 succeeded at 122 (offset 17 lines). Patch #7 (squidGuard-1.4-20091015.patch): + echo 'Patch #7 (squidGuard-1.4-20091015.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=2 patching file src/sgLog.c Patch #8 (squidGuard-1.4-20091019.patch): + echo 'Patch #8 (squidGuard-1.4-20091019.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=2 patching file src/sgDiv.c.in patching file src/sg.h.in Patch #9 (squidGuard-1.4-db5.patch): + echo 'Patch #9 (squidGuard-1.4-db5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 patching file src/sgDb.c patch unexpectedly ends in middle of line Hunk #1 succeeded at 114 with fuzz 1. Patch #10 (squidGuard-1.4-helper-protocol.patch): + echo 'Patch #10 (squidGuard-1.4-helper-protocol.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 patching file src/main.c patching file src/sgDiv.c patching file src/sgDiv.c.in Patch #11 (squidGuard-1.4-setuserinfo.patch): + echo 'Patch #11 (squidGuard-1.4-setuserinfo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 patching file src/sgDiv.c.in patching file src/sg.y.in + /usr/bin/cp /builddir/build/SOURCES/squidGuard.conf ./squidGuard.conf.k12ltsp.template + /usr/bin/cp /builddir/build/SOURCES/update_squidguard_blacklists ./update_squidguard_blacklists.k12ltsp.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OOGIBn + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -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 --with-sg-config=/etc/squid/squidGuard.conf --with-sg-logdir=/var/log/squidGuard --with-sg-dbhome=/var/squidGuard/blacklists --with-ldap=yes 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 how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for lynx... false checking for perl... /usr/bin/perl 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 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 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 vsprintf... 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/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 + /usr/bin/make making all in squidGuard-1.4 make[1]: Entering directory '/builddir/build/BUILD/squidGuard-1.4/src' making all in src gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c main.c gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgLog.c In file included from /usr/include/string.h:495, from sg.h:27, from sgLog.c:19: In function 'strncpy', inlined from 'sgSetGlobalErrorLogFile' at sgLog.c:38:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12288 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgDb.c sgDb.c: In function 'updateProgressBar': sgDb.c:357:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 357 | if(((int)(prog*100.0) % 100) == 0) | ^~ sgDb.c:358:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 358 | printf(".");fflush(stderr); | ^~~~~~ gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c HTParse.c gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgDiv.c sgDiv.c: In function 'parseLine': sgDiv.c:104:3: warning: implicit declaration of function 'HTUnEscape' [-Wimplicit-function-declaration] 104 | HTUnEscape(field); | ^~~~~~~~~~ sgDiv.c: In function 'sgParseRedirect': sgDiv.c:695:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] 695 | sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int time_t {aka long int} | %ld sgDiv.c:695:29: warning: format '%d' expects argument of type 'int', but argument 6 has type 'time_t' {aka 'long int'} [-Wformat=] 695 | sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); | ~^ ~~~~~~~~~~~~~~~ | | | | int time_t {aka long int} | %ld sgDiv.c:695:32: warning: format '%d' expects argument of type 'int', but argument 7 has type 'time_t' {aka 'long int'} [-Wformat=] 695 | sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); | ~^ ~~~~~~~~~~~~~~~ | | | | int time_t {aka long int} | %ld In file included from /usr/include/string.h:495, from sg.h:27, from sgDiv.c:19: In function 'strncpy', inlined from 'parseLine' at sgDiv.c:158:10: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' accessing between 0 and 9223372036854775805 bytes at offsets [3, 2147483650] and [4, 2147483651] may overlap up to 9223372036854775804 bytes at offset [-9223372034707292163, 2147483650] [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseLine' at sgDiv.c:145:10: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' accessing between 0 and 9223372036854775805 bytes at offsets [3, 2147483650] and [4, 2147483651] may overlap up to 9223372036854775804 bytes at offset [-9223372034707292163, 2147483650] [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'sgParseRedirect' at sgDiv.c:748:7: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 2048 bytes from a string of length 12287 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgDiv.c: In function 'niso': sgDiv.c:863:21: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-overflow=] 863 | sprintf(buf,"%04d-%02d-%02d %02d:%02d:%02d",lc->tm_year + 1900,lc->tm_mon + 1, | ^~~~ sgDiv.c:863:15: note: directive argument in the range [-2147483647, 2147483647] 863 | sprintf(buf,"%04d-%02d-%02d %02d:%02d:%02d",lc->tm_year + 1900,lc->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from sg.h:19, from sgDiv.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 20 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgFree.c sg.y:98.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 98 | %type WORD | ^~~~ sg.y:99.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 99 | %type EXECCMD | ^~~~~~~ sg.y:100.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 100 | %type WEEKDAY | ^~~~~~~ sg.y:101.16-24: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 101 | %type LDAPDNSTR | ^~~~~~~~~ sg.y:102.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 102 | %type NUMBER | ^~~~~~ sg.y:103.14-17: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 103 | %type TVAL | ^~~~ sg.y:104.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 104 | %type DVAL | ^~~~ sg.y:105.16-23: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 105 | %type DVALCRON | ^~~~~~~~ sg.y:106.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 106 | %type CHAR | ^~~~ sg.y:107.16-20: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 107 | %type SUBST | ^~~~~ sg.y:108.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 108 | %type IPADDR | ^~~~~~ sg.y:109.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 109 | %type DBHOME LOGDIR | ^~~~~~ sg.y:109.23-28: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 109 | %type DBHOME LOGDIR | ^~~~~~ sg.y:110.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 110 | %type CIDR | ^~~~ sg.y:111.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 111 | %type IPCLASS | ^~~~~~~ gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c y.tab.c sg.y: In function 'sgFindSource': sg.y:1057:29: warning: unused variable 'uq' [-Wunused-variable] 1057 | struct UserInfo uq; | ^~ sg.y: In function 'sgTimeSetAcl': sg.y:2043:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2043 | if(rew->within == OUTSIDE) | ^ sg.y: In function 'sgDoLdapSearch': sg.y:2731:17: warning: implicit declaration of function 'ldap_init'; did you mean 'db_init'? [-Wimplicit-function-declaration] 2731 | if((ld = ldap_init(lud->lud_host, lud->lud_port)) == NULL) { | ^~~~~~~~~ | db_init sg.y:2731:15: warning: assignment to 'LDAP *' {aka 'struct ldap *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2731 | if((ld = ldap_init(lud->lud_host, lud->lud_port)) == NULL) { | ^ sg.y:2792:12: warning: implicit declaration of function 'ldap_simple_bind_s'; did you mean 'ldap_sasl_bind_s'? [-Wimplicit-function-declaration] 2792 | if (ldap_simple_bind_s(ld, binddn, bindpass) != LDAP_SUCCESS) { | ^~~~~~~~~~~~~~~~~~ | ldap_sasl_bind_s sg.y:2795:16: warning: implicit declaration of function 'ldap_unbind'; did you mean 'ldap_unbind_ext'? [-Wimplicit-function-declaration] 2795 | ldap_unbind(ld); | ^~~~~~~~~~~ | ldap_unbind_ext sg.y:2823:27: warning: implicit declaration of function 'ldap_get_values'; did you mean 'ldap_get_values_len'? [-Wimplicit-function-declaration] 2823 | ldapvals = ldap_get_values(ld, ldapentry, lud->lud_attrs[0]); | ^~~~~~~~~~~~~~~ | ldap_get_values_len sg.y:2823:25: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2823 | ldapvals = ldap_get_values(ld, ldapentry, lud->lud_attrs[0]); | ^ sg.y:2827:24: warning: implicit declaration of function 'ldap_value_free'; did you mean 'ldap_value_free_len'? [-Wimplicit-function-declaration] 2827 | ldap_value_free(ldapvals); | ^~~~~~~~~~~~~~~ | ldap_value_free_len In file included from /usr/include/string.h:495, from sg.h:27, from sg.y:21: In function 'strncpy', inlined from 'sgLogFileStat' at sg.y:480:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12288 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sgLogFileStat' at sg.y:485:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12288 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c lex.yy.c lex.yy.c:2064:16: warning: 'input' defined but not used [-Wunused-function] 2064 | #else | ^ lex.yy.c:2021:17: warning: 'yyunput' defined but not used [-Wunused-function] 2021 | | ^ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/BerkeleyDB/lib -o squidGuard main.o sgLog.o sgDb.o HTParse.o sgDiv.o sgFree.o y.tab.o lex.yy.o -lpthread -lldap -ldb making squidGuard in src make[1]: Leaving directory '/builddir/build/BUILD/squidGuard-1.4/src' make[1]: Entering directory '/builddir/build/BUILD/squidGuard-1.4/test' making all in test making all in test make[1]: Leaving directory '/builddir/build/BUILD/squidGuard-1.4/test' make[1]: Entering directory '/builddir/build/BUILD/squidGuard-1.4/samples' making all in samples make[1]: Leaving directory '/builddir/build/BUILD/squidGuard-1.4/samples' make[1]: Entering directory '/builddir/build/BUILD/squidGuard-1.4/contrib' making all in contrib make[1]: Leaving directory '/builddir/build/BUILD/squidGuard-1.4/contrib' + pushd contrib ~/build/BUILD/squidGuard-1.4/contrib ~/build/BUILD/squidGuard-1.4 + /usr/bin/make -j4 making all in contrib + popd ~/build/BUILD/squidGuard-1.4 + tar -xzf /builddir/build/SOURCES/squidGuard-1.4-patch-20150201.tar.gz --overwrite -C samples/ --strip-components=1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ALmmUm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 + cd squidGuard-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 + /usr/bin/install -p -D -m 0755 src/squidGuard /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin/squidGuard + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/squidGuard.logrotate /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/etc/logrotate.d/squidGuard + /usr/bin/install -p -D -m 0644 samples/sample.conf /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/etc/squid/squidGuard.conf + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/blacklists.tgz /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/squidGuard/blacklists.tar.gz + /usr/bin/install -p -D -m 0755 squid-getlist.html /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/etc/cron.daily/squidGuard + /usr/bin/install -p -d /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/www/cgi-bin + /usr/bin/install samples/squidGuard-simple-de.cgi samples/squidGuard-simple.cgi samples/squidGuard.cgi /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/www/cgi-bin + /usr/bin/install contrib/hostbyname/hostbyname /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin + /usr/bin/install contrib/sgclean/sgclean /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/squidGuard.service /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/lib/systemd/system/squidGuard.service + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/transparent-proxying.service /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/lib/systemd/system/transparent-proxying.service + /usr/bin/install -p -D -m 0744 /builddir/build/SOURCES/squidGuard-helper /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin/squidGuard-helper + /usr/bin/install -p -D -m 0744 /builddir/build/SOURCES/transparent-proxying-helper /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin/transparent-proxying-helper + tar xfz /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/squidGuard/blacklists.tar.gz + sed -i s,dest/adult/,blacklists/porn/,g /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/etc/squid/squidGuard.conf + /usr/bin/install -p -D -m 0644 samples/babel.de samples/babel.en samples/babel.es samples/babel.fr samples/babel.nl samples/babel.no samples/babel.ru /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/www/cgi-bin + mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/log/squidGuard + mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/log/squid + ln -s ../squidGuard/squidGuard.log /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/log/squid/squidGuard.log + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4-37.fc33 --unique-debug-suffix -1.4-37.fc33.riscv64 --unique-debug-src-base squidGuard-1.4-37.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/squidGuard-1.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin/squidGuard extracting debug info from /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/bin/squidGuard original debug info size: 484kB, size after compression: 340kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 724 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/transparent-proxying-helper from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/squidGuard-helper from /bin/bash to #!/usr/bin/bash mangling shebang in /etc/cron.daily/squidGuard from /bin/bash to #!/usr/bin/bash Processing files: squidGuard-1.4-37.fc33.riscv64 warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/var/log/squid/squidGuard.log Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gAMKnk + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + DOCDIR=/builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr samples/sample.conf /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr samples/squidGuard-simple-de.cgi samples/squidGuard-simple.cgi samples/squidGuard.cgi /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr samples/dest/blacklists.tar.gz /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr COPYING /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr GPL /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr doc/LDAPFlow.txt doc/authentication.txt doc/configuration.txt doc/configure.txt doc/expressionlist.txt doc/extended.txt doc/faq.txt doc/features.txt doc/install.txt doc/installation.txt doc/ldap-ad-tips.txt doc/ldap.txt doc/runtimeops.txt doc/troubleshoot.txt /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr doc/authentication.html doc/configuration.html doc/configure.html doc/expressionlist.html doc/extended.html doc/faq.html doc/features.html doc/index.html doc/install.html doc/installation.html doc/ldap-ad-tips.html doc/ldap.html doc/runtimeops.html doc/troubleshoot.html /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr doc/squidGuard.gif /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + cp -pr squidGuard.conf.k12ltsp.template /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64/usr/share/doc/squidGuard + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /var/www/cgi-bin/squidGuard.cgi Provides: config(squidGuard) = 1.4-37.fc33 squidGuard = 1.4-37.fc33 squidGuard(riscv-64) = 1.4-37.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/bin/bash /usr/bin/perl ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdb-5.3.so()(64bit) libldap-2.4.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(DB_File) perl(Fcntl) perl(Socket) perl(strict) rtld(GNU_HASH) Processing files: squidGuard-debugsource-1.4-37.fc33.riscv64 Provides: squidGuard-debugsource = 1.4-37.fc33 squidGuard-debugsource(riscv-64) = 1.4-37.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: squidGuard-debuginfo-1.4-37.fc33.riscv64 Provides: debuginfo(build-id) = 1184541ca54a085f77e46cca37282faaf0d22316 squidGuard-debuginfo = 1.4-37.fc33 squidGuard-debuginfo(riscv-64) = 1.4-37.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: squidGuard-debugsource(riscv-64) = 1.4-37.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 Wrote: /builddir/build/RPMS/squidGuard-debuginfo-1.4-37.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/squidGuard-debugsource-1.4-37.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/squidGuard-1.4-37.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TGCJnl + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-37.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0