I have the same question in order to build my luacoap library for Vera.
As far as I know, nothing is available.
Based on similar information you found, I started to setup a toolchain using GitHub - openwrt/archive: Historical pre-merge OpenWrt archive, commit aba884cec150a9f4d1de6974a96ff90dff900f79, with a cherrypick of a more recent OpenSSL version. This code base requires a number of patches to be able to build the OpenWRT toolchain with a more recent gcc compiler than the one of 7 years ago.
The resulting toolchain can be used to build binaries for Vera. My library produces segfaults, probably because of mismatches between shared libraries available on Vera and those available in the toolchain. I was however able to build and successfully run utilities like ld, nm, objdump and gdb.
If anyone is interested, I can share some details.
—> 72a009efbfdd
Step 6/17 : COPY openwrt/.config archive/
—> ae79b9c4199a
Step 7/17 : COPY openwrt/tools archive/tools/
—> 684995d64c84
Step 8/17 : COPY openwrt/toolchain archive/toolchain/
—> 394f22a4ac5b
Step 9/17 : COPY openwrt/dl archive/dl/ COPYfailed: stat /var/lib/docker/tmp/docker-builder106221683/openwrt/dl: no such file or directory
Is it something wrong with my Docker-installation (v19.03.12)? Doing an docker run -it ubuntu bash works perfectly… (Btw, do you want to have this conversation here, or as an issue on GitHub in the vera-toolchain.git repo?)
No, there is nothing wrong with your installation that causes the failure. This is my bad. The Dockerfile expects a directory openwrt/dl which does not exist (because git does not support empty directories). I added it.
Feel free to create tickets on Github for issues you find. This thread can be used as well, for improvements in the toolchain, or suggestions on how to use it.
Thanks for the fix! The docker build process now continues, but ends up in another issue. I have reported it on the Github repo. Are you also experiencing the same thing on a clean checkout from the Github repo? Issues · vwout/vera-toolchain · GitHub
Best Home Automation shopping experience. Shop at Ezlo!