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

Bug#818400: Built plugin from source



Dear Maintainer,
when I build the plugin from source like this:

apt-get source gcc-python3-plugin
cd gcc-python-plugin-0.15/
sudo apt-get install debhelper dh-python gcc-5-plugin-dev g++-5 python3-all-dev python3-all-dbg python3-lxml python3-pygments python3-six python3-sphinx
make  PYTHON=python3  PYTHON_CONFIG=python3-config  all

I am not sure if this is the correct way to build for debian - I just saw this example in the Makefile and tried.

I get these from the build:

Failed tests:
  tests/cpychecker/refcounts/PyDict_SetItem/correct
  tests/cpychecker/refcounts/PyDict_SetItemString/correct
  tests/cpychecker/refcounts/PyDict_SetItemString/incorrect
  tests/cpychecker/refcounts/PyFloat_AsDouble/correct_PyFloatObject
  tests/cpychecker/refcounts/PySequence_Size/correct
  tests/cpychecker/refcounts/PySequence_Size/null
  tests/cpychecker/refcounts/Py_BuildValue/correct-code-N
  tests/cpychecker/refcounts/Py_BuildValue/correct-code-O
  tests/cpychecker/refcounts/attributes/returns-borrowed-ref/correct-usage
  tests/cpychecker/refcounts/loops/complex-loop-conditional-1
  tests/cpychecker/refcounts/loops/complex-loop-conditional-2
  tests/cpychecker/refcounts/macros/Py_XDECREF/crash
  tests/cpychecker/refcounts/object_from_callback
  tests/cpychecker/refcounts/ticket-20

But the plugin still works when called like this:

./gcc-with-python ../../bugreport/script.py ../../bugreport/sourcefile.c -c -o tmp.o
rm tmp.o


Reply to: