[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#632329: pycaml: FTBFS with Python 2.7: 'PyEval_CallObject' undeclared here (not in a function)



Source: pycaml
Version: 0.82-13
Severity: important
User: debian-python@lists.debian.org
Usertags: python2.7

When rebuilt against python-dev 2.7.2-1 (currently in experimental), pycaml failed to build from source:
| ocamlc -c -cc "cc" -ccopt "-fPIC -fPIC \
| 				-DPIC -DNATIVE_CODE   \
| 				  -I/usr/include/python2.7  -o pycaml_ml.o " pycaml_ml.c
| pycaml_ml.c: In function 'pygencall':
| pycaml_ml.c:478:2: warning: passing argument 2 of '(int (*)(struct PyObject *, const char **, int *))func' from incompatible pointer type [enabled by default]
| pycaml_ml.c:478:2: note: expected 'const char **' but argument is of type 'char **'
| pycaml_ml.c: At top level:
| pycaml_ml.c:1168:11: error: 'PyEval_CallObject' undeclared here (not in a function)
| pycaml_ml.c: In function 'pymodule_initmodule':
| pycaml_ml.c:1403:21: warning: assignment makes pointer from integer without a cast [enabled by default]
| make[3]: *** [pycaml_ml.o] Error 2
| make[3]: Leaving directory `/build/pycaml-dJwwWt/pycaml-0.82'
| make[2]: *** [native-code-library] Error 2
| make[2]: Leaving directory `/build/pycaml-dJwwWt/pycaml-0.82'
| make[1]: *** [override_dh_auto_build] Error 2
| make[1]: Leaving directory `/build/pycaml-dJwwWt/pycaml-0.82'
| make: *** [build] Error 2

--
Jakub Wilk



Reply to: