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-bibtex.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-bibtex.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-bibtex-1.2.5-4.fc16.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-bibtex.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-bibtex.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SoOa86 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf python-bibtex-1.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-bibtex-1.2.5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-bibtex-1.2.5 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WbIeZd + umask 022 + cd /builddir/build/BUILD + cd python-bibtex-1.2.5 + 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 running build running build_ext building '_bibtex' 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 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c accents.c -o build/temp.linux-x86_64-2.7/accents.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c author.c -o build/temp.linux-x86_64-2.7/author.o author.c: In function 'split_spaces': author.c:156:14: warning: variable 'one' set but not used [-Wunused-but-set-variable] author.c: In function 'bibtex_author_parse': author.c:497:23: warning: variable 'first_pass' set but not used [-Wunused-but-set-variable] 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c bibparse.c -o build/temp.linux-x86_64-2.7/bibparse.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c biblex.c -o build/temp.linux-x86_64-2.7/biblex.o lex.bibtex_parser_.c:1233:17: warning: 'yyunput' defined but not used [-Wunused-function] lex.bibtex_parser_.c:1274:16: warning: 'input' defined but not used [-Wunused-function] biblex.l: In function 'bibtex_parser_lex': biblex.l:129:1: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c bibtex.c -o build/temp.linux-x86_64-2.7/bibtex.o bibtex.c: In function 'bibtex_message_handler': bibtex.c:46:5: warning: case value '256' not in enumerated type 'GLogLevelFlags' [-Wswitch] bibtex.c:49:5: warning: case value '512' not in enumerated type 'GLogLevelFlags' [-Wswitch] bibtex.c:52:5: warning: case value '1024' not in enumerated type 'GLogLevelFlags' [-Wswitch] 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c bibtexmodule.c -o build/temp.linux-x86_64-2.7/bibtexmodule.o bibtexmodule.c: In function 'bib_copy_field': bibtexmodule.c:317:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:get_native" [enabled by default] argument 4 ("&field_obj") had type "struct PyBibtexField_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexField_Type') for format code "O!" bibtexmodule.c:324:18: warning: dereferencing NULL (new_obj->obj) at bibtexmodule.c:326 [enabled by default] bibtexmodule.c:317:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "O!:get_native", & PyBibtexField_Type, & field_obj)) bibtexmodule.c:317:8: note: taking False path at: if (! PyArg_ParseTuple(args, "O!:get_native", & PyBibtexField_Type, & field_obj)) bibtexmodule.c:320:22: note: reaching: field = field_obj->obj; bibtexmodule.c:322:13: note: when PyObject_Init() fails at: new_obj = (PyBibtexField_Object *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:324:43: note: when treating unknown struct BibtexField * from bibtexmodule.c:320 as non-NULL at: new_obj->obj = bibtex_struct_as_field (bibtex_struct_copy (field->structure), field->type); bibtexmodule.c:313:51: note: graphical error report for function 'bib_copy_field' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.bib_copy_field-refcount-errors.html' bibtexmodule.c: In function 'bib_set_string': bibtexmodule.c:449:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!sO!:set_string" [enabled by default] argument 4 ("&source_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c:449:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!sO!:set_string" [enabled by default] argument 5 ("&key") had type "gchar * *" but was expecting "const char * *" for format code "s" bibtexmodule.c:449:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!sO!:set_string" [enabled by default] argument 7 ("&field_obj") had type "struct PyBibtexField_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexField_Type') for format code "O!" bibtexmodule.c: In function 'bib_get_dict': bibtexmodule.c:564:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:next" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c: In function 'fill_struct_dico': bibtexmodule.c:430:42: warning: dereferencing NULL (MEM[(struct PyBibtexField_Object *)tmp2].obj) at bibtexmodule.c:433 [enabled by default] bibtexmodule.c:426:10: note: when treating unknown void * from bibtexmodule.c:421 as non-NULL at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:426:10: note: when PyString_FromString() succeeds at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:428:10: note: when PyObject_Init() fails at: tmp2 = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:430:42: note: found 1 similar trace(s) to this bibtexmodule.c:433:20: warning: calling PyDict_SetItem with NULL as argument 2 (tmp1) at bibtexmodule.c:433 [enabled by default] bibtexmodule.c:426:10: note: when treating unknown void * from bibtexmodule.c:421 as non-NULL at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:426:10: note: when PyString_FromString() fails at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:428:10: note: when PyObject_Init() succeeds at: tmp2 = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:433:20: note: when treating unknown void * from bibtexmodule.c:421 as non-NULL at: PyDict_SetItem (dico, tmp1, tmp2); bibtexmodule.c:433:20: note: PyDict_SetItem() invokes Py_TYPE() on the pointer via the PyString_CheckExact() macro, thus accessing (NULL)->ob_type bibtexmodule.c:422:1: note: graphical error report for function 'fill_struct_dico' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.fill_struct_dico-refcount-errors.html' bibtexmodule.c: In function 'bib_reverse': bibtexmodule.c:603:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "iiO:reverse" [enabled by default] argument 3 ("&type") had type "BibtexFieldType *" but was expecting "int *" (pointing to 32 bits) for format code "i" bibtexmodule.c:595:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed bibtexmodule.c:704:1: warning: ob_refcnt of '*authobj' is 1 too high [enabled by default] bibtexmodule.c:704:1: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) bibtexmodule.c:704:1: note: but final ob_refcnt is N + 1 bibtexmodule.c:661:14: note: new ref from PySequence_GetItem allocated at: authobj = PySequence_GetItem (tuple, i); bibtexmodule.c:603:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "iiO:reverse", & type, & brace, & tuple)) bibtexmodule.c:603:8: note: taking False path at: if (! PyArg_ParseTuple(args, "iiO:reverse", & type, & brace, & tuple)) bibtexmodule.c:606:30: note: reaching: field = bibtex_field_new (type); bibtexmodule.c:608:8: note: when treating unknown struct BibtexField * from bibtexmodule.c:606 as non-NULL at: if (field == NULL) { bibtexmodule.c:608:8: note: taking False path at: if (field == NULL) { bibtexmodule.c:613:11: note: reaching: quote = 1; bibtexmodule.c:615:5: note: when following case 1 at: switch (field->type) { bibtexmodule.c:652:29: note: when PySequence_Size() succeeds at: length = PySequence_Length (tuple); bibtexmodule.c:654:5: note: when considering range: 0 <= value <= 0x7fffffff at: if (length < 0) return NULL; bibtexmodule.c:654:5: note: taking False path at: if (length < 0) return NULL; bibtexmodule.c:656:48: note: reaching: field->field.author = bibtex_author_group_new (); bibtexmodule.c:660:2: note: when considering range: 1 <= length <= 0x7fffffff at: for (i = 0; i < length; i++) { bibtexmodule.c:660:2: note: taking True path at: for (i = 0; i < length; i++) { bibtexmodule.c:661:35: note: reaching: authobj = PySequence_GetItem (tuple, i); bibtexmodule.c:661:14: note: when PySequence_GetItem() succeeds at: authobj = PySequence_GetItem (tuple, i); bibtexmodule.c:661:14: note: ob_refcnt is now refs: 1 + N where N >= 0 bibtexmodule.c:662:18: note: when treating unknown struct BibtexAuthorGroup * from bibtexmodule.c:656 as non-NULL at: auth = & g_array_index (field->field.author, BibtexAuthor, i); bibtexmodule.c:664:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "last"); bibtexmodule.c:665:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:666:44: note: reaching: auth->last = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:666:44: note: when PyString_AsString() succeeds at: auth->last = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:666:14: note: when treating unknown struct BibtexAuthor * from bibtexmodule.c:662 as non-NULL at: auth->last = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:671:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:672:10: note: reaching: tmp = PyObject_GetAttrString (authobj, "first"); bibtexmodule.c:672:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "first"); bibtexmodule.c:673:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:674:45: note: reaching: auth->first = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:674:45: note: when PyString_AsString() succeeds at: auth->first = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:679:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:680:10: note: reaching: tmp = PyObject_GetAttrString (authobj, "lineage"); bibtexmodule.c:680:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "lineage"); bibtexmodule.c:681:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:682:47: note: reaching: auth->lineage = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:682:47: note: when PyString_AsString() succeeds at: auth->lineage = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:687:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:688:10: note: reaching: tmp = PyObject_GetAttrString (authobj, "honorific"); bibtexmodule.c:688:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "honorific"); bibtexmodule.c:689:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:690:49: note: reaching: auth->honorific = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:690:49: note: when PyString_AsString() fails at: auth->honorific = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:695:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:660:27: note: reaching: for (i = 0; i < length; i++) { bibtexmodule.c:660:2: note: when considering length == (gint)1 from bibtexmodule.c:652 at: for (i = 0; i < length; i++) { bibtexmodule.c:660:2: note: taking False path at: for (i = 0; i < length; i++) { bibtexmodule.c:701:9: note: when PyObject_Init() succeeds at: tmp = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:704:1: note: returning bibtexmodule.c:704:1: note: found 2 similar trace(s) to this bibtexmodule.c:702:41: warning: dereferencing NULL (MEM[(struct PyBibtexField_Object *)tmp].obj) at bibtexmodule.c:703 [enabled by default] bibtexmodule.c:603:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "iiO:reverse", & type, & brace, & tuple)) bibtexmodule.c:603:8: note: taking False path at: if (! PyArg_ParseTuple(args, "iiO:reverse", & type, & brace, & tuple)) bibtexmodule.c:606:30: note: reaching: field = bibtex_field_new (type); bibtexmodule.c:608:8: note: when treating unknown struct BibtexField * from bibtexmodule.c:606 as non-NULL at: if (field == NULL) { bibtexmodule.c:608:8: note: taking False path at: if (field == NULL) { bibtexmodule.c:613:11: note: reaching: quote = 1; bibtexmodule.c:615:5: note: when following case 1 at: switch (field->type) { bibtexmodule.c:652:29: note: when PySequence_Size() succeeds at: length = PySequence_Length (tuple); bibtexmodule.c:654:5: note: when considering range: 0 <= value <= 0x7fffffff at: if (length < 0) return NULL; bibtexmodule.c:654:5: note: taking False path at: if (length < 0) return NULL; bibtexmodule.c:656:48: note: reaching: field->field.author = bibtex_author_group_new (); bibtexmodule.c:660:2: note: when considering range: 1 <= length <= 0x7fffffff at: for (i = 0; i < length; i++) { bibtexmodule.c:660:2: note: taking True path at: for (i = 0; i < length; i++) { bibtexmodule.c:661:35: note: reaching: authobj = PySequence_GetItem (tuple, i); bibtexmodule.c:661:14: note: when PySequence_GetItem() succeeds at: authobj = PySequence_GetItem (tuple, i); bibtexmodule.c:662:18: note: when treating unknown struct BibtexAuthorGroup * from bibtexmodule.c:656 as non-NULL at: auth = & g_array_index (field->field.author, BibtexAuthor, i); bibtexmodule.c:664:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "last"); bibtexmodule.c:665:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:666:44: note: reaching: auth->last = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:666:44: note: when PyString_AsString() succeeds at: auth->last = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:666:14: note: when treating unknown struct BibtexAuthor * from bibtexmodule.c:662 as non-NULL at: auth->last = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:671:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:672:10: note: reaching: tmp = PyObject_GetAttrString (authobj, "first"); bibtexmodule.c:672:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "first"); bibtexmodule.c:673:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:674:45: note: reaching: auth->first = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:674:45: note: when PyString_AsString() succeeds at: auth->first = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:679:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:680:10: note: reaching: tmp = PyObject_GetAttrString (authobj, "lineage"); bibtexmodule.c:680:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "lineage"); bibtexmodule.c:681:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:682:47: note: reaching: auth->lineage = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:682:47: note: when PyString_AsString() succeeds at: auth->lineage = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:687:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:688:10: note: reaching: tmp = PyObject_GetAttrString (authobj, "honorific"); bibtexmodule.c:688:10: note: when PyObject_GetAttrString() succeeds at: tmp = PyObject_GetAttrString (authobj, "honorific"); bibtexmodule.c:689:9: note: taking True path at: if (tmp != Py_None) { bibtexmodule.c:690:49: note: reaching: auth->honorific = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:690:49: note: when PyString_AsString() fails at: auth->honorific = g_strdup (PyString_AsString (tmp)); bibtexmodule.c:695:6: note: when taking True path at: Py_DECREF (tmp); bibtexmodule.c:660:27: note: reaching: for (i = 0; i < length; i++) { bibtexmodule.c:660:2: note: when considering length == (gint)1 from bibtexmodule.c:652 at: for (i = 0; i < length; i++) { bibtexmodule.c:660:2: note: taking False path at: for (i = 0; i < length; i++) { bibtexmodule.c:701:9: note: when PyObject_Init() fails at: tmp = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:702:41: note: found 6 similar trace(s) to this bibtexmodule.c:704:1: warning: returning (PyObject*)NULL without setting an exception [enabled by default] bibtexmodule.c:603:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "iiO:reverse", & type, & brace, & tuple)) bibtexmodule.c:603:8: note: taking False path at: if (! PyArg_ParseTuple(args, "iiO:reverse", & type, & brace, & tuple)) bibtexmodule.c:606:30: note: reaching: field = bibtex_field_new (type); bibtexmodule.c:608:8: note: when treating unknown struct BibtexField * from bibtexmodule.c:606 as non-NULL at: if (field == NULL) { bibtexmodule.c:608:8: note: taking False path at: if (field == NULL) { bibtexmodule.c:613:11: note: reaching: quote = 1; bibtexmodule.c:615:5: note: when following case 1 at: switch (field->type) { bibtexmodule.c:652:29: note: when PySequence_Size() succeeds at: length = PySequence_Length (tuple); bibtexmodule.c:654:5: note: when considering range: -0x80000000 <= value <= -1 at: if (length < 0) return NULL; bibtexmodule.c:654:5: note: taking True path at: if (length < 0) return NULL; bibtexmodule.c:654:18: note: reaching: if (length < 0) return NULL; bibtexmodule.c:704:1: note: returning bibtexmodule.c:595:1: note: graphical error report for function 'bib_reverse' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.bib_reverse-refcount-errors.html' bibtexmodule.c: In function 'bib_set_native': bibtexmodule.c:368:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "si:set_native" [enabled by default] argument 3 ("&text") had type "gchar * *" but was expecting "const char * *" for format code "s" bibtexmodule.c:368:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "si:set_native" [enabled by default] argument 4 ("&type") had type "BibtexFieldType *" but was expecting "int *" (pointing to 32 bits) for format code "i" bibtexmodule.c:397:41: warning: dereferencing NULL (MEM[(struct PyBibtexField_Object *)tmp].obj) at bibtexmodule.c:399 [enabled by default] bibtexmodule.c:368:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "si:set_native", & text, &type)) bibtexmodule.c:368:8: note: taking False path at: if (! PyArg_ParseTuple(args, "si:set_native", & text, &type)) bibtexmodule.c:372:16: note: reaching: if (source == NULL) source = bibtex_source_new (); bibtexmodule.c:372:8: note: when treating unknown struct BibtexSource * from bibtexmodule.c:358 as non-NULL at: if (source == NULL) source = bibtex_source_new (); bibtexmodule.c:372:8: note: taking False path at: if (source == NULL) source = bibtex_source_new (); bibtexmodule.c:375:32: note: reaching: to_parse = g_strdup_printf ("@preamble{%s}", text); bibtexmodule.c:377:8: note: when considering range: -0x80000000 <= value <= -1 at: if (! bibtex_source_string (source, "internal string", to_parse)) { bibtexmodule.c:377:8: note: taking False path at: if (! bibtex_source_string (source, "internal string", to_parse)) { bibtexmodule.c:383:12: note: reaching: g_free (to_parse); bibtexmodule.c:387:8: note: when treating unknown struct BibtexEntry * from bibtexmodule.c:385 as non-NULL at: if (entry == NULL) { bibtexmodule.c:387:8: note: taking False path at: if (entry == NULL) { bibtexmodule.c:391:28: note: reaching: s = bibtex_struct_copy (entry->preamble); bibtexmodule.c:396:9: note: when PyObject_Init() fails at: tmp = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:397:41: note: found 3 similar trace(s) to this bibtexmodule.c:400:1: warning: returning (PyObject*)NULL without setting an exception [enabled by default] bibtexmodule.c:368:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "si:set_native", & text, &type)) bibtexmodule.c:368:8: note: taking False path at: if (! PyArg_ParseTuple(args, "si:set_native", & text, &type)) bibtexmodule.c:372:16: note: reaching: if (source == NULL) source = bibtex_source_new (); bibtexmodule.c:372:8: note: when treating unknown struct BibtexSource * from bibtexmodule.c:358 as non-NULL at: if (source == NULL) source = bibtex_source_new (); bibtexmodule.c:372:8: note: taking False path at: if (source == NULL) source = bibtex_source_new (); bibtexmodule.c:375:32: note: reaching: to_parse = g_strdup_printf ("@preamble{%s}", text); bibtexmodule.c:377:8: note: when considering range: -0x80000000 <= value <= -1 at: if (! bibtex_source_string (source, "internal string", to_parse)) { bibtexmodule.c:377:8: note: taking False path at: if (! bibtex_source_string (source, "internal string", to_parse)) { bibtexmodule.c:383:12: note: reaching: g_free (to_parse); bibtexmodule.c:387:8: note: when treating unknown struct BibtexEntry * from bibtexmodule.c:385 as NULL at: if (entry == NULL) { bibtexmodule.c:387:8: note: taking True path at: if (entry == NULL) { bibtexmodule.c:388:2: note: reaching: return NULL; bibtexmodule.c:400:1: note: returning bibtexmodule.c:400:1: note: found 3 similar trace(s) to this bibtexmodule.c:358:51: note: graphical error report for function 'bib_set_native' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.bib_set_native-refcount-errors.html' bibtexmodule.c: In function 'bib_get_latex': bibtexmodule.c:339:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!O!i:get_latex" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c:339:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!O!i:get_latex" [enabled by default] argument 6 ("&field_obj") had type "struct PyBibtexField_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexField_Type') for format code "O!" bibtexmodule.c:339:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!O!i:get_latex" [enabled by default] argument 7 ("&type") had type "BibtexFieldType *" but was expecting "int *" (pointing to 32 bits) for format code "i" bibtexmodule.c: In function 'bib_get_native': bibtexmodule.c:295:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:get_native" [enabled by default] argument 4 ("&field_obj") had type "struct PyBibtexField_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexField_Type') for format code "O!" bibtexmodule.c: In function 'bib_expand': bibtexmodule.c:189:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!O!i:expand" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c:189:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!O!i:expand" [enabled by default] argument 6 ("&field_obj") had type "struct PyBibtexField_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexField_Type') for format code "O!" bibtexmodule.c:189:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!O!i:expand" [enabled by default] argument 7 ("&type") had type "BibtexFieldType *" but was expecting "int *" (pointing to 32 bits) for format code "i" bibtexmodule.c:206:5: warning: Mismatching type in call to Py_BuildValue with format code "iis" [enabled by default] argument 2 ("D.17047") had type "BibtexFieldType" but was expecting "int" for format code "i" bibtexmodule.c:206:5: warning: Mismatching type in call to Py_BuildValue with format code "iisiii" [enabled by default] argument 2 ("D.17047") had type "BibtexFieldType" but was expecting "int" for format code "i" bibtexmodule.c:206:5: warning: Mismatching type in call to Py_BuildValue with format code "iisO" [enabled by default] argument 2 ("D.17047") had type "BibtexFieldType" but was expecting "int" for format code "i" bibtexmodule.c:178:47: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed bibtexmodule.c: In function 'bib_get_offset': bibtexmodule.c:738:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:first" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c: In function 'bib_set_offset': bibtexmodule.c:714:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:first" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c:727:1: warning: returning (PyObject*)NULL without setting an exception [enabled by default] bibtexmodule.c:714:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "O!:first", &PyBibtexSource_Type, & file_obj)) bibtexmodule.c:714:8: note: taking False path at: if (! PyArg_ParseTuple(args, "O!:first", &PyBibtexSource_Type, & file_obj)) bibtexmodule.c:717:20: note: reaching: file = file_obj->obj; bibtexmodule.c:721:13: note: when treating unknown struct BibtexSource * from bibtexmodule.c:717 as non-NULL at: if (file->error) { bibtexmodule.c:721:8: note: when considering range: -0x80000000 <= value <= -1 at: if (file->error) { bibtexmodule.c:721:8: note: taking True path at: if (file->error) { bibtexmodule.c:722:2: note: reaching: return NULL; bibtexmodule.c:727:1: note: returning bibtexmodule.c:727:1: note: found 1 similar trace(s) to this bibtexmodule.c:709:1: note: graphical error report for function 'bib_set_offset' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.bib_set_offset-refcount-errors.html' bibtexmodule.c: In function 'bib_first': bibtexmodule.c:582:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:first" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c: In function 'bib_next_unfiltered': bibtexmodule.c:549:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:next" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c: In function '_bib_next': bibtexmodule.c:472:1: note: this function is too complicated for the reference-count checker to fully analyze: not all paths were analyzed bibtexmodule.c:531:1: warning: ob_refcnt of '*name' is 1 too high [enabled by default] bibtexmodule.c:531:1: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) bibtexmodule.c:531:1: note: but final ob_refcnt is N + 1 bibtexmodule.c:507:11: note: PyStringObject allocated at: name = PyString_FromString (ent->name); bibtexmodule.c:482:8: note: when treating unknown struct BibtexEntry * from bibtexmodule.c:480 as non-NULL at: if (ent == NULL) { bibtexmodule.c:482:8: note: taking False path at: if (ent == NULL) { bibtexmodule.c:492:8: note: reaching: if (! filter && ! ent->name) { bibtexmodule.c:492:8: note: when considering value == (gboolean)0 from bibtexmodule.c:471 at: if (! filter && ! ent->name) { bibtexmodule.c:492:8: note: taking True path at: if (! filter && ! ent->name) { bibtexmodule.c:492:26: note: reaching: if (! filter && ! ent->name) { bibtexmodule.c:492:18: note: when treating unknown gchar * from bibtexmodule.c:492 as non-NULL at: if (! filter && ! ent->name) { bibtexmodule.c:492:18: note: taking False path at: if (! filter && ! ent->name) { bibtexmodule.c:502:7: note: reaching: dico = PyDict_New (); bibtexmodule.c:502:7: note: when PyDict_New() succeeds at: dico = PyDict_New (); bibtexmodule.c:506:5: note: when treating unknown gchar * from bibtexmodule.c:506 as non-NULL at: if (ent->name) { bibtexmodule.c:506:5: note: taking True path at: if (ent->name) { bibtexmodule.c:507:37: note: reaching: name = PyString_FromString (ent->name); bibtexmodule.c:507:11: note: when treating unknown gchar * from bibtexmodule.c:507 as non-NULL at: name = PyString_FromString (ent->name); bibtexmodule.c:507:11: note: when PyString_FromString() succeeds at: name = PyString_FromString (ent->name); bibtexmodule.c:507:11: note: ob_refcnt is now refs: 1 + N where N >= 0 bibtexmodule.c:513:5: note: taking False path at: if (filter) { bibtexmodule.c:519:26: note: reaching: tmp = Py_BuildValue ("(s(OsiiO))", "entry", name, bibtexmodule.c:519:10: note: when Py_BuildValue() succeeds at: tmp = Py_BuildValue ("(s(OsiiO))", "entry", name, bibtexmodule.c:519:10: note: ob_refcnt is now refs: 1 + N where N >= 1 bibtexmodule.c:525:2: note: taking True path at: Py_DECREF (dico); bibtexmodule.c:528:26: note: reaching: bibtex_entry_destroy (ent, FALSE); bibtexmodule.c:531:1: note: returning bibtexmodule.c:531:1: note: found 5 similar trace(s) to this bibtexmodule.c:525:2: warning: dereferencing NULL (dico->ob_refcnt) at bibtexmodule.c:525 [enabled by default] bibtexmodule.c:482:8: note: when treating unknown struct BibtexEntry * from bibtexmodule.c:480 as non-NULL at: if (ent == NULL) { bibtexmodule.c:482:8: note: taking False path at: if (ent == NULL) { bibtexmodule.c:492:8: note: reaching: if (! filter && ! ent->name) { bibtexmodule.c:492:8: note: when considering range: -0x80000000 <= value <= -1 at: if (! filter && ! ent->name) { bibtexmodule.c:492:8: note: taking False path at: if (! filter && ! ent->name) { bibtexmodule.c:502:7: note: reaching: dico = PyDict_New (); bibtexmodule.c:502:7: note: when PyDict_New() fails at: dico = PyDict_New (); bibtexmodule.c:506:5: note: when treating unknown gchar * from bibtexmodule.c:506 as non-NULL at: if (ent->name) { bibtexmodule.c:506:5: note: taking True path at: if (ent->name) { bibtexmodule.c:507:37: note: reaching: name = PyString_FromString (ent->name); bibtexmodule.c:507:11: note: when treating unknown gchar * from bibtexmodule.c:507 as non-NULL at: name = PyString_FromString (ent->name); bibtexmodule.c:507:11: note: when PyString_FromString() succeeds at: name = PyString_FromString (ent->name); bibtexmodule.c:513:5: note: taking True path at: if (filter) { bibtexmodule.c:514:26: note: reaching: tmp = Py_BuildValue ("OsiiO", name, ent->type, bibtexmodule.c:514:10: note: when Py_BuildValue() fails at: tmp = Py_BuildValue ("OsiiO", name, ent->type, bibtexmodule.c:525:2: note: found 2 similar trace(s) to this bibtexmodule.c:472:1: note: graphical error report for function '_bib_next' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c._bib_next-refcount-errors.html' bibtexmodule.c: In function 'fill_dico': bibtexmodule.c:412:42: warning: dereferencing NULL (MEM[(struct PyBibtexField_Object *)tmp2].obj) at bibtexmodule.c:414 [enabled by default] bibtexmodule.c:409:10: note: when treating unknown void * from bibtexmodule.c:404 as non-NULL at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:409:10: note: when PyString_FromString() succeeds at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:411:10: note: when PyObject_Init() fails at: tmp2 = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:412:42: note: found 1 similar trace(s) to this bibtexmodule.c:414:20: warning: calling PyDict_SetItem with NULL as argument 2 (tmp1) at bibtexmodule.c:414 [enabled by default] bibtexmodule.c:409:10: note: when treating unknown void * from bibtexmodule.c:404 as non-NULL at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:409:10: note: when PyString_FromString() fails at: tmp1 = PyString_FromString ((char *) key); bibtexmodule.c:411:10: note: when PyObject_Init() succeeds at: tmp2 = (PyObject *) PyObject_NEW (PyBibtexField_Object, & PyBibtexField_Type); bibtexmodule.c:414:20: note: when treating unknown void * from bibtexmodule.c:404 as non-NULL at: PyDict_SetItem (dico, tmp1, tmp2); bibtexmodule.c:414:20: note: PyDict_SetItem() invokes Py_TYPE() on the pointer via the PyString_CheckExact() macro, thus accessing (NULL)->ob_type bibtexmodule.c:405:1: note: graphical error report for function 'fill_dico' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.fill_dico-refcount-errors.html' bibtexmodule.c: In function 'bib_next': bibtexmodule.c:538:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!:next" [enabled by default] argument 4 ("&file_obj") had type "struct PyBibtexSource_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyBibtexSource_Type') for format code "O!" bibtexmodule.c: In function 'bib_open_string': bibtexmodule.c:156:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "ssi" [enabled by default] argument 3 ("&name") had type "char * *" but was expecting "const char * *" for format code "s" bibtexmodule.c:156:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "ssi" [enabled by default] argument 4 ("&string") had type "char * *" but was expecting "const char * *" for format code "s" bibtexmodule.c:172:14: warning: dereferencing NULL (ret->obj) at bibtexmodule.c:174 [enabled by default] bibtexmodule.c:156:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "ssi", & name, & string, & strictness)) bibtexmodule.c:156:8: note: taking False path at: if (! PyArg_ParseTuple(args, "ssi", & name, & string, & strictness)) bibtexmodule.c:159:10: note: reaching: file = bibtex_source_new (); bibtexmodule.c:162:18: note: when treating unknown struct BibtexSource * from bibtexmodule.c:159 as non-NULL at: file->strict = strictness; bibtexmodule.c:164:8: note: when considering range: -0x80000000 <= value <= -1 at: if (! bibtex_source_string (file, name, string)) { bibtexmodule.c:164:8: note: taking False path at: if (! bibtex_source_string (file, name, string)) { bibtexmodule.c:171:2: note: reaching: PyObject_NEW (PyBibtexSource_Object, & PyBibtexSource_Type); bibtexmodule.c:170:9: note: when PyObject_Init() fails at: ret = (PyBibtexSource_Object *) bibtexmodule.c:172:14: note: found 1 similar trace(s) to this bibtexmodule.c:175:1: warning: returning (PyObject*)NULL without setting an exception [enabled by default] bibtexmodule.c:156:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "ssi", & name, & string, & strictness)) bibtexmodule.c:156:8: note: taking False path at: if (! PyArg_ParseTuple(args, "ssi", & name, & string, & strictness)) bibtexmodule.c:159:10: note: reaching: file = bibtex_source_new (); bibtexmodule.c:162:18: note: when treating unknown struct BibtexSource * from bibtexmodule.c:159 as non-NULL at: file->strict = strictness; bibtexmodule.c:164:8: note: when considering value == (gboolean)0 from bibtexmodule.c:164 at: if (! bibtex_source_string (file, name, string)) { bibtexmodule.c:164:8: note: taking True path at: if (! bibtex_source_string (file, name, string)) { bibtexmodule.c:165:24: note: reaching: bibtex_source_destroy (file, TRUE); bibtexmodule.c:175:1: note: returning bibtexmodule.c:149:1: note: graphical error report for function 'bib_open_string' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.bib_open_string-refcount-errors.html' bibtexmodule.c: In function 'bib_open_file': bibtexmodule.c:126:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "si" [enabled by default] argument 3 ("&name") had type "char * *" but was expecting "const char * *" for format code "s" bibtexmodule.c:142:14: warning: dereferencing NULL (ret->obj) at bibtexmodule.c:144 [enabled by default] bibtexmodule.c:126:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "si", & name, & strictness)) bibtexmodule.c:126:8: note: taking False path at: if (! PyArg_ParseTuple(args, "si", & name, & strictness)) bibtexmodule.c:129:10: note: reaching: file = bibtex_source_new (); bibtexmodule.c:132:18: note: when treating unknown struct BibtexSource * from bibtexmodule.c:129 as non-NULL at: file->strict = strictness; bibtexmodule.c:134:8: note: when considering range: -0x80000000 <= value <= -1 at: if (! bibtex_source_file (file, name)) { bibtexmodule.c:134:8: note: taking False path at: if (! bibtex_source_file (file, name)) { bibtexmodule.c:141:2: note: reaching: PyObject_NEW (PyBibtexSource_Object, & PyBibtexSource_Type); bibtexmodule.c:140:9: note: when PyObject_Init() fails at: ret = (PyBibtexSource_Object *) bibtexmodule.c:142:14: note: found 1 similar trace(s) to this bibtexmodule.c:145:1: warning: returning (PyObject*)NULL without setting an exception [enabled by default] bibtexmodule.c:126:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "si", & name, & strictness)) bibtexmodule.c:126:8: note: taking False path at: if (! PyArg_ParseTuple(args, "si", & name, & strictness)) bibtexmodule.c:129:10: note: reaching: file = bibtex_source_new (); bibtexmodule.c:132:18: note: when treating unknown struct BibtexSource * from bibtexmodule.c:129 as non-NULL at: file->strict = strictness; bibtexmodule.c:134:8: note: when considering value == (gboolean)0 from bibtexmodule.c:134 at: if (! bibtex_source_file (file, name)) { bibtexmodule.c:134:8: note: taking True path at: if (! bibtex_source_file (file, name)) { bibtexmodule.c:135:24: note: reaching: bibtex_source_destroy (file, TRUE); bibtexmodule.c:145:1: note: returning bibtexmodule.c:119:1: note: graphical error report for function 'bib_open_file' written out to 'build/temp.linux-x86_64-2.7/bibtexmodule.c.bib_open_file-refcount-errors.html' 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c entry.c -o build/temp.linux-x86_64-2.7/entry.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c field.c -o build/temp.linux-x86_64-2.7/field.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c reverse.c -o build/temp.linux-x86_64-2.7/reverse.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c source.c -o build/temp.linux-x86_64-2.7/source.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c stringutils.c -o build/temp.linux-x86_64-2.7/stringutils.o 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 -DG_LOG_DOMAIN="BibTeX" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c struct.c -o build/temp.linux-x86_64-2.7/struct.o creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic build/temp.linux-x86_64-2.7/accents.o build/temp.linux-x86_64-2.7/author.o build/temp.linux-x86_64-2.7/bibparse.o build/temp.linux-x86_64-2.7/biblex.o build/temp.linux-x86_64-2.7/bibtex.o build/temp.linux-x86_64-2.7/bibtexmodule.o build/temp.linux-x86_64-2.7/entry.o build/temp.linux-x86_64-2.7/field.o build/temp.linux-x86_64-2.7/reverse.o build/temp.linux-x86_64-2.7/source.o build/temp.linux-x86_64-2.7/stringutils.o build/temp.linux-x86_64-2.7/struct.o -L/usr/lib64 -lglib-2.0 -lrecode -lpython2.7 -o build/lib.linux-x86_64-2.7/_bibtex.so building '_recode' extension 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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c recodemodule.c -o build/temp.linux-x86_64-2.7/recodemodule.o recodemodule.c: In function 'py_recode': recodemodule.c:135:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!s:recode" [enabled by default] argument 4 ("&req_obj") had type "struct PyRecodeRequest_Object * *" but was expecting ""struct PyObject * *"" (unfamiliar with PyTypeObject: 'PyRecodeRequest_Type') for format code "O!" recodemodule.c:135:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "O!s:recode" [enabled by default] argument 5 ("&string") had type "char * *" but was expecting "const char * *" for format code "s" recodemodule.c: In function 'py_new_recoder': recodemodule.c:101:27: warning: Mismatching type in call to PyArg_ParseTuple with format code "s:request" [enabled by default] argument 3 ("&string") had type "char * *" but was expecting "const char * *" for format code "s" recodemodule.c:120:14: warning: dereferencing NULL (ret->obj) at recodemodule.c:122 [enabled by default] recodemodule.c:101:27: note: when PyArg_ParseTuple() succeeds at: if (! PyArg_ParseTuple(args, "s:request", & string)) recodemodule.c:101:8: note: taking False path at: if (! PyArg_ParseTuple(args, "s:request", & string)) recodemodule.c:104:34: note: reaching: request = recode_new_request (outer); recodemodule.c:106:8: note: when treating unknown struct recode_request * from recodemodule.c:104 as non-NULL at: if (request == NULL) { recodemodule.c:106:8: note: taking False path at: if (request == NULL) { recodemodule.c:111:31: note: reaching: if (! recode_scan_request (request, string)) { recodemodule.c:111:8: note: when taking False path at: if (! recode_scan_request (request, string)) { recodemodule.c:119:2: note: reaching: PyObject_NEW (PyRecodeRequest_Object, & PyRecodeRequest_Type); recodemodule.c:118:9: note: when PyObject_Init() fails at: ret = (PyRecodeRequest_Object *) recodemodule.c:95:51: note: graphical error report for function 'py_new_recoder' written out to 'build/temp.linux-x86_64-2.7/recodemodule.c.py_new_recoder-refcount-errors.html' gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic build/temp.linux-x86_64-2.7/recodemodule.o -L/usr/lib64 -lrecode -lpython2.7 -o build/lib.linux-x86_64-2.7/_recode.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zpGB1H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 ++ dirname /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 + cd python-bibtex-1.2.5 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 + /usr/bin/python setup.py install --root /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 running install running check running build running build_ext testsuite: 12 checks, 0 failures running install_lib creating /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 creating /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr creating /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/_bibtex.so -> /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/_recode.so -> /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/site-packages/python_bibtex-1.2.5-py2.7.egg-info + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/python-bibtex-1.2.5 extracting debug info from /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/site-packages/_bibtex.so extracting debug info from /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/site-packages/_recode.so cpio: python-bibtex-1.2.5/lex.bibtex_parser_.c: Cannot stat: No such file or directory cpio: python-bibtex-1.2.5/y.tab.c: Cannot stat: No such file or directory cpio: python-bibtex-1.2.5/y.tab.h: Cannot stat: No such file or directory 218 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/lib64/python2.7/ using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-bibtex-1.2.5-4.fc16.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OqeJmg + umask 022 + cd /builddir/build/BUILD + cd python-bibtex-1.2.5 + DOCDIR=/builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/share/doc/python-bibtex-1.2.5 + export DOCDIR + /bin/mkdir -p /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/share/doc/python-bibtex-1.2.5 + cp -pr ChangeLog NEWS README /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64/usr/share/doc/python-bibtex-1.2.5 + exit 0 Provides: _bibtex.so()(64bit) _recode.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libglib-2.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) librecode.so.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-bibtex-debuginfo-1.2.5-4.fc16.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 Wrote: /builddir/build/RPMS/python-bibtex-1.2.5-4.fc16.x86_64.rpm Wrote: /builddir/build/RPMS/python-bibtex-debuginfo-1.2.5-4.fc16.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pVJFqW + umask 022 + cd /builddir/build/BUILD + cd python-bibtex-1.2.5 + rm -rf /builddir/build/BUILDROOT/python-bibtex-1.2.5-4.fc16.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->