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-cryptsetup.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-cryptsetup.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cryptsetup-0.1.4-2.fc16.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-cryptsetup.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-cryptsetup.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FxQxMs + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf python-cryptsetup-0.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-cryptsetup-0.1.4.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-cryptsetup-0.1.4 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.on8vSc + umask 022 + cd /builddir/build/BUILD + cd python-cryptsetup-0.1.4 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/pycryptsetup copying pycryptsetup/__init__.py -> build/lib.linux-x86_64-2.7/pycryptsetup running build_ext building 'cryptsetup' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/pycryptsetup gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -I/usr/include/python2.7 -c pycryptsetup/cryptsetup.c -o build/temp.linux-x86_64-2.7/pycryptsetup/cryptsetup.o pycryptsetup/cryptsetup.c: In function 'passwordDialog': pycryptsetup/cryptsetup.c:74:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat] pycryptsetup/cryptsetup.c: In function 'CryptSetup_removePassphrase': pycryptsetup/cryptsetup.c:535:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat] pycryptsetup/cryptsetup.c: In function 'CryptSetup_killSlot': pycryptsetup/cryptsetup.c:565:10: warning: variable 'passphrase_len' set but not used [-Wunused-but-set-variable] pycryptsetup/cryptsetup.c: In function 'initcryptsetup': pycryptsetup/cryptsetup.c:789:21: 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 3802, in check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2964, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2017, 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 2033, 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 2204, in _get_transitions_for_GimpleCall return meth(stmt, *args) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 2203, in impl_PyModule_AddObject s_success.cpython.steal_reference(v_value, stmt.loc) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 527, in steal_reference _steal_ref) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 351, in change_refcount check_isinstance(oldvalue, RefcountValue) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/gccutils.py", line 629, in check_isinstance raise TypeError('%s / %r is not an instance of %s' % (obj, obj, types)) TypeError: (Py_ssize_t)val [-0x7fffffffffffffff <= val <= 0x7fffffffffffffff] from pycryptsetup/cryptsetup.c:788 / WithinRange(gcctype='Py_ssize_t', loc=gcc.Location(file='pycryptsetup/cryptsetup.c', line=788), minvalue=-0x7fffffffffffffff, maxvalue=0x7fffffffffffffff) is not an instance of pycryptsetup/cryptsetup.c: In function 'CryptSetup_Resume': pycryptsetup/cryptsetup.c:649:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "|s" [enabled by default] argument 5 ("&passphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c: In function 'CryptSetup_killSlot': pycryptsetup/cryptsetup.c:571:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "si" [enabled by default] argument 5 ("&passphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c: In function 'CryptSetup_removePassphrase': pycryptsetup/cryptsetup.c:529:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "s" [enabled by default] argument 5 ("&passphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c: In function 'CryptSetup_addKeyByVolumeKey': pycryptsetup/cryptsetup.c:497:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "s|i" [enabled by default] argument 5 ("&newpassphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c: In function 'CryptSetup_addKeyByPassphrase': pycryptsetup/cryptsetup.c:463:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "ss|i" [enabled by default] argument 5 ("&passphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c:463:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "ss|i" [enabled by default] argument 6 ("&newpassphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c: In function 'CryptSetup_luksFormat': pycryptsetup/cryptsetup.c:410:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "|zzO" [enabled by default] argument 5 ("&cipher") had type "char * *" but was expecting "const char * *" for format code "z" pycryptsetup/cryptsetup.c:410:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "|zzO" [enabled by default] argument 6 ("&cipher_mode") had type "char * *" but was expecting "const char * *" for format code "z" pycryptsetup/cryptsetup.c:401:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed pycryptsetup/cryptsetup.c: In function 'CryptSetup_Status': pycryptsetup/cryptsetup.c:611:21: warning: Mismatching type in call to Py_BuildValue with format code "i" [enabled by default] argument 2 ("is") had type "crypt_status_info" but was expecting "int" for format code "i" pycryptsetup/cryptsetup.c: In function 'CryptSetup_activate': pycryptsetup/cryptsetup.c:207:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "s|s" [enabled by default] argument 5 ("&name") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c:207:36: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "s|s" [enabled by default] argument 6 ("&passphrase") had type "char * *" but was expecting "const char * *" for format code "s" pycryptsetup/cryptsetup.c: In function 'CryptSetup_askyes': pycryptsetup/cryptsetup.c:271:11: 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 3802, in check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2964, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2017, 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 2033, 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 2204, in _get_transitions_for_GimpleCall return meth(stmt, *args) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 1115, in impl_Py_BuildValue v_fmt, args, with_size_t=False) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 1098, in _handle_Py_BuildValue if not _handle_successful_parse(fmt): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 1087, in _handle_successful_parse t_success.dest.cpython.add_external_ref(v_vararg, stmt.loc) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 379, in add_external_ref _incref_external) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 351, in change_refcount check_isinstance(oldvalue, RefcountValue) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/gccutils.py", line 629, in check_isinstance raise TypeError('%s / %r is not an instance of %s' % (obj, obj, types)) TypeError: (Py_ssize_t)val [-0x7fffffffffffffff <= val <= 0x7fffffffffffffff] from pycryptsetup/cryptsetup.c:270 / WithinRange(gcctype='Py_ssize_t', loc=gcc.Location(file='pycryptsetup/cryptsetup.c', line=270), minvalue=-0x7fffffffffffffff, maxvalue=0x7fffffffffffffff) is not an instance of pycryptsetup/cryptsetup.c: In function 'CryptSetup_log': pycryptsetup/cryptsetup.c:301:11: 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 3802, in check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 3000, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2964, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2017, 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 2033, 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 2204, in _get_transitions_for_GimpleCall return meth(stmt, *args) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 1115, in impl_Py_BuildValue v_fmt, args, with_size_t=False) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 1098, in _handle_Py_BuildValue if not _handle_successful_parse(fmt): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 1087, in _handle_successful_parse t_success.dest.cpython.add_external_ref(v_vararg, stmt.loc) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 379, in add_external_ref _incref_external) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 351, in change_refcount check_isinstance(oldvalue, RefcountValue) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/gccutils.py", line 629, in check_isinstance raise TypeError('%s / %r is not an instance of %s' % (obj, obj, types)) TypeError: (Py_ssize_t)val [-0x7fffffffffffffff <= val <= 0x7fffffffffffffff] from pycryptsetup/cryptsetup.c:299 / WithinRange(gcctype='Py_ssize_t', loc=gcc.Location(file='pycryptsetup/cryptsetup.c', line=299), minvalue=-0x7fffffffffffffff, maxvalue=0x7fffffffffffffff) is not an instance of pycryptsetup/cryptsetup.c: In function 'CryptSetup_init': pycryptsetup/cryptsetup.c:143:35: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "|zzOOO" [enabled by default] argument 5 ("&device") had type "char * *" but was expecting "const char * *" for format code "z" pycryptsetup/cryptsetup.c:143:35: warning: Mismatching type in call to PyArg_ParseTupleAndKeywords with format code "|zzOOO" [enabled by default] argument 6 ("&deviceName") had type "char * *" but was expecting "const char * *" for format code "z" pycryptsetup/cryptsetup.c:134:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed pycryptsetup/cryptsetup.c: In function 'CryptSetup_dealloc': pycryptsetup/cryptsetup.c:98:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed pycryptsetup/cryptsetup.c: In function 'passwordDialog': pycryptsetup/cryptsetup.c:64:21: warning: Mismatching type in call to PyArg_Parse with format code "z" [enabled by default] argument 3 ("&res") had type "char * *" but was expecting "const char * *" for format code "z" pycryptsetup/cryptsetup.c:79:1: warning: ob_refcnt of '*result' is 1 too high [enabled by default] pycryptsetup/cryptsetup.c:79:1: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) pycryptsetup/cryptsetup.c:79:1: note: but final ob_refcnt is N + 1 pycryptsetup/cryptsetup.c:59:12: note: new ref from call to PyEval_CallObjectWithKeywords allocated at: result = PyEval_CallObject(self->passwordDialogCB, arglist); pycryptsetup/cryptsetup.c:56:10: note: when treating unknown void * from pycryptsetup/cryptsetup.c:48 as non-NULL at: if(self->passwordDialogCB){ pycryptsetup/cryptsetup.c:56:5: note: when treating unknown struct PyObject * from pycryptsetup/cryptsetup.c:56 as non-NULL at: if(self->passwordDialogCB){ pycryptsetup/cryptsetup.c:56:5: note: taking True path at: if(self->passwordDialogCB){ pycryptsetup/cryptsetup.c:57:13: note: reaching: arglist = Py_BuildValue("(s)", msg); pycryptsetup/cryptsetup.c:57:13: note: when Py_BuildValue() succeeds at: arglist = Py_BuildValue("(s)", msg); pycryptsetup/cryptsetup.c:58:7: note: taking False path at: if(!arglist) return 0; pycryptsetup/cryptsetup.c:59:14: note: reaching: result = PyEval_CallObject(self->passwordDialogCB, arglist); pycryptsetup/cryptsetup.c:59:12: note: when treating unknown struct PyObject * from pycryptsetup/cryptsetup.c:59 as non-NULL at: result = PyEval_CallObject(self->passwordDialogCB, arglist); pycryptsetup/cryptsetup.c:59:12: note: when PyEval_CallObjectWithKeywords() succeeds at: result = PyEval_CallObject(self->passwordDialogCB, arglist); pycryptsetup/cryptsetup.c:59:12: note: ob_refcnt is now refs: 1 + N where N >= 0 pycryptsetup/cryptsetup.c:60:5: note: when taking True path at: Py_DECREF(arglist); pycryptsetup/cryptsetup.c:62:8: note: reaching: if (result == NULL) return 0; pycryptsetup/cryptsetup.c:62:8: note: taking False path at: if (result == NULL) return 0; pycryptsetup/cryptsetup.c:64:8: note: reaching: ok = PyArg_Parse(result, "z", &res); pycryptsetup/cryptsetup.c:64:8: note: when PyArg_Parse() fails at: ok = PyArg_Parse(result, "z", &res); pycryptsetup/cryptsetup.c:67:7: note: taking True path at: if(!ok){ pycryptsetup/cryptsetup.c:68:7: note: reaching: return 0; pycryptsetup/cryptsetup.c:79:1: note: returning pycryptsetup/cryptsetup.c:79:1: note: found 1 similar trace(s) to this pycryptsetup/cryptsetup.c:49:1: note: graphical error report for function 'passwordDialog' written out to 'build/temp.linux-x86_64-2.7/pycryptsetup/cryptsetup.c.passwordDialog-refcount-errors.html' error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.on8vSc (%build) Bad exit status from /var/tmp/rpm-tmp.on8vSc (%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-cryptsetup.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-cryptsetup.spec'] LEAVE do --> EXCEPTION RAISED