Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'], chrootPath='/var/lib/mock/f31-build-109670-33935/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=986gid=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 BUILDSTDERR: warning: Macro expanded in comment on line 55: %{_bindir}/chcon BUILDSTDERR: warning: Macro expanded in comment on line 244: %{_sysconfdir}/selinux/targeted/src/policy/domains/program/squidGuard.te BUILDSTDERR: warning: Macro expanded in comment on line 245: %{_sysconfdir}/selinux/targeted/src/policy/file_contexts/program/squidGuard.fc Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1567987200 Wrote: /builddir/build/SRPMS/squidGuard-1.4-36.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'], chrootPath='/var/lib/mock/f31-build-109670-33935/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=986gid=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 BUILDSTDERR: warning: Macro expanded in comment on line 55: %{_bindir}/chcon BUILDSTDERR: warning: Macro expanded in comment on line 244: %{_sysconfdir}/selinux/targeted/src/policy/domains/program/squidGuard.te BUILDSTDERR: warning: Macro expanded in comment on line 245: %{_sysconfdir}/selinux/targeted/src/policy/file_contexts/program/squidGuard.fc Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1567987200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rVxlk8 + 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):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=2 + echo 'Patch #3 (squidGuard-perlwarning.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=2 + echo 'Patch #5 (squidGuard-makeinstall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 + echo 'Patch #7 (squidGuard-1.4-20091015.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=2 + echo 'Patch #8 (squidGuard-1.4-20091019.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=2 + echo 'Patch #9 (squidGuard-1.4-db5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 + echo 'Patch #10 (squidGuard-1.4-helper-protocol.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 + echo 'Patch #11 (squidGuard-1.4-setuserinfo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 + /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 BUILDSTDERR: ++ jobs -p + exit 0 Patch #2 (squid-getlist.html.patch): patching file squid-getlist.html Patch #3 (squidGuard-perlwarning.patch): patching file samples/squidGuard.cgi.in Patch #5 (squidGuard-makeinstall.patch): patching file src/Makefile.in Hunk #1 succeeded at 122 (offset 17 lines). Patch #7 (squidGuard-1.4-20091015.patch): patching file src/sgLog.c Patch #8 (squidGuard-1.4-20091019.patch): patching file src/sgDiv.c.in patching file src/sg.h.in Patch #9 (squidGuard-1.4-db5.patch): 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): patching file src/main.c patching file src/sgDiv.c patching file src/sgDiv.c.in Patch #11 (squidGuard-1.4-setuserinfo.patch): patching file src/sgDiv.c.in patching file src/sg.y.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DZRkY9 + 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 -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 -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 -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 -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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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 + /usr/bin/make BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from sg.h:27, BUILDSTDERR: from sgLog.c:19: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'sgSetGlobalErrorLogFile' at sgLog.c:38:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12288 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgLog.c BUILDSTDERR: 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/redhasgDb.c: In function 'updateProgressBar': BUILDSTDERR: sgDb.c:357:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 357 | if(((int)(prog*100.0) % 100) == 0) BUILDSTDERR: | ^~ BUILDSTDERR: sgDb.c:358:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 358 | printf(".");fflush(stderr); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sgDiv.c: In function 'parseLine': BUILDSTDERR: sgDiv.c:104:3: warning: implicit declaration of function 'HTUnEscape' [-Wimplicit-function-declaration] BUILDSTDERR: 104 | HTUnEscape(field); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: sgDiv.c: In function 'sgParseRedirect': BUILDSTDERR: sgDiv.c:695:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 695 | sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int time_t {aka long int} BUILDSTDERR: | %ld BUILDSTDERR: sgDiv.c:695:29: warning: format '%d' expects argument of type 'int', but argument 6 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 695 | sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int time_t {aka long int} BUILDSTDERR: | %ld BUILDSTDERR: sgDiv.c:695:32: warning: format '%d' expects argument of type 'int', but argument 7 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 695 | sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int time_t {aka long int} BUILDSTDERR: | %ld BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from sg.h:27, BUILDSTDERR: from sgDiv.c:19: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'parseLine' at sgDiv.c:158:10: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'parseLine' at sgDiv.c:145:10: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'sgParseRedirect' at sgDiv.c:748:7: BUILDSTDERR: /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] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sgDiv.c: In function 'niso': BUILDSTDERR: sgDiv.c:863:21: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-overflow=] BUILDSTDERR: 863 | sprintf(buf,"%04d-%02d-%02d %02d:%02d:%02d",lc->tm_year + 1900,lc->tm_mon + 1, BUILDSTDERR: | ^~~~ BUILDSTDERR: sgDiv.c:863:15: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: 863 | sprintf(buf,"%04d-%02d-%02d %02d:%02d:%02d",lc->tm_year + 1900,lc->tm_mon + 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from sg.h:19, BUILDSTDERR: from sgDiv.c:19: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 20 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sg.y: In function 'sgFindSource': BUILDSTDERR: sg.y:1057:29: warning: unused variable 'uq' [-Wunused-variable] BUILDSTDERR: 1057 | struct UserInfo uq; BUILDSTDERR: | ^~ BUILDSTDERR: sg.y: In function 'sgTimeSetAcl': BUILDSTDERR: sg.y:2043:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2043 | if(rew->within == OUTSIDE) BUILDSTDERR: | ^ BUILDSTDERR: sg.y: In function 'sgDoLdapSearch': BUILDSTDERR: sg.y:2731:17: warning: implicit declaration of function 'ldap_init'; did you mean 'db_init'? [-Wimplicit-function-declaration] BUILDSTDERR: 2731 | if((ld = ldap_init(lud->lud_host, lud->lud_port)) == NULL) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | db_init BUILDSTDERR: sg.y:2731:15: warning: assignment to 'LDAP *' {aka 'struct ldap *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 2731 | if((ld = ldap_init(lud->lud_host, lud->lud_port)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: sg.y:2792:12: warning: implicit declaration of function 'ldap_simple_bind_s'; did you mean 'ldap_sasl_bind_s'? [-Wimplicit-function-declaration] BUILDSTDERR: 2792 | if (ldap_simple_bind_s(ld, binddn, bindpass) != LDAP_SUCCESS) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ldap_sasl_bind_s BUILDSTDERR: sg.y:2795:16: warning: implicit declaration of function 'ldap_unbind'; did you mean 'ldap_unbind_ext'? [-Wimplicit-function-declaration] BUILDSTDERR: 2795 | ldap_unbind(ld); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | ldap_unbind_ext BUILDSTDERR: sg.y:2823:27: warning: implicit declaration of function 'ldap_get_values'; did you mean 'ldap_get_values_len'? [-Wimplicit-function-declaration] BUILDSTDERR: 2823 | ldapvals = ldap_get_values(ld, ldapentry, lud->lud_attrs[0]); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | ldap_get_values_len BUILDSTDERR: sg.y:2823:25: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 2823 | ldapvals = ldap_get_values(ld, ldapentry, lud->lud_attrs[0]); BUILDSTDERR: | ^ BUILDSTDERR: sg.y:2827:24: warning: implicit declaration of function 'ldap_value_free'; did you mean 'ldap_value_free_len'? [-Wimplicit-function-declaration] BUILDSTDERR: 2827 | ldap_value_free(ldapvals); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | ldap_value_free_len BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from sg.h:27, BUILDSTDERR: from sg.y:21: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'sgLogFileStat' at sg.y:480:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12288 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'sgLogFileStat' at sg.y:485:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12288 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lex.yy.c:2064:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 2064 | #else BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.c:2021:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 2021 | BUILDSTDERR: | ^ + pushd contrib + /usr/bin/make -j4 + popd + tar -xzf /builddir/build/SOURCES/squidGuard-1.4-patch-20150201.tar.gz --overwrite -C samples/ --strip-components=1 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 t/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgDb.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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgDiv.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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c sgFree.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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c y.tab.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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/BerkeleyDB/include -c lex.yy.c 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' ~/build/BUILD/squidGuard-1.4/contrib ~/build/BUILD/squidGuard-1.4 making all in contrib ~/build/BUILD/squidGuard-1.4 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xGqsH7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 + cd squidGuard-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 + /usr/bin/install -p -D -m 0755 src/squidGuard /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/bin/squidGuard + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/squidGuard.logrotate /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/etc/logrotate.d/squidGuard + /usr/bin/install -p -D -m 0644 samples/sample.conf /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/etc/squid/squidGuard.conf + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/blacklists.tgz /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/var/squidGuard/blacklists.tar.gz + /usr/bin/install -p -D -m 0755 squid-getlist.html /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/etc/cron.daily/squidGuard + /usr/bin/install -p -d /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.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-36.fc31.riscv64/var/www/cgi-bin + /usr/bin/install contrib/hostbyname/hostbyname /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/bin + /usr/bin/install contrib/sgclean/sgclean /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/bin + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/squidGuard.service /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.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-36.fc31.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-36.fc31.riscv64/usr/bin/squidGuard-helper + /usr/bin/install -p -D -m 0744 /builddir/build/SOURCES/transparent-proxying-helper /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/bin/transparent-proxying-helper + tar xfz /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/var/squidGuard/blacklists.tar.gz + sed -i s,dest/adult/,blacklists/porn/,g /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.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-36.fc31.riscv64/var/www/cgi-bin + mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/var/log/squidGuard + mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/var/log/squid + ln -s ../squidGuard/squidGuard.log /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/var/log/squid/squidGuard.log + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4-36.fc31 --unique-debug-suffix -1.4-36.fc31.riscv64 --unique-debug-src-base squidGuard-1.4-36.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/squidGuard-1.4 BUILDSTDERR: 769 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/bin/squidGuard extracting debug info from /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/bin/squidGuard original debug info size: 500kB, size after compression: 352kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/squidGuard-helper from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/transparent-proxying-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-36.fc31.riscv64 BUILDSTDERR: warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/var/log/squid/squidGuard.log Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IVX8G7 + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + DOCDIR=/builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/share/doc/squidGuard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/share/doc/squidGuard + cp -pr samples/sample.conf /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.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-36.fc31.riscv64/usr/share/doc/squidGuard + cp -pr samples/dest/blacklists.tar.gz /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/share/doc/squidGuard + cp -pr COPYING /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/share/doc/squidGuard + cp -pr GPL /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.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-36.fc31.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-36.fc31.riscv64/usr/share/doc/squidGuard + cp -pr doc/squidGuard.gif /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/share/doc/squidGuard + cp -pr squidGuard.conf.k12ltsp.template /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64/usr/share/doc/squidGuard + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: File listed twice: /var/www/cgi-bin/squidGuard.cgi Provides: config(squidGuard) = 1.4-36.fc31 squidGuard = 1.4-36.fc31 squidGuard(riscv-64) = 1.4-36.fc31 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-36.fc31.riscv64 Provides: squidGuard-debugsource = 1.4-36.fc31 squidGuard-debugsource(riscv-64) = 1.4-36.fc31 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-36.fc31.riscv64 Provides: debuginfo(build-id) = 70265375680b977019108f9193a8a0cbd477c0b4 squidGuard-debuginfo = 1.4-36.fc31 squidGuard-debuginfo(riscv-64) = 1.4-36.fc31 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-36.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 Wrote: /builddir/build/RPMS/squidGuard-debuginfo-1.4-36.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/squidGuard-debugsource-1.4-36.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/squidGuard-1.4-36.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Svuoa9 + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-36.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0