<86>Dec 6 00:26:38 userdel[2869250]: delete user 'rooter' <86>Dec 6 00:26:38 userdel[2869250]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 6 00:26:38 groupadd[2869271]: group added to /etc/group: name=rooter, GID=942 <86>Dec 6 00:26:38 groupadd[2869271]: group added to /etc/gshadow: name=rooter <86>Dec 6 00:26:38 groupadd[2869271]: new group: name=rooter, GID=942 <86>Dec 6 00:26:38 useradd[2869288]: new user: name=rooter, UID=942, GID=942, home=/root, shell=/bin/bash <86>Dec 6 00:26:38 userdel[2869306]: delete user 'builder' <86>Dec 6 00:26:38 userdel[2869306]: removed group 'builder' owned by 'builder' <86>Dec 6 00:26:38 userdel[2869306]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 00:26:38 groupadd[2869326]: group added to /etc/group: name=builder, GID=943 <86>Dec 6 00:26:38 groupadd[2869326]: group added to /etc/gshadow: name=builder <86>Dec 6 00:26:38 groupadd[2869326]: new group: name=builder, GID=943 <86>Dec 6 00:26:38 useradd[2869348]: new user: name=builder, UID=943, GID=943, home=/usr/src, shell=/bin/bash warning: Macro %ubt not found warning: Macro %ubt not found <13>Dec 6 00:26:40 rpmi: libpcre16-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 6 00:26:40 rpmi: pcretest-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 6 00:26:40 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Dec 6 00:26:40 rpmi: libstdc++11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Dec 6 00:26:40 rpmi: gcc11-c++-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Dec 6 00:26:40 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Dec 6 00:26:40 rpmi: libpcre-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 6 00:26:40 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847002 installed warning: Macro %ubt not found warning: Macro %ubt not found Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/dansguardian-2.12.0.3-alt3.nosrc.rpm (w1.gzdio) warning: Macro %ubt not found warning: Macro %ubt not found Installing dansguardian-2.12.0.3-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.30199 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dansguardian-2.12.0.3 + echo 'Source #0 (dansguardian-2.12.0.3.tar):' Source #0 (dansguardian-2.12.0.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/dansguardian-2.12.0.3.tar + cd dansguardian-2.12.0.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (dansguardian-2.12.0.3-alt.patch):' Patch #1 (dansguardian-2.12.0.3-alt.patch): + /usr/bin/patch -p1 patching file configs/lists/phraselists/badwords/weighted_russian patching file configs/lists/weightedphraselist.in patching file data/scripts/systemv-init.in patching file src/NaughtyFilter.cpp patching file src/downloadmanagers/fancy.cpp + echo 'Patch #2 (dansguardian-lists-2.9.8.1.patch):' Patch #2 (dansguardian-lists-2.9.8.1.patch): + /usr/bin/patch -p0 patching file configs/lists/bannedextensionlist patching file configs/lists/bannedmimetypelist patching file configs/lists/blacklists/ads/domains patching file configs/lists/blacklists/ads/domains.processed patching file configs/lists/greysitelist Hunk #1 succeeded at 57 with fuzz 1 (offset 22 lines). + echo 'Patch #3 (dansguardian-2.10.1.1-alt-gcc4.6.patch):' Patch #3 (dansguardian-2.10.1.1-alt-gcc4.6.patch): + /usr/bin/patch -p2 patching file src/authplugins/ntlm.cpp Hunk #1 succeeded at 10 (offset -13 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.30199 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dansguardian-2.12.0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-clamd --enable-ntlm --with-logdir=/var/log/dansguardian --with-proxyuser=dansguardian --with-proxygroup=dansguardian --with-piddir=/var/run configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking whether byte ordering is bigendian... no checking if zlib should be statically linked... no checking for zlib... checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzdopen in -lz... yes yes checking for pid_t... yes checking for size_t... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for dup2... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for setuid... yes checking for setgid... yes checking for umask... yes checking for seteuid... yes checking for setreuid... yes checking for setlocale... yes checking for library containing floor... none required checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing inet_aton... none required checking for backside with both hands... no checking build os... checking build system type... x86_64-alt-linux-gnu linux-gnu checking for debug option... no checking for proxy user... yes checking for proxy group... yes checking for piddir... yes checking for logdir... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PCRE support... yes checking for PCRE... yes checking for backtrace on segfault support... no checking for large file support... yes checking for original destination IP checking support... no checking for type collision with off_t... yes checking for clamd support... yes checking for avastd support... no checking for icap support... no checking for kavd support... no checking for command-line content scanner support... no checking for fancy download manager support... yes checking for trickle download manager support... no checking for NTLM support... yes checking for iconv... yes native checking for email notification support... no configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating data/languages/Makefile config.status: creating data/scripts/Makefile config.status: creating data/scripts/bsd-init config.status: creating data/scripts/dansguardian config.status: creating data/scripts/logrotation config.status: creating data/scripts/solaris-init config.status: creating data/scripts/systemv-init config.status: creating doc/Makefile config.status: creating configs/dansguardian.conf config.status: creating configs/dansguardianf1.conf config.status: creating configs/Makefile config.status: creating configs/lists/Makefile config.status: creating configs/lists/phraselists/Makefile config.status: creating configs/lists/blacklists/Makefile config.status: creating configs/lists/bannedrooms/Makefile config.status: creating configs/lists/contentscanners/Makefile config.status: creating configs/lists/weightedphraselist config.status: creating configs/lists/exceptionphraselist config.status: creating configs/lists/bannedphraselist config.status: creating configs/lists/bannedurllist config.status: creating configs/lists/bannedsitelist config.status: creating configs/downloadmanagers/Makefile config.status: creating configs/downloadmanagers/default.conf config.status: creating configs/downloadmanagers/fancy.conf config.status: creating configs/downloadmanagers/trickle.conf config.status: creating configs/contentscanners/Makefile config.status: creating configs/contentscanners/clamdscan.conf config.status: creating configs/contentscanners/avastdscan.conf config.status: creating configs/contentscanners/icapscan.conf config.status: creating configs/contentscanners/kavdscan.conf config.status: creating configs/contentscanners/commandlinescan.conf config.status: creating configs/authplugins/Makefile config.status: creating configs/authplugins/ip.conf config.status: creating configs/lists/authplugins/Makefile config.status: creating configs/lists/downloadmanagers/Makefile config.status: creating src/Makefile config.status: creating dgconfig.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext + make -j16 make all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in . Making all in data Making all in languages make[3]: Nothing to be done for 'all'. Making all in . make[3]: Nothing to be done for 'all-am'. Making all in scripts Making all in . make[4]: Nothing to be done for 'all-am'. Making all in configs Making all in lists Making all in phraselists make[4]: Nothing to be done for 'all'. Making all in . make[4]: Nothing to be done for 'all-am'. Making all in blacklists make[4]: Nothing to be done for 'all'. Making all in authplugins Making all in . make[5]: Nothing to be done for 'all-am'. Making all in bannedrooms Making all in . make[5]: Nothing to be done for 'all-am'. Making all in contentscanners Making all in . make[5]: Nothing to be done for 'all-am'. Making all in downloadmanagers Making all in . make[5]: Nothing to be done for 'all-am'. Making all in downloadmanagers Making all in . make[4]: Nothing to be done for 'all-am'. Making all in authplugins Making all in . make[4]: Nothing to be done for 'all-am'. Making all in . make[3]: Nothing to be done for 'all-am'. Making all in contentscanners Making all in . make[4]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-FDFuncs.o `test -f 'FDFuncs.cpp' || echo './'`FDFuncs.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-UDSocket.o `test -f 'UDSocket.cpp' || echo './'`UDSocket.cpp In file included from UDSocket.hpp:13, from UDSocket.cpp:13: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ make[2]: *** [Makefile:661: dansguardian-UDSocket.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-Socket.o `test -f 'Socket.cpp' || echo './'`Socket.cpp In file included from Socket.hpp:13, from Socket.cpp:13: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ Socket.cpp: In constructor 'Socket::Socket()': Socket.cpp:52:21: warning: unused variable 'res' [-Wunused-variable] 52 | int res = setsockopt(sck, IPPROTO_TCP, TCP_NODELAY, &f, sizeof(int)); | ^~~ Socket.cpp: In constructor 'Socket::Socket(int)': Socket.cpp:76:13: warning: unused variable 'res' [-Wunused-variable] 76 | int res = setsockopt(sck, IPPROTO_TCP, TCP_NODELAY, &f, sizeof(int)); | ^~~ Socket.cpp: In constructor 'Socket::Socket(int, sockaddr_in, sockaddr_in)': Socket.cpp:102:13: warning: unused variable 'res' [-Wunused-variable] 102 | int res = setsockopt(sck, IPPROTO_TCP, TCP_NODELAY, &f, sizeof(int)); | ^~~ Socket.cpp: In member function 'int Socket::bind(int)': Socket.cpp:185:13: warning: unused variable 'res' [-Wunused-variable] 185 | int res = setsockopt(sck, SOL_SOCKET, SO_REUSEADDR, &i, sizeof(i)); | ^~~ Socket.cpp: In member function 'int Socket::bind(const string&, int)': Socket.cpp:199:13: warning: unused variable 'res' [-Wunused-variable] 199 | int res = setsockopt(sck, SOL_SOCKET, SO_REUSEADDR, &i, sizeof(i)); | ^~~ make[2]: *** [Makefile:633: dansguardian-Socket.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-BaseSocket.o `test -f 'BaseSocket.cpp' || echo './'`BaseSocket.cpp In file included from BaseSocket.cpp:28: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.cpp:213:71: error: ISO C++17 does not allow dynamic exception specifications 213 | void BaseSocket::checkForInput(int timeout, bool honour_reloadconfig) throw(std::exception) | ^~~~~ BaseSocket.cpp:252:72: error: ISO C++17 does not allow dynamic exception specifications 252 | void BaseSocket::readyForOutput(int timeout, bool honour_reloadconfig) throw(std::exception) | ^~~~~ BaseSocket.cpp:269:118: error: ISO C++17 does not allow dynamic exception specifications 269 | int BaseSocket::getLine(char *buff, int size, int timeout, bool honour_reloadconfig, bool *chopped, bool *truncated) throw(std::exception) | ^~~~~ BaseSocket.cpp:350:48: error: ISO C++17 does not allow dynamic exception specifications 350 | void BaseSocket::writeString(const char *line) throw(std::exception) | ^~~~~ BaseSocket.cpp:359:119: error: ISO C++17 does not allow dynamic exception specifications 359 | void BaseSocket::writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig) throw(std::exception) | ^~~~~ make[2]: *** [Makefile:619: dansguardian-BaseSocket.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-FDTunnel.o `test -f 'FDTunnel.cpp' || echo './'`FDTunnel.cpp In file included from Socket.hpp:13, from FDTunnel.hpp:15, from FDTunnel.cpp:29: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ make[2]: *** [Makefile:507: dansguardian-FDTunnel.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-String.o `test -f 'String.cpp' || echo './'`String.cpp String.cpp: In member function 'String String::getHostname()': String.cpp:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (hostname.contains("://")) | ^~ String.cpp:382:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 382 | if (hostname.contains("/")) | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-BackedStore.o `test -f 'BackedStore.cpp' || echo './'`BackedStore.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-RegExp.o `test -f 'RegExp.cpp' || echo './'`RegExp.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-SysV.o `test -f 'SysV.cpp' || echo './'`SysV.cpp In file included from Socket.hpp:13, from DataBuffer.hpp:10, from DownloadManager.hpp:15, from OptionContainer.hpp:11, from SysV.hpp:11, from SysV.cpp:11: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from SysV.hpp:11, from SysV.cpp:11: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:17, from OptionContainer.hpp:11, from SysV.hpp:11, from SysV.cpp:11: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from SysV.hpp:11, from SysV.cpp:11: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:675: dansguardian-SysV.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-Auth.o `test -f 'Auth.cpp' || echo './'`Auth.cpp In file included from Socket.hpp:13, from HTTPHeader.hpp:22, from Auth.hpp:16, from Auth.cpp:13: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from Auth.hpp:16, from Auth.cpp:13: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from Auth.cpp:14: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from Auth.cpp:14: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:703: dansguardian-Auth.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-HTMLTemplate.o `test -f 'HTMLTemplate.cpp' || echo './'`HTMLTemplate.cpp In file included from Socket.hpp:13, from HTMLTemplate.hpp:14, from HTMLTemplate.cpp:13: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from HTMLTemplate.cpp:16: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:17, from OptionContainer.hpp:11, from HTMLTemplate.cpp:16: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from HTMLTemplate.cpp:16: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:717: dansguardian-HTMLTemplate.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-HTTPHeader.o `test -f 'HTTPHeader.cpp' || echo './'`HTTPHeader.cpp In file included from Socket.hpp:13, from HTTPHeader.hpp:22, from HTTPHeader.cpp:11: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from HTTPHeader.cpp:11: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from HTTPHeader.cpp:13: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from HTTPHeader.cpp:13: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ HTTPHeader.cpp: At global scope: HTTPHeader.cpp:1605:86: error: ISO C++17 does not allow dynamic exception specifications 1605 | void HTTPHeader::out(Socket * peersock, Socket * sock, int sendflag, bool reconnect) throw(std::exception) | ^~~~~ make[2]: *** [Makefile:549: dansguardian-HTTPHeader.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-DataBuffer.o `test -f 'DataBuffer.cpp' || echo './'`DataBuffer.cpp In file included from Socket.hpp:13, from HTTPHeader.hpp:22, from DataBuffer.cpp:11: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DataBuffer.cpp:11: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from DataBuffer.cpp:12: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from DataBuffer.cpp:12: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ DataBuffer.cpp: At global scope: DataBuffer.cpp:239:37: error: ISO C++17 does not allow dynamic exception specifications 239 | void DataBuffer::out(Socket * sock) throw(std::exception) | ^~~~~ make[2]: *** [Makefile:535: dansguardian-DataBuffer.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-FatController.o `test -f 'FatController.cpp' || echo './'`FatController.cpp In file included from Socket.hpp:13, from DataBuffer.hpp:10, from DownloadManager.hpp:15, from OptionContainer.hpp:11, from FatController.hpp:11, from FatController.cpp:42: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from FatController.hpp:11, from FatController.cpp:42: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:17, from OptionContainer.hpp:11, from FatController.hpp:11, from FatController.cpp:42: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from FatController.hpp:11, from FatController.cpp:42: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ FatController.cpp: In function 'bool daemonise()': FatController.cpp:324:13: warning: unused variable 'dummy' [-Wunused-variable] 324 | int dummy = chdir("/"); // change working directory | ^~~~~ FatController.cpp: In function 'int ip_list_listener(std::string, bool)': FatController.cpp:1661:37: warning: unused variable 'dummy' [-Wunused-variable] 1661 | int dummy = write(statfd, usagestats.toCharArray(), usagestats.length()); | ^~~~~ make[2]: *** [Makefile:647: dansguardian-FatController.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-NaughtyFilter.o `test -f 'NaughtyFilter.cpp' || echo './'`NaughtyFilter.cpp In file included from Socket.hpp:13, from DataBuffer.hpp:10, from DownloadManager.hpp:15, from OptionContainer.hpp:11, from NaughtyFilter.cpp:12: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from NaughtyFilter.cpp:12: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:17, from OptionContainer.hpp:11, from NaughtyFilter.cpp:12: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from NaughtyFilter.cpp:12: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:563: dansguardian-NaughtyFilter.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-ConnectionHandler.o `test -f 'ConnectionHandler.cpp' || echo './'`ConnectionHandler.cpp In file included from Socket.hpp:13, from DataBuffer.hpp:10, from DownloadManager.hpp:15, from OptionContainer.hpp:11, from ConnectionHandler.hpp:12, from ConnectionHandler.cpp:9: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from ConnectionHandler.hpp:12, from ConnectionHandler.cpp:9: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:17, from OptionContainer.hpp:11, from ConnectionHandler.hpp:12, from ConnectionHandler.cpp:9: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from ConnectionHandler.hpp:12, from ConnectionHandler.cpp:9: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ ConnectionHandler.cpp: In member function 'void ConnectionHandler::handleConnection(Socket&, String&)': ConnectionHandler.cpp:1648:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1648 | std::auto_ptr part; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from ConnectionHandler.cpp:36: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ ConnectionHandler.cpp:1727:103: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] 1727 | while (offset < (ssize_t)(part->getLength() - 4)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConnectionHandler.cpp: In member function 'void ConnectionHandler::contentFilter(HTTPHeader*, HTTPHeader*, DataBuffer*, Socket*, Socket*, int*, bool*, off_t*, NaughtyFilter*, bool, int, std::deque&, std::string*, std::string*, bool*, bool*, bool, String&, String&, bool*, bool&, String*)': ConnectionHandler.cpp:3409:13: warning: unused variable 'rc' [-Wunused-variable] 3409 | int rc = 0; | ^~ make[2]: *** [Makefile:521: dansguardian-ConnectionHandler.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[2]: Entering directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' -D__CONFDIR='"/etc/dansguardian"' -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dansguardian-ListContainer.o `test -f 'ListContainer.cpp' || echo './'`ListContainer.cpp In file included from Socket.hpp:13, from DataBuffer.hpp:10, from DownloadManager.hpp:15, from OptionContainer.hpp:11, from ListContainer.cpp:15: BaseSocket.hpp:51:75: error: ISO C++17 does not allow dynamic exception specifications 51 | void checkForInput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:55:76: error: ISO C++17 does not allow dynamic exception specifications 55 | void readyForOutput(int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ BaseSocket.hpp:58:136: error: ISO C++17 does not allow dynamic exception specifications 58 | int getLine(char *buff, int size, int timeout, bool honour_reloadconfig = false, bool *chopped = NULL, bool *truncated = NULL) throw(std::exception); | ^~~~~ BaseSocket.hpp:61:44: error: ISO C++17 does not allow dynamic exception specifications 61 | void writeString(const char *line) throw(std::exception); | ^~~~~ BaseSocket.hpp:69:123: error: ISO C++17 does not allow dynamic exception specifications 69 | void writeToSockete(const char *buff, int len, unsigned int flags, int timeout, bool honour_reloadconfig = false) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:15, from OptionContainer.hpp:11, from ListContainer.cpp:15: DataBuffer.hpp:43:33: error: ISO C++17 does not allow dynamic exception specifications 43 | void out(Socket * sock) throw(std::exception); | ^~~~~ In file included from DownloadManager.hpp:17, from OptionContainer.hpp:11, from ListContainer.cpp:15: HTTPHeader.hpp:48:88: error: ISO C++17 does not allow dynamic exception specifications 48 | void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception); | ^~~~~ In file included from OptionContainer.hpp:17, from ListContainer.cpp:15: FOptionContainer.hpp: In constructor 'FOptionContainer::FOptionContainer()': FOptionContainer.hpp:309:14: warning: 'FOptionContainer::searchengine_regexp_flag' will be initialized after [-Wreorder] 309 | bool searchengine_regexp_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:86:13: warning: 'int FOptionContainer::pics_icra_nuditymalegraphic' [-Wreorder] 86 | int pics_icra_nuditymalegraphic; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ FOptionContainer.hpp:235:9: warning: when initialized here [-Wreorder] 235 | FOptionContainer(): | ^~~~~~~~~~~~~~~~ In file included from ListContainer.cpp:14: ListContainer.hpp: In constructor 'ListContainer::ListContainer()': ListContainer.hpp:110:13: warning: 'ListContainer::current_graphdata_size' will be initialized after [-Wreorder] 110 | int current_graphdata_size; | ^~~~~~~~~~~~~~~~~~~~~~ ListContainer.hpp:109:14: warning: 'int* ListContainer::realgraphdata' [-Wreorder] 109 | int *realgraphdata; | ^~~~~~~~~~~~~ ListContainer.cpp:46:1: warning: when initialized here [-Wreorder] 46 | ListContainer::ListContainer():refcount(0), parent(false), filedate(0), used(false), bannedpfiledate(0), exceptionpfiledate(0), weightedpfiledate(0), | ^~~~~~~~~~~~~ ListContainer.cpp: In member function 'String ListContainer::getListCategoryAt(int, int*)': ListContainer.cpp:1822:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1822 | if ((index >= categoryindex.size()) || (categoryindex[index] < 0)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ListContainer.cpp: In member function 'String ListContainer::getListCategoryAtD(int)': ListContainer.cpp:1836:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1836 | if ((index < 0) || (index >= listcategory.size())) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:689: dansguardian-ListContainer.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dansguardian-2.12.0.3/src' make[1]: *** [Makefile:292: all-recursive] Error 1 make: *** [Makefile:232: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.30199 (%build) RPM build errors: Macro %ubt not found Macro %ubt not found Bad exit status from /usr/src/tmp/rpm-tmp.30199 (%build) Command exited with non-zero status 1 10.38user 2.45system 0:05.67elapsed 226%CPU (0avgtext+0avgdata 138236maxresident)k 0inputs+0outputs (0major+1072760minor)pagefaults 0swaps hsh-rebuild: rebuild of `dansguardian-2.12.0.3-alt3.src.rpm' failed. Command exited with non-zero status 1 13.22user 4.58system 0:10.00elapsed 178%CPU (0avgtext+0avgdata 138236maxresident)k 0inputs+0outputs (30416major+1267344minor)pagefaults 0swaps