Open yuzibo opened 1 year ago
Hi, I am sorry if I am missing something here. I want to try fix the issue, but I can not to build from source code on amd64:
Running hooks in /etc/ca-certificates/update.d... done. Removing intermediate container d78b64adbc5c ---> 2604673bc8de Step 4/15 : FROM fetk_base ---> 2604673bc8de Step 5/15 : ARG CREATE_PACKAGE=FALSE ---> Running in de1a12e5f021 Removing intermediate container de1a12e5f021 ---> a2cdffeeafaa Step 6/15 : ARG FETK_STATIC_BUILD=ON ---> Running in 11e6b4376eb9 Removing intermediate container 11e6b4376eb9 ---> decd1a47c3f7 Step 7/15 : ARG MAKEJOBS="-j" ---> Running in 74a9256fa468 Removing intermediate container 74a9256fa468 ---> 1d277cf6dbd6 Step 8/15 : COPY cmake /src/cmake ---> 64b690ac27f7 Step 9/15 : COPY gamer /src/gamer ---> b4dcb967431a Step 10/15 : COPY maloc /src/maloc ---> ec2f18ddc589 Step 11/15 : COPY mc /src/mc ---> c47c90984124 Step 12/15 : COPY punc /src/punc ---> 47be2c799f76 Step 13/15 : COPY CMakeLists.txt /src/CMakeLists.txt ---> adbaf0b329ff Step 14/15 : COPY VERSION /src/VERSION ---> 6b0f3a6aac47 Step 15/15 : RUN cd /src && export CC=gcc && mkdir build && cd build && cmake -DCREATE_PACKAGE:BOOL=${CREATE_PACKAGE} -DFETK_STATIC_BUILD:BOOL=${FETK_STATIC_BUILD} .. && make ${MAKEJOBS} install && if [ "${CREATE_PACKAGE,,}" = true ]; then cpack; fi ---> Running in ea55522af37e CMake Error at CMakeLists.txt:20 (string): string sub-command REPLACE requires at least four arguments. CMake Error at CMakeLists.txt:27 (project): VERSION "NOTFOUND" format invalid. -- Configuring incomplete, errors occurred! The command '/bin/bash -c cd /src && export CC=gcc && mkdir build && cd build && cmake -DCREATE_PACKAGE:BOOL=${CREATE_PACKAGE} -DFETK_STATIC_BUILD:BOOL=${FETK_STATIC_BUILD} .. && make ${MAKEJOBS} install && if [ "${CREATE_PACKAGE,,}" = true ]; then cpack; fi' returned a non-zero code: 1
Or I try to native build, but got the same error on riscv64:
# cat start.sh #!/bin/bash cmake \ -DCREATE_PACKAGE:BOOL=FALSE \ -DFETK_STATIC_BUILD:BOOL=ON \ .. && \ make ${MAKEJOBS} install && \ if [ "${CREATE_PACKAGE,,}" = true ]; then cpack; fi vimer@unmatched:~/build/fpu/FETK/src/build$ ./start.sh CMake Error at CMakeLists.txt:20 (string): string sub-command REPLACE requires at least four arguments. CMake Error at CMakeLists.txt:27 (project): VERSION "NOTFOUND" format invalid. -- Configuring incomplete, errors occurred!
Any help will be appreciated!
Hi, I am sorry if I am missing something here. I want to try fix the issue, but I can not to build from source code on amd64:
Or I try to native build, but got the same error on riscv64:
Any help will be appreciated!