[LEDE-DEV] master fails to build at openvpn after today's git pull

Koen Vandeputte koen.vandeputte at ncentric.com
Fri Feb 16 02:33:23 PST 2018



On 2018-02-16 11:28, Mauro Mozzarelli wrote:
> I am not sure if you are already aware, master fails to build after 
> today's git pull:
>
> -sections -std=c99 -znow -zrelro -Wl,--gc-sections -o openvpn argv.o 
> base64.o buffer.o clinat.o comp.o compstub.o comp-lz4.o crypto.o 
> crypto_openssl.o crypto_mbedtls.o dhcp.o error.o event.o fdmisc.o 
> forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o 
> interval.o list.o lzo.o manage.o mbuf.o misc.o platform.o console.o 
> console_builtin.o console_systemd.o mroute.o mss.o mstats.o mtcp.o 
> mtu.o mudp.o multi.o ntlm.o occ.o pkcs11.o pkcs11_openssl.o 
> pkcs11_mbedtls.o openvpn.o options.o otime.o packet_id.o perf.o pf.o 
> ping.o plugin.o pool.o proto.o proxy.o ps.o push.o reliable.o route.o 
> schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o 
> ssl_openssl.o ssl_mbedtls.o ssl_verify.o ssl_verify_openssl.o 
> ssl_verify_mbedtls.o status.o tls_crypt.o tun.o win32.o cryptoapi.o 
> -L/sto/router/lede/master-ipvs/staging_dir/target-mips_24kc_musl/usr/lib 
> -L/sto/router/lede/master-ipvs/staging_dir/target-mips_24kc_musl/lib 
> -L/sto/router/lede/master-ipvs/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/usr/lib 
> -L/sto/router/lede/master-ipvs/staging_dir/toolchain-mips_24kc_gcc-5.5.0_musl/lib 
> ../../src/compat/.libs/libcompat.a -lresolv -llzo2 -lmbedtls 
> -lmbedx509 -lmbedcrypto
> ssl_mbedtls.o: In function `tls_ctx_personalise_random':
> ssl_mbedtls.c:(.text.tls_ctx_personalise_random+0x2a): undefined 
> reference to `mbedtls_sha256'
> collect2: error: ld returned 1 exit status
> Makefile:585: recipe for target 'openvpn' failed
> make[7]: *** [openvpn] Error 1
> make[7]: Leaving directory 
> '/sto/router/lede/master-ipvs/build_dir/target-mips_24kc_musl/openvpn-mbedtls/openvpn-2.4.4/src/openvpn'
> Makefile:428: recipe for target 'all-recursive' failed
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory 
> '/sto/router/lede/master-ipvs/build_dir/target-mips_24kc_musl/openvpn-mbedtls/openvpn-2.4.4/src'
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev


+1 on this one:

2 minutes ago:


make[5]: Entering directory 
'/mnt/ramdisk/test/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/curl-7.58.0/lib'
   CC       vtls/libcurl_la-mbedtls.lo
vtls/mbedtls.c: In function 'Curl_mbedtls_sha256sum':
vtls/mbedtls.c:1032:3: error: implicit declaration of function 
'mbedtls_sha256'; did you mean 'mbedtls_sha256_ret'? 
[-Werror=implicit-function-declaration]
    mbedtls_sha256(input, inputlen, sha256sum, 0);
    ^~~~~~~~~~~~~~
    mbedtls_sha256_ret
cc1: some warnings being treated as errors
Makefile:2153: recipe for target 'vtls/libcurl_la-mbedtls.lo' failed
make[5]: *** [vtls/libcurl_la-mbedtls.lo] Error 1
make[5]: Leaving directory 
'/mnt/ramdisk/test/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/curl-7.58.0/lib'
Makefile:921: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory 
'/mnt/ramdisk/test/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/curl-7.58.0'
Makefile:179: recipe for target 
'/mnt/ramdisk/test/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/curl-7.58.0/.built' 
failed
make[3]: *** 
[/mnt/ramdisk/test/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/curl-7.58.0/.built] 
Error 2
make[3]: Leaving directory 
'/mnt/ramdisk/test/firmware/builds/generic_imx6/package/network/utils/curl'
package/Makefile:106: recipe for target 
'package/network/utils/curl/compile' failed
make[2]: *** [package/network/utils/curl/compile] Error 2
make[2]: Leaving directory '/mnt/ramdisk/test/firmware/builds/generic_imx6'
package/Makefile:102: recipe for target 
'/mnt/ramdisk/test/firmware/builds/generic_imx6/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.package_compile' 
failed
make[1]: *** 
[/mnt/ramdisk/test/firmware/builds/generic_imx6/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.package_compile] 
Error 2
make[1]: Leaving directory '/mnt/ramdisk/test/firmware/builds/generic_imx6'
/mnt/ramdisk/test/firmware/builds/generic_imx6/include/toplevel.mk:216: 
recipe for target 'world' failed
make: *** [world] Error 2




More information about the Lede-dev mailing list