Opde Issues Tracker

compile.37

build number: 37

re-implement command

docker pull elonh/opde:sdk
docker run -it --rm elonh/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/lua-openssl/compile -j$(nproc) || make package/feeds/packages/lua-openssl/compile V=s

Compile.txt

Applying ./patches/010-cmake.patch using plaintext: 
patching file CMakeLists.txt

Applying ./patches/020-no-luajit.patch using plaintext: 
patching file CMakeLists.txt

Applying ./patches/020-openssl-deprecated.patch using plaintext: 
patching file src/cipher.c
patching file src/openssl.c
patching file src/th-lock.c
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-musl-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Lua: /openwrt/staging_dir/target-mips_24kc_musl/usr/lib/liblua.so;/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/libm.a (found version "5.1.5") 
CMake Error at /openwrt/staging_dir/host/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
  OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /openwrt/staging_dir/host/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
  /openwrt/staging_dir/host/share/cmake-3.19/Modules/FindOpenSSL.cmake:536 (find_package_handle_standard_args)
  CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
See also "/openwrt/build_dir/target-mips_24kc_musl/lua-openssl-0.7.8-0/CMakeFiles/CMakeOutput.log".
make[3]: *** [Makefile:48: /openwrt/build_dir/target-mips_24kc_musl/lua-openssl-0.7.8-0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
Last updated on 20 Jun 2021
Published on 20 Jun 2021