Closed sysarcher closed 7 years ago
It goes without saying.. but removing python-pyzmq
doesn't throw the error :)
Can you try with this patch:
diff --git a/meta-ostro/conf/distro/include/ostro_security_flags.inc b/meta-ostro/conf/distro/include/ostro_security_flags.inc
index eda27df..0acea1a 100644
--- a/meta-ostro/conf/distro/include/ostro_security_flags.inc
+++ b/meta-ostro/conf/distro/include/ostro_security_flags.inc
@@ -6,6 +6,7 @@ SECURITY_PIC_CFLAGS ?= "-fpic"
# Add Ostro OS specific flags to fix build issues with
# recipes that are being used in Ostro OS.
SECURITY_CFLAGS_pn-zeromq = "${SECURITY_NO_PIE_CFLAGS} ${SECURITY_PIC_CFLAGS}"
+SECURITY_CFLAGS_pn-python-pyzmq = "${SECURITY_NO_PIE_CFLAGS} ${SECURITY_PIC_CFLAGS}"
SECURITY_CFLAGS_pn-mraa = "${SECURITY_NO_PIE_CFLAGS} ${SECURITY_PIC_CFLAGS}"
SECURITY_CFLAGS_pn-upm = "${SECURITY_NO_PIE_CFLAGS} ${SECURITY_PIC_CFLAGS}"
SECURITY_CFLAGS_pn-iot-app-fw = "${SECURITY_NO_PIE_CFLAGS} ${SECURITY_PIC_CFLAGS}"
That solves the problem for me (although I will also shamelessly claim that I don't really know why :-))
WHAT? Thanks a lot @gvancuts ... what led you towards this fix?
Thanks again!!
You can close this issue if you want. Or after you've pushed the change? Or, I can close it if you'd like.
Hi @shrmrf ... that was a rather wild guess to be honest. I have seen similar issues that were resolved that way and when I see that some references are not found although the dependent libraries are there, then this is my next try. I assume it must have to do with the fact some components just do not cope very well with the PIE flag (Position-Independant Executable). As a further hint, the zeromq
library was already on the list.
This should be added to Ostro OS if that Python library is to be considered part of the stack, but I'm not sure that's the case.
I'm using this
local.conf
file: https://gist.github.com/shrmrf/cdac935fab6175aac9734604f04ccbc3#file-local-conf-sh-L339Has anyone else tried to install pyzmq? What am I possibly doing wrong?
On line 339, I am trying to build
pyzmq
which seems to fail. Below is the error log (and warnings):-