Re: [LEDE-DEV] LEDE Fails to build

2017-01-02 Thread Mauro M.

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



___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] LEDE Fails to build

2017-01-01 Thread Magnus Kroken

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

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] LEDE Fails to build

2017-01-01 Thread Mauro M.

Hi All,

All the updates from git after r2449 fail to build with the following error:

Configuring zip.
Configuring luci-app-hd-idle.
Configuring ppp-mod-pppoe.
Configuring luci-app-openvpn.
Configuring ipvsadm.
Configuring kmod-ledtrig-netdev.
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.
package/Makefile:60: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/net2/router/lede/trunk-ipvs'
package/Makefile:130: recipe for target 
'/net2/router/lede/trunk-ipvs/staging_dir/target-mips_24kc_musl-1.1.15/stamp/.package_install' 
failed
make[1]: *** 
[/net2/router/lede/trunk-ipvs/staging_dir/target-mips_24kc_musl-1.1.15/stamp/.package_install] 
Error 2

make[1]: Leaving directory '/net2/router/lede/trunk-ipvs'
/net2/router/lede/trunk-ipvs/include/toplevel.mk:197: recipe for target 
'world' failed

make: *** [world] Error 2

Is this happening to everyone?

Thanks!

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev