compile.12
build number: 12
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/base/procd/compile -j$(nproc) || make package/feeds/base/procd/compile V=s
Compile.txt
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-x86_64_gcc-8.4.0_musl/bin/x86_64-openwrt-linux-musl-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at upgraded/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.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_ASM_COMPILER
CMAKE_ASM_COMPILER_LAUNCHER
CMAKE_CXX_COMPILER
CMAKE_CXX_FLAGS_RELEASE
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_EXPORT_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY
CMAKE_FIND_USE_PACKAGE_REGISTRY
CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
CMAKE_MODULE_LINKER_FLAGS
DL_LIBRARY
-- Build files have been written to: /openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948
make[4]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[5]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target setlbf
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 1%] Building C object CMakeFiles/setlbf.dir/service/setlbf.c.o
[ 3%] Linking C shared library libsetlbf.so
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 3%] Built target setlbf
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target syscall-names-h
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 5%] Generating syscall-names.h
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 5%] Built target syscall-names-h
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target preload-seccomp
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 7%] Building C object CMakeFiles/preload-seccomp.dir/jail/preload.c.o
[ 9%] Building C object CMakeFiles/preload-seccomp.dir/jail/seccomp.c.o
[ 10%] Linking C shared library libpreload-seccomp.so
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 10%] Built target preload-seccomp
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target ujail-console
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 12%] Building C object CMakeFiles/ujail-console.dir/jail/console.c.o
[ 14%] Linking C executable ujail-console
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 14%] Built target ujail-console
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target udevtrigger
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 16%] Building C object CMakeFiles/udevtrigger.dir/plug/udevtrigger.c.o
[ 18%] Linking C executable udevtrigger
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 18%] Built target udevtrigger
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target preload-trace
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 20%] Building C object CMakeFiles/preload-trace.dir/trace/preload.c.o
[ 21%] Linking C shared library libpreload-trace.so
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 21%] Built target preload-trace
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target procd
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 23%] Building C object CMakeFiles/procd.dir/procd.c.o
[ 25%] Building C object CMakeFiles/procd.dir/signal.c.o
[ 27%] Building C object CMakeFiles/procd.dir/state.c.o
[ 29%] Building C object CMakeFiles/procd.dir/inittab.c.o
[ 30%] Building C object CMakeFiles/procd.dir/rcS.c.o
[ 32%] Building C object CMakeFiles/procd.dir/ubus.c.o
[ 34%] Building C object CMakeFiles/procd.dir/system.c.o
[ 36%] Building C object CMakeFiles/procd.dir/sysupgrade.c.o
[ 38%] Building C object CMakeFiles/procd.dir/service/service.c.o
[ 40%] Building C object CMakeFiles/procd.dir/service/instance.c.o
[ 41%] Building C object CMakeFiles/procd.dir/service/validate.c.o
[ 43%] Building C object CMakeFiles/procd.dir/service/trigger.c.o
[ 45%] Building C object CMakeFiles/procd.dir/service/watch.c.o
[ 47%] Building C object CMakeFiles/procd.dir/utils/utils.c.o
[ 49%] Building C object CMakeFiles/procd.dir/watchdog.c.o
[ 50%] Building C object CMakeFiles/procd.dir/plug/coldplug.c.o
[ 52%] Building C object CMakeFiles/procd.dir/plug/hotplug.c.o
[ 54%] Linking C executable procd
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 54%] Built target procd
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target capabilities-names-h
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 56%] Generating capabilities-names.h
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 56%] Built target capabilities-names-h
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
Scanning dependencies of target ujail
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[6]: Entering directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
[ 58%] Building C object CMakeFiles/ujail.dir/jail/jail.c.o
jail/jail.c:1585:40: error: 'BLOBMSG_CAST_INT64' undeclared here (not in a function); did you mean 'BLOBMSG_TYPE_INT64'?
[OCI_PROCESS_RLIMIT_SOFT] = { "soft", BLOBMSG_CAST_INT64 },
^~~~~~~~~~~~~~~~~~
BLOBMSG_TYPE_INT64
jail/jail.c: In function 'parseOCIrlimit':
jail/jail.c:1644:21: error: implicit declaration of function 'blobmsg_cast_u64'; did you mean 'blobmsg_get_u64'? [-Werror=implicit-function-declaration]
curlim->rlim_cur = blobmsg_cast_u64(tb[OCI_PROCESS_RLIMIT_SOFT]);
^~~~~~~~~~~~~~~~
blobmsg_get_u64
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/ujail.dir/build.make:82: CMakeFiles/ujail.dir/jail/jail.c.o] Error 1
make[6]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[5]: *** [CMakeFiles/Makefile2:354: CMakeFiles/ujail.dir/all] Error 2
make[5]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[4]: *** [Makefile:149: all] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948'
make[3]: *** [Makefile:177: /openwrt/build_dir/target-x86_64_musl/procd-default/procd-2020-11-06-b0de8948/.built] Error 2