Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #9568 > unrolled thread
| Started by | Andreas Tille <andreas@an3as.eu> |
|---|---|
| First post | 2017-06-16 16:00 +0200 |
| Last post | 2017-06-16 17:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.python
Problem backporting python-pyvcf Andreas Tille <andreas@an3as.eu> - 2017-06-16 16:00 +0200
Re: Problem backporting python-pyvcf Graham Inggs <ginggs@debian.org> - 2017-06-16 17:50 +0200
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2017-06-16 16:00 +0200 |
| Subject | Problem backporting python-pyvcf |
| Message-ID | <tSZX3-Lj-3@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Graham Inggs <ginggs@debian.org> |
|---|---|
| Date | 2017-06-16 17:50 +0200 |
| Message-ID | <tT1Fv-1ZE-3@gated-at.bofh.it> |
| In reply to | #9568 |
Hi Andreas Try the following in debian/rules: export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web