can't build matplotlib #134
-
I'm unable to build matplotlib with crossenv. A project that demonstrates the problem is here. After compiling host and build python and setting up the crossenv venv, the demo does:
where requirements.txt is:
The cross build falls down in matplotlib, seemingly due to cython. The error is very long, so I've attached it to this issue (here). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Wow. Awesome job making a reproducible test case! I think I know what's happening: I don't have a good way to switch back to a native build for build dependencies, so your best bet is to install |
Beta Was this translation helpful? Give feedback.
-
I had that same observation about numpy. I ended up working around the problem with:
But then like you saw, matplotlib falls down for a completely different reason:
I was able to work around the link error by disabling LTO:
I'd like to avoid the LTO hack, but I'm not sure where the bad |
Beta Was this translation helpful? Give feedback.
I had that same observation about numpy. I ended up working around the problem with:
But then like you saw, matplotlib falls down for a completely different reason: