Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-client.spec'], gid=135user='mockbuild'printOutput=Falseshell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-3449/root'timeout=0logger=uid=1001env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-client.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-154293322.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ninjam-client-0.0.1-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-client.spec'], gid=135user='mockbuild'printOutput=Falseprivate_network=Trueshell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-3449/root'timeout=0logger=uid=1001env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-client.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GdksgW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ninjam-client-0.0.1 + /usr/bin/mkdir -p ninjam-client-0.0.1 + cd ninjam-client-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/cclient_src_v0.01a.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nJI2SI + umask 022 + cd /builddir/build/BUILD + cd ninjam-client-0.0.1 + cd ninjam/cursesclient + make OPTFLAGS=-fpermissive -j2 g++ -fpermissive -s -c -o ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/asyncdns.cpp g++ -fpermissive -s -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:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr=""; ^ ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(int, sockaddr_in*)': ../../WDL/jnetlib/connection.cpp:58:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 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:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr="creating socket"; ^ ../../WDL/jnetlib/connection.cpp:81:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr="empty hostname"; ^ ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::run(int, int, int*, int*)': ../../WDL/jnetlib/connection.cpp:133:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr="resolving hostname"; ^ ../../WDL/jnetlib/connection.cpp:144:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr="connecting to host"; ^ ../../WDL/jnetlib/connection.cpp:162:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr="connecting to host (calling select())"; ^ ../../WDL/jnetlib/connection.cpp:171:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_errorstr="connecting to host"; ^ g++ -fpermissive -s -c -o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/listen.cpp g++ -fpermissive -s -c -o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/util.cpp g++ -fpermissive -s -c -o ../../WDL/rng.o ../../WDL/rng.cpp g++ -fpermissive -s -c -o ../../WDL/sha.o ../../WDL/sha.cpp g++ -fpermissive -s -c -o ../mpb.o ../mpb.cpp g++ -fpermissive -s -c -o ../netmsg.o ../netmsg.cpp In file included from ../../WDL/jnetlib/jnetlib.h:42:0, from ../netmsg.h:33, from ../mpb.h:32, from ../mpb.cpp:35: ../../WDL/jnetlib/httpget.h:55:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 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:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 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:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!sp) sp=""; ^ In file included from ../../WDL/jnetlib/jnetlib.h:42:0, from ../netmsg.h:33, from ../netmsg.cpp:36: ../../WDL/jnetlib/httpget.h:55:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 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:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } ^ g++ -fpermissive -s -c -o ../njclient.o ../njclient.cpp g++ -fpermissive -s -c -o ../audiostream_alsa.o ../audiostream_alsa.cpp In file included from ../njclient.h:69:0, from ../njclient.cpp:29: ../../WDL/string.h: In member function 'char* WDL_String::Get()': ../../WDL/string.h:138:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return ""; ^ In file included from ../../WDL/jnetlib/jnetlib.h:42:0, from ../njclient.h:71, from ../njclient.cpp:29: ../../WDL/jnetlib/httpget.h: At global scope: ../../WDL/jnetlib/httpget.h:55:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 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:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } ^ ../audiostream_alsa.cpp: In function 'audioStreamer* create_audioStreamer_ALSA(char*, SPLPROC)': ../audiostream_alsa.cpp:374:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *indev="hw:0,0"; ^ ../audiostream_alsa.cpp:375:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *outdev="hw:0,0"; ^ ../njclient.cpp: In member function 'void BufferQueue::Clear()': ../njclient.cpp:169:19: warning: cast from 'WDL_HeapBuf*' to 'int' loses precision [-fpermissive] if ((int)*bufs != 0 && (int)*bufs != -1) delete *bufs; ^ ../njclient.cpp:169:38: warning: cast from 'WDL_HeapBuf*' to 'int' loses precision [-fpermissive] if ((int)*bufs != 0 && (int)*bufs != -1) delete *bufs; ^ ../njclient.cpp: In destructor 'NJClient::~NJClient()': ../njclient.cpp:460:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeLog("end\n"); ^ ../njclient.cpp: In member function 'int NJClient::Run()': ../njclient.cpp:816:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!un) un=""; ^ ../njclient.cpp:817:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!chn) chn=""; ^ ../njclient.cpp:1014:23: warning: cast from 'WDL_HeapBuf*' to 'int' loses precision [-fpermissive] if (p && (int)p != -1) ^ ../njclient.cpp:1020:16: warning: cast from 'WDL_HeapBuf*' to 'int' loses precision [-fpermissive] if ((int)p == -1) ^ ../njclient.cpp:1046:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeLog("local %s %d\n",guidstr,lc->channel_idx); ^ ../njclient.cpp: In member function 'void NJClient::on_new_interval()': ../njclient.cpp:1566:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeLog("interval %d %.2f %d\n",m_loopcnt,GetActualBPM(),m_active_bpi); ^ ../njclient.cpp:1614:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeLog("user %s \"%s\" %d \"%s\"\n",guidstr,user->name.Get(),ch,chan->name.Get()); ^ ../njclient.cpp: In member function 'void BufferQueue::DisposeBlock(WDL_HeapBuf*)': ../njclient.cpp:2058:17: warning: cast from 'WDL_HeapBuf*' to 'int' loses precision [-fpermissive] if (b && (int)b != -1) m_emptybufs.Add(b); ^ g++ -fpermissive -s -c -o ../njmisc.o ../njmisc.cpp g++ -fpermissive -s -c -o cursesclient.o cursesclient.cpp In file included from ../njclient.h:69:0, from cursesclient.cpp:46: ../../WDL/string.h: In member function 'char* WDL_String::Get()': ../../WDL/string.h:138:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return ""; ^ In file included from ../../WDL/jnetlib/jnetlib.h:42:0, from ../njclient.h:71, from cursesclient.cpp:46: ../../WDL/jnetlib/httpget.h: At global scope: ../../WDL/jnetlib/httpget.h:55:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 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:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } ^ In file included from cursesclient.cpp:48:0: ../../WDL/lineparse.h: In member function 'char* LineParser::gettoken_str(int)': ../../WDL/lineparse.h:139:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (token < 0 || token >= m_nt) return ""; ^ cursesclient.cpp: In function 'void chatmsg_cb(int, NJClient*, char**, int)': cursesclient.cpp:138:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addChatLine("",tmp.Get()); ^ cursesclient.cpp:170:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addChatLine("",tmp.Get()); ^ cursesclient.cpp: In function 'void showmainview(bool, int)': cursesclient.cpp:532:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->SetLocalChannelInfo(x,"channel",true,0,false,0,true,false); ^ cursesclient.cpp:571:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] COLORMAP(5),COLORMAP(5),(g_sel_ypos != selpos++ || g_sel_ycat != selcat) ? -1 : g_sel_x); ^ cursesclient.cpp:667:119: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] COLORMAP(5),COLORMAP(5),(g_sel_ypos != selpos++ || g_sel_ycat != selcat) ? -1 : g_sel_x); ^ cursesclient.cpp:777:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *p1="RENAME CHANNEL:"; ^ cursesclient.cpp: In function 'int main(int, char**)': cursesclient.cpp:1013:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] audioconfigstr=""; ^ cursesclient.cpp:1256:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->SetLocalChannelInfo(0,"channel0",true,0,false,0,true,true); ^ cursesclient.cpp:1523:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->ChatMessage_Send("MSG",m_chatinput_str); ^ cursesclient.cpp:1531:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->ChatMessage_Send("ADMIN",m_chatinput_str+1); ^ cursesclient.cpp:1537:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->ChatMessage_Send("ADMIN",p); ^ cursesclient.cpp:1549:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->ChatMessage_Send("PRIVMSG",n,p); ^ cursesclient.cpp:1559:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addChatLine("","error: /msg requires a username and a message."); ^ cursesclient.cpp:1559:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cursesclient.cpp:1564:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addChatLine("","error: unknown command."); ^ cursesclient.cpp:1564:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cursesclient.cpp:1569:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_client->ChatMessage_Send("MSG",m_chatinput_str); ^ g++ -fpermissive -s -o cninjam ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/util.o ../../WDL/rng.o ../../WDL/sha.o ../mpb.o ../netmsg.o ../njclient.o ../audiostream_alsa.o ../njmisc.o cursesclient.o -lpthread -lncurses -lm -lasound -logg -lvorbis -lvorbisenc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wpjrVx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64 + cd ninjam-client-0.0.1 + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64//usr/bin/ + /usr/bin/install -m 644 ninjam/cursesclient/cninjam /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64/usr/bin/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ninjam-client-0.0.1-1.el7.centos.x86_64 Provides: ninjam-client = 0.0.1-1.el7.centos ninjam-client(x86-64) = 0.0.1-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-154293322.novalocal Wrote: /builddir/build/RPMS/ninjam-client-0.0.1-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iVo5kd + umask 022 + cd /builddir/build/BUILD + cd ninjam-client-0.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ninjam-client-0.0.1-1.el7.centos.x86_64 + exit 0 Child return code was: 0