D: [iurt_root_command] chroot
Installing /home/iurt/rpmbuild/SRPMS/ufdbguard-1.34.2-2.mga8.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yirSEl
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf ufdbGuard-1.34.2
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ufdbGuard-1.34.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ufdbGuard-1.34.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (ufdbGuard-1.34-fix-make_install.patch):'
Patch #0 (ufdbGuard-1.34-fix-make_install.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file Makefile.in
patching file src/Makefile.in
+ echo 'Patch #2 (ufdbGuard-1.33-do-not-phone-home.patch):'
Patch #2 (ufdbGuard-1.33-do-not-phone-home.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0
patching file src/ufdbGuard.conf.in
Hunk #1 succeeded at 69 (offset 8 lines).
+ echo 'Patch #3 (ufdbGuard-1.33-listen-locally.patch):'
Patch #3 (ufdbGuard-1.33-listen-locally.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0
patching file src/ufdbGuard.conf.in
Hunk #1 succeeded at 133 (offset 17 lines).
+ echo 'Patch #4 (ufdbGuard-1.34-categories.patch):'
Patch #4 (ufdbGuard-1.34-categories.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/ufdbGuard.conf.in
+ cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub .
+ perl -pi -e 's|$root = .*;|$root = /usr/share/ufdbGuard;|g' samples/URLblocked.cgi
+ perl -pi -e 's|cgibin.urlfilterdb.com|localhost:8080|g' src/ufdbGuard.conf.in
+ perl -pi -e 's|blockedhttps.urlfilterdb.com|localhost|g' src/ufdb.h.in
+ cp /home/iurt/rpmbuild/SOURCES/ReferenceManual.pdf .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.X0ly5m
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ufdbGuard-1.34.2
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ install -d /home/iurt/rpmbuild/BUILDROOT/ufdbguard-1.34.2-2.mga8.aarch64/etc/sysconfig
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ CONFIGURE_TOP=.
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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-ufdb-bindir=/usr/bin --with-ufdb-piddir=/run/ufdb --with-ufdb-mandir=/usr/share/man --with-ufdb-samplesdir=/usr/share/ufdbGuard/samples --with-ufdb-config=/etc/ufdb --with-ufdb-logdir=/var/log/ufdb --with-ufdb-dbhome=/usr/share/ufdbGuard/db --with-ufdb-imagesdir=/usr/share/ufdbGuard/images --with-ufdb-user=squid
checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes
checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed
checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-mageia-linux-gnu-g++ accepts -g... yes
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E
checking whether make sets $(MAKE)... yes
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for Linux... yes
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 for main in -lm... yes
checking for inet_pton... yes
checking for clock_gettime in -lrt... yes
checking for POSIX compliant compiler... yes
checking for library containing pthread_create... -lpthread
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for deflateEnd in -lz... yes
checking for EVP_SealInit in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for ANSI C header files... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for unistd.h... (cached) 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 strerror... yes
checking for vsprintf... yes
checking for sigaction... yes
checking for signal... yes
checking for getaddrinfo... yes
checking for getipnodebyname... no
checking for gethostbyname_r... yes
checking for getpwnam_r... yes
checking for setresuid... yes
checking for putc_unlocked... yes
checking for posix_memalign... yes
checking for pthread_setaffinity_np... yes
checking for pthread_rwlock_timedwrlock... yes
checking for pthread_rwlockattr_setkind_np... yes
checking for pthread_attr_setguardsize... yes
The pthread library supports writer rwlock preference.
The OpenSSL library is threadsafe.
checking whether SYS_sched_setaffinity is declared... yes
checking whether PR_SET_PTRACER is declared... yes
checking whether SHM_HUGETLB is declared... yes
checking whether PF_UNIX is declared... yes
checking for nslookup... no
checking for host... no
checking for dig... no
The commands "nslookup", "host" and "dig" were not found.
nslookup, host or dig is required to verify the installation procedure.
checking for wget... /usr/bin/wget
checking for gdb... /usr/bin/gdb
checking for pstack... /usr/bin/pstack
Looking for system configuration directory...
OS type is redhat and system configuration file is /etc/sysconfig/ufdbguard
NOTICE: In case that a parameter was set in /etc/init.d/ufdb, it needs to be set again
in /etc/sysconfig/ufdbguard since /etc/init.d/ufdb will be overwritten.
*******************************************************************************
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/version.h
config.status: creating src/ufdb.h
config.status: creating src/sg.h
config.status: creating src/Makefile
config.status: creating src/ufdbUpdate
config.status: creating src/ufdbDLstatus
config.status: creating src/ufdbConvertDB
config.status: creating src/ufdbGuard.conf
config.status: creating src/install_etcfiles.sh
config.status: creating src/init.ufdbguard
config.status: creating src/mtserver/Makefile
config.status: creating src/mtserver/ufdb.sh
config.status: creating src/mtserver/ufdb-pstack
config.status: creating src/mtserver/sysconfig.ufdbguard
config.status: creating doc/Makefile
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 src/config.h
user: squid use --with-ufdb-user=USER to override
config file: /etc/sysconfig/ufdbguard
config dir: /etc/ufdb use --with-ufdb-config=DIR to override
binaries dir: /usr/bin use --with-ufdb-bindir=DIR to override
pid file dir: /run/ufdb use --with-ufdb-piddir=DIR to override
man page dir: /usr/share/man use --with-ufdb-mandir=DIR to override
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
making all in ufdbGuard-1.34.2
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
making all in src
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o crypt.o crypt.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdbLookup.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c sgLog.c
sgLog.c: In function 'RotateLogfile.constprop':
sgLog.c:80:29: warning: '%d' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
80 | sprintf( newfile, "%s.%d", filename, i );
| ^~
sgLog.c:80:25: note: directive argument in the range [2, 8]
80 | sprintf( newfile, "%s.%d", filename, i );
| ^~~~~~~
sgLog.c:80:7: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
80 | sprintf( newfile, "%s.%d", filename, i );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sgLog.c:81:29: warning: '%d' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
81 | sprintf( oldfile, "%s.%d", filename, i-1 );
| ^~
sgLog.c:81:25: note: directive argument in the range [1, 7]
81 | sprintf( oldfile, "%s.%d", filename, i-1 );
| ^~~~~~~
sgLog.c:81:7: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
81 | sprintf( oldfile, "%s.%d", filename, i-1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sgLog.c:86:26: warning: '%d' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
86 | sprintf( newfile, "%s.%d", filename, 1 );
| ^~
sgLog.c:86:4: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
86 | sprintf( newfile, "%s.%d", filename, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sgLog.c: In function 'ufdbLogFatalError':
sgLog.c:372:37: warning: '%s' directive writing up to 8191 bytes into a region of size 8178 [-Wformat-overflow=]
372 | sprintf( logmsg, "\nFATAL ERROR: %s *****\n ", msg );
| ^~ ~~~
sgLog.c:372:4: note: 'sprintf' output between 24 and 8215 bytes into a destination of size 8192
372 | sprintf( logmsg, "\nFATAL ERROR: %s *****\n ", msg );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o ufdbglobals.o ufdbglobals.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_DEFAULT_SOURCE=1 -D_BSD_SOURCE=1 -c lex.yy.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdbbase.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o ufdbLogConfig.o ufdbLogConfig.c
ufdbLogConfig.c: In function 'UFDBlogConfig':
ufdbLogConfig.c:477:36: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=]
477 | strcat( line, (sprintf(nb,"%d",te->y),nb) );
| ^~
ufdbLogConfig.c:477:35: note: directive argument in the range [0, 2147483647]
477 | strcat( line, (sprintf(nb,"%d",te->y),nb) );
| ^~~~
ufdbLogConfig.c:477:24: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8
477 | strcat( line, (sprintf(nb,"%d",te->y),nb) );
| ^~~~~~~~~~~~~~~~~~~~~~
ufdbLogConfig.c:484:36: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=]
484 | strcat( line, (sprintf(nb,"%02d",te->m),nb) );
| ^~~~
ufdbLogConfig.c:484:35: note: directive argument in the range [0, 2147483647]
484 | strcat( line, (sprintf(nb,"%02d",te->m),nb) );
| ^~~~~~
ufdbLogConfig.c:484:24: note: 'sprintf' output between 3 and 11 bytes into a destination of size 8
484 | strcat( line, (sprintf(nb,"%02d",te->m),nb) );
| ^~~~~~~~~~~~~~~~~~~~~~~~
ufdbLogConfig.c:491:36: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=]
491 | strcat( line, (sprintf(nb,"%02d",te->d),nb) );
| ^~~~
ufdbLogConfig.c:491:35: note: directive argument in the range [0, 2147483647]
491 | strcat( line, (sprintf(nb,"%02d",te->d),nb) );
| ^~~~~~
ufdbLogConfig.c:491:24: note: 'sprintf' output between 3 and 11 bytes into a destination of size 8
491 | strcat( line, (sprintf(nb,"%02d",te->d),nb) );
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c engine.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o ufdbIPlist.o ufdbIPlist.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c sgDiv.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o ufdbUserlist.o ufdbUserlist.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c httpsQueue.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdbHostnames.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o ufdbhttpd.o ufdbhttpd.c
ufdbhttpd.c: In function 'RotateLogfile.constprop':
ufdbhttpd.c:83:29: warning: '%d' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
83 | sprintf( newfile, "%s.%d", filename, i );
| ^~
ufdbhttpd.c:83:25: note: directive argument in the range [2, 8]
83 | sprintf( newfile, "%s.%d", filename, i );
| ^~~~~~~
ufdbhttpd.c:83:7: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
83 | sprintf( newfile, "%s.%d", filename, i );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ufdbhttpd.c:84:29: warning: '%d' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
84 | sprintf( oldfile, "%s.%d", filename, i-1 );
| ^~
ufdbhttpd.c:84:25: note: directive argument in the range [1, 7]
84 | sprintf( oldfile, "%s.%d", filename, i-1 );
| ^~~~~~~
ufdbhttpd.c:84:7: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
84 | sprintf( oldfile, "%s.%d", filename, i-1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ufdbhttpd.c:89:26: warning: '%d' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
89 | sprintf( newfile, "%s.%d", filename, 1 );
| ^~
ufdbhttpd.c:89:4: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
89 | sprintf( newfile, "%s.%d", filename, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ufdbhttpd.c: In function 'ufdbLog':
ufdbhttpd.c:170:23: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 10 and 17 [-Wformat-overflow=]
170 | sprintf( buf, "%04d-%02d-%02d %02d:%02d:%02d",
| ^~~~
ufdbhttpd.c:170:17: note: directive argument in the range [-2147483647, 2147483647]
170 | sprintf( buf, "%04d-%02d-%02d %02d:%02d:%02d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ufdbhttpd.c:170:3: note: 'sprintf' output between 20 and 72 bytes into a destination of size 22
170 | sprintf( buf, "%04d-%02d-%02d %02d:%02d:%02d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
171 | lc.tm_year + 1900, lc.tm_mon + 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172 | lc.tm_mday, lc.tm_hour, lc.tm_min, lc.tm_sec );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ufdbhttpd.c: In function 'ufdbLogFatalError':
ufdbhttpd.c:273:30: warning: '%s' directive writing up to 8191 bytes into a region of size 8184 [-Wformat-overflow=]
273 | sprintf( logmsg, "*FATAL* %s *****", msg );
| ^~ ~~~
ufdbhttpd.c:273:4: note: 'sprintf' output between 16 and 8207 bytes into a destination of size 8192
273 | sprintf( logmsg, "*FATAL* %s *****", msg );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c -o ufdbHashtable.o ufdbHashtable.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdblib.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
cd .. && CONFIG_FILES=src/ufdb_analyse_urls.pl CONFIG_HEADERS= ./config.status
config.status: creating src/ufdb_analyse_urls.pl
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
cd .. && CONFIG_FILES=src/ufdb_analyse_users.pl CONFIG_HEADERS= ./config.status
config.status: creating src/ufdb_analyse_users.pl
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
cd .. && CONFIG_FILES=src/ufdb_top_urls.pl CONFIG_HEADERS= ./config.status
config.status: creating src/ufdb_top_urls.pl
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
cd .. && CONFIG_FILES=src/ufdb_top_users.pl CONFIG_HEADERS= ./config.status
config.status: creating src/ufdb_top_users.pl
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdbAnalyse.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ufdbAnalyse ufdbAnalyse.o ufdbglobals.o ufdblib.o ufdbbase.o crypt.o -lbz2 -lz -lrt -lm
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdbdb.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_DEFAULT_SOURCE=1 -D_BSD_SOURCE=1 -c y.tab.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c ufdbchkport.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
cd mtserver; /usr/bin/make
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
ar rc libufdbssl.a ../ufdbchkport.o ../httpsQueue.o ../ufdbHashtable.o
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
ar rc libufdbd.a ../crypt.o ../lex.yy.o ../sgDiv.o ../sgLog.o ../ufdbLogConfig.o ../ufdbLookup.o \
../ufdblib.o ../ufdbdb.o ../ufdbUserlist.o ../ufdbIPlist.o ../y.tab.o \
../ufdbbase.o ../engine.o \
../ufdbglobals.o ../ufdbHostnames.o
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -I.. -c ufdbsignal.c
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -I.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ufdbsignal ufdbsignal.o ../ufdbglobals.o ../sgLog.o ../ufdblib.o ../ufdbbase.o ../ufdbLookup.o -lrt -lm
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src/mtserver'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ufdbGuard-1.34.2/src'
aarch64-mageia-linux-gnu-gcc -I.. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -c httpserver.c
httpserver.c: In function 'ServeHttpClient':
httpserver.c:2137:51: warning: '%s' directive writing up to 8191 bytes into a region of size 8166 [-Wformat-overflow=]
2137 | sprintf( whyblocked, "blocked by ufdbGuard: url=%s", url );
| ^~ ~~~
httpserver.c:2137:3: note: 'sprintf' output between 27 and 8218 bytes into a destination of size 8192
2137 | sprintf( whyblocked, "blocked by ufdbGuard: url=%s", url );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.c:2323:4: warning: '%s' directive writing up to 8191 bytes into a region of size between 7924 and 17327 [-Wformat-overflow=]
2323 | "\r\n"
| ^~~~~~~~~~~~
......
2348 | UFDB_EXPLAIN_DENY_REASON_URL, moreInfoParams, whyblocked,
| ~~~~~~~~~~
httpserver.c:2329:31: note: format string is defined here
2329 | " "
| ^~
httpserver.c:2323:4: note: directive argument in the range [0, 9]
2323 | "\r\n"
| ^~~~~~~~~~~~
httpserver.c:2323:4: note: assuming directive output of 6 bytes
httpserver.c:2323:4: note: assuming directive output of 7 bytes
httpserver.c:2323:4: note: assuming directive output of 5 bytes
httpserver.c:2322:25: note: 'sprintf' output 941 or more bytes (assuming 55074) into a destination of size 17584
2322 | contentLength = sprintf( content,
| ^~~~~~~~~~~~~~~~~
2323 | "\r\n"
| ~~~~~~~~~~~~
2324 | "\r\n"
| ~~~~~~~~~~~~
2325 | "
\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2333 | "URL: %s
\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2334 | "
\r\n"
| ~~~~~~~~~
2335 | "%s.
\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2336 | "%s\r\n"
| ~~~~~~~~
2337 | "
\r\n"
| ~~~~~~~~~
2338 | "%s?%s%s\r\n"
| ~~~~~~~~~~~~~
2339 | "\r\n"
| ~~~~~~~~~~~~~
2340 | "\r\n"
| ~~~~~~~~~~~~~~~
2341 | "\r\n"
| ~~~~~~~~~~~~~
2342 | HTML_COMMENT
| ~~~~~~~~~~~~
2343 | "\r\n"
| ~~~~~~~~~~~~~
2344 | "\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2345 | ,
| ~
2346 | _title[lang],
| ~~~~~~~~~~~~~
2347 | bgcolor, textcolor, textcolor, textcolor, textcolor, /* body */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2348 | UFDB_EXPLAIN_DENY_REASON_URL, moreInfoParams, whyblocked,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2349 | titlesize, _forbidden[lang], /* font */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2350 | textsize, /* font */
| ~~~~~~~~~~~~~~~~~~~~~~~
2351 | _explain_1[lang], category, _explain_2[lang],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2352 | url,
| ~~~~
2353 | whyblocked, _goBack[lang],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
2354 | admin,
| ~~~~~~
2355 | _moreInfo1[lang], moreInfoParams, _moreInfo2[lang],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2356 | lang, color, mode, category, contentType2String(contentType), url );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.c:2299:4: warning: '%s' directive writing up to 8191 bytes into a region of size between 7941 and 17332 [-Wformat-overflow=]
2299 | "\r\n"
| ^~~~~~~~~~~~
......
2315 | UFDB_EXPLAIN_DENY_REASON_URL, moreInfoParams, whyblocked,
| ~~~~~~~~~~
httpserver.c:2305:31: note: format string is defined here
2305 | " "
| ^~
httpserver.c:2299:4: note: directive argument in the range [0, 9]
2299 | "\r\n"
| ^~~~~~~~~~~~
httpserver.c:2299:4: note: assuming directive output of 6 bytes
httpserver.c:2299:4: note: assuming directive output of 7 bytes
httpserver.c:2299:4: note: assuming directive output of 5 bytes
httpserver.c:2298:25: note: 'sprintf' output 782 or more bytes (assuming 27083) into a destination of size 17584
2298 | contentLength = sprintf( content,
| ^~~~~~~~~~~~~~~~~
2299 | "\r\n"
| ~~~~~~~~~~~~
2300 | "\r\n"
| ~~~~~~~~~~~~
2301 | "
\r\n"
| ~~~~~~~~~~~~
2307 | "%s\r\n"
| ~~~~~~~~~~~~~~~~~~~
2308 | "
\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~
2275 | "URL: %s
\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2276 | "
\r\n"
| ~~~~~~~~~~
2277 | "%s.
\r\n"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2278 | "
\r\n"
| ~~~~~~~~~~
2279 | "%s?%s%s\r\n"
| ~~~~~~~~~~~~~
2280 | "