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-yenc.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-yenc.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-yenc-0.3-10.fc16.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-yenc.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-yenc.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uh7J8M + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf yenc-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/yenc-0.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd yenc-0.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jqERPK + umask 022 + cd /builddir/build/BUILD + cd yenc-0.3 + 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 -c 'import setuptools; execfile("setup.py")' build running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying lib/yenc.py -> build/lib.linux-x86_64-2.7 running build_ext building '_yenc' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src 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 src/_yenc.c -o build/temp.linux-x86_64-2.7/src/_yenc.o -O2 -g src/_yenc.c: In function 'encode_file': src/_yenc.c:224:3: warning: pointer targets in passing argument 1 of 'encode_buffer' differ in signedness [-Wpointer-sign] src/_yenc.c:135:12: note: expected 'char *' but argument is of type 'Byte *' src/_yenc.c:224:3: warning: pointer targets in passing argument 2 of 'encode_buffer' differ in signedness [-Wpointer-sign] src/_yenc.c:135:12: note: expected 'char *' but argument is of type 'Byte *' src/_yenc.c: In function 'encode_string': src/_yenc.c:305:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] src/_yenc.c:306:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] src/_yenc.c:307:2: warning: pointer targets in passing argument 1 of 'encode_buffer' differ in signedness [-Wpointer-sign] src/_yenc.c:135:12: note: expected 'char *' but argument is of type 'Byte *' src/_yenc.c:307:2: warning: pointer targets in passing argument 2 of 'encode_buffer' differ in signedness [-Wpointer-sign] src/_yenc.c:135:12: note: expected 'char *' but argument is of type 'Byte *' src/_yenc.c:308:2: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'Byte *' src/_yenc.c: In function 'decode_file': src/_yenc.c:361:5: warning: pointer targets in passing argument 1 of 'decode_buffer' differ in signedness [-Wpointer-sign] src/_yenc.c:241:12: note: expected 'char *' but argument is of type 'Byte *' src/_yenc.c:361:5: warning: pointer targets in passing argument 2 of 'decode_buffer' differ in signedness [-Wpointer-sign] src/_yenc.c:241:12: note: expected 'char *' but argument is of type 'Byte *' src/_yenc.c: In function 'decode_string': src/_yenc.c:394:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "O!|ii" [enabled by default] argument 7 ("&crc_value") had type "long int *" (pointing to 64 bits) but was expecting "int *" (pointing to 32 bits) for format code "i" src/_yenc.c:413:2: warning: dereferencing NULL (Py_output_string->ob_refcnt) at src/_yenc.c:413 [enabled by default] src/_yenc.c:394:33: note: when PyArg_ParseTupleAndKeywords() succeeds at: if(!PyArg_ParseTupleAndKeywords(args, src/_yenc.c:394:4: note: taking False path at: if(!PyArg_ParseTupleAndKeywords(args, src/_yenc.c:404:10: note: reaching: crc_init(&crc, crc_value); src/_yenc.c:405:27: note: when PyString_Size() succeeds at: input_len = PyString_Size(Py_input_string); src/_yenc.c:406:15: note: when PyString_AsString() succeeds at: input_buffer = PyString_AsString(Py_input_string); src/_yenc.c:409:19: note: when PyString_FromStringAndSize() fails at: Py_output_string = PyString_FromStringAndSize(output_buffer, output_len); src/_yenc.c:410:9: note: when Py_BuildValue() fails at: retval = Py_BuildValue("(S,i,i)", Py_output_string, crc.crc, escape); src/_yenc.c:413:2: note: found 3 similar trace(s) to this src/_yenc.c:380:1: note: graphical error report for function 'decode_string' written out to 'build/temp.linux-x86_64-2.7/src/_yenc.c.decode_string-refcount-errors.html' src/_yenc.c: In function 'decode_file': src/_yenc.c:337:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "O!O!|l" [enabled by default] argument 9 ("&bytes") had type "uLong *" (pointing to 64 bits) but was expecting "long int *" (pointing to 64 bits) for format code "l" src/_yenc.c:325:8: warning: Mismatching type in call to Py_BuildValue with format code "(l,i)" [enabled by default] argument 2 ("decoded") had type "uLong" but was expecting "long int" for format code "l" src/_yenc.c:371:22: warning: Mismatching type in call to Py_BuildValue with format code "(l,i)" [enabled by default] argument 3 ("D.14013") had type "unsigned int" but was expecting "int" for format code "i" src/_yenc.c:342:9: 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 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 2029, in _get_transitions_for_stmt return self._get_transitions_for_GimpleCall(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2212, in _get_transitions_for_GimpleCall raise NotImplementedError('not yet implemented: %s' % fnname) NotImplementedError: not yet implemented: PyFile_AsFile src/_yenc.c: In function 'encode_string': src/_yenc.c:312:2: warning: dereferencing NULL (Py_output_string->ob_refcnt) at src/_yenc.c:312 [enabled by default] src/_yenc.c:293:33: note: when PyArg_ParseTupleAndKeywords() succeeds at: if(!PyArg_ParseTupleAndKeywords(args, src/_yenc.c:293:4: note: taking False path at: if(!PyArg_ParseTupleAndKeywords(args, src/_yenc.c:303:10: note: reaching: crc_init(&crc, crc_value); src/_yenc.c:304:27: note: when PyString_Size() succeeds at: input_len = PyString_Size(Py_input_string); src/_yenc.c:305:15: note: when PyString_AsString() succeeds at: input_buffer = PyString_AsString(Py_input_string); src/_yenc.c:308:19: note: when PyString_FromStringAndSize() fails at: Py_output_string = PyString_FromStringAndSize(output_buffer, output_len); src/_yenc.c:309:9: note: when Py_BuildValue() fails at: retval = Py_BuildValue("(S,i,i)", Py_output_string, crc.crc, col); src/_yenc.c:312:2: note: found 3 similar trace(s) to this src/_yenc.c:279:1: note: graphical error report for function 'encode_string' written out to 'build/temp.linux-x86_64-2.7/src/_yenc.c.encode_string-refcount-errors.html' src/_yenc.c: In function 'encode_buffer': src/_yenc.c:142:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed src/_yenc.c:173:10: warning: usage of uninitialized data (encoded) on left-hand side of + at src/_yenc.c:173 [enabled by default] src/_yenc.c:149:2: note: when considering range: 1 <= value <= 0x7fffffff at: for(in_ind=0; in_ind < bytes; in_ind++) { src/_yenc.c:149:2: note: taking True path at: for(in_ind=0; in_ind < bytes; in_ind++) { src/_yenc.c:150:30: note: reaching: byte = (Byte)( input_buffer[in_ind] + 42 ); src/_yenc.c:150:10: note: when treating unknown char * from src/_yenc.c:150 as non-NULL at: byte = (Byte)( input_buffer[in_ind] + 42 ); src/_yenc.c:151:31: note: when treating unknown char * from src/_yenc.c:151 as non-NULL at: crc_update(crc, input_buffer[in_ind]); src/_yenc.c:152:3: note: when following case 32 at: switch(byte){ src/_yenc.c:160:8: note: when treating unknown int * from src/_yenc.c:140 as non-NULL at: if(*col == 0 || *col == LINESIZE-1) { src/_yenc.c:160:18: note: when considering range: -0x80000000 <= value <= -1 at: if(*col == 0 || *col == LINESIZE-1) { src/_yenc.c:160:7: note: taking False path at: if(*col == 0 || *col == LINESIZE-1) { src/_yenc.c:171:28: note: when treating unknown char * from src/_yenc.c:171 as non-NULL at: output_buffer[out_ind++] = byte; src/_yenc.c:173:10: note: found 9 similar trace(s) to this src/_yenc.c:142:1: note: graphical error report for function 'encode_buffer' written out to 'build/temp.linux-x86_64-2.7/src/_yenc.c.encode_buffer-refcount-errors.html' src/_yenc.c: In function 'encode_file': src/_yenc.c:202:33: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "O!O!|l" [enabled by default] argument 9 ("&bytes") had type "uLong *" (pointing to 64 bits) but was expecting "long int *" (pointing to 64 bits) for format code "l" src/_yenc.c:191:8: warning: Mismatching type in call to Py_BuildValue with format code "(l,i)" [enabled by default] argument 2 ("encoded") had type "uLong" but was expecting "long int" for format code "l" src/_yenc.c:238:22: warning: Mismatching type in call to Py_BuildValue with format code "(l,i)" [enabled by default] argument 3 ("D.14152") had type "unsigned int" but was expecting "int" for format code "i" src/_yenc.c:207:9: 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 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 2029, in _get_transitions_for_stmt return self._get_transitions_for_GimpleCall(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2212, in _get_transitions_for_GimpleCall raise NotImplementedError('not yet implemented: %s' % fnname) NotImplementedError: not yet implemented: PyFile_AsFile error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.jqERPK (%build) Bad exit status from /var/tmp/rpm-tmp.jqERPK (%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-yenc.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-yenc.spec'] LEAVE do --> EXCEPTION RAISED