[LEDE-DEV] LEDE Fails to build

Mauro M. openwrt at ezplanet.net
Mon Jan 2 02:13:40 PST 2017


Magnus,


Thank you.

I found that libustream-mbedtls is forced to enabled in the new releases 
and this conflicts with libustream-polarssl that I had already enabled 
in my router's configuration.

I disabled libustream-polarssl (libustream-mbedtls cannot be disabled) 
and now the code builds. Perhaps the project might want to look at 
checking dependencies and conflicts in the .config file.

Looking further into the matter I found that now I have the following in 
my configuration.

                  -*- libmbedtls........................................ 
Embedded SSL (library)
                  -*- libopenssl........................... Open source 
SSL toolkit (libraries)  --->
                  -*- libpolarssl....................................... 
Embedded SSL (library)

I wonder why they are all forced (I cannot disable any of them) and if I 
need all of them at all.

Best regards,

Mauro


On 01/01/17 17:23, Magnus Kroken wrote:
> Hi Mauro
>
> On 01.01.2017 16.10, Mauro M. wrote:
>> Collected errors:
>>  * check_data_file_clashes: Package libustream-polarssl wants to install
>> file
>> /net2/router/lede/trunk-ipvs/build_dir/target-mips_24kc_musl-1.1.15/root-ar71xx/lib/libustream-ssl.so 
>>
>>
>>     But that file is already provided by package  * libustream-mbedtls
>>  * opkg_install_cmd: Cannot install package libustream-polarssl.
>
> Try updating all LEDE code as well as all enabled package feeds, and 
> updating your configuration (backup, then make defconfig). This is 
> probably caused by LEDE and feeds moving to mbed TLS 2.x as default 
> TLS library.
>
> If it still fails, run make menuconfig and find out which package 
> selects libustream-polarssl. Grepping my tree, cshark (in 
> feeds/packages) is the only package that depends on 
> libustream-polarssl at this point.
>
> Regards
> /Magnus




More information about the Lede-dev mailing list