Modify

Opened 3 years ago

Closed 3 years ago

#19074 closed defect (fixed)

rpcd compilation error

Reported by: Damian Kaczkowski Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

Hello.

r44548 . Clean new buildroot install. It used to work earlier in my environment. Not sure when the problem was introduced. Could someone please tell me what is the problem?

make V=s package/rpcd/compile
make[1]: Entering directory `/home/owrt/trunk/test/openwrt'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/libs/toolchain'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/libs/toolchain'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/libs/libjson-c'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install.clean; fi; echo "libjson-c" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/libs/libjson-c'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/utils/lua'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean; fi; echo "liblua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean; fi; echo "lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/utils/lua'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/libs/libubox'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "libubox" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "libblobmsg-json" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "jshn" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "libjson-script" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/libs/libubox'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/system/uci'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean; fi; echo "uci" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean; fi; echo "libuci" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean; fi; echo "libuci-lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/system/uci'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/network/utils/iwinfo'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean; fi; echo "libiwinfo" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean; fi; echo "libiwinfo-lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/network/utils/iwinfo'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/system/ubus'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "libubus" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "libubus-lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "ubus" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "ubusd" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/system/ubus'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/system/rpcd'
. /home/owrt/trunk/test/openwrt/include/shell.sh; gzip -dc /opt/cross/openwrt/dl/rpcd-2015-02-09-7b7f254682d24aee497a545a3e20cdaf7cec4f22.tar.gz | tar -C /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/.. -xf -
touch /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/.prepared_e2535d12dde47a5bfe43b57d02d75799
(cd /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd; CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16 " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16 " LDFLAGS="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib" -DCMAKE_AR="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-ar" -DCMAKE_NM="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-nm" -DCMAKE_RANLIB="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-ranlib" -DCMAKE_FIND_ROOT_PATH="/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc;/home/owrt/trunk/test/openwrt/staging_dir/toolchain-mips-openwrt-linux-uclibc" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc -DCMAKE_PREFIX_PATH=/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc -DCMAKE_SKIP_RPATH=TRUE  . )
-- The C compiler identification is GNU 4.8.3
-- Check for working C compiler: /opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-gcc
-- Check for working C compiler: /opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for getspnam
-- Looking for getspnam - found
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
crypt
    linked by target "rpcd" in directory /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd

-- Configuring incomplete, errors occurred!
See also "/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/CMakeFiles/CMakeOutput.log".
make[2]: *** [/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/.configured_] Error 1
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/system/rpcd'
make[1]: *** [package/system/rpcd/compile] Error 2
make[1]: Leaving directory `/home/owrt/trunk/test/openwrt'
make: *** [package/rpcd/compile] Error 2

Attachments (3)

diffconfig.7z (3.4 KB) - added by Damian Kaczkowski 3 years ago.
diffconfig
CMakeOutput.7z (2.4 KB) - added by Damian Kaczkowski 3 years ago.
trace.7z (905 bytes) - added by Damian Kaczkowski 3 years ago.
trace

Download all attachments as: .zip

Change History (16)

comment:1 Changed 3 years ago by jow

Attach the output of "./scripts/diffconfig.sh"

Changed 3 years ago by Damian Kaczkowski

diffconfig

comment:2 Changed 3 years ago by Damian Kaczkowski

Attached. Thanks for looking into jow.

comment:3 Changed 3 years ago by jow

Please edit rpcd's CMakeList.txt file and change "LIBS-NOTFOUND" to "crypt-NOTFOUND", then check if it builds with "make package/rpcd/compile"

comment:4 Changed 3 years ago by Damian Kaczkowski

Unfortunately not:

make V=s package/rpcd/compile

make[1]: Entering directory `/home/owrt/trunk/test/openwrt'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/libs/toolchain'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/toolchain.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/libs/toolchain'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/libs/libjson-c'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install.clean; fi; echo "libjson-c" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libjson-c.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/libs/libjson-c'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/utils/lua'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean; fi; echo "liblua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install.clean; fi; echo "lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/lua.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/utils/lua'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/libs/libubox'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "libubox" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "libblobmsg-json" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "jshn" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install.clean; fi; echo "libjson-script" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/libubox.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/libs/libubox'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/system/uci'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean; fi; echo "uci" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean; fi; echo "libuci" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install.clean; fi; echo "libuci-lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/uci.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/system/uci'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/network/utils/iwinfo'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean; fi; echo "libiwinfo" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install.clean; fi; echo "libiwinfo-lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/iwinfo.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/network/utils/iwinfo'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/system/ubus'
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "libubus" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "libubus-lua" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "ubus" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
if [ -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean ]; then rm -f /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install.clean; fi; echo "ubusd" >> /home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/pkginfo/ubus.default.install
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/system/ubus'
make[2]: Entering directory `/home/owrt/trunk/test/openwrt/package/system/rpcd'
(cd /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd; CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16 " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16 " LDFLAGS="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib" -DCMAKE_AR="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-ar" -DCMAKE_NM="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-nm" -DCMAKE_RANLIB="/opt/cross/openwrt/toolchains/toolchain-mips_34kc/bin/mips-openwrt-linux-ranlib" -DCMAKE_FIND_ROOT_PATH="/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc;/home/owrt/trunk/test/openwrt/staging_dir/toolchain-mips-openwrt-linux-uclibc" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc -DCMAKE_PREFIX_PATH=/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc -DCMAKE_SKIP_RPATH=TRUE  . )
-- Configuring done
-- Generating done
-- Build files have been written to: /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd
rm -f /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/.configured_
touch /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/.configured_
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16  -I/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/include -I/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-mips_34kc/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16  -I/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/include -I/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-mips_34kc/include " LDFLAGS="-L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib -L/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib " make   -C /home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/. AR="mips-openwrt-linux-ar" AS="mips-openwrt-linux-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float" LD=mips-openwrt-linux-ld NM="mips-openwrt-linux-nm" CC="mips-openwrt-linux-gcc" GCC="mips-openwrt-linux-gcc" CXX="mips-openwrt-linux-g++" RANLIB="mips-openwrt-linux-ranlib" STRIP=mips-openwrt-linux-strip OBJCOPY=mips-openwrt-linux-objcopy OBJDUMP=mips-openwrt-linux-objdump SIZE=mips-openwrt-linux-size CROSS="mips-openwrt-linux-" ARCH="mips" ;
make[3]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[4]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[5]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
Scanning dependencies of target file_plugin
make[5]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[5]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
[ 14%] Building C object CMakeFiles/file_plugin.dir/file.c.o
Linking C shared module file.so
make[5]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
[ 14%] Built target file_plugin
make[5]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
Scanning dependencies of target iwinfo_plugin
make[5]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[5]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
[ 28%] Building C object CMakeFiles/iwinfo_plugin.dir/iwinfo.c.o
Linking C shared module iwinfo.so
make[5]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
[ 28%] Built target iwinfo_plugin
make[5]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
Scanning dependencies of target rpcd
make[5]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[5]: Entering directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
[ 42%] Building C object CMakeFiles/rpcd.dir/main.c.o
[ 57%] Building C object CMakeFiles/rpcd.dir/exec.c.o
[ 71%] Building C object CMakeFiles/rpcd.dir/session.c.o
[ 85%] Building C object CMakeFiles/rpcd.dir/uci.c.o
[100%] Building C object CMakeFiles/rpcd.dir/plugin.c.o
Linking C executable rpcd
/home/owrt/trunk/test/openwrt/staging_dir/target-mips-openwrt-linux-uclibc/usr/lib/libuci.so: warning: the use of `mktemp' is dangerous, better use `mkstemp'
CMakeFiles/rpcd.dir/session.c.o: In function `rpc_login_test_password':
/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/session.c:816: undefined reference to `crypt'
collect2: error: ld returned 1 exit status
make[5]: *** [rpcd] Error 1
make[5]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[4]: *** [CMakeFiles/rpcd.dir/all] Error 2
make[4]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd'
make[2]: *** [/home/owrt/trunk/test/openwrt/build_dir/target-mips-openwrt-linux-uclibc/rpcd/.built] Error 2
make[2]: Leaving directory `/home/owrt/trunk/test/openwrt/package/system/rpcd'
make[1]: *** [package/system/rpcd/compile] Error 2
make[1]: Leaving directory `/home/owrt/trunk/test/openwrt'
make: *** [package/rpcd/compile] Error 2

comment:5 Changed 3 years ago by jow

Well, it fixed the original issue in CMake, but now it fails to link because your external toolchain's libc does not include crypt() in libc, but likely in libcrypt which is not discovered by CMake for unknown reasons.

You need to find out why cmake does not find libcrypt of your external toolchain - thats the root cause.

comment:6 Changed 3 years ago by Damian Kaczkowski

I have been using openwrt compiled toolchain as external toolchain. I have compiled openwrt toolchain again, from scratch, on new account, just to be sure that it is not my buildroot problem. Unfortunately the same error occurs. Most of packages compile with no problem using this toolchain. Only the rpcd fails. I have been using openwrt toolchain for BB compilation for a log time with no problem. Now with CC it doesn't work. I am not sure what changed in CC.

How can I ensure or check that 'crypt' is compiled into openwrt toolchain? Should I select some special symbol/package or is this some kind of bug?

This is the config I used to compile the toolchain:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_Default=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_DOWNLOAD_FOLDER="/opt/cross/openwrt/dl"
CONFIG_MAKE_TOOLCHAIN=y

Any hints please?

comment:7 Changed 3 years ago by jow

Attach build_dir/target-*/rpcd/CMakeFiles/CMakeOutput.log

Changed 3 years ago by Damian Kaczkowski

comment:8 Changed 3 years ago by Damian Kaczkowski

Attached.

comment:9 Changed 3 years ago by Damian Kaczkowski

Tha attached log is from fresh compile - with original "LIBS-NOTFOUND".

comment:10 Changed 3 years ago by Damian Kaczkowski

I have added "-lcrypt" at the end of the link.txt in rpcd.dir and now it compiles successfully. However I am not sure what is the proper fix... jow, could you look into this please?

comment:11 Changed 3 years ago by Damian Kaczkowski

Seems that cmake does not even check toolchain paths for libraries, it only checks staging_dir. I have modified CMakeList a little bit for the reference.

FIND_LIBRARY(crypt NAMES crypt)

MESSAGE( STATUS "crypt: " ${crypt} )

IF(crypt STREQUAL "crypt-NOTFOUND")
  SET(crypt "")
ENDIF()

MESSAGE( STATUS "crypt: " ${crypt} )

Please take look at the attached trace.

Changed 3 years ago by Damian Kaczkowski

trace

comment:12 Changed 3 years ago by Damian Kaczkowski

This patch fixes the problem:

--- ./include/cmake.mk
+++ ./include/cmake.mk
@@ -31,6 +31,12 @@ CMAKE_AR:=$(call cmake_tool,$(TARGET_AR)
 CMAKE_NM:=$(call cmake_tool,$(TARGET_NM))
 CMAKE_RANLIB:=$(call cmake_tool,$(TARGET_RANLIB))
 
+ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
+  ___CMAKE_FIND_ROOT_PATH=$(STAGING_DIR);$(TOOLCHAIN_DIR)
+else
+  ___CMAKE_FIND_ROOT_PATH=$(STAGING_DIR);$(TOOLCHAIN_DIR);$(CONFIG_TOOLCHAIN_ROOT)
+endif
+
 define Build/Configure/Default
 	(cd $(PKG_BUILD_DIR); \
 		CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
@@ -53,7 +59,7 @@ define Build/Configure/Default
 			-DCMAKE_AR="$(CMAKE_AR)" \
 			-DCMAKE_NM="$(CMAKE_NM)" \
 			-DCMAKE_RANLIB="$(CMAKE_RANLIB)" \
-			-DCMAKE_FIND_ROOT_PATH="$(STAGING_DIR);$(TOOLCHAIN_DIR)" \
+			-DCMAKE_FIND_ROOT_PATH="$(___CMAKE_FIND_ROOT_PATH)" \
 			-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \
 			-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
 			-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \

I am not sure what should be the proper fix for buildroot so I leave that to you jow. Thanks for your hints and rpcd fix.

comment:13 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r44825, thanks.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.