docker omega2-source build fails
-
I'm trying to set up a build environment so I can generate opgks of a few applications I'd like to load onto the omega2.
I retrieved the omega2-source docker image and followed the instructions in https://onion.io/2bt-cross-compiling-c-programs-part-1/ but the build is failing on mosquito.
Tried a 'git pull' and that got a bunch of new changes, also did a
scripts/feeds update -a
and the build is still failing. Disabling libwebsocket support in mosquito appears to be working but it isn't clear how this can be the official build repository if it doesn't build
-
@Chris-Morgan I assume you're running Docker on Windows? We've seen this libwebsockets + mosquitto issue pop up but only when running Docker on Windows. If it's run on Mac or a Linux Distro, it works like a charm.
-
@Lazar-Demin running on Mac here actually. I did do a 'apt update' and 'apt upgrade' but that was after it failed and didn't improve things.
-
I'm having the libwebsockets + mosquitto issue in docker on Linux Mint 19.
Any info to address this would be greatly appreciated.
-
Hi Steven,
I had the same issue running Docker on my Mac and trying to compile the latest Github version...
The only fix I've found is to remove Mosquitto using make menuconfig. You will find it on the Networking section so you can remove it and not include it in your compilation
-
We've updated the build system and Docker image - the libwebsockets + mosquitto issue has been resolved.
More info here: http://community.onion.io/topic/3666/plans-to-update-the-onion-omega2-source-docker-container/3