Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/squidGuard.spec'], chrootPath='/var/lib/mock/f29-build-11086-5028/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Wrote: /builddir/build/SRPMS/squidGuard-1.4-32.fc29.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/f29-build-11086-5028/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WMSvci + 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 + echo 'Patch #3 (squidGuard-perlwarning.patch):' 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 + echo 'Patch #8 (squidGuard-1.4-20091019.patch):' 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 + /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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3USmbh + 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,-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-koji-linux-gnu --host=riscv64-koji-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-koji-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 -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 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 sgDb.c BUILDSTDERR: sgDb.c: In function 'updateProgressBar': BUILDSTDERR: sgDb.c:357:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: printf(".");fflush(stderr); 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/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 BUILDSTDERR: sgDiv.c: In function 'parseLine': BUILDSTDERR: sgDiv.c:104:3: warning: implicit declaration of function 'HTUnEscape' [-Wimplicit-function-declaration] BUILDSTDERR: 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: sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~~~~~~ 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: sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~ 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: sprintf(qbuf, "%d-%d-%d-%d-%d-%d", s->userquota.renew, s->userquota.seconds, userquota->status, userquota->time, userquota->last, userquota->consumed); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~ BUILDSTDERR: %ld 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: 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: 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:861, 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: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); 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/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 BUILDSTDERR: sg.y: In function 'sgSourceUser': BUILDSTDERR: sg.y:593:41: warning: implicit declaration of function 'setuserinfo'; did you mean 'getaddrinfo'? [-Wimplicit-function-declaration] BUILDSTDERR: sgDbUpdate(sp->userDb, user, (char *) setuserinfo(), BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: getaddrinfo BUILDSTDERR: sg.y:593:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: sgDbUpdate(sp->userDb, user, (char *) setuserinfo(), BUILDSTDERR: ^ BUILDSTDERR: sg.y: In function 'sgSourceUserList': BUILDSTDERR: sg.y:649:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: sgDbUpdate(sp->userDb, line, (char *) setuserinfo(), BUILDSTDERR: ^ BUILDSTDERR: sg.y:657:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: sgDbUpdate(sp->userDb, p, (char *) setuserinfo(), BUILDSTDERR: ^ BUILDSTDERR: sg.y: In function 'sgSourceExecUserList': BUILDSTDERR: sg.y:807:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: sgDbUpdate(sp->userDb, sc, (char *) setuserinfo(), BUILDSTDERR: ^ BUILDSTDERR: sg.y: In function 'sgFindSource': BUILDSTDERR: sg.y:1038:29: warning: unused variable 'uq' [-Wunused-variable] BUILDSTDERR: struct UserInfo uq; BUILDSTDERR: ^~ BUILDSTDERR: sg.y: In function 'sgTimeSetAcl': BUILDSTDERR: sg.y:2024:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if(rew->within == OUTSIDE) BUILDSTDERR: ^ BUILDSTDERR: sg.y: In function 'sgDoLdapSearch': BUILDSTDERR: sg.y:2712:17: warning: implicit declaration of function 'ldap_init'; did you mean 'db_init'? [-Wimplicit-function-declaration] BUILDSTDERR: if((ld = ldap_init(lud->lud_host, lud->lud_port)) == NULL) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: db_init BUILDSTDERR: sg.y:2712:15: warning: assignment to 'LDAP *' {aka 'struct ldap *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: if((ld = ldap_init(lud->lud_host, lud->lud_port)) == NULL) { BUILDSTDERR: ^ BUILDSTDERR: sg.y:2773:12: warning: implicit declaration of function 'ldap_simple_bind_s'; did you mean 'ldap_sasl_bind_s'? [-Wimplicit-function-declaration] BUILDSTDERR: if (ldap_simple_bind_s(ld, binddn, bindpass) != LDAP_SUCCESS) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ldap_sasl_bind_s BUILDSTDERR: sg.y:2776:16: warning: implicit declaration of function 'ldap_unbind'; did you mean 'ldap_unbind_ext'? [-Wimplicit-function-declaration] BUILDSTDERR: ldap_unbind(ld); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ldap_unbind_ext BUILDSTDERR: sg.y:2804:27: warning: implicit declaration of function 'ldap_get_values'; did you mean 'ldap_get_values_len'? [-Wimplicit-function-declaration] BUILDSTDERR: ldapvals = ldap_get_values(ld, ldapentry, lud->lud_attrs[0]); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ldap_get_values_len BUILDSTDERR: sg.y:2804:25: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: ldapvals = ldap_get_values(ld, ldapentry, lud->lud_attrs[0]); BUILDSTDERR: ^ BUILDSTDERR: sg.y:2808:24: warning: implicit declaration of function 'ldap_value_free'; did you mean 'ldap_value_free_len'? [-Wimplicit-function-declaration] BUILDSTDERR: ldap_value_free(ldapvals); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ldap_value_free_len 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 BUILDSTDERR: lex.yy.c:2072:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: static int input (void) BUILDSTDERR: ^~~~~ BUILDSTDERR: lex.yy.c:2029:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: static void yyunput (int c, char * yy_bp ) BUILDSTDERR: ^~~~~~~ gcc -Wl,-z,relro -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 + pushd contrib + /usr/bin/make -j4 making all in contrib ~/build/BUILD/squidGuard-1.4 + popd + tar -xzf /builddir/build/SOURCES/squidGuard-1.4-patch-20150201.tar.gz --overwrite -C samples/ --strip-components=1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aio7R3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 + cd squidGuard-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 + /usr/bin/install -p -D -m 0755 src/squidGuard /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/bin/squidGuard + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/squidGuard.logrotate /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/etc/logrotate.d/squidGuard + /usr/bin/install -p -D -m 0644 samples/sample.conf /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/etc/squid/squidGuard.conf + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/blacklists.tgz /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/var/squidGuard/blacklists.tar.gz + /usr/bin/install -p -D -m 0755 squid-getlist.html /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/etc/cron.daily/squidGuard + /usr/bin/install -p -d /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.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-32.fc29.riscv64/var/www/cgi-bin + /usr/bin/install contrib/hostbyname/hostbyname /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/bin + /usr/bin/install contrib/sgclean/sgclean /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/bin + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/squidGuard.service /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.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-32.fc29.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-32.fc29.riscv64/usr/bin/squidGuard-helper + /usr/bin/install -p -D -m 0744 /builddir/build/SOURCES/transparent-proxying-helper /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/bin/transparent-proxying-helper + tar xfz /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/var/squidGuard/blacklists.tar.gz + sed -i s,dest/adult/,blacklists/porn/,g /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.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-32.fc29.riscv64/var/www/cgi-bin + mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/var/log/squidGuard + mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/var/log/squid + ln -s ../squidGuard/squidGuard.log /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/var/log/squid/squidGuard.log + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4-32.fc29 --unique-debug-suffix -1.4-32.fc29.riscv64 --unique-debug-src-base squidGuard-1.4-32.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/squidGuard-1.4 extracting debug info from /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/bin/squidGuard /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 774 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: squidGuard-1.4-32.fc29.riscv64 BUILDSTDERR: warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/var/log/squid/squidGuard.log Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OGXwTh + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + DOCDIR=/builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/share/doc/squidGuard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/share/doc/squidGuard + cp -pr samples/sample.conf /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.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-32.fc29.riscv64/usr/share/doc/squidGuard + cp -pr samples/dest/blacklists.tar.gz /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/share/doc/squidGuard + cp -pr COPYING /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/share/doc/squidGuard + cp -pr GPL /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.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-32.fc29.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-32.fc29.riscv64/usr/share/doc/squidGuard + cp -pr doc/squidGuard.gif /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/share/doc/squidGuard + cp -pr squidGuard.conf.k12ltsp.template /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64/usr/share/doc/squidGuard + exit 0 BUILDSTDERR: warning: File listed twice: /var/www/cgi-bin/squidGuard.cgi Provides: config(squidGuard) = 1.4-32.fc29 squidGuard = 1.4-32.fc29 squidGuard(riscv-64) = 1.4-32.fc29 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: /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-32.fc29.riscv64 Provides: squidGuard-debugsource = 1.4-32.fc29 squidGuard-debugsource(riscv-64) = 1.4-32.fc29 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-32.fc29.riscv64 Provides: debuginfo(build-id) = 4ecf78043cf9d1c7de8deb5e9b1960f5984de282 squidGuard-debuginfo = 1.4-32.fc29 squidGuard-debuginfo(riscv-64) = 1.4-32.fc29 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-32.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 Wrote: /builddir/build/RPMS/squidGuard-1.4-32.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/squidGuard-debugsource-1.4-32.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/squidGuard-debuginfo-1.4-32.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0m9l4D + umask 022 + cd /builddir/build/BUILD + cd squidGuard-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/squidGuard-1.4-32.fc29.riscv64 + exit 0 Child return code was: 0