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 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-kaa-imlib2.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-kaa-imlib2.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-kaa-imlib2-0.2.3-12.fc16.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-kaa-imlib2.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-kaa-imlib2.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j18czm + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf kaa-imlib2-0.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/kaa-imlib2-0.2.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kaa-imlib2-0.2.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (kaa-imlib2-nomd5.patch):' Patch #0 (kaa-imlib2-nomd5.patch): + /bin/cat /builddir/build/SOURCES/kaa-imlib2-nomd5.patch + /usr/bin/patch -s -p1 -b --suffix .nomd5 --fuzz=0 + cp -pr AUTHORS AUTHORS.not-utf8 + iconv -f ISO_8859-1 -t UTF8 AUTHORS.not-utf8 + touch -r AUTHORS.not-utf8 AUTHORS + rm AUTHORS.not-utf8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8h2kl4 + umask 022 + cd /builddir/build/BUILD + cd kaa-imlib2-0.2.3 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-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 POSIX shared memory enabled running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/kaa creating build/lib.linux-x86_64-2.7/kaa/imlib2 copying src/version.py -> build/lib.linux-x86_64-2.7/kaa/imlib2 copying src/__init__.py -> build/lib.linux-x86_64-2.7/kaa/imlib2 copying src/font.py -> build/lib.linux-x86_64-2.7/kaa/imlib2 copying src/image.py -> build/lib.linux-x86_64-2.7/kaa/imlib2 running build_ext building 'kaa.imlib2._Imlib2module' 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 -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/imlib2.c -o build/temp.linux-x86_64-2.7/src/imlib2.o -Wall src/imlib2.c: In function 'init_Imlib2': src/imlib2.c:306:9: warning: ob_refcnt of Image_PyObject_Type is 2 too low [enabled by default] src/imlib2.c:306:9: note: was expecting final ob_refcnt to be N + 1 (for some unknown N) src/imlib2.c:306:9: note: due to object being referenced by: api_ptrs[1] src/imlib2.c:306:9: note: but final ob_refcnt is N + -1 src/imlib2.c:303:7: note: when Py_InitModule4_64() succeeds at: m = Py_InitModule("_Imlib2", Imlib2_methods); src/imlib2.c:305:21: note: when PyType_Ready() succeeds at: if (PyType_Ready(&Image_PyObject_Type) < 0) src/imlib2.c:305:8: note: taking False path at: if (PyType_Ready(&Image_PyObject_Type) < 0) src/imlib2.c:307:23: note: reaching: PyModule_AddObject(m, "Image", (PyObject *)&Image_PyObject_Type); src/imlib2.c:307:23: note: when PyModule_AddObject() succeeds at: PyModule_AddObject(m, "Image", (PyObject *)&Image_PyObject_Type); src/imlib2.c:307:23: note: ob_refcnt is now refs: -1 + N where N >= 2 src/imlib2.c:310:5: note: releasing the GIL by calling PyEval_SaveThread() at: PyImlib2_BEGIN_CRITICAL_SECTION src/imlib2.c:313:5: note: reacquiring the GIL by calling PyEval_RestoreThread() at: PyImlib2_END_CRITICAL_SECTION src/imlib2.c:318:17: note: Image_PyObject_Type is now referenced by 1 non-stack value(s): api_ptrs[1] src/imlib2.c:319:11: note: when PyCObject_FromVoidPtr() succeeds at: c_api = PyCObject_FromVoidPtr((void *)api_ptrs, NULL); src/imlib2.c:320:23: note: when PyModule_AddObject() succeeds at: PyModule_AddObject(m, "_C_API", c_api); src/imlib2.c:321:23: note: calling PyEval_InitThreads() at: PyEval_InitThreads(); src/imlib2.c:306:9: note: reaching: return; src/imlib2.c:306:9: note: returning at: return; src/imlib2.c:306:9: note: found 3 similar trace(s) to this src/imlib2.c:306:9: warning: ob_refcnt of '*c_api' is 1 too high [enabled by default] src/imlib2.c:306:9: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) src/imlib2.c:306:9: note: but final ob_refcnt is N + 1 src/imlib2.c:319:11: note: PyCObject allocated at: c_api = PyCObject_FromVoidPtr((void *)api_ptrs, NULL); src/imlib2.c:303:7: note: when Py_InitModule4_64() succeeds at: m = Py_InitModule("_Imlib2", Imlib2_methods); src/imlib2.c:305:21: note: when PyType_Ready() succeeds at: if (PyType_Ready(&Image_PyObject_Type) < 0) src/imlib2.c:305:8: note: taking False path at: if (PyType_Ready(&Image_PyObject_Type) < 0) src/imlib2.c:307:23: note: reaching: PyModule_AddObject(m, "Image", (PyObject *)&Image_PyObject_Type); src/imlib2.c:307:23: note: when PyModule_AddObject() succeeds at: PyModule_AddObject(m, "Image", (PyObject *)&Image_PyObject_Type); src/imlib2.c:310:5: note: releasing the GIL by calling PyEval_SaveThread() at: PyImlib2_BEGIN_CRITICAL_SECTION src/imlib2.c:313:5: note: reacquiring the GIL by calling PyEval_RestoreThread() at: PyImlib2_END_CRITICAL_SECTION src/imlib2.c:319:11: note: when PyCObject_FromVoidPtr() succeeds at: c_api = PyCObject_FromVoidPtr((void *)api_ptrs, NULL); src/imlib2.c:319:11: note: ob_refcnt is now refs: 1 + N where N >= 0 src/imlib2.c:320:23: note: when PyModule_AddObject() fails at: PyModule_AddObject(m, "_C_API", c_api); src/imlib2.c:321:23: note: calling PyEval_InitThreads() at: PyEval_InitThreads(); src/imlib2.c:306:9: note: reaching: return; src/imlib2.c:306:9: note: returning at: return; src/imlib2.c:306:9: note: found 1 similar trace(s) to this src/imlib2.c:307:23: warning: calling PyModule_AddObject with NULL as argument 1 (m) at src/imlib2.c:307 [enabled by default] src/imlib2.c:303:7: note: when Py_InitModule4_64() fails at: m = Py_InitModule("_Imlib2", Imlib2_methods); src/imlib2.c:305:21: note: when PyType_Ready() succeeds at: if (PyType_Ready(&Image_PyObject_Type) < 0) src/imlib2.c:305:8: note: taking False path at: if (PyType_Ready(&Image_PyObject_Type) < 0) src/imlib2.c:307:23: note: reaching: PyModule_AddObject(m, "Image", (PyObject *)&Image_PyObject_Type); src/imlib2.c:307:23: note: PyModule_AddObject() invokes Py_TYPE() on the pointer via the PyModule_Check() macro, thus accessing (NULL)->ob_type src/imlib2.c:299:1: note: graphical error report for function 'init_Imlib2' written out to 'build/temp.linux-x86_64-2.7/src/imlib2.c.init_Imlib2-refcount-errors.html' src/imlib2.c: In function 'imlib2_load_font': src/imlib2.c:272:26: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&font_spec") had type "char * *" but was expecting "const char * *" for format code "s" src/imlib2.c:283:13: warning: dereferencing NULL (o->font) at src/imlib2.c:284 [enabled by default] src/imlib2.c:272:26: note: when PyArg_ParseTuple() succeeds at: if (!PyArg_ParseTuple(args, "s", &font_spec)) src/imlib2.c:272:8: note: taking False path at: if (!PyArg_ParseTuple(args, "s", &font_spec)) src/imlib2.c:275:5: note: reaching: PyImlib2_BEGIN_CRITICAL_SECTION src/imlib2.c:275:5: note: releasing the GIL by calling PyEval_SaveThread() at: PyImlib2_BEGIN_CRITICAL_SECTION src/imlib2.c:277:5: note: reacquiring the GIL by calling PyEval_RestoreThread() at: PyImlib2_END_CRITICAL_SECTION src/imlib2.c:278:8: note: when treating unknown void * from src/imlib2.c:276 as non-NULL at: if (!font) { src/imlib2.c:278:8: note: taking False path at: if (!font) { src/imlib2.c:282:9: note: reaching: o = PyObject_NEW(Font_PyObject, &Font_PyObject_Type); src/imlib2.c:282:7: note: when PyObject_Init() fails at: o = PyObject_NEW(Font_PyObject, &Font_PyObject_Type); src/imlib2.c:267:1: note: graphical error report for function 'imlib2_load_font' written out to 'build/temp.linux-x86_64-2.7/src/imlib2.c.imlib2_load_font-refcount-errors.html' src/imlib2.c: In function 'imlib2_add_font_path': src/imlib2.c:255:26: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&font_path") had type "char * *" but was expecting "const char * *" for format code "s" src/imlib2.c: In function 'imlib2_open_from_memory': src/imlib2.c:191:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed src/imlib2.c: In function '_imlib2_open': src/imlib2.c:170:14: warning: dereferencing NULL (o->image) at src/imlib2.c:171 [enabled by default] src/imlib2.c:154:5: note: releasing the GIL by calling PyEval_SaveThread() at: PyImlib2_BEGIN_CRITICAL_SECTION src/imlib2.c:155:8: note: when considering range: -0x80000000 <= value <= -1 at: if (use_cache) src/imlib2.c:155:8: note: taking True path at: if (use_cache) src/imlib2.c:156:13: note: reaching: image = imlib_load_image_with_error_return(filename, &error_return); src/imlib2.c:159:5: note: reacquiring the GIL by calling PyEval_RestoreThread() at: PyImlib2_END_CRITICAL_SECTION src/imlib2.c:161:8: note: when treating unknown void * from src/imlib2.c:156 as non-NULL at: if (!image) { src/imlib2.c:161:8: note: taking False path at: if (!image) { src/imlib2.c:169:9: note: reaching: o = PyObject_NEW(Image_PyObject, &Image_PyObject_Type); src/imlib2.c:169:7: note: when PyObject_Init() fails at: o = PyObject_NEW(Image_PyObject, &Image_PyObject_Type); src/imlib2.c:170:14: note: found 2 similar trace(s) to this src/imlib2.c:149:1: note: graphical error report for function '_imlib2_open' written out to 'build/temp.linux-x86_64-2.7/src/imlib2.c._imlib2_open-refcount-errors.html' src/imlib2.c: In function 'imlib2_open': src/imlib2.c:181:26: warning: Mismatching type in call to PyArg_ParseTuple with format code "s|i" [enabled by default] argument 3 ("&file") had type "char * *" but was expecting "const char * *" for format code "s" src/imlib2.c: In function 'imlib2_create': src/imlib2.c:64:26: warning: Mismatching type in call to PyArg_ParseTuple with format code "(ii)|Osi" [enabled by default] argument 6 ("&from_format") had type "char * *" but was expecting "const char * *" for format code "s" src/imlib2.c:74:21: error: Unhandled Python exception raised calling 'execute' method Traceback (most recent call last): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/__init__.py", line 79, in execute self._check_refcounts(fun) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/__init__.py", line 85, in _check_refcounts dump_json=self.dump_json) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/refcounts.py", line 4161, in check_refcounts maxtrans) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/refcounts.py", line 4016, in impl_check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3064, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 3028, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 2081, in get_transitions return self._get_transitions_for_stmt(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 2108, in _get_transitions_for_stmt return self._get_transitions_for_GimpleAssign(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 2614, in _get_transitions_for_GimpleAssign value = self.eval_rhs(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 2597, in eval_rhs return v_rhs.eval_unary_op(stmt.exprcode, stmt.lhs.type, stmt.loc) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.3/plugin/python2/libcpychecker/absinterp.py", line 759, in eval_unary_op if (self.minvalue >= gcctype.min_value.constant AttributeError: 'gcc.PointerType' object has no attribute 'min_value' error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.8h2kl4 (%build) Bad exit status from /var/tmp/rpm-tmp.8h2kl4 (%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-kaa-imlib2.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-kaa-imlib2.spec'] LEAVE do --> EXCEPTION RAISED