[SOLVED] Cant build turris-os

I don’t know about this error in particular, but I’ve had some problems building it, too.
Try using Ubuntu 14.04 Trusty.
I used Debian Jessie and had multiple problems like this.
After I switched to Ubuntu in a LXC container, there was just one little problem left:
The GIT client is compiled with GnuTLS, what is a problem for downloading some sources.
To compile it with OpenSSL: https://gist.github.com/pescobar/6ae5634f92d75d23c36a

And maybe helpful too:
apt-get install -y build-essential bzr cvs gawk gcc-multilib flex git-core gettext libncurses5-dev libssl-dev libxml-parser-perl openjdk-6-jdk subversion unzip zip zlib1g-dev
From: https://gitlab.labs.nic.cz/turris/openwrt/blob/test/vagrant/vagrant_provision.sh