Skip to content

Instantly share code, notes, and snippets.

@maralorn
Last active December 16, 2015 15:19
Show Gist options
  • Save maralorn/5455472 to your computer and use it in GitHub Desktop.
Save maralorn/5455472 to your computer and use it in GitHub Desktop.
bup compile error seems to be caused by: http://bugs.python.org/issue17547
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -O2 -Werror -fPIC -I/usr/include/python2.7 -c _helpers.c -o build/temp.linux-x86_64-2.7/_helpers.o
In file included from /usr/include/python2.7/Python.h:126:0,
from _helpers.c:6:
/usr/include/python2.7/modsupport.h:27:1: Fehler: »_PyArg_ParseTuple_SizeT« ist ein nicht erkannter Formatfunktionstyp [-Werror=format=]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
cc1: Alle Warnungen werden als Fehler behandelt
error: command 'gcc' failed with exit status 1
make: *** [lib/bup/_helpers.so] Fehler 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment