Open Abhijitsan1981 opened 1 year ago
We had tried to build the SPGWU-tiny docker module as below 👎
sudo docker build --target oai-spgwu-tiny --tag oai-spgwu-tiny:production --file component/oai-spgwu-tiny/docker/Dockerfile.ubuntu component/oai-spgwu-tiny
Error logs are given for the terminal 👎
[oai-spgwu-tiny-builder 3/3] RUN ./build_spgwu --clean --build-type Release - -jobs --Verbose && ldd /openair-spgwu-tiny/build/spgw_u/build/spgwu && m v /openair-spgwu-tiny/build/spgw_u/build/spgwu /openair-spgwu-tiny/build/spgw_u/ build/oai_spgwu: 0 0.344 /openair-spgwu-tiny /openair-spgwu-tiny/build/scripts 0 0.344 /openair-spgwu-tiny/build/scripts 0 0.344 Clean the build generated files (build from scratch) 0 0.346 CMake build process verbose 0 0.354 Initialized empty Git repository in /openair-spgwu-tiny/.git/ 0 0.364 [master (root-commit) 899cae8] dummy 0 0.364 1 file changed, 1 insertion(+) 0 0.364 create mode 100644 dummy.txt 0 0.364 Cleaning S/P-GW-U: generated configuration files, obj files, executable 0 0.366 mkdir: created directory 'build' 0 0.376 CMake Warning (dev) in CMakeLists.txt: 0 0.376 No project() command is present. The top-level CMakeLists.txt file m ust 0 0.376 contain a literal, direct call to the project() command. Add a line of 0 0.376 code such as 0 0.376 0 0.376 project(ProjectName) 0 0.376 0 0.376 near the top of the file, but after cmake_minimum_required(). 0 0.376 0 0.376 CMake is pretending there is a "project(Project)" command on the firs t 0 0.376 line. 0 0.376 This warning is for project developers. Use -Wno-dev to suppress it. 0 0.376 0 0.890 Build type is Release 0 0.890 Architecture is x86_64 0 0.894 git found: /usr/bin/git 0 1.182 CMake Error at /openair-spgwu-tiny/src/oai_spgwu/CMakeLists.txt:293 (in clude): 0 1.182 include could not find load file: 0 1.182 0 1.182 /openair-spgwu-tiny/src/common-src/logger/logger.cmake 0 1.182 Call Stack (most recent call first): 0 1.182 CMakeLists.txt:38 (include) 0 1.182 0 1.182 Dockerfile.ubuntu:68 67 | WORKDIR /openair-spgwu-tiny/build/scripts 68 | >>> RUN ./build_spgwu --clean --build-type Release --jobs --Verbose && \ 69 | >>> ldd /openair-spgwu-tiny/build/spgw_u/build/spgwu && \ 70 | >>> mv /openair-spgwu-tiny/build/spgw_u/build/spgwu /openair-spgwu-ti ny/build/spgw_u/build/oai_spgwu 71 | ERROR: failed to solve: process "/bin/sh -c ./build_spgwu --clean --build-type R elease --jobs --Verbose && ldd /openair-spgwu-tiny/build/spgw_u/build/spgwu && mv /openair-spgwu-tiny/build/spgw_u/build/spgwu /openair-spgwu-tiny/build /spgw_u/build/oai_spgwu" did not complete successfully: exit code: 1
[oai-spgwu-tiny-builder 3/3] RUN ./build_spgwu --clean --build-type Release - -jobs --Verbose && ldd /openair-spgwu-tiny/build/spgw_u/build/spgwu && m v /openair-spgwu-tiny/build/spgw_u/build/spgwu /openair-spgwu-tiny/build/spgw_u/ build/oai_spgwu:
ERROR: failed to solve: process "/bin/sh -c ./build_spgwu --clean --build-type R elease --jobs --Verbose && ldd /openair-spgwu-tiny/build/spgw_u/build/spgwu && mv /openair-spgwu-tiny/build/spgw_u/build/spgwu /openair-spgwu-tiny/build /spgw_u/build/oai_spgwu" did not complete successfully: exit code: 1
Were you able to fix this error, I'm having this same error.
I also had same problem. but I finally build this with develop tag.
How I built it:
In this way, you can also build develop version.
We had tried to build the SPGWU-tiny docker module as below 👎
sudo docker build --target oai-spgwu-tiny --tag oai-spgwu-tiny:production --file component/oai-spgwu-tiny/docker/Dockerfile.ubuntu component/oai-spgwu-tiny
Error logs are given for the terminal 👎
=> ERROR [oai-spgwu-tiny-builder 3/3] RUN ./build_spgwu --clean --build- 1.4s