[FS#3655] autoconf-lean causes variating breakage at buildbot and private buildhosts

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Mar 1 21:37:40 GMT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3655 - autoconf-lean causes variating breakage at buildbot and private buildhosts
User who did this - Bernd Kuhls (bkuhls)

----------
autoconf-lean also produces problems here:
ccache_cc  -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result  -L/home/bernd/openwrt/openwrt/staging_dir/toolchain-x86_64_gcc-10.2.0_glibc/usr/lib -L/home/bernd/openwrt/openwrt/staging_dir/toolchain-x86_64_gcc-10.2.0_glibc/lib -o test test.o  -lxnet -lutil -lrt -lresolv -lpthread -lm -ldl -lcrypt 
/home/bernd/openwrt/openwrt/staging_dir/toolchain-x86_64_gcc-10.2.0_glibc/lib/gcc/x86_64-openwrt-linux-gnu/10.2.0/../../../../x86_64-openwrt-linux-gnu/bin/ld: cannot find -lxnet
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:389: test] Error 1
make[5]: Leaving directory '/home/bernd/openwrt/openwrt/build_dir/toolchain-x86_64_gcc-10.2.0_glibc/autoconf-lean-2012-09-01-bd812069/config-site-generator'

This patch fixes the problem
--- a/toolchain/autoconf-lean/config.site
+++ b/toolchain/autoconf-lean/config.site
@@ -1576,7 +1576,6 @@ ac_cv_lib_resolv_main=${ac_cv_lib_resolv_main=yes}
 ac_cv_lib_rt_main=${ac_cv_lib_rt_main=yes}
 ac_cv_lib_socket_main=${ac_cv_lib_socket_main=no}
 ac_cv_lib_util_main=${ac_cv_lib_util_main=yes}
-ac_cv_lib_xnet_main=${ac_cv_lib_xnet_main=yes}
 ac_cv_member_struct_dirent_d_ino=${ac_cv_member_struct_dirent_d_ino=yes}
 ac_cv_member_struct_dirent_d_type=${ac_cv_member_struct_dirent_d_type=yes}
 ac_cv_member_struct_stat_st_blocks=${ac_cv_member_struct_stat_st_blocks=yes}

but the build errors continue with other packages:, here with dropbear
:(.text+0x833): undefined reference to `strlcpy'
:(.text.startup+0xfce): undefined reference to `strlcat'

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3655#comment9441

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list