=> Building news/newscache Started : Thursday, 25 JUL 2019 at 05:30:47 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/news/newscache XDG_CONFIG_HOME=/construction/news/newscache HOME=/construction/news/newscache TMPDIR="/tmp" PATH=/construction/news/newscache/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --sysconfdir=/usr/local/etc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/news/newscache XDG_CONFIG_HOME=/construction/news/newscache HOME=/construction/news/newscache TMPDIR="/tmp" PATH=/construction/news/newscache/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-pipe -O2 -fno-strict-aliasing -I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/news/newscache/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/newscache" EXAMPLESDIR="share/examples/newscache" DATADIR="share/newscache" WWWDIR="www/newscache" ETCDIR="etc/newscache" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/newscache DOCSDIR=/usr/local/share/doc/newscache EXAMPLESDIR=/usr/local/share/examples/newscache WWWDIR=/usr/local/www/newscache ETCDIR=/usr/local/etc/newscache -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.6 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The newscache port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> newscache-1.2.r.6_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> newscache-1.2.r.6_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of newscache-1.2.r.6_5 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The newscache port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by newscache-1.2.r.6_5 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The newscache port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by newscache-1.2.r.6_5 for building => SHA256 Checksum OK for NewsCache-1.2rc6.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The newscache port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by newscache-1.2.r.6_5 for building ===> Extracting for newscache-1.2.r.6_5 => SHA256 Checksum OK for NewsCache-1.2rc6.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for newscache-1.2.r.6_5 ===> Applying ports patches for newscache-1.2.r.6_5 ===> Applying dragonfly patches for newscache-1.2.r.6_5 /usr/bin/sed -i.bak -e "s,-pedantic,," -e "s,^main,int main," /construction/news/newscache/NewsCache-1.2rc6/configure.in -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> newscache-1.2.r.6_5 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_2.txz Installing autoconf-2.69_2... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: .......... done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.28.2... `-- Extracting perl5-5.28.2: .......... done Extracting autoconf-2.69_2: .......... done Message from perl5-5.28.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> newscache-1.2.r.6_5 depends on package: autoconf>=2.69 - found ===> Returning to build of newscache-1.2.r.6_5 ===> newscache-1.2.r.6_5 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_1.txz Installing automake-1.16.1_1... Extracting automake-1.16.1_1: .......... done ===> newscache-1.2.r.6_5 depends on package: automake>=1.16.1 - found ===> Returning to build of newscache-1.2.r.6_5 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> newscache-1.2.r.6_5 depends on shared library: libsocket++.so - not found ===> Installing existing package /packages/All/libsocket++-1.12.13_4.txz Installing libsocket++-1.12.13_4... Extracting libsocket++-1.12.13_4: .......... done ===> newscache-1.2.r.6_5 depends on shared library: libsocket++.so - found (/usr/local/lib/libsocket++.so) ===> Returning to build of newscache-1.2.r.6_5 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for newscache-1.2.r.6_5 aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader-2.69: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.69: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.69: WARNING: is deprecated and discouraged. autoheader-2.69: autoheader-2.69: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.69: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.69: WARNING: `acconfig.h': autoheader-2.69: autoheader-2.69: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.69: [Define if a function `main' is needed.]) autoheader-2.69: autoheader-2.69: WARNING: More sophisticated templates can also be produced, see the autoheader-2.69: WARNING: documentation. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:8: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:109: installing './compile' NServer-0.9.1/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' NServer-0.9.1/Makefile.am: installing './depcomp' NServer-0.9.1/checks/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' NVClasses-0.9.1/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') doc/Makefile.am:2: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead src/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') test/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for mv... /bin/mv checking for rm... /bin/rm checking for sed... (cached) /usr/bin/sed checking whether find accepts -printf... no checking whether c++ handles exceptions... yes checking how to run the C++ preprocessor... c++ -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking for sys/file.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking for getopt.h... (cached) yes checking socket++/sockinet.h usability... yes checking socket++/sockinet.h presence... yes checking for socket++/sockinet.h... yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for crypt in -lcrypt... (cached) yes checking for hosts_ctl in -lwrap... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking return type of signal handlers... void checking for gethostname... (cached) yes checking for gettimeofday... (cached) yes checking for mkdir... yes checking for select... (cached) yes checking for setpriority... yes checking for socket... yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for syslog... yes checking for sigaction... (cached) yes checking argument 3 of accept... unsigned int* checking "libsocket++"... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating md5lib/Makefile config.status: creating NVClasses-0.9.1/Makefile config.status: creating NServer-0.9.1/Makefile config.status: creating NServer-0.9.1/checks/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating etc/Makefile config.status: creating etc/NewsCache.init config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for newscache-1.2.r.6_5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in md5lib --- md5.o --- --- md5crypt.o --- --- md5.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cc --- md5crypt.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT md5crypt.o -MD -MP -MF .deps/md5crypt.Tpo -c -o md5crypt.o md5crypt.cc mv -f .deps/md5crypt.Tpo .deps/md5crypt.Po --- md5.o --- mv -f .deps/md5.Tpo .deps/md5.Po --- libmd5.a --- rm -f libmd5.a ar cru libmd5.a md5.o md5crypt.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmd5.a Making all in NVClasses-0.9.1 --- Logger.o --- --- NVArray.o --- --- NVHash.o --- --- NVList.o --- --- NVcontainer.o --- --- Logger.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT Logger.o -MD -MP -MF .deps/Logger.Tpo -c -o Logger.o Logger.cc --- NVHash.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVHash.o -MD -MP -MF .deps/NVHash.Tpo -c -o NVHash.o NVHash.cc --- NVList.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVList.o -MD -MP -MF .deps/NVList.Tpo -c -o NVList.o NVList.cc --- NVcontainer.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVcontainer.o -MD -MP -MF .deps/NVcontainer.Tpo -c -o NVcontainer.o NVcontainer.cc --- NVArray.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVArray.o -MD -MP -MF .deps/NVArray.Tpo -c -o NVArray.o NVArray.cc --- NVList.o --- mv -f .deps/NVList.Tpo .deps/NVList.Po --- NVlist.o --- c++ -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVlist.o -MD -MP -MF .deps/NVlist.Tpo -c -o NVlist.o NVlist.cc --- NVArray.o --- mv -f .deps/NVArray.Tpo .deps/NVArray.Po --- Logger.o --- mv -f .deps/Logger.Tpo .deps/Logger.Po --- NVHash.o --- mv -f .deps/NVHash.Tpo .deps/NVHash.Po --- NVlist.o --- mv -f .deps/NVlist.Tpo .deps/NVlist.Po --- NVcontainer.o --- mv -f .deps/NVcontainer.Tpo .deps/NVcontainer.Po --- libnvcontainer.a --- rm -f libnvcontainer.a ar cru libnvcontainer.a Logger.o NVArray.o NVHash.o NVList.o NVcontainer.o NVlist.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib libnvcontainer.a Making all in NServer-0.9.1 --- all-recursive --- Making all in checks --- ActiveDB.o --- --- Article.o --- --- ArtSpooler.o --- --- CNewsgroup.o --- --- GroupInfo.o --- --- ActiveDB.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT ActiveDB.o -MD -MP -MF .deps/ActiveDB.Tpo -c -o ActiveDB.o ActiveDB.cc --- Article.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT Article.o -MD -MP -MF .deps/Article.Tpo -c -o Article.o Article.cc --- ArtSpooler.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT ArtSpooler.o -MD -MP -MF .deps/ArtSpooler.Tpo -c -o ArtSpooler.o ArtSpooler.cc --- CNewsgroup.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT CNewsgroup.o -MD -MP -MF .deps/CNewsgroup.Tpo -c -o CNewsgroup.o CNewsgroup.cc --- GroupInfo.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT GroupInfo.o -MD -MP -MF .deps/GroupInfo.Tpo -c -o GroupInfo.o GroupInfo.cc --- ArtSpooler.o --- In file included from Article.h:11, from ArtSpooler.h:23, from ArtSpooler.cc:28: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- Article.o --- In file included from Article.h:11, from Article.cc:18: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ Article.cc: In member function 'void Article::read(std::istream&)': Article.cc:85:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] readtext(is, _text); ^ --- CNewsgroup.o --- In file included from Article.h:11, from OverviewFmt.h:12, from NServer.h:45, from CNewsgroup.h:4, from CNewsgroup.cc:1: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- ActiveDB.o --- mv -f .deps/ActiveDB.Tpo .deps/ActiveDB.Po --- Lexer.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT Lexer.o -MD -MP -MF .deps/Lexer.Tpo -c -o Lexer.o Lexer.cc --- GroupInfo.o --- mv -f .deps/GroupInfo.Tpo .deps/GroupInfo.Po --- MPList.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT MPList.o -MD -MP -MF .deps/MPList.Tpo -c -o MPList.o MPList.cc --- Lexer.o --- In file included from Lexer.h:10, from Lexer.cc:1: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- CNewsgroup.o --- CNewsgroup.cc: In member function 'virtual void CNewsgroup::prefetchGroup(int)': CNewsgroup.cc:151:18: warning: variable 'l' set but not used [-Wunused-but-set-variable] unsigned int f, l, infof, infol; ^ --- Lexer.o --- mv -f .deps/Lexer.Tpo .deps/Lexer.Po --- NServer.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NServer.o -MD -MP -MF .deps/NServer.Tpo -c -o NServer.o NServer.cc --- CNewsgroup.o --- CNewsgroup.cc:219:18: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%ud", ^~~~~~~~~~~~ CNewsgroup.cc:219:13: note: 'sprintf' output between 8 and 1040 bytes into a destination of size 1024 sprintf(fn, "%s/.art%ud", ~~~~~~~^~~~~~~~~~~~~~~~~~ _SpoolDirectory, i); ~~~~~~~~~~~~~~~~~~~ CNewsgroup.cc: In member function 'void CNewsgroup::sUpdateOverview()': CNewsgroup.cc:107:18: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%ud", ^~~~~~~~~~~~ CNewsgroup.cc:107:18: note: using the range [0, 4294967295] for directive argument CNewsgroup.cc:107:13: note: 'sprintf' output between 8 and 1040 bytes into a destination of size 1024 sprintf(fn, "%s/.art%ud", ~~~~~~~^~~~~~~~~~~~~~~~~~ _SpoolDirectory, i); ~~~~~~~~~~~~~~~~~~~ --- Article.o --- mv -f .deps/Article.Tpo .deps/Article.Po --- NVActiveDB.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVActiveDB.o -MD -MP -MF .deps/NVActiveDB.Tpo -c -o NVActiveDB.o NVActiveDB.cc --- CNewsgroup.o --- mv -f .deps/CNewsgroup.Tpo .deps/CNewsgroup.Po --- NVNewsgroup.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NVNewsgroup.o -MD -MP -MF .deps/NVNewsgroup.Tpo -c -o NVNewsgroup.o NVNewsgroup.cc --- MPList.o --- In file included from Article.h:11, from OverviewFmt.h:12, from MPList.h:14, from MPList.cc:2: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- ArtSpooler.o --- mv -f .deps/ArtSpooler.Tpo .deps/ArtSpooler.Po --- Newsgroup.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT Newsgroup.o -MD -MP -MF .deps/Newsgroup.Tpo -c -o Newsgroup.o Newsgroup.cc --- NServer.o --- In file included from Article.h:11, from OverviewFmt.h:12, from NServer.h:45, from NServer.cc:46: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- NVActiveDB.o --- In file included from Article.h:11, from OverviewFmt.h:12, from MPList.h:14, from NVActiveDB.h:17, from NVActiveDB.cc:12: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- NVNewsgroup.o --- In file included from Article.h:11, from OverviewFmt.h:12, from Newsgroup.h:22, from NVNewsgroup.h:23, from NVNewsgroup.cc:10: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- Newsgroup.o --- In file included from Article.h:11, from OverviewFmt.h:12, from Newsgroup.h:22, from Newsgroup.cc:1: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- NServer.o --- NServer.cc: In member function 'void RServer::post(MPListEntry*, Article*)': NServer.cc:918:25: warning: catching polymorphic type 'class NoSuchFieldError' by value [-Wcatch-value=] catch(NoSuchFieldError e) { ^ NServer.cc: In member function 'virtual void CServer::spoolarticle(Article*)': NServer.cc:1357:22: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] } catch(SystemError se) { ^~ NServer.cc: In member function 'virtual void CServer::postspooled()': NServer.cc:1394:30: warning: catching polymorphic type 'class InvalidArticleError' by value [-Wcatch-value=] catch(InvalidArticleError iae) { ^~~ NServer.cc:1404:20: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] catch(SystemError se) { ^~ --- Newsgroup.o --- mv -f .deps/Newsgroup.Tpo .deps/Newsgroup.Po --- NewsgroupFilter.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NewsgroupFilter.o -MD -MP -MF .deps/NewsgroupFilter.Tpo -c -o NewsgroupFilter.o NewsgroupFilter.cc --- NVNewsgroup.o --- NVNewsgroup.cc: In member function 'virtual void NVNewsgroup::setsize(unsigned int, unsigned int)': NVNewsgroup.cc:115:19: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%lu", ^~~~~~~~~~~~ NVNewsgroup.cc:115:19: note: using the range [0, 18446744073709551615] for directive argument NVNewsgroup.cc:115:14: note: 'sprintf' output between 7 and 1049 bytes into a destination of size 1024 sprintf(fn, "%s/.art%lu", ~~~~~~~^~~~~~~~~~~~~~~~~~ _SpoolDirectory, ~~~~~~~~~~~~~~~~ arrfst + i); ~~~~~~~~~~~ NVNewsgroup.cc:136:19: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%lu", ^~~~~~~~~~~~ NVNewsgroup.cc:136:19: note: using the range [0, 18446744073709551615] for directive argument NVNewsgroup.cc:136:14: note: 'sprintf' output between 7 and 1049 bytes into a destination of size 1024 sprintf(fn, "%s/.art%lu", ~~~~~~~^~~~~~~~~~~~~~~~~~ _SpoolDirectory, ~~~~~~~~~~~~~~~~ arrfst + i); ~~~~~~~~~~~ --- NVActiveDB.o --- mv -f .deps/NVActiveDB.Tpo .deps/NVActiveDB.Po --- ObjLock.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT ObjLock.o -MD -MP -MF .deps/ObjLock.Tpo -c -o ObjLock.o ObjLock.cc --- NVNewsgroup.o --- NVNewsgroup.cc: In member function 'virtual void NVNewsgroup::printarticle(std::ostream&, unsigned int)': NVNewsgroup.cc:298:17: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%u", _SpoolDirectory, ^~~~~~~~~~~ NVNewsgroup.cc:298:12: note: 'sprintf' output between 7 and 1039 bytes into a destination of size 1024 sprintf(fn, "%s/.art%u", _SpoolDirectory, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nbr); ~~~~ NVNewsgroup.cc: In member function 'virtual Article* NVNewsgroup::getarticle(unsigned int)': NVNewsgroup.cc:176:17: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%u", _SpoolDirectory, ^~~~~~~~~~~ NVNewsgroup.cc:176:12: note: 'sprintf' output between 7 and 1039 bytes into a destination of size 1024 sprintf(fn, "%s/.art%u", _SpoolDirectory, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nbr); ~~~~ NVNewsgroup.cc: In member function 'virtual void NVNewsgroup::setarticle(Article*)': NVNewsgroup.cc:265:16: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.art%u", _SpoolDirectory, nbr); ^~~~~~~~~~~ NVNewsgroup.cc:265:16: note: using the range [0, 4294967295] for directive argument NVNewsgroup.cc:265:11: note: 'sprintf' output between 7 and 1039 bytes into a destination of size 1024 sprintf(fn, "%s/.art%u", _SpoolDirectory, nbr); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- NewsgroupFilter.o --- In file included from Article.h:11, from OverviewFmt.h:12, from Newsgroup.h:22, from NewsgroupFilter.h:10, from NewsgroupFilter.cc:1: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ mv -f .deps/NewsgroupFilter.Tpo .deps/NewsgroupFilter.Po --- OverviewFmt.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT OverviewFmt.o -MD -MP -MF .deps/OverviewFmt.Tpo -c -o OverviewFmt.o OverviewFmt.cc --- NVNewsgroup.o --- mv -f .deps/NVNewsgroup.Tpo .deps/NVNewsgroup.Po --- RNewsgroup.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT RNewsgroup.o -MD -MP -MF .deps/RNewsgroup.Tpo -c -o RNewsgroup.o RNewsgroup.cc --- MPList.o --- MPList.cc: In member function 'void MPList::readServer(Lexer&, const char*, const char*)': MPList.cc:192:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(cur.passwd, a1.c_str(), 64); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ MPList.cc:189:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(cur.user, a1.c_str(), 64); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ --- NServer.o --- In file included from NServer.h:48, from NServer.cc:46: NVNewsgroup.h: In constructor 'NVNewsgroup::NVNewsgroup(OverviewFmt*, const char*, const char*)': NVNewsgroup.h:51:16: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.db", _SpoolDirectory); ^~~~~~~~ NVNewsgroup.h:51:11: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf(fn, "%s/.db", _SpoolDirectory); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ObjLock.o --- mv -f .deps/ObjLock.Tpo .deps/ObjLock.Po --- sstream.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT sstream.o -MD -MP -MF .deps/sstream.Tpo -c -o sstream.o sstream.cc --- OverviewFmt.o --- In file included from Article.h:11, from OverviewFmt.h:12, from OverviewFmt.cc:1: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- NServer.o --- NVNewsgroup.h: In member function 'virtual Newsgroup* CServer::getgroup(const char*)': NVNewsgroup.h:51:16: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.db", _SpoolDirectory); ^~~~~~~~ NVNewsgroup.h:51:11: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf(fn, "%s/.db", _SpoolDirectory); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NVNewsgroup.h:48:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(_SpoolDirectory, "%s/%s", spooldir, ^~~~~~~ NVNewsgroup.h:48:11: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf(_SpoolDirectory, "%s/%s", spooldir, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ group2dir(name)); ~~~~~~~~~~~~~~~~ NVNewsgroup.h:51:16: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.db", _SpoolDirectory); ^~~~~~~~ NVNewsgroup.h:51:11: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf(fn, "%s/.db", _SpoolDirectory); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- RNewsgroup.o --- In file included from Article.h:11, from OverviewFmt.h:12, from RNewsgroup.h:23, from RNewsgroup.cc:1: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- OverviewFmt.o --- mv -f .deps/OverviewFmt.Tpo .deps/OverviewFmt.Po --- util.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.cc mv -f .deps/util.Tpo .deps/util.Po --- readline.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o readline.o readline.cc --- sstream.o --- sstream.cc: In member function 'void sstream::connectTo(char*, char*)': sstream.cc:20:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] connectTo(name, service, ""); ^ mv -f .deps/sstream.Tpo .deps/sstream.Po --- wildmat.o --- cc -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT wildmat.o -MD -MP -MF .deps/wildmat.Tpo -c -o wildmat.o wildmat.c mv -f .deps/wildmat.Tpo .deps/wildmat.Po --- MPList.o --- mv -f .deps/MPList.Tpo .deps/MPList.Po --- readline.o --- In file included from readline.cc:6: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ mv -f .deps/readline.Tpo .deps/readline.Po --- RNewsgroup.o --- mv -f .deps/RNewsgroup.Tpo .deps/RNewsgroup.Po --- NServer.o --- NServer.cc: In member function 'virtual int RServer::post(Article*)': NServer.cc:1032:18: warning: '%s' directive writing up to 767 bytes into a region of size 489 [-Wformat-overflow=] sprintf(msgid, "Message-ID: \r\n", mid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ NServer.cc:1032:10: note: 'sprintf' output between 27 and 794 bytes into a destination of size 512 sprintf(msgid, "Message-ID: \r\n", mid); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/NServer.Tpo .deps/NServer.Po --- libnserver.a --- rm -f libnserver.a ar cru libnserver.a ActiveDB.o Article.o ArtSpooler.o CNewsgroup.o GroupInfo.o Lexer.o MPList.o NServer.o NVActiveDB.o NVNewsgroup.o Newsgroup.o NewsgroupFilter.o ObjLock.o OverviewFmt.o RNewsgroup.o sstream.o util.o readline.o wildmat.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib libnserver.a Making all in src --- AccessList.o --- --- updatenews.o --- --- Config.o --- --- setugid.o --- --- NewsCache.o --- --- Config.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT Config.o -MD -MP -MF .deps/Config.Tpo -c -o Config.o Config.cc --- AccessList.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT AccessList.o -MD -MP -MF .deps/AccessList.Tpo -c -o AccessList.o AccessList.cc --- updatenews.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT updatenews.o -MD -MP -MF .deps/updatenews.Tpo -c -o updatenews.o updatenews.cc --- NewsCache.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NewsCache.o -MD -MP -MF .deps/NewsCache.Tpo -c -o NewsCache.o NewsCache.cc --- setugid.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT setugid.o -MD -MP -MF .deps/setugid.Tpo -c -o setugid.o setugid.cc mv -f .deps/setugid.Tpo .deps/setugid.Po --- NewsCacheClean.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT NewsCacheClean.o -MD -MP -MF .deps/NewsCacheClean.Tpo -c -o NewsCacheClean.o NewsCacheClean.cc --- NewsCache.o --- NewsCache.cc:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ NewsCache.cc:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NewsCache.cc:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NewsCache.cc:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- updatenews.o --- In file included from ../NServer-0.9.1/Article.h:11, from ../NServer-0.9.1/OverviewFmt.h:12, from Config.h:10, from updatenews.cc:35: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- AccessList.o --- In file included from ../NServer-0.9.1/Article.h:11, from ../NServer-0.9.1/OverviewFmt.h:12, from ../NServer-0.9.1/Newsgroup.h:22, from ../NServer-0.9.1/NewsgroupFilter.h:10, from AccessList.h:21, from AccessList.cc:2: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- updatenews.o --- updatenews.cc: In function 'void update()': updatenews.cc:180:8: warning: variable 'cid' set but not used [-Wunused-but-set-variable] int cid; ^~~ updatenews.cc: In function 'int main(int, char**)': updatenews.cc:356:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] slog.open(PACKAGE, LOG_NDELAY | LOG_PID, LOG_NEWS); ^ --- Config.o --- In file included from ../NServer-0.9.1/Lexer.h:10, from Config.cc:10: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- NewsCache.o --- In file included from ../NServer-0.9.1/Article.h:11, from ../NServer-0.9.1/OverviewFmt.h:12, from ../NServer-0.9.1/NServer.h:45, from NewsCache.cc:115: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ NewsCache.cc: In function 'int fillHostStruct(sockaddr_in*, char*)': NewsCache.cc:777:30: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] gethostbyname(pHost)) == NULL | host->h_addrtype != ^ NewsCache.cc:776:13: warning: operation on 'host' may be undefined [-Wsequence-point] if ((host = ~~~~~~^ gethostbyname(pHost)) == NULL | host->h_addrtype != ~~~~~~~~~~~~~~~~~~~~~ NewsCache.cc: In function 'int ns_article(ClientData*, int, char**)': NewsCache.cc:1019:28: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] catch(NoSuchArticleError nsae) { ^~~~ NewsCache.cc:1023:23: warning: catching polymorphic type 'class ResponseError' by value [-Wcatch-value=] catch(ResponseError e) { ^ NewsCache.cc:1028:15: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] catch(Error e) { ^ NewsCache.cc: In function 'int ns_stat(ClientData*, int, char**)': NewsCache.cc:1118:28: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] catch(NoSuchArticleError nsae) { ^~~~ NewsCache.cc:1122:23: warning: catching polymorphic type 'class ResponseError' by value [-Wcatch-value=] catch(ResponseError e) { ^ NewsCache.cc:1127:15: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] catch(Error e) { ^ --- NewsCacheClean.o --- In file included from ../NServer-0.9.1/Article.h:11, from ../NServer-0.9.1/OverviewFmt.h:12, from Config.h:10, from NewsCacheClean.cc:54: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ --- NewsCache.o --- NewsCache.cc: In function 'void nnrpd(int)': NewsCache.cc:1966:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] STRING_UNKNOWN)) { ^ NewsCache.cc:1966:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NewsCache.cc:1877:51: warning: variable 'end' set but not used [-Wunused-but-set-variable] map < string, nnrp_command_t * >::iterator cmdp, end = ^~~ NewsCache.cc: In function 'void nntpd()': NewsCache.cc:2337:25: warning: catching polymorphic type 'class UsageError' by value [-Wcatch-value=] } catch (UsageError e) { ^ NewsCache.cc:2341:30: warning: catching polymorphic type 'class NotAllowedError' by value [-Wcatch-value=] } catch (NotAllowedError e) { ^ NewsCache.cc:2345:33: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] } catch (NoSuchArticleError e) { ^ NewsCache.cc:2349:36: warning: catching polymorphic type 'class DuplicateArticleError' by value [-Wcatch-value=] } catch (DuplicateArticleError e) { ^ NewsCache.cc:2353:31: warning: catching polymorphic type 'class NoSuchGroupError' by value [-Wcatch-value=] } catch (NoSuchGroupError e) { ^ NewsCache.cc:2357:32: warning: catching polymorphic type 'class NoNewsServerError' by value [-Wcatch-value=] } catch (NoNewsServerError e) { ^ NewsCache.cc:2361:31: warning: catching polymorphic type 'class NoSuchFieldError' by value [-Wcatch-value=] } catch (NoSuchFieldError e) { ^ NewsCache.cc:2365:22: warning: catching polymorphic type 'class NSError' by value [-Wcatch-value=] } catch (NSError e) { ^ NewsCache.cc:2369:29: warning: catching polymorphic type 'class AssertionError' by value [-Wcatch-value=] } catch (AssertionError e) { ^ NewsCache.cc:2373:22: warning: catching polymorphic type 'class IOError' by value [-Wcatch-value=] } catch (IOError e) { ^ NewsCache.cc:2377:26: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] } catch (SystemError e) { ^ NewsCache.cc:2381:20: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] } catch (Error e) { ^ NewsCache.cc: In function 'int main(int, char**)': NewsCache.cc:2624:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] slog.open(PACKAGE, LOG_NDELAY | LOG_PID, LOG_NEWS); ^ --- NewsCacheClean.o --- NewsCacheClean.cc: In function 'void clean(const char*)': NewsCacheClean.cc:277:28: warning: catching polymorphic type 'class NoSuchGroupError' by value [-Wcatch-value=] } catch (NoSuchGroupError e) { ^ In file included from NewsCacheClean.cc:52: ../NVClasses-0.9.1/Debug.h:48:18: warning: catching polymorphic type 'class UsageError' by value [-Wcatch-value=] catch(UsageError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:55:23: warning: catching polymorphic type 'class NotAllowedError' by value [-Wcatch-value=] catch(NotAllowedError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:62:26: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] catch(NoSuchArticleError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:69:29: warning: catching polymorphic type 'class DuplicateArticleError' by value [-Wcatch-value=] catch(DuplicateArticleError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:77:24: warning: catching polymorphic type 'class NoSuchGroupError' by value [-Wcatch-value=] catch(NoSuchGroupError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:84:25: warning: catching polymorphic type 'class NoNewsServerError' by value [-Wcatch-value=] catch(NoNewsServerError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:91:24: warning: catching polymorphic type 'class NoSuchFieldError' by value [-Wcatch-value=] catch(NoSuchFieldError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:98:15: warning: catching polymorphic type 'class NSError' by value [-Wcatch-value=] catch(NSError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:105:22: warning: catching polymorphic type 'class AssertionError' by value [-Wcatch-value=] catch(AssertionError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:112:15: warning: catching polymorphic type 'class IOError' by value [-Wcatch-value=] catch(IOError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:119:19: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] catch(SystemError e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:126:13: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] catch(Error e) \ ^ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:77:1: warning: exception of type 'NoSuchGroupError' will be caught catch(NoSuchGroupError e) \ ^~~~~ NewsCacheClean.cc:281:2: note: in expansion of macro 'NC_CATCH_ALL' NC_CATCH_ALL ("Error, please report bug!"); ^~~~~~~~~~~~ NewsCacheClean.cc:277:4: warning: by earlier handler for 'NoSuchGroupError' } catch (NoSuchGroupError e) { ^~~~~ NewsCacheClean.cc:302:20: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] } else if ( ng == NULL | nr < firstnr || nr > lastnr) { ^ NewsCacheClean.cc: In function 'int main(int, char**)': NewsCacheClean.cc:434:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] slog.open(PACKAGE, LOG_NDELAY | LOG_PID, LOG_NEWS); ^ --- updatenews.o --- mv -f .deps/updatenews.Tpo .deps/updatenews.Po --- NewsCacheClean.o --- In file included from ../NServer-0.9.1/NServer.h:48, from NewsCacheClean.cc:56: ../NServer-0.9.1/NVNewsgroup.h: In function 'void clean(const char*)': ../NServer-0.9.1/NVNewsgroup.h:48:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(_SpoolDirectory, "%s/%s", spooldir, ^~~~~~~ ../NServer-0.9.1/NVNewsgroup.h:48:11: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf(_SpoolDirectory, "%s/%s", spooldir, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ group2dir(name)); ~~~~~~~~~~~~~~~~ ../NServer-0.9.1/NVNewsgroup.h:51:16: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(fn, "%s/.db", _SpoolDirectory); ^~~~~~~~ ../NServer-0.9.1/NVNewsgroup.h:51:11: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf(fn, "%s/.db", _SpoolDirectory); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewsCacheClean.cc:302:43: warning: 'lastnr' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if ( ng == NULL | nr < firstnr || nr > lastnr) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ NewsCacheClean.cc:302:28: warning: 'firstnr' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if ( ng == NULL | nr < firstnr || nr > lastnr) { ~~~~~~~~~~~^~~~~~~~~~~~~~ --- NewsCache.o --- NewsCache.cc: In function 'int ns_xover(ClientData*, int, char**)': NewsCache.cc:1735:18: warning: 'lst' may be used uninitialized in this function [-Wmaybe-uninitialized] int i = 1, fst, lst; ^~~ NewsCache.cc:1735:13: warning: 'fst' may be used uninitialized in this function [-Wmaybe-uninitialized] int i = 1, fst, lst; ^~~ --- NewsCacheClean.o --- mv -f .deps/NewsCacheClean.Tpo .deps/NewsCacheClean.Po --- Config.o --- mv -f .deps/Config.Tpo .deps/Config.Po --- AccessList.o --- mv -f .deps/AccessList.Tpo .deps/AccessList.Po --- newscacheclean --- --- updatenews --- c++ -Wall -pipe -O2 -fno-strict-aliasing -L/usr/local/lib -o updatenews AccessList.o updatenews.o Config.o setugid.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lwrap -lcrypt --- newscacheclean --- c++ -Wall -pipe -O2 -fno-strict-aliasing -L/usr/local/lib -o newscacheclean AccessList.o NewsCacheClean.o Config.o setugid.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lwrap -lcrypt --- NewsCache.o --- NewsCache.cc: In function 'int ns_list(ClientData*, int, char**)': NewsCache.cc:1436:18: warning: '/.newsgroups' directive writing 12 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(buf, "%s/.newsgroups", ^~~~~~~~~~~~~~~~ NewsCache.cc:1436:12: note: 'sprintf' output between 13 and 1036 bytes into a destination of size 1024 sprintf(buf, "%s/.newsgroups", ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ Cfg.SpoolDirectory); ~~~~~~~~~~~~~~~~~~~ mv -f .deps/NewsCache.Tpo .deps/NewsCache.Po --- newscache --- c++ -Wall -pipe -O2 -fno-strict-aliasing -L/usr/local/lib -o newscache AccessList.o NewsCache.o Config.o setugid.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lwrap -lcrypt Making all in man --- newscache.conf.5 --- --- newscache.8 --- --- newscacheclean.8 --- --- updatenews.8 --- --- newscache.conf.5 --- /bin/rm -f newscache.conf.5 newscache.conf.5-temp --- newscache.8 --- /bin/rm -f newscache.8 newscache.8-temp --- newscacheclean.8 --- /bin/rm -f newscacheclean.8 newscacheclean.8-temp /usr/bin/sed -e 's!@SYSCONFDIR@!/usr/local/etc!g' -e 's!@SBINDIR@!/usr/local/sbin!g' newscacheclean.8.in > newscacheclean.8-temp --- updatenews.8 --- /bin/rm -f updatenews.8 updatenews.8-temp --- newscache.conf.5 --- /usr/bin/sed -e 's!@SYSCONFDIR@!/usr/local/etc!g' -e 's!@SBINDIR@!/usr/local/sbin!g' newscache.conf.5.in > newscache.conf.5-temp --- newscacheclean.8 --- /bin/mv newscacheclean.8-temp newscacheclean.8 --- newscache.conf.5 --- /bin/mv newscache.conf.5-temp newscache.conf.5 --- newscache.8 --- /usr/bin/sed -e 's!@SYSCONFDIR@!/usr/local/etc!g' -e 's!@SBINDIR@!/usr/local/sbin!g' newscache.8.in > newscache.8-temp --- updatenews.8 --- /usr/bin/sed -e 's!@SYSCONFDIR@!/usr/local/etc!g' -e 's!@SBINDIR@!/usr/local/sbin!g' updatenews.8.in > updatenews.8-temp --- newscache.8 --- /bin/mv newscache.8-temp newscache.8 --- updatenews.8 --- /bin/mv updatenews.8-temp updatenews.8 Making all in doc Making all in etc Making all in test --- tlock.o --- --- tartspool.o --- --- tlock.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT tlock.o -MD -MP -MF .deps/tlock.Tpo -c -o tlock.o tlock.cc --- tartspool.o --- c++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -pipe -O2 -fno-strict-aliasing -MT tartspool.o -MD -MP -MF .deps/tartspool.Tpo -c -o tartspool.o tartspool.cc In file included from ../NServer-0.9.1/Article.h:11, from tartspool.cc:20: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ tartspool.cc: In function 'int main(int, char**)': tartspool.cc:51:20: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] catch(SystemError e) { ^ tartspool.cc:55:14: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] catch(Error e) { ^ mv -f .deps/tartspool.Tpo .deps/tartspool.Po --- tartspool --- c++ -Wall -pipe -O2 -fno-strict-aliasing -L/usr/local/lib -o tartspool tartspool.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lwrap -lcrypt --- tlock.o --- mv -f .deps/tlock.Tpo .deps/tlock.Po --- tlock --- c++ -Wall -pipe -O2 -fno-strict-aliasing -L/usr/local/lib -o tlock tlock.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lwrap -lcrypt -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> newscache-1.2.r.6_5 depends on executable: indexinfo - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for newscache-1.2.r.6_5 ===> Generating temporary packing list Making install in md5lib Making install in NVClasses-0.9.1 Making install in NServer-0.9.1 Making install in checks Making install in src /bin/mkdir -p '/construction/news/newscache/stage/usr/local/bin' install -s -m 555 updatenews '/construction/news/newscache/stage/usr/local/bin' /bin/mkdir -p '/construction/news/newscache/stage/usr/local/sbin' install -s -m 555 newscache newscacheclean '/construction/news/newscache/stage/usr/local/sbin' Making install in man /bin/mkdir -p '/construction/news/newscache/stage/usr/local/man/man5' install -m 0644 newscache.conf.5 '/construction/news/newscache/stage/usr/local/man/man5' /bin/mkdir -p '/construction/news/newscache/stage/usr/local/man/man8' install -m 0644 newscache.8 newscacheclean.8 updatenews.8 '/construction/news/newscache/stage/usr/local/man/man8' Making install in doc /bin/mkdir -p '/construction/news/newscache/stage/usr/local/share/info' install -m 0644 ./NewsCache.info '/construction/news/newscache/stage/usr/local/share/info' Making install in etc /bin/mkdir -p '/construction/news/newscache/stage/usr/local/etc' install -m 0644 newscache.conf-dist newscache.auth-dist '/construction/news/newscache/stage/usr/local/etc' Making install in test ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for newscache-1.2.r.6_5 file sizes/checksums [11]: . done packing files [11]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 25 JUL 2019 at 05:31:41 UTC Duration: 00:00:54