Opde Issues Tracker

compile.23

build number: 23

re-implement command

docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/domoticz/compile -j$(nproc) || make package/feeds/packages/domoticz/compile V=s

Compile.txt

Applying ./patches/012-minizip-overflow.patch using plaintext: 
patching file main/unzip_stream.h
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc
-- Check for working C compiler: /openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc - broken
CMake Error at /openwrt/staging_dir/host/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /openwrt/build_dir/target-aarch64_cortex-a53_musl/domoticz-2021.1/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/openwrt/staging_dir/host/bin/ninja cmTC_3ced2 && [1/2] Building C object CMakeFiles/cmTC_3ced2.dir/testCCompiler.c.o
    [2/2] Linking C executable cmTC_3ced2
    FAILED: cmTC_3ced2 
    : && /openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/domoticz-2021.1=domoticz-2021.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -L/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -znow -zrelro -lpython3.9 CMakeFiles/cmTC_3ced2.dir/testCCompiler.c.o -o cmTC_3ced2   && :
    /openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: cannot find -lpython3.9
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:4 (project)


-- Configuring incomplete, errors occurred!
See also "/openwrt/build_dir/target-aarch64_cortex-a53_musl/domoticz-2021.1/CMakeFiles/CMakeOutput.log".
See also "/openwrt/build_dir/target-aarch64_cortex-a53_musl/domoticz-2021.1/CMakeFiles/CMakeError.log".
make[3]: *** [Makefile:134: /openwrt/build_dir/target-aarch64_cortex-a53_musl/domoticz-2021.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
Last updated on 27 Aug 2021
Published on 27 Aug 2021