Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'], chrootPath='/var/lib/mock/fedora-37-x86_64-1663365045.038265/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.clj6pl4p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.clj6pl4p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '511fb58ee01f472ebf15ce33a7f30a10', '-D', '/var/lib/mock/fedora-37-x86_64-1663365045.038265/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.clj6pl4p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1603065600 Wrote: /builddir/build/SRPMS/ninjam-server-0.0.1-2.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'], chrootPath='/var/lib/mock/fedora-37-x86_64-1663365045.038265/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.clj6pl4p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.clj6pl4p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '208a2997fe5f408289365bb5f3c5f84d', '-D', '/var/lib/mock/fedora-37-x86_64-1663365045.038265/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.clj6pl4p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1603065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yo0lYQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ninjam_server_0.06 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ninjam_server_0.06.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ninjam_server_0.06 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|CFLAGS = -O2 -s -Wall|CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection|g' ninjam/server/makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z8KAzd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 ninjam_server_0.06 + cd ninjam/server + /usr/bin/make -O -j2 V=1 VERBOSE=1 g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/asyncdns.cpp ../../WDL/jnetlib/asyncdns.cpp: In member function 'int JNL_AsyncDNS::resolve(char*, long unsigned int*)': ../../WDL/jnetlib/asyncdns.cpp:132:24: warning: variable 'in' set but not used [-Wunused-but-set-variable] 132 | struct in_addr in; | ^~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/connection.cpp ../../WDL/jnetlib/connection.cpp: In constructor 'JNL_Connection::JNL_Connection(JNL_AsyncDNS*, int, int)': ../../WDL/jnetlib/connection.cpp:16:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | m_errorstr=""; | ^~ ../../WDL/jnetlib/connection.cpp:40:20: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 40 | memset(m_saddr,0,sizeof(m_saddr)); | ^~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(int, sockaddr_in*)': ../../WDL/jnetlib/connection.cpp:50:25: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 50 | else memset(m_saddr,0,sizeof(m_saddr)); | ^~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp:58:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | m_errorstr="invalid socket passed to connect"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(char*, int)': ../../WDL/jnetlib/connection.cpp:70:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | m_errorstr="creating socket"; | ^~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp:78:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 78 | memset(m_saddr,0,sizeof(m_saddr)); | ^~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp:81:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | m_errorstr="empty hostname"; | ^~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::run(int, int, int*, int*)': ../../WDL/jnetlib/connection.cpp:133:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | m_errorstr="resolving hostname"; | ^~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp:144:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | m_errorstr="connecting to host"; | ^~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp:162:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | m_errorstr="connecting to host (calling select())"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp:171:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | m_errorstr="connecting to host"; | ^~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::close(int)': ../../WDL/jnetlib/connection.cpp:295:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 295 | memset(m_saddr,0,sizeof(m_saddr)); | ^~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/listen.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/util.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/rng.o ../../WDL/rng.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/sha.o ../../WDL/sha.cpp ../../WDL/sha.cpp: In member function 'void WDL_SHA1::reset()': ../../WDL/sha.cpp:68:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 68 | for (x = 0; x < sizeof(W)/sizeof(W[0]); x ++) W[x]=0; | ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../../WDL/jnetlib/httpget.o ../../WDL/jnetlib/httpget.cpp In file included from ../../WDL/jnetlib/httpget.cpp:11: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); | ^~~~~ ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } | ^~~~~~~~~~~~~~~~ ../../WDL/jnetlib/httpget.cpp: In member function 'void JNL_HTTPGet::connect(const char*, int, char*)': ../../WDL/jnetlib/httpget.cpp:146:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | seterrstr("invalid URL"); | ^~~~~~~~~~~~~ ../../WDL/jnetlib/httpget.cpp:176:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | seterrstr("error allocating memory"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/httpget.cpp:225:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 225 | seterrstr("could not create connection object"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../WDL/jnetlib/httpget.cpp: In member function 'char* JNL_HTTPGet::getallheaders()': ../../WDL/jnetlib/httpget.cpp:282:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 282 | else return "\0\0"; | ^~~~~~ ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::run()': ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); | ^~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../netmsg.o ../netmsg.cpp In file included from ../../WDL/jnetlib/jnetlib.h:42, from ../netmsg.h:33, from ../netmsg.cpp:36: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); | ^~~~~ ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } | ^~~~~~~~~~~~~~~~ In file included from ../../WDL/queue.h:54, from ../netmsg.h:32: In member function 'WDL_HeapBuf::Resize(int, bool)', inlined from 'WDL_Queue::Compact(bool)' at ../../WDL/queue.h:114:23, inlined from 'Net_Connection::Run(int*)' at ../netmsg.cpp:163:18: ../../WDL/heapbuf.h:113:29: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 113 | void *nbuf=realloc(m_buf,newalloc); | ~~~~~~~^~~~~~~~~~~~~~~~ ../../WDL/heapbuf.h:113:29: note: in a call to built-in allocation function 'malloc' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ../mpb.o ../mpb.cpp In file included from ../../WDL/jnetlib/jnetlib.h:42, from ../netmsg.h:33, from ../mpb.h:32, from ../mpb.cpp:35: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); | ^~~~~ ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } | ^~~~~~~~~~~~~~~~ ../mpb.cpp: In member function 'Net_Message* mpb_chat_message::build()': ../mpb.cpp:883:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 883 | if (!sp) sp=""; | ^~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o ninjamsrv.o ninjamsrv.cpp In file included from ../../WDL/jnetlib/jnetlib.h:42, from ninjamsrv.cpp:42: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); | ^~~~~ ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } | ^~~~~~~~~~~~~~~~ In file included from usercon.h:37, from ninjamsrv.cpp:46: ../../WDL/string.h: In member function 'char* WDL_String::Get()': ../../WDL/string.h:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | return ""; | ^~ In file included from ninjamsrv.cpp:50: ../../WDL/lineparse.h: In member function 'char* LineParser::gettoken_str(int)': ../../WDL/lineparse.h:178:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | if (token < 0 || token >= m_nt) return ""; | ^~ ninjamsrv.cpp: In member function 'virtual int localUserInfoLookup::Run()': ninjamsrv.cpp:150:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | logText("got anonymous request (%s)\n",g_config_allowanonymous?"allowing":"denying"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:198:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | logText("got login request for '%s'\n",username.Get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'int ConfigOnToken(LineParser*)': ninjamsrv.cpp:345:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 345 | logText("Error opening license file %s\n",lp->gettoken_str(1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:390:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 390 | logText("Usage: ACL xx.xx.xx.xx/X [ban|allow|reserve]\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:418:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 418 | logText("Warning: Unknown user priviledge flag '%c'\n",*ptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'int ReadConfig(char*)': ninjamsrv.cpp:494:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 494 | if (g_logfp) logText("[config] reloading configuration file\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:499:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | if (g_logfp) logText("[config] error opening config file (console request)\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:553:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | if (g_logfp) logText("[config] warning: unterminated string parsing line %d of %s\n",linecnt,configfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:558:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 558 | if (g_logfp) logText("[config] warning: error parsing line %d of %s\n",linecnt,configfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:573:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 573 | if (g_logfp) logText("[config] warning: wrong number of tokens on line %d of %s\n",linecnt,configfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:578:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 578 | if (g_logfp) logText("[config] warning: invalid parameter on line %d of %s\n",linecnt,configfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:583:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 583 | if (g_logfp) logText("[config] warning: invalid config command \"%s\" on line %d of %s\n",lp.gettoken_str(0),linecnt,configfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:591:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | if (g_logfp) logText("[config] reload complete\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'void enforceACL()': ninjamsrv.cpp:628:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 628 | if (killcnt) logText("killed %d users by enforcing ACL\n",killcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'int main(int, char**)': ninjamsrv.cpp:758:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 758 | logText("Opened log. NINJAM Server %s built on %s at %s\n",VERSION,__DATE__,__TIME__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:762:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 762 | logText("Server starting up...\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:767:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 767 | logText("Port: %d\n",g_config_port); | ^~~~~~~~~~~~ ninjamsrv.cpp:771:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | logText("Error listening on port %d!\n",g_config_port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:776:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 776 | logText("Using defaults %d BPM %d BPI\n",g_default_bpm,g_default_bpi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:793:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 793 | logText("Incoming connection from %s!\n",str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:797:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 797 | logText("Denying connection (via ACL)\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:955:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 955 | logText("Archiving session '%s'\n",tmp.Get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:960:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 960 | logText("Error creating a session archive directory! Gave up after '%s' failed!\n",tmp.Get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp:975:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 975 | logText("Shutting down server\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'void onConfigChange(int, char**)': ninjamsrv.cpp:993:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 993 | logText("reloading config...\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'int main(int, char**)': ninjamsrv.cpp:726:30: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 726 | if (g_set_uid != -1) setuid(g_set_uid); | ~~~~~~^~~~~~~~~~~ ninjamsrv.cpp: In function 'int ReadConfig(char*)': ninjamsrv.cpp:530:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | fgets(buf,sizeof(buf),fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ ninjamsrv.cpp: In function 'int ConfigOnToken(LineParser*)': ninjamsrv.cpp:353:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 353 | fgets(buf,sizeof(buf),fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -c -o usercon.o usercon.cpp In file included from ../../WDL/jnetlib/jnetlib.h:42, from ../netmsg.h:33, from usercon.h:36, from usercon.cpp:37: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); | ^~~~~ ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } | ^~~~~~~~~~~~~~~~ In file included from usercon.h:37: ../../WDL/string.h: In member function 'char* WDL_String::Get()': ../../WDL/string.h:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | return ""; | ^~ usercon.cpp: In member function 'void User_Connection::Send(Net_Message*)': usercon.cpp:135:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | logText("Error sending message to user '%s', type %d, queue full!\n",m_username.Get(),msg->get_type()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp: In member function 'int User_Connection::OnRunAuth(User_Group*)': usercon.cpp:186:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | logText("%s: Refusing user, invalid login/password\n",addrbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:188:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 188 | bh.errmsg="invalid login/password"; | ^~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:207:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | newmsg.parms[0]="TOPIC"; | ^~~~~~~ usercon.cpp:208:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | newmsg.parms[1]=""; | ^~ usercon.cpp:227:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 227 | newmsg.parms[0]="USERCOUNT"; | ^~~~~~~~~~~ usercon.cpp:299:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 299 | logText("%s: Refusing user %s, server full\n",addrbuf,m_username.Get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:302:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | bh.errmsg="server full"; | ^~~~~~~~~~~~~ usercon.cpp:310:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 310 | logText("%s: Accepted user: %s\n",addrbuf,m_username.Get()); | ^~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:335:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 335 | newmsg.parms[0]="TOPIC"; | ^~~~~~~ usercon.cpp:336:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 336 | newmsg.parms[1]=""; | ^~ usercon.cpp:342:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 342 | newmsg.parms[0]="JOIN"; | ^~~~~~ usercon.cpp: In member function 'void User_Connection::SendUserList(User_Group*)': usercon.cpp:374:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 374 | bh.build_add_rec(1,0,0,0,0,u->m_username.Get(),""); | ^~ usercon.cpp: In member function 'int User_Connection::Run(User_Group*, int*)': usercon.cpp:413:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 413 | logText("%s: Got an authorization timeout\n",buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:416:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 416 | bh.errmsg="authorization timeout"; | ^~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:439:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:439:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:439:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; | ^~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:446:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | logText("%s: Refusing user, %s\n",addrbuf,bh.errmsg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:499:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | if (!chnp) chnp=""; | ^~ usercon.cpp:554:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | mfmt.build_add_rec(1,0,0,0,0,m_username.Get(),""); | ^~ usercon.cpp:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 650 | char *chn="?"; | ^~~ usercon.cpp: In member function 'int User_Group::Run()': usercon.cpp:919:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 919 | newmsg.parms[0]="PART"; | ^~~~~~ usercon.cpp:951:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 951 | logText("%s: disconnected (username:'%s', code=%d)\n",addrbuf,p->m_auth_state>0?p->m_username.Get():"",ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp: In member function 'void User_Group::onChatMessage(User_Connection*, mpb_chat_message*)': usercon.cpp:991:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 991 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:992:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 992 | newmsg.parms[1]=""; | ^~ usercon.cpp:1017:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1017 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1018:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1018 | newmsg.parms[1]=""; | ^~ usercon.cpp:1019:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1019 | newmsg.parms[2]="[voting system] !vote requires parameters"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1057:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1057 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1058:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1058 | newmsg.parms[1]=""; | ^~ usercon.cpp:1077:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1077 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1078:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1078 | newmsg.parms[1]=""; | ^~ usercon.cpp:1092:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1092 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1093:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1093 | newmsg.parms[1]=""; | ^~ usercon.cpp:1110:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1110 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1111:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1111 | newmsg.parms[1]=""; | ^~ usercon.cpp:1124:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1124 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1125:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1125 | newmsg.parms[1]=""; | ^~ usercon.cpp:1126:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1126 | newmsg.parms[2]="No MSG permission"; | ^~~~~~~~~~~~~~~~~~~ usercon.cpp:1132:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1132 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1145:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1145 | newmsg.parms[0]="SESSION"; | ^~~~~~~~~ usercon.cpp:1157:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1157 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1158:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1158 | newmsg.parms[1]=""; | ^~ usercon.cpp:1159:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1159 | newmsg.parms[2]="No PRIVMSG permission"; | ^~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1171:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1171 | newmsg.parms[0]="PRIVMSG"; | ^~~~~~~~~ usercon.cpp:1184:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1184 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1185:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1185 | newmsg.parms[1]=""; | ^~ usercon.cpp:1192:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1192 | char *adminerr="ADMIN requires valid parameter, i.e. topic, kick, bpm, bpi"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1200 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1201:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1201 | newmsg.parms[1]=""; | ^~ usercon.cpp:1202:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1202 | newmsg.parms[2]="No TOPIC permission"; | ^~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1214:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1214 | newmsg.parms[0]="TOPIC"; | ^~~~~~~ usercon.cpp:1227:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1227 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1228:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1228 | newmsg.parms[1]=""; | ^~ usercon.cpp:1229:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1229 | newmsg.parms[2]="No KICK permission"; | ^~~~~~~~~~~~~~~~~~~~ usercon.cpp:1256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1256 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1257 | newmsg.parms[1]=""; | ^~ usercon.cpp:1274:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1274 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1275:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1275 | newmsg.parms[1]=""; | ^~ usercon.cpp:1289:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1289 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1290:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1290 | newmsg.parms[1]=""; | ^~ usercon.cpp:1291:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1291 | newmsg.parms[2]="No BPM/BPI permission"; | ^~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1304:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1305:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1305 | newmsg.parms[1]=""; | ^~ usercon.cpp:1306:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1306 | newmsg.parms[2]="BPM parameter must be between 20 and 400"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1312:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1312 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1313:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1313 | newmsg.parms[1]=""; | ^~ usercon.cpp:1314:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | newmsg.parms[2]="BPI parameter must be between 2 and 1024"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usercon.cpp:1336:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1336 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1337:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1337 | newmsg.parms[1]=""; | ^~ usercon.cpp:1347:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1347 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1348:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1348 | newmsg.parms[1]=""; | ^~ usercon.cpp:1356:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1356 | newmsg.parms[0]="MSG"; | ^~~~~ usercon.cpp:1357:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1357 | newmsg.parms[1]=""; | ^~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -o ninjamsrv ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/httpget.o ../../WDL/rng.o ../../WDL/sha.o ../mpb.o ../netmsg.o usercon.o ninjamsrv.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Rd9x5J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 ninjam_server_0.06 + install -m 755 -d /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64//usr/bin/ + install -m 755 ninjam/server/ninjamsrv /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/bin/ + install -m 755 -d /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64//usr/share/ninjam/ + install -m 644 ninjam/server/example.cfg /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/share/ninjam/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.0.1-2.fc37 --unique-debug-suffix -0.0.1-2.fc37.x86_64 --unique-debug-src-base ninjam-server-0.0.1-2.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ninjam_server_0.06 extracting debug info from /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/bin/ninjamsrv original debug info size: 448kB, size after compression: 408kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 361 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 + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ninjam-server-0.0.1-2.fc37.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Xe4K5n + umask 022 + cd /builddir/build/BUILD + cd ninjam_server_0.06 + DOCDIR=/builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/share/doc/ninjam-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/share/doc/ninjam-server + cp -pr ninjam/server/license.txt /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/share/doc/ninjam-server + cp -pr ninjam/server/cclicense.txt /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64/usr/share/doc/ninjam-server + RPM_EC=0 ++ jobs -p + exit 0 Provides: ninjam-server = 0.0.1-2.fc37 ninjam-server(x86-64) = 0.0.1-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: ninjam-server-debugsource-0.0.1-2.fc37.x86_64 Provides: ninjam-server-debugsource = 0.0.1-2.fc37 ninjam-server-debugsource(x86-64) = 0.0.1-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ninjam-server-debuginfo-0.0.1-2.fc37.x86_64 Provides: debuginfo(build-id) = 7d35d3df2a5203f2e5d658446f346e7f7ca776b2 ninjam-server-debuginfo = 0.0.1-2.fc37 ninjam-server-debuginfo(x86-64) = 0.0.1-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ninjam-server-debugsource(x86-64) = 0.0.1-2.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64 Wrote: /builddir/build/RPMS/ninjam-server-debugsource-0.0.1-2.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/ninjam-server-debuginfo-0.0.1-2.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/ninjam-server-0.0.1-2.fc37.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BHMAxS + umask 022 + cd /builddir/build/BUILD + cd ninjam_server_0.06 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ninjam-server-0.0.1-2.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.l1tstk + umask 022 + cd /builddir/build/BUILD + rm -rf ninjam_server_0.06 ninjam_server_0.06.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0