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

Problem backporting python-pyvcf



Hi,

I tried to upgrade the Jessie backport of python-pyvcf from
0.6.7-1~bpo8+1 to 0.6.8-1.  Unfortunately when trying to build this
minor update the build runs into lots of errors like:

...
creating build/temp.linux-amd64-2.7
creating build/temp.linux-amd64-2.7/vcf
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c vcf/cparse.c -o build/temp.linux-amd64-2.7/vcf/cparse.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIE -pie -Wl,-z,relro -Wl,-z,now -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-amd64-2.7/vcf/cparse.o -o /build/python-pyvcf-0.6.8/.pybuild/pythonX.Y_2.7/build/vcf/cparse.so
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_PyFunction_FastCallNoKw':
/build/python-pyvcf-0.6.8/vcf/cparse.c:2681: undefined reference to `_PyThreadState_Current'
/build/python-pyvcf-0.6.8/vcf/cparse.c:2691: undefined reference to `PyFrame_New'
/build/python-pyvcf-0.6.8/vcf/cparse.c:2700: undefined reference to `PyEval_EvalFrameEx'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_AddTraceback':
/build/python-pyvcf-0.6.8/vcf/cparse.c:3732: undefined reference to `_PyThreadState_Current'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3732: undefined reference to `PyFrame_New'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3740: undefined reference to `PyTraceBack_Here'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_CreateCodeObjectForTraceback':
/build/python-pyvcf-0.6.8/vcf/cparse.c:3676: undefined reference to `PyString_FromString'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3683: undefined reference to `PyString_FromFormat'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3676: undefined reference to `PyString_FromString'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3690: undefined reference to `PyString_FromString'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3696: undefined reference to `PyCode_New'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__pyx_insert_code_object':
/build/python-pyvcf-0.6.8/vcf/cparse.c:3648: undefined reference to `PyMem_Realloc'
/build/python-pyvcf-0.6.8/vcf/cparse.c:3628: undefined reference to `PyMem_Malloc'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_RaiseArgtupleInvalid':
/build/python-pyvcf-0.6.8/vcf/cparse.c:2899: undefined reference to `PyExc_TypeError'
/build/python-pyvcf-0.6.8/vcf/cparse.c:2899: undefined reference to `PyErr_Format'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_SetItemInt_Fast':
/build/python-pyvcf-0.6.8/vcf/cparse.c:3296: undefined reference to `PyInt_FromSsize_t'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_SetItemInt_Generic':
/build/python-pyvcf-0.6.8/vcf/cparse.c:3255: undefined reference to `PyObject_SetItem'
build/temp.linux-amd64-2.7/vcf/cparse.o: In function `__Pyx_PyFunction_FastCallDict':
...


and so on (errors are continuing).  Does anybody have an idea what might
went wrong here under Jessie which builds nicely under Stretch or should
I post a full build log?

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: