Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/newscache.spec'], chrootPath='/var/lib/mock/f38-build-697329-86576/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/newscache.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 150: %{_initrddir}/* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/newscache-1.2-0.43.rc6.fc38.src.rpm RPM build warnings: Macro expanded in comment on line 150: %{_initrddir}/* Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/newscache.spec'], chrootPath='/var/lib/mock/f38-build-697329-86576/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/newscache.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 150: %{_initrddir}/* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3okEOW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf NewsCache-1.2rc6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/NewsCache-1.2rc6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd NewsCache-1.2rc6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/socket++-1.12.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp etc/newscache.conf-dist newscache.conf + echo 'Patch #1 (newscache-1.2rc6-config.patch):' Patch #1 (newscache-1.2rc6-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file newscache.conf + echo 'Patch #2 (newscache-1.2rc6-gcc43.patch):' Patch #2 (newscache-1.2rc6-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file NServer-0.9.1/checks/cArticle.cc patching file NServer-0.9.1/checks/cNSError.cc patching file NServer-0.9.1/checks/cNewsgroupFilter.cc patching file NServer-0.9.1/checks/cOverviewFmt.cc patching file NServer-0.9.1/readline.cc patching file NServer-0.9.1/wildmat.c patching file NVClasses-0.9.1/NVArray.cc patching file src/NewsCache.cc patching file src/NewsCacheClean.cc patching file src/cConfig.cc patching file src/updatenews.cc patching file test/tlock.cc + sed -i 's/^main/int main/' configure.in + mkdir -p too/deep + mv socket++-1.12.13 too/deep + pushd too/deep/socket++-1.12.13 ~/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 ~/build/BUILD/NewsCache-1.2rc6 Patch #3 (socket++-1.12.12-drop_doc.patch): + echo 'Patch #3 (socket++-1.12.12-drop_doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file configure.in + popd ~/build/BUILD/NewsCache-1.2rc6 Patch #4 (newscache-glibc.patch): + echo 'Patch #4 (newscache-glibc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file too/deep/socket++-1.12.13/socket++/fork.cpp patching file too/deep/socket++-1.12.13/socket++/sockstream.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jVe4gz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS ~/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 ~/build/BUILD/NewsCache-1.2rc6 + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd NewsCache-1.2rc6 + pushd too/deep/socket++-1.12.13 + ./autogen libtoolize... aclocal... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader... autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. automake... automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:35: installing './compile' configure.in:35: installing './config.guess' configure.in:35: installing './config.sub' configure.in:26: installing './install-sh' configure.in:26: installing './missing' socket++/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' socket++/Makefile.am: installing './depcomp' autoconf... configure.in:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: AM_INIT_AUTOMAKE is expanded from... configure.in:26: the top level configure.in:29: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:29: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9809: AM_CONFIG_HEADER is expanded from... configure.in:29: the top level configure.in:33: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.in:33: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.in:33: the top level configure.in:35: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.in:35: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:35: the top level configure.in:58: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.in:58: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.in:58: the top level configure.in:65: warning: The macro `AC_PID_T' is obsolete. configure.in:65: You should run autoupdate. ./lib/autoconf/oldnames.m4:69: AC_PID_T is expanded from... configure.in:65: the top level configure.in:76: warning: The macro `AC_RETSIGTYPE' is obsolete. configure.in:76: You should run autoupdate. ./lib/autoconf/oldnames.m4:71: AC_RETSIGTYPE is expanded from... configure.in:76: the top level configure.in:76: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:76: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... ./lib/autoconf/oldnames.m4:71: AC_RETSIGTYPE is expanded from... configure.in:76: the top level configure.in:77: warning: The macro `AC_FUNC_VFORK' is obsolete. configure.in:77: You should run autoupdate. ./lib/autoconf/functions.m4:2022: AC_FUNC_VFORK is expanded from... configure.in:77: the top level configure.in:78: warning: The macro `AC_HAVE_FUNCS' is obsolete. configure.in:78: You should run autoupdate. ./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from... configure.in:78: the top level configure.in:81: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:81: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:81: the top level configure.in:97: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:97: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:97: the top level configure.in:113: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.in:113: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:113: the top level configure.in:113: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:113: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:113: the top level configure.in:133: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.in:133: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:133: the top level configure.in:133: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:133: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:133: the top level configure.in:165: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: checking if extern \"C\" wrappers are needed configure.in:165: warning: back quotes and double quotes must not be escaped in: checking if extern \"C\" wrappers are needed... configure.in:166: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.in:166: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:166: the top level configure.in:166: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:166: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:166: the top level configure.in:193: warning: AC_OUTPUT should be used without arguments. configure.in:193: You should run autoupdate. Next run ./configure Next run make + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-18 10:02:27.812687469 -0400 +++ ./configure 2023-03-18 10:02:28.042687871 -0400 @@ -1752,7 +1752,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -1989,7 +1989,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-18 10:02:28.042687871 -0400 +++ ./configure 2023-03-18 10:02:28.212688168 -0400 @@ -7808,7 +7808,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18600,7 +18600,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-static --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7814: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for makedepend... : checking for t_accept in -lnsl... no checking for socket in -lsocket... no checking for string.h... (cached) yes checking for memory.h... yes checking for sstream... yes checking for string... yes checking for _G_config.h... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for pid_t... yes checking return type of signal handlers... void 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 select... yes checking for sys_siglist... sys_siglist checking for sys_errlist... sys_errlist checking for sys_errlist prototype... no checking for signal handler arg type... int checking if extern "C" wrappers are needed... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating socket++/Makefile config.status: creating test/Makefile config.status: creating socket++/config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 Making all in socket++ make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++' make all-am make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sockstream.lo sockstream.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sockinet.lo sockinet.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sockunix.lo sockunix.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o pipestream.lo pipestream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c sockunix.cpp -o sockunix.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c pipestream.cpp -o pipestream.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c sockinet.cpp -o sockinet.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c sockstream.cpp -o sockstream.o sockstream.cpp: In destructor 'virtual sockbuf::~sockbuf()': sockstream.cpp:316:25: warning: 'throw' will always call 'terminate' [-Wterminate] 316 | throw sockerr (errno, "sockbuf::~sockbuf", sockname.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sockstream.cpp:316:25: note: in C++11 destructors default to 'noexcept' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fork.lo fork.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fork.cpp -o fork.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o protocol.lo protocol.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c protocol.cpp -o protocol.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o echo.lo echo.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c echo.cpp -o echo.o protocol.cpp: In member function 'const char* protocol::protocolbuf::protocol_name() const': protocol.cpp:20:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | char* ret = ""; | ^~ protocol.cpp:22:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | ret = "tcp"; | ^~~~~ protocol.cpp:24:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | ret = "udp"; | ^~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o smtp.lo smtp.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c smtp.cpp -o smtp.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o ftp.lo ftp.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c ftp.cpp -o ftp.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sig.lo sig.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c sig.cpp -o sig.o /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -version-info 1:2:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libsocket++.la -rpath /usr/lib64 sockstream.lo sockinet.lo sockunix.lo pipestream.lo fork.lo protocol.lo echo.lo smtp.lo ftp.lo sig.lo libtool: link: ar cr .libs/libsocket++.a sockstream.o sockinet.o sockunix.o pipestream.o fork.o protocol.o echo.o smtp.o ftp.o sig.o libtool: link: ranlib .libs/libsocket++.a libtool: link: ( cd ".libs" && rm -f "libsocket++.la" && ln -s "../libsocket++.la" "libsocket++.la" ) make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++' make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13' + popd ~/build/BUILD/NewsCache-1.2rc6 + SOCKDIR=/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 + export CPPFLAGS=-I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 + CPPFLAGS=-I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 + export LDFLAGS=-L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs + LDFLAGS=-L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs + ./autogen aclocal... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader... autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. automake... 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' configure.in:231: installing './config.guess' configure.in:231: installing './config.sub' 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') autoconf... configure.in:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:5: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.in:5: the top level configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:8: the top level configure.in:110: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.in:110: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.in:110: the top level configure.in:171: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:171: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:171: the top level configure.in:186: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:186: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:186: the top level configure.in:213: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:213: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:213: the top level configure.in:232: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:232: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:232: the top level configure.in:236: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:236: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:236: the top level configure.in:253: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:253: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:253: the top level configure.in:305: warning: AC_OUTPUT should be used without arguments. configure.in:305: You should run autoupdate. Next run ./configure Next run make + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS=-L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-18 10:03:39.652813104 -0400 +++ ./configure 2023-03-18 10:03:39.802813367 -0400 @@ -1881,7 +1881,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./too/deep/socket++-1.12.13/configure + diff -u ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + mv ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./too/deep/socket++-1.12.13/configure + diff -u ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + mv ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./too/deep/socket++-1.12.13/configure + diff -u ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + mv ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./too/deep/socket++-1.12.13/configure + diff -u ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + mv ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./too/deep/socket++-1.12.13/configure + diff -u ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + mv ./too/deep/socket++-1.12.13/configure.backup ./too/deep/socket++-1.12.13/configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./too/deep/socket++-1.12.13/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./too/deep/socket++-1.12.13/config.sub ++ basename ./too/deep/socket++-1.12.13/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./too/deep/socket++-1.12.13/config.sub '/usr/lib/rpm/redhat/config.sub' -> './too/deep/socket++-1.12.13/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./too/deep/socket++-1.12.13/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./too/deep/socket++-1.12.13/config.guess ++ basename ./too/deep/socket++-1.12.13/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./too/deep/socket++-1.12.13/config.guess '/usr/lib/rpm/redhat/config.guess' -> './too/deep/socket++-1.12.13/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./too/deep/socket++-1.12.13/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pam checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/NewsCache-1.2rc6/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/NewsCache-1.2rc6/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for mv... /usr/bin/mv checking for rm... /usr/bin/rm checking for sed... /usr/bin/sed checking whether find accepts -printf... yes checking whether g++ handles exceptions... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for shadow.h... yes checking for sys/file.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for tcpd.h... no checking for sstream... yes checking for getopt.h... yes checking for socket++/sockinet.h... yes checking for security/pam_appl.h... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for g++ options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for crypt in -lcrypt... yes checking for dlopen in -ldl... yes checking for pam_start in -lpam... yes checking for hosts_ctl in -lwrap... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking for gethostname... yes checking for gettimeofday... yes checking for mkdir... yes checking for select... yes checking for setpriority... yes checking for socket... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for syslog... yes checking for sigaction... 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 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6' Making all in md5lib make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/md5lib' g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o md5.o md5.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o md5crypt.o md5crypt.cc md5.cc: In function 'void MD5Transform(uint32*, const uint32*)': md5.cc:174:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 174 | register uint32 a, b, c, d; | ^ md5.cc:174:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 174 | register uint32 a, b, c, d; | ^ md5.cc:174:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 174 | register uint32 a, b, c, d; | ^ md5.cc:174:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 174 | register uint32 a, b, c, d; | ^ rm -f libmd5.a ar cru libmd5.a md5.o md5crypt.o ranlib libmd5.a make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/md5lib' Making all in NVClasses-0.9.1 make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NVClasses-0.9.1' g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o Logger.o Logger.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVArray.o NVArray.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVHash.o NVHash.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVList.o NVList.cc In file included from NVlist.h:4, from NVHash.h:4, from NVHash.cc:1: NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ NVHash.h:39:14: note: by 'void NVHash::open(const char*, long unsigned int, int)' 39 | void open(const char *dbname, unsigned long hashsz = | ^~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVcontainer.o NVcontainer.cc g++ -DHAVE_CONFIG_H -I. -I.. -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVlist.o NVlist.cc NVcontainer.cc: In member function 'virtual void NVcontainer::make_current()': NVcontainer.cc:146:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 146 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)) | ^ In file included from NVcontainer.cc:1: NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:170:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 170 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)) | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:183:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 183 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)) | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:196:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 196 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)) | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc: In member function 'virtual size_t NVcontainer::resize(size_t)': NVcontainer.cc:224:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 224 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)) | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc: In member function 'virtual void NVcontainer::open(const char*, int)': NVcontainer.cc:635:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 635 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)) | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:648:46: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 648 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)); | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:667:54: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 667 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)); | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:678:54: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 678 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)); | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ NVcontainer.cc:690:54: warning: the address of 'NVcontainer::mem_fn' will never be NULL [-Waddress] 690 | << " mem_fn: " << ((mem_fn==NULL)? ("NULL") : (mem_fn)); | ^ NVcontainer.h:55:14: note: 'NVcontainer::mem_fn' declared here 55 | char mem_fn[MAXPATHLEN]; | ^~~~~~ rm -f libnvcontainer.a ar cru libnvcontainer.a Logger.o NVArray.o NVHash.o NVList.o NVcontainer.o NVlist.o ranlib libnvcontainer.a make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NVClasses-0.9.1' Making all in NServer-0.9.1 make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' Making all in checks make[3]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1/checks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1/checks' make[3]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o ActiveDB.o ActiveDB.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o Article.o Article.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o ArtSpooler.o ArtSpooler.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o CNewsgroup.o CNewsgroup.cc 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] 23 | ); | ^ 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] 23 | ); | ^ Article.cc: In member function 'void Article::read(std::istream&)': Article.cc:85:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | readtext(is, _text); | ~~~~~~~~^~~~~~~~~~~ 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] 23 | ); | ^ CNewsgroup.cc: In member function 'virtual void CNewsgroup::prefetchGroup(int)': CNewsgroup.cc:151:25: warning: variable 'l' set but not used [-Wunused-but-set-variable] 151 | unsigned int f, l, infof, infol; | ^ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o GroupInfo.o GroupInfo.cc CNewsgroup.cc:219:56: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 219 | sprintf(fn, "%s/.art%ud", | ^~~~~ In file included from /usr/include/stdio.h:906, from NServer.h:25: In function 'sprintf', inlined from 'CNewsgroup::prefetchGroup(int)' at CNewsgroup.cc:219:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 8 and 4112 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CNewsgroup.cc: In member function 'CNewsgroup::sUpdateOverview()': CNewsgroup.cc:107:56: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 107 | sprintf(fn, "%s/.art%ud", | ^~~~~ In function 'sprintf', inlined from 'CNewsgroup::sUpdateOverview()' at CNewsgroup.cc:107:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 8 and 4112 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o Lexer.o Lexer.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o MPList.o MPList.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NServer.o NServer.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVActiveDB.o NVActiveDB.cc 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] 23 | ); | ^ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NVNewsgroup.o NVNewsgroup.cc 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] 23 | ); | ^ 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] 23 | ); | ^ In file included from ActiveDB.h:8, from NServer.h:46: ../NVClasses-0.9.1/NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ In file included from NVActiveDB.h:12, from NServer.h:47: ../NVClasses-0.9.1/NVHash.h:39:14: note: by 'void NVHash::open(const char*, long unsigned int, int)' 39 | void open(const char *dbname, unsigned long hashsz = | ^~~~ ../NVClasses-0.9.1/NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ NVActiveDB.h:69:14: note: by 'void NVActiveDB::open(const char*)' 69 | void open(const char *dbname) { | ^~~~ In file included from ../NVClasses-0.9.1/NVlist.h:4, from ../NVClasses-0.9.1/NVHash.h:4, from NVActiveDB.h:12, from NVActiveDB.cc:12: ../NVClasses-0.9.1/NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ ../NVClasses-0.9.1/NVHash.h:39:14: note: by 'void NVHash::open(const char*, long unsigned int, int)' 39 | void open(const char *dbname, unsigned long hashsz = | ^~~~ In file included from Article.h:11, from OverviewFmt.h:12, from MPList.h:14, from NVActiveDB.h:17: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | ); | ^ NServer.cc: In member function 'void RServer::post(MPListEntry*, Article*)': NServer.cc:918:32: warning: catching polymorphic type 'class NoSuchFieldError' by value [-Wcatch-value=] 918 | catch(NoSuchFieldError e) { | ^ NServer.cc: In member function 'virtual void CServer::spoolarticle(Article*)': NServer.cc:1357:29: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] 1357 | } catch(SystemError se) { | ^~ ../NVClasses-0.9.1/NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ NVActiveDB.h:69:14: note: by 'void NVActiveDB::open(const char*)' 69 | void open(const char *dbname) { | ^~~~ NServer.cc: In member function 'virtual void CServer::postspooled()': NServer.cc:1394:51: warning: catching polymorphic type 'class InvalidArticleError' by value [-Wcatch-value=] 1394 | catch(InvalidArticleError iae) { | ^~~ NServer.cc:1404:27: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] 1404 | catch(SystemError se) { | ^~ 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] 23 | ); | ^ NVActiveDB.cc: In member function 'NVActiveDB::hasgroup(char const*)': NVActiveDB.cc:154:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 154 | if (strcmp(((GroupInfo *) r->datap())->name(), group) == 0) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero NVNewsgroup.cc: In member function 'NVNewsgroup::setsize(unsigned int, unsigned int)': NVNewsgroup.cc:115:64: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 115 | sprintf(fn, "%s/.art%lu", | ^~~~~ In file included from /usr/include/stdio.h:906, from NVNewsgroup.cc:4: In function 'sprintf', inlined from 'NVNewsgroup::setsize(unsigned int, unsigned int)' at NVNewsgroup.cc:115:14: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 7 and 4121 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NVNewsgroup.cc: In member function 'NVNewsgroup::setsize(unsigned int, unsigned int)': NVNewsgroup.cc:136:64: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 136 | sprintf(fn, "%s/.art%lu", | ^~~~~ In function 'sprintf', inlined from 'NVNewsgroup::setsize(unsigned int, unsigned int)' at NVNewsgroup.cc:136:14: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 7 and 4121 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NVActiveDB.cc: In member function 'NVActiveDB::sset(GroupInfo&, int)': NVActiveDB.cc:52:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 52 | if (strcmp(((GroupInfo *) r->datap())->name(), gi.name()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero NVActiveDB.cc: In member function 'NVActiveDB::get(char const*, GroupInfo*)': NVActiveDB.cc:119:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 119 | if (strcmp(((GroupInfo *) r->datap())->name(), group) == 0) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero NVNewsgroup.cc: In member function 'NVNewsgroup::printarticle(std::basic_ostream >&, unsigned int)': NVNewsgroup.cc:298:48: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 298 | sprintf(fn, "%s/.art%u", _SpoolDirectory, | ^~~~~ In function 'sprintf', inlined from 'NVNewsgroup::printarticle(std::basic_ostream >&, unsigned int)' at NVNewsgroup.cc:298:12: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 7 and 4111 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NVNewsgroup.cc: In member function 'NVNewsgroup::getarticle(unsigned int)': NVNewsgroup.cc:176:48: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 176 | sprintf(fn, "%s/.art%u", _SpoolDirectory, | ^~~~~ In function 'sprintf', inlined from 'NVNewsgroup::getarticle(unsigned int)' at NVNewsgroup.cc:176:12: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 7 and 4111 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o Newsgroup.o Newsgroup.cc MPList.cc: In member function 'MPList::readServer(Lexer&, char const*, char const*)': MPList.cc:192:32: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 192 | strncpy(cur.passwd, a1.c_str(), 64); | ^ MPList.cc:189:32: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 189 | strncpy(cur.user, a1.c_str(), 64); | ^ NVNewsgroup.cc: In member function 'NVNewsgroup::setarticle(Article*)': NVNewsgroup.cc:265:40: warning: '/.art' directive writing 5 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 265 | sprintf(fn, "%s/.art%u", _SpoolDirectory, nbr); | ^~~~~ NVNewsgroup.cc:265:37: note: using the range [0, 4294967295] for directive argument 265 | sprintf(fn, "%s/.art%u", _SpoolDirectory, nbr); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'NVNewsgroup::setarticle(Article*)' at NVNewsgroup.cc:265:11: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 7 and 4111 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from NServer.h:48: NVNewsgroup.h: In member function 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)': NVNewsgroup.h:51:33: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 51 | sprintf(fn, "%s/.db", _SpoolDirectory); | ^~~~ In file included from /usr/include/stdio.h:906, from NServer.cc:34: In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at NVNewsgroup.h:51:11: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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] 23 | ); | ^ NVNewsgroup.h: In member function 'CServer::getgroup(char const*)': NVNewsgroup.h:48:49: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 48 | sprintf(_SpoolDirectory, "%s/%s", spooldir, | ^ In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at NVNewsgroup.h:48:11, inlined from 'CNewsgroup::CNewsgroup(RServer*, OverviewFmt*, char const*, char const*)' at CNewsgroup.h:38:20, inlined from 'CServer::getgroup(char const*)' at NServer.cc:1320:67: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NVNewsgroup.h: In member function 'CServer::getgroup(char const*)': NVNewsgroup.h:51:33: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 51 | sprintf(fn, "%s/.db", _SpoolDirectory); | ^~~~ In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at NVNewsgroup.h:51:11, inlined from 'CNewsgroup::CNewsgroup(RServer*, OverviewFmt*, char const*, char const*)' at CNewsgroup.h:38:20, inlined from 'CServer::getgroup(char const*)' at NServer.cc:1320:67: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NVNewsgroup.h: In member function 'CServer::getgroup(char const*)': NVNewsgroup.h:48:49: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 48 | sprintf(_SpoolDirectory, "%s/%s", spooldir, | ^ In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at NVNewsgroup.h:48:11, inlined from 'CServer::getgroup(char const*)' at NServer.cc:1302:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NVNewsgroup.h: In member function 'CServer::getgroup(char const*)': NVNewsgroup.h:51:33: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 51 | sprintf(fn, "%s/.db", _SpoolDirectory); | ^~~~ In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at NVNewsgroup.h:51:11, inlined from 'CServer::getgroup(char const*)' at NServer.cc:1302:13: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NewsgroupFilter.o NewsgroupFilter.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o ObjLock.o ObjLock.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o OverviewFmt.o OverviewFmt.cc NServer.cc: In member function 'RServer::issue[abi:cxx11](char const*, char const*)': NServer.cc:465:13: warning: 'rs' may be used uninitialized [-Wmaybe-uninitialized] 464 | if ((rs < 3) | ~~~~~~~~ 465 | || (expresp | ^~~~~~~~~~~ 466 | && strncmp(expresp, resp.data(), strlen(expresp)))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NServer.cc:387:13: note: 'rs' was declared here 387 | int rs; | ^~ 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] 23 | ); | ^ In file included from ActiveDB.h:10: GroupInfo.h: In member function 'RServer::selectgroup(char const*, int)': GroupInfo.h:90:24: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 90 | strncpy(_name, group, sizeof(_name)); | ^ GroupInfo.h:90:24: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o RNewsgroup.o RNewsgroup.cc 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] 23 | ); | ^ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sstream.o sstream.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o util.o util.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o readline.o readline.cc 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] 23 | ); | ^ In file included from ActiveDB.h:8, from NServer.h:46, from RNewsgroup.h:25: ../NVClasses-0.9.1/NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ In file included from NVActiveDB.h:12, from NServer.h:47: ../NVClasses-0.9.1/NVHash.h:39:14: note: by 'void NVHash::open(const char*, long unsigned int, int)' 39 | void open(const char *dbname, unsigned long hashsz = | ^~~~ ../NVClasses-0.9.1/NVcontainer.h:111:22: warning: 'virtual void NVcontainer::open(const char*, int)' was hidden [-Woverloaded-virtual=] 111 | virtual void open(const char *dbname, int flags = 0); | ^~~~ NVActiveDB.h:69:14: note: by 'void NVActiveDB::open(const char*)' 69 | void open(const char *dbname) { | ^~~~ sstream.cc: In member function 'void sstream::connectTo(char*, char*)': sstream.cc:20:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 20 | connectTo(name, service, ""); | ^~ NServer.cc: In member function 'RServer::post(Article*)': NServer.cc:1032:56: warning: '%s' directive writing up to 767 bytes into a region of size 297 [-Wformat-overflow=] 1032 | sprintf(msgid, "Message-ID: \r\n", mid); | ^~ ~~~ In function 'sprintf', inlined from 'RServer::post(Article*)' at NServer.cc:1032:10: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 27 and 794 bytes into a destination of size 320 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from readline.cc:8: readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | ); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o wildmat.o wildmat.c 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 ranlib libnserver.a make[3]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/src' g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o AccessList.o AccessList.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o updatenews.o updatenews.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o Config.o Config.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o setugid.o setugid.cc 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] 23 | ); | ^ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NewsCache.o NewsCache.cc 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:36: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | ); | ^ 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] 23 | ); | ^ updatenews.cc: In function 'void update()': updatenews.cc:181:29: warning: variable 'cid' set but not used [-Wunused-but-set-variable] 181 | int cid; | ^~~ NewsCache.cc:64:9: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 64 | "--with-pam="PAM_DEFAULT_SERVICENAME, | ^ In file included from ../NServer-0.9.1/NVNewsgroup.h:19, from ../NServer-0.9.1/NServer.h:48, from updatenews.cc:37: updatenews.cc: In function 'int main(int, char**)': ../config.h:55:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | #define PACKAGE_UPDATENEWS "updatenews" | ^~~~~~~~~~~~ updatenews.cc:45:17: note: in expansion of macro 'PACKAGE_UPDATENEWS' 45 | #define PACKAGE PACKAGE_UPDATENEWS | ^~~~~~~~~~~~~~~~~~ updatenews.cc:357:19: note: in expansion of macro 'PACKAGE' 357 | slog.open(PACKAGE, LOG_NDELAY | LOG_PID, LOG_NEWS); | ^~~~~~~ NewsCache.cc:55:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "--with-md5", | ^~~~~~~~~~~~ NewsCache.cc:58:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | "--with-md5auto", | ^~~~~~~~~~~~~~~~ NewsCache.cc:64:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "--with-pam="PAM_DEFAULT_SERVICENAME, NewsCache.cc:67:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "--with-syslog", | ^~~~~~~~~~~~~~~ NewsCache.cc:79:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | "--enable-assertions", | ^~~~~~~~~~~~~~~~~~~~~ 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:116: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | ); | ^ g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o NewsCacheClean.o NewsCacheClean.cc NewsCache.cc: In function 'int fillHostStruct(sockaddr_in*, char*)': NewsCache.cc:778:44: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 778 | gethostbyname(pHost)) == NULL | host->h_addrtype != | ^ NewsCache.cc:777:27: warning: operation on 'host' may be undefined [-Wsequence-point] 777 | if ((host = | ~~~~~~^ 778 | gethostbyname(pHost)) == NULL | host->h_addrtype != | ~~~~~~~~~~~~~~~~~~~~~ NewsCache.cc: In function 'int ns_article(ClientData*, int, char**)': NewsCache.cc:1020:42: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] 1020 | catch(NoSuchArticleError nsae) { | ^~~~ NewsCache.cc:1024:37: warning: catching polymorphic type 'class ResponseError' by value [-Wcatch-value=] 1024 | catch(ResponseError e) { | ^ NewsCache.cc:1029:29: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] 1029 | catch(Error e) { | ^ NewsCache.cc: In function 'int ns_stat(ClientData*, int, char**)': NewsCache.cc:1119:42: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] 1119 | catch(NoSuchArticleError nsae) { | ^~~~ NewsCache.cc:1123:37: warning: catching polymorphic type 'class ResponseError' by value [-Wcatch-value=] 1123 | catch(ResponseError e) { | ^ NewsCache.cc:1128:29: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] 1128 | catch(Error e) { | ^ NewsCache.cc: In function 'int ns_newgroups(ClientData*, int, char**)': NewsCache.cc:1634:39: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 1634 | NewsgroupFilter filter(); | ^~ NewsCache.cc:1634:39: note: remove parentheses to default-initialize a variable 1634 | NewsgroupFilter filter(); | ^~ | -- NewsCache.cc:1634:39: note: or replace parentheses with braces to value-initialize a variable NewsCache.cc: In function 'void nnrpd(int)': NewsCache.cc:1878:58: warning: variable 'end' set but not used [-Wunused-but-set-variable] 1878 | map < string, nnrp_command_t * >::iterator cmdp, end = | ^~~ NewsCache.cc: In function 'void nntpd()': NewsCache.cc:2338:53: warning: catching polymorphic type 'class UsageError' by value [-Wcatch-value=] 2338 | } catch (UsageError e) { | ^ NewsCache.cc:2342:58: warning: catching polymorphic type 'class NotAllowedError' by value [-Wcatch-value=] 2342 | } catch (NotAllowedError e) { | ^ NewsCache.cc:2346:61: warning: catching polymorphic type 'class NoSuchArticleError' by value [-Wcatch-value=] 2346 | } catch (NoSuchArticleError e) { | ^ NewsCache.cc:2350:64: warning: catching polymorphic type 'class DuplicateArticleError' by value [-Wcatch-value=] 2350 | } catch (DuplicateArticleError e) { | ^ NewsCache.cc:2354:59: warning: catching polymorphic type 'class NoSuchGroupError' by value [-Wcatch-value=] 2354 | } catch (NoSuchGroupError e) { | ^ NewsCache.cc:2358:60: warning: catching polymorphic type 'class NoNewsServerError' by value [-Wcatch-value=] 2358 | } catch (NoNewsServerError e) { | ^ NewsCache.cc:2362:59: warning: catching polymorphic type 'class NoSuchFieldError' by value [-Wcatch-value=] 2362 | } catch (NoSuchFieldError e) { | ^ NewsCache.cc:2366:50: warning: catching polymorphic type 'class NSError' by value [-Wcatch-value=] 2366 | } catch (NSError e) { | ^ NewsCache.cc:2370:57: warning: catching polymorphic type 'class AssertionError' by value [-Wcatch-value=] 2370 | } catch (AssertionError e) { | ^ NewsCache.cc:2374:50: warning: catching polymorphic type 'class IOError' by value [-Wcatch-value=] 2374 | } catch (IOError e) { | ^ NewsCache.cc:2378:54: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] 2378 | } catch (SystemError e) { | ^ NewsCache.cc:2382:48: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] 2382 | } catch (Error e) { | ^ In file included from AccessList.h:17, from Config.h:13, from NewsCache.cc:121: NewsCache.cc: In function 'int main(int, char**)': ../config.h:190:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | #define PACKAGE "NewsCache" | ^~~~~~~~~~~ NewsCache.cc:2625:19: note: in expansion of macro 'PACKAGE' 2625 | slog.open(PACKAGE, LOG_NDELAY | LOG_PID, LOG_NEWS); | ^~~~~~~ NewsCache.cc: In function 'void nntpd()': NewsCache.cc:2314:30: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 2314 | write(clt_fd, "400 too many users\r\n", 21); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:55: ../NServer-0.9.1/readline.h:23:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | ); | ^ NewsCacheClean.cc: In function 'void remove_elements(long int, cache_statistic*)': NewsCacheClean.cc:152:38: warning: ignoring return value of 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; size_type = long unsigned int]', declared with attribute 'nodiscard' [-Wunused-result] 152 | (*begin)->Path.length(); | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/13/string:54, from NewsCacheClean.cc:49: /usr/include/c++/13/bits/basic_string.h:1069:7: note: declared here 1069 | length() const _GLIBCXX_NOEXCEPT | ^~~~~~ NewsCacheClean.cc: In function 'void clean(const char*)': NewsCacheClean.cc:278:35: warning: catching polymorphic type 'class NoSuchGroupError' by value [-Wcatch-value=] 278 | } catch (NoSuchGroupError e) { | ^ In file included from NewsCacheClean.cc:53: ../NVClasses-0.9.1/Debug.h:48:18: warning: catching polymorphic type 'class UsageError' by value [-Wcatch-value=] 48 | catch(UsageError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 55 | catch(NotAllowedError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 62 | catch(NoSuchArticleError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 69 | catch(DuplicateArticleError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 77 | catch(NoSuchGroupError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 84 | catch(NoNewsServerError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 91 | catch(NoSuchFieldError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 98 | catch(NSError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 105 | catch(AssertionError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 112 | catch(IOError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 119 | catch(SystemError e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | 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=] 126 | catch(Error e) \ | ^ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | NC_CATCH_ALL ("Error, please report bug!"); | ^~~~~~~~~~~~ ../NVClasses-0.9.1/Debug.h:77:1: warning: exception of type 'NoSuchGroupError' will be caught by earlier handler [-Wexceptions] 77 | catch(NoSuchGroupError e) \ | ^~~~~ NewsCacheClean.cc:282:9: note: in expansion of macro 'NC_CATCH_ALL' 282 | NC_CATCH_ALL ("Error, please report bug!"); | ^~~~~~~~~~~~ NewsCacheClean.cc:278:11: note: for type 'NoSuchGroupError' 278 | } catch (NoSuchGroupError e) { | ^~~~~ NewsCacheClean.cc:303:48: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 303 | } else if ( ng == NULL | nr < firstnr || nr > lastnr) { | ^ In file included from ../NServer-0.9.1/NVNewsgroup.h:19, from ../NServer-0.9.1/NServer.h:48, from NewsCacheClean.cc:57: NewsCacheClean.cc: In function 'int main(int, char**)': ../config.h:54:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | #define PACKAGE_NEWSCACHECLEAN "NewsCacheClean" | ^~~~~~~~~~~~~~~~ NewsCacheClean.cc:63:17: note: in expansion of macro 'PACKAGE_NEWSCACHECLEAN' 63 | #define PACKAGE PACKAGE_NEWSCACHECLEAN | ^~~~~~~~~~~~~~~~~~~~~~ NewsCacheClean.cc:435:19: note: in expansion of macro 'PACKAGE' 435 | slog.open(PACKAGE, LOG_NDELAY | LOG_PID, LOG_NEWS); | ^~~~~~~ g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs -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++ -lcrypt -ldl -lpam NewsCache.cc: In function 'ns_xover(ClientData*, int, char**)': NewsCache.cc:1786:38: warning: 'fst' may be used uninitialized [-Wmaybe-uninitialized] 1786 | clt->grp->printoverdb(*clt->co, fst, lst); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ NewsCache.cc:1736:20: note: 'fst' was declared here 1736 | int i = 1, fst, lst; | ^~~ ../NServer-0.9.1/NVNewsgroup.h: In function 'clean(char const*)': ../NServer-0.9.1/NVNewsgroup.h:48:49: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 48 | sprintf(_SpoolDirectory, "%s/%s", spooldir, | ^ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4071: In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at ../NServer-0.9.1/NVNewsgroup.h:48:11, inlined from 'clean(char const*)' at NewsCacheClean.cc:274:19: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../NServer-0.9.1/NVNewsgroup.h: In function 'clean(char const*)': ../NServer-0.9.1/NVNewsgroup.h:51:33: warning: '/.db' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 51 | sprintf(fn, "%s/.db", _SpoolDirectory); | ^~~~ In function 'sprintf', inlined from 'NVNewsgroup::NVNewsgroup(OverviewFmt*, char const*, char const*)' at ../NServer-0.9.1/NVNewsgroup.h:51:11, inlined from 'clean(char const*)' at NewsCacheClean.cc:274:19: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ NewsCacheClean.cc: In function 'clean(char const*)': NewsCacheClean.cc:303:56: warning: 'firstnr' may be used uninitialized [-Wmaybe-uninitialized] 303 | } else if ( ng == NULL | nr < firstnr || nr > lastnr) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ NewsCacheClean.cc:265:13: note: 'firstnr' was declared here 265 | int firstnr; | ^~~~~~~ NewsCacheClean.cc:303:71: warning: 'lastnr' may be used uninitialized [-Wmaybe-uninitialized] 303 | } else if ( ng == NULL | nr < firstnr || nr > lastnr) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ NewsCacheClean.cc:266:13: note: 'lastnr' was declared here 266 | int lastnr; | ^~~~~~ ../NServer-0.9.1/NVActiveDB.cc: In member function 'hasgroup': ../NServer-0.9.1/NVActiveDB.cc:154:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 154 | if (strcmp(((GroupInfo *) r->datap())->name(), group) == 0) { | ^ lto1: note: source object is likely at address zero ../NServer-0.9.1/NVActiveDB.cc: In member function 'sset': ../NServer-0.9.1/NVActiveDB.cc:52:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 52 | if (strcmp(((GroupInfo *) r->datap())->name(), gi.name()) | ^ lto1: note: source object is likely at address zero ../NServer-0.9.1/NVActiveDB.cc: In member function 'get': ../NServer-0.9.1/NVActiveDB.cc:119:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 119 | if (strcmp(((GroupInfo *) r->datap())->name(), group) == 0) { | ^ lto1: note: source object is likely at address zero NewsCache.cc: In function 'ns_list(ClientData*, int, char**)': NewsCache.cc:1437:49: warning: '/.newsgroups' directive writing 12 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1437 | sprintf(buf, "%s/.newsgroups", | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4071, from /usr/include/c++/13/string:54, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/iostream:41, from /builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/sockstream.h:22, from NewsCache.cc:51: In function 'sprintf', inlined from 'ns_list(ClientData*, int, char**)' at NewsCache.cc:1437:12: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 13 and 4108 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs -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++ -lcrypt -ldl -lpam g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs -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++ -lcrypt -ldl -lpam ../too/deep/socket++-1.12.13/socket++/./local.h:87:26: warning: 'inet_addr' violates the C++ One Definition Rule [-Wodr] 87 | extern "C" unsigned long inet_addr (const char*); | ^ /usr/include/arpa/inet.h:34:18: note: return value type mismatch 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ^ /usr/include/arpa/inet.h:34:18: note: type 'in_addr_t' should match type 'long unsigned int' /usr/include/arpa/inet.h:34:18: note: 'inet_addr' was previously declared here /usr/include/arpa/inet.h:34:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used ../NServer-0.9.1/NVActiveDB.cc: In member function 'hasgroup': ../NServer-0.9.1/NVActiveDB.cc:154:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 154 | if (strcmp(((GroupInfo *) r->datap())->name(), group) == 0) { | ^ lto1: note: source object is likely at address zero ../NServer-0.9.1/NVActiveDB.cc: In member function 'get': ../NServer-0.9.1/NVActiveDB.cc:119:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 119 | if (strcmp(((GroupInfo *) r->datap())->name(), group) == 0) { | ^ lto1: note: source object is likely at address zero ../NServer-0.9.1/NVActiveDB.cc: In member function 'sset': ../NServer-0.9.1/NVActiveDB.cc:52:27: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 52 | if (strcmp(((GroupInfo *) r->datap())->name(), gi.name()) | ^ lto1: note: source object is likely at address zero make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/man' /usr/bin/rm -f newscache.conf.5 newscache.conf.5-temp /usr/bin/rm -f newscache.8 newscache.8-temp /usr/bin/rm -f newscacheclean.8 newscacheclean.8-temp /usr/bin/sed \ -e 's!@SYSCONFDIR@!/etc!g' \ -e 's!@SBINDIR@!/usr/sbin!g' \ newscache.conf.5.in > newscache.conf.5-temp /usr/bin/sed \ -e 's!@SYSCONFDIR@!/etc!g' \ -e 's!@SBINDIR@!/usr/sbin!g' \ newscache.8.in > newscache.8-temp /usr/bin/sed \ -e 's!@SYSCONFDIR@!/etc!g' \ -e 's!@SBINDIR@!/usr/sbin!g' \ newscacheclean.8.in > newscacheclean.8-temp /usr/bin/rm -f updatenews.8 updatenews.8-temp /usr/bin/sed \ -e 's!@SYSCONFDIR@!/etc!g' \ -e 's!@SBINDIR@!/usr/sbin!g' \ updatenews.8.in > updatenews.8-temp /usr/bin/mv newscache.8-temp newscache.8 /usr/bin/mv newscache.conf.5-temp newscache.conf.5 /usr/bin/mv newscacheclean.8-temp newscacheclean.8 /usr/bin/mv updatenews.8-temp updatenews.8 make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/man' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/doc' Making all in etc make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/etc' Making all in test make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/test' g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o tlock.o tlock.cc g++ -DHAVE_CONFIG_H -I. -I.. -I../NVClasses-0.9.1 -I../NServer-0.9.1 -I../md5lib -I/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13 -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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] 23 | ); | ^ tartspool.cc: In function 'int main(int, char**)': tartspool.cc:51:27: warning: catching polymorphic type 'class SystemError' by value [-Wcatch-value=] 51 | catch(SystemError e) { | ^ tartspool.cc:55:21: warning: catching polymorphic type 'class Error' by value [-Wcatch-value=] 55 | catch(Error e) { | ^ g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs -o tlock tlock.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lcrypt -ldl -lpam g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -L/builddir/build/BUILD/NewsCache-1.2rc6/too/deep/socket++-1.12.13/socket++/.libs -o tartspool tartspool.o ../NServer-0.9.1/libnserver.a ../NVClasses-0.9.1/libnvcontainer.a ../md5lib/libmd5.a -lsocket++ -lcrypt -ldl -lpam make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/test' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6' make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BImP2Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd NewsCache-1.2rc6 + rm -rf /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 Making install in md5lib make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/md5lib' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/md5lib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/md5lib' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/md5lib' Making install in NVClasses-0.9.1 make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NVClasses-0.9.1' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NVClasses-0.9.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NVClasses-0.9.1' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NVClasses-0.9.1' Making install in NServer-0.9.1 make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' Making install in checks make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1/checks' make[3]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1/checks' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1/checks' make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1/checks' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' make[3]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/NServer-0.9.1' Making install in src make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/src' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/bin' /usr/bin/install -c updatenews '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/sbin' /usr/bin/install -c newscache newscacheclean '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/src' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/man' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 newscache.conf.5 '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 newscache.8 newscacheclean.8 updatenews.8 '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/man' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/man' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/doc' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info' /usr/bin/install -c -m 644 ./NewsCache.info '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info' '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info/NewsCache.info' install-info: warning: no info dir entry in `/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info/NewsCache.info' make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/doc' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/doc' Making install in etc make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/etc' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc' /usr/bin/install -c -m 644 newscache.conf-dist newscache.auth-dist '/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/etc' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/etc' Making install in test make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/test' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/test' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6/test' make[1]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6' make[2]: Entering directory '/builddir/build/BUILD/NewsCache-1.2rc6' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6' make[1]: Leaving directory '/builddir/build/BUILD/NewsCache-1.2rc6' + rm -f /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/newscache.conf-dist + rm -f /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/newscache.auth-dist + rm -f /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info/NewsCache.info /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/info/dir + install -d /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/var/cache/newscache + install -d /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc + install -m644 -p newscache.conf /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/newscache.conf + install -d /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/lib/systemd/system + install -p -m644 /builddir/build/SOURCES/newscache.service /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/lib/systemd/system/newscache.service + install -d /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/pam.d + pushd /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/pam.d ~/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/pam.d ~/build/BUILD/NewsCache-1.2rc6 + cat ~/build/BUILD/NewsCache-1.2rc6 + popd + install -d /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/cron.daily ~/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/cron.daily ~/build/BUILD/NewsCache-1.2rc6 + pushd /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/etc/cron.daily + cat + chmod 755 newscache ~/build/BUILD/NewsCache-1.2rc6 + popd + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.2-0.43.rc6.fc38 --unique-debug-suffix -1.2-0.43.rc6.fc38.riscv64 --unique-debug-src-base newscache-1.2-0.43.rc6.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/NewsCache-1.2rc6 extracting debug info from /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/sbin/newscacheclean extracting debug info from /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/sbin/newscache extracting debug info from /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/bin/updatenews original debug info size: 20068kB, size after compression: 18016kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 773 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/cron.daily/newscache from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: newscache-1.2-0.43.rc6.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P7YcEE + umask 022 + cd /builddir/build/BUILD + cd NewsCache-1.2rc6 + DOCDIR=/builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr AUTHORS /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr COPYING /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr NEWS /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr README /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr THANKS /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr TODO /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr doc/newscache-coredump.txt doc/newscache-corrupt-db-files.txt doc/newscache-debugging.txt doc/newscache-pam.txt doc/newscache-stunnel-ssl.txt /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + cp -pr etc/newscache.auth-dist etc/newscache.conf-dist /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64/usr/share/doc/newscache + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(newscache) = 1.2-0.43.rc6.fc38 newscache = 1.2-0.43.rc6.fc38 newscache(riscv-64) = 1.2-0.43.rc6.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: newscache-debugsource-1.2-0.43.rc6.fc38.riscv64 Provides: newscache-debugsource = 1.2-0.43.rc6.fc38 newscache-debugsource(riscv-64) = 1.2-0.43.rc6.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: newscache-debuginfo-1.2-0.43.rc6.fc38.riscv64 Provides: debuginfo(build-id) = 45642d7f0b215fd95b82ee2b5d549fb9bd6bf3c6 debuginfo(build-id) = 55137bea926dc02ec4c0c29d37e9cad09310d3ad debuginfo(build-id) = f4a816b40222c3e1fc72e9d43d9a17c4c1f1fd1c newscache-debuginfo = 1.2-0.43.rc6.fc38 newscache-debuginfo(riscv-64) = 1.2-0.43.rc6.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: newscache-debugsource(riscv-64) = 1.2-0.43.rc6.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 Wrote: /builddir/build/RPMS/newscache-debugsource-1.2-0.43.rc6.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/newscache-1.2-0.43.rc6.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/newscache-debuginfo-1.2-0.43.rc6.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j3ik38 + umask 022 + cd /builddir/build/BUILD + cd NewsCache-1.2rc6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/newscache-1.2-0.43.rc6.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ytykdG + umask 022 + cd /builddir/build/BUILD + rm -rf NewsCache-1.2rc6 NewsCache-1.2rc6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 150: %{_initrddir}/* Child return code was: 0