Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-libasyncns.spec'], False, '/var/lib/mock/fedora-16-x86_64/root/', None, 0, True, False, 500, 475, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-libasyncns.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-libasyncns-0.7.1-6.fc16.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-libasyncns.spec'], False, '/var/lib/mock/fedora-16-x86_64/root/', None, 0, True, False, 500, 475, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-libasyncns.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.15wVSG + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf libasyncns-python-0.7.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libasyncns-python-0.7.1.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libasyncns-python-0.7.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ecJu3X + umask 022 + cd /builddir/build/BUILD + cd libasyncns-python-0.7.1 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + /usr/bin/python setup.py build running build running build_ext building 'libasyncns' extension creating build creating build/temp.linux-x86_64-2.7 gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -I/usr/include/python2.7 -c addrinfoquery.c -o build/temp.linux-x86_64-2.7/addrinfoquery.o -Wall -Wextra -Wno-unused addrinfoquery.c: In function 'initAddrInfoQuery': addrinfoquery.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] addrinfoquery.c: In function 'AddrInfoQuery_get_done': addrinfoquery.c:36:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed addrinfoquery.c:111:2: warning: ob_refcnt of '*tu' is 1 too high [enabled by default] addrinfoquery.c:111:2: note: was expecting final ob_refcnt to be N + 1 (for some unknown N) addrinfoquery.c:111:2: note: due to object being referenced by: PyListObject.ob_item[0] addrinfoquery.c:111:2: note: but final ob_refcnt is N + 2 addrinfoquery.c:60:13: note: PyTupleObject allocated at: PyObject *tu = PyTuple_New(5); addrinfoquery.c:40:4: note: when treating unknown struct PyObject * from addrinfoquery.c:40 as NULL at: if(self->query.result != NULL) addrinfoquery.c:40:4: note: taking False path at: if(self->query.result != NULL) addrinfoquery.c:46:30: note: reaching: r = asyncns_getaddrinfo_done(self->query.asyncns->asyncns, addrinfoquery.c:46:30: note: when treating unknown struct Asyncns * from addrinfoquery.c:46 as non-NULL at: r = asyncns_getaddrinfo_done(self->query.asyncns->asyncns, addrinfoquery.c:49:4: note: when considering value == (int)0 from addrinfoquery.c:46 at: if(r != 0) addrinfoquery.c:49:4: note: taking False path at: if(r != 0) addrinfoquery.c:55:6: note: reaching: out = PyList_New(0); addrinfoquery.c:55:6: note: when PyList_New() succeeds at: out = PyList_New(0); addrinfoquery.c:56:2: note: when treating unknown struct addrinfo * * from addrinfoquery.c:46 as non-NULL at: for (i = ai; i; i = i->ai_next) addrinfoquery.c:56:2: note: taking True path at: for (i = ai; i; i = i->ai_next) addrinfoquery.c:59:15: note: reaching: const char *p = NULL; addrinfoquery.c:60:13: note: when PyTuple_New() succeeds at: PyObject *tu = PyTuple_New(5); addrinfoquery.c:60:13: note: ob_refcnt is now refs: 1 + N where N >= 0 addrinfoquery.c:63:6: note: when considering range: -0x80000000 <= value <= 1 at: if (i->ai_family == PF_INET) addrinfoquery.c:63:6: note: taking False path at: if (i->ai_family == PF_INET) addrinfoquery.c:76:13: note: reaching: else if (i->ai_family == PF_INET6) addrinfoquery.c:76:11: note: when considering range: -0x80000000 <= value <= 9 at: else if (i->ai_family == PF_INET6) addrinfoquery.c:76:11: note: taking False path at: else if (i->ai_family == PF_INET6) addrinfoquery.c:99:42: note: reaching: PyTuple_SetItem(tu, 0, PyInt_FromLong(i->ai_family)); addrinfoquery.c:99:18: note: when PyInt_FromLong() succeeds at: PyTuple_SetItem(tu, 0, PyInt_FromLong(i->ai_family)); addrinfoquery.c:99:18: note: when PyTuple_SetItem() succeeds at: PyTuple_SetItem(tu, 0, PyInt_FromLong(i->ai_family)); addrinfoquery.c:100:18: note: when PyInt_FromLong() succeeds at: PyTuple_SetItem(tu, 1, PyInt_FromLong(i->ai_socktype)); addrinfoquery.c:100:18: note: when PyTuple_SetItem() succeeds at: PyTuple_SetItem(tu, 1, PyInt_FromLong(i->ai_socktype)); addrinfoquery.c:101:18: note: when PyInt_FromLong() fails at: PyTuple_SetItem(tu, 2, PyInt_FromLong(i->ai_protocol)); addrinfoquery.c:101:18: note: when PyTuple_SetItem() succeeds at: PyTuple_SetItem(tu, 2, PyInt_FromLong(i->ai_protocol)); addrinfoquery.c:102:18: note: when treating unknown char * from addrinfoquery.c:102 as non-NULL at: PyTuple_SetItem(tu, 3, PyString_FromString(i->ai_canonname?i->ai_canonname:"")); addrinfoquery.c:102:18: note: taking True path at: PyTuple_SetItem(tu, 3, PyString_FromString(i->ai_canonname?i->ai_canonname:"")); addrinfoquery.c:102:18: note: reaching: PyTuple_SetItem(tu, 3, PyString_FromString(i->ai_canonname?i->ai_canonname:"")); addrinfoquery.c:102:18: note: when treating unknown char * from addrinfoquery.c:102 as non-NULL at: PyTuple_SetItem(tu, 3, PyString_FromString(i->ai_canonname?i->ai_canonname:"")); addrinfoquery.c:102:18: note: when PyString_FromString() succeeds at: PyTuple_SetItem(tu, 3, PyString_FromString(i->ai_canonname?i->ai_canonname:"")); addrinfoquery.c:102:18: note: when PyTuple_SetItem() succeeds at: PyTuple_SetItem(tu, 3, PyString_FromString(i->ai_canonname?i->ai_canonname:"")); addrinfoquery.c:104:18: note: when PyTuple_SetItem() succeeds at: PyTuple_SetItem(tu, 4, sockaddr); addrinfoquery.c:105:16: note: when PyList_Append() succeeds at: PyList_Append(out, tu); addrinfoquery.c:105:16: note: ob_refcnt is now refs: 2 + N where N >= 0 addrinfoquery.c:105:16: note: '*tu' is now referenced by 1 non-stack value(s): PyListObject.ob_item[0] addrinfoquery.c:56:2: note: when treating unknown struct addrinfo * from addrinfoquery.c:56 as NULL at: for (i = ai; i; i = i->ai_next) addrinfoquery.c:56:2: note: taking False path at: for (i = ai; i; i = i->ai_next) addrinfoquery.c:107:21: note: reaching: Query_store_result(&(self->query), out); addrinfoquery.c:111:2: note: returning at: return out; addrinfoquery.c:111:2: note: found 9 similar trace(s) to this addrinfoquery.c:111:2: warning: returning (PyObject*)NULL without setting an exception [enabled by default] addrinfoquery.c:40:4: note: when treating unknown struct PyObject * from addrinfoquery.c:40 as NULL at: if(self->query.result != NULL) addrinfoquery.c:40:4: note: taking False path at: if(self->query.result != NULL) addrinfoquery.c:46:30: note: reaching: r = asyncns_getaddrinfo_done(self->query.asyncns->asyncns, addrinfoquery.c:46:30: note: when treating unknown struct Asyncns * from addrinfoquery.c:46 as non-NULL at: r = asyncns_getaddrinfo_done(self->query.asyncns->asyncns, addrinfoquery.c:49:4: note: when considering range: -0x80000000 <= value <= -1 at: if(r != 0) addrinfoquery.c:49:4: note: taking True path at: if(r != 0) addrinfoquery.c:51:26: note: reaching: libasyncns_set_gaierror(r); addrinfoquery.c:111:2: note: returning at: return out; addrinfoquery.c:36:1: note: graphical error report for function 'AddrInfoQuery_get_done' written out to 'build/temp.linux-x86_64-2.7/addrinfoquery.c.AddrInfoQuery_get_done-refcount-errors.html' addrinfoquery.c: At top level: addrinfoquery.c:117:15: warning: flags do not match callback signature for 'AddrInfoQuery_get_done' within PyMethodDef table [enabled by default] addrinfoquery.c:117:15: note: expected ml_meth callback of type "PyObject (fn)(someobject *, PyObject *)" (2 arguments) addrinfoquery.c:117:15: note: actual type of underlying callback: struct PyObject * (struct AddrInfoQuery *) (1 arguments) addrinfoquery.c:117:15: note: see http://docs.python.org/c-api/structures.html#PyMethodDef gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -I/usr/include/python2.7 -c asyncns.c -o build/temp.linux-x86_64-2.7/asyncns.o -Wall -Wextra -Wno-unused asyncns.c: In function 'initAsyncns': asyncns.c:541:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] asyncns.c: In function 'Asyncns_res_query': asyncns.c:371:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "sii" [enabled by default] argument 6 ("&c") had type "ns_class *" but was expecting "int *" (pointing to 32 bits) for format code "i" asyncns.c:371:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "sii" [enabled by default] argument 7 ("&t") had type "ns_type *" but was expecting "int *" (pointing to 32 bits) for format code "i" asyncns.c:378:22: warning: dereferencing NULL (q->query) at asyncns.c:378 [enabled by default] asyncns.c:371:33: note: when PyArg_ParseTupleAndKeywords() succeeds at: if(!PyArg_ParseTupleAndKeywords(args, kwds, "sii", kwlist, &dname, &c, &t)) asyncns.c:371:4: note: taking False path at: if(!PyArg_ParseTupleAndKeywords(args, kwds, "sii", kwlist, &dname, &c, &t)) asyncns.c:376:28: note: reaching: ResQuery *q = (ResQuery *)PyObject_MyNew(ResQuery_type); asyncns.c:376:12: note: when call fails at: ResQuery *q = (ResQuery *)PyObject_MyNew(ResQuery_type); asyncns.c:366:1: note: graphical error report for function 'Asyncns_res_query' written out to 'build/temp.linux-x86_64-2.7/asyncns.c.Asyncns_res_query-refcount-errors.html' asyncns.c: In function 'Asyncns_getnameinfo': asyncns.c:255:19: error: Unhandled Python exception raised calling 'execute' method Traceback (most recent call last): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/__init__.py", line 75, in execute self._check_refcounts(fun) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/__init__.py", line 79, in _check_refcounts self.show_possible_null_derefs) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 3668, in check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2893, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2013, in get_transitions return self._get_transitions_for_stmt(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2044, in _get_transitions_for_stmt return self._get_transitions_for_GimpleAsm(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2567, in _get_transitions_for_GimpleAsm if stmt.string == '': AttributeError: 'gcc.GimpleAsm' object has no attribute 'string' asyncns.c: In function 'get_port': asyncns.c:165:10: error: Unhandled Python exception raised calling 'execute' method Traceback (most recent call last): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/__init__.py", line 75, in execute self._check_refcounts(fun) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/__init__.py", line 79, in _check_refcounts self.show_possible_null_derefs) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 3668, in check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2893, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2013, in get_transitions return self._get_transitions_for_stmt(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2044, in _get_transitions_for_stmt return self._get_transitions_for_GimpleAsm(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2567, in _get_transitions_for_GimpleAsm if stmt.string == '': AttributeError: 'gcc.GimpleAsm' object has no attribute 'string' asyncns.c: In function 'Asyncns_getaddrinfo': asyncns.c:126:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "zz|iiii" [enabled by default] argument 5 ("&host") had type "char * *" but was expecting "const char * *" for format code "z" asyncns.c:126:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "zz|iiii" [enabled by default] argument 6 ("&port") had type "char * *" but was expecting "const char * *" for format code "z" asyncns.c:134:22: warning: dereferencing NULL (q->query) at asyncns.c:134 [enabled by default] asyncns.c:126:33: note: when PyArg_ParseTupleAndKeywords() succeeds at: if(!PyArg_ParseTupleAndKeywords(args, kwds, "zz|iiii", kwlist, &host, &port, asyncns.c:126:4: note: taking False path at: if(!PyArg_ParseTupleAndKeywords(args, kwds, "zz|iiii", kwlist, &host, &port, asyncns.c:133:38: note: reaching: AddrInfoQuery *q = (AddrInfoQuery *)PyObject_MyNew(AddrInfoQuery_type); asyncns.c:133:17: note: when call fails at: AddrInfoQuery *q = (AddrInfoQuery *)PyObject_MyNew(AddrInfoQuery_type); asyncns.c:114:1: note: graphical error report for function 'Asyncns_getaddrinfo' written out to 'build/temp.linux-x86_64-2.7/asyncns.c.Asyncns_getaddrinfo-refcount-errors.html' asyncns.c: In function 'Asyncns_new': asyncns.c:33:16: warning: dereferencing NULL (self->asyncns) at asyncns.c:34 [enabled by default] asyncns.c:32:11: note: when call fails at: Asyncns *self = (Asyncns*)type->tp_alloc(type, 0); asyncns.c:31:1: note: graphical error report for function 'Asyncns_new' written out to 'build/temp.linux-x86_64-2.7/asyncns.c.Asyncns_new-refcount-errors.html' asyncns.c: In function 'asyncns_del_query': asyncns.c:110:2: warning: ob_refcnt of '*query' is 1 too low [enabled by default] asyncns.c:110:2: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) asyncns.c:110:2: note: but final ob_refcnt is N + -1 asyncns.c:92:2: note: when considering range: 1 <= value <= 0x7fffffff at: for(i=0 ; inqueries ; i++) asyncns.c:92:2: note: taking True path at: for(i=0 ; inqueries ; i++) asyncns.c:94:13: note: reaching: if(asyncns->queries[i] == query) asyncns.c:94:22: note: when treating unknown struct Query * * from asyncns.c:94 as non-NULL at: if(asyncns->queries[i] == query) asyncns.c:94:5: note: when taking True path at: if(asyncns->queries[i] == query) asyncns.c:96:10: note: reaching: found = 1; asyncns.c:97:4: note: when considering range: -0x80000000 <= value <= 0 at: for(j=i ; jnqueries - 1 ; j++) asyncns.c:97:4: note: taking False path at: for(j=i ; jnqueries - 1 ; j++) asyncns.c:101:11: note: reaching: asyncns->nqueries--; asyncns.c:92:2: note: when considering range: -0x80000000 <= value <= 1 at: for(i=0 ; inqueries ; i++) asyncns.c:92:2: note: taking False path at: for(i=0 ; inqueries ; i++) asyncns.c:104:4: note: reaching: if(found) asyncns.c:104:4: note: taking True path at: if(found) asyncns.c:106:65: note: reaching: asyncns->queries = (Query **)realloc(asyncns->queries, asyncns->nqueries asyncns.c:108:3: note: ob_refcnt is now refs: -1 + N where N >= 1 asyncns.c:108:3: note: when taking True path at: Py_DECREF(query); asyncns.c:110:16: note: reaching: return found?0:-1; asyncns.c:110:16: note: taking True path at: return found?0:-1; asyncns.c:110:16: note: reaching: return found?0:-1; asyncns.c:110:2: note: returning at: return found?0:-1; asyncns.c:110:2: note: found 3 similar trace(s) to this asyncns.c:89:1: note: graphical error report for function 'asyncns_del_query' written out to 'build/temp.linux-x86_64-2.7/asyncns.c.asyncns_del_query-refcount-errors.html' error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.ecJu3X (%build) Bad exit status from /var/tmp/rpm-tmp.ecJu3X (%build) RPM build errors: Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-libasyncns.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 328, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-libasyncns.spec'] LEAVE do --> EXCEPTION RAISED