Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile immersive of omaf-sample #65

Open
haodengeke opened this issue Jul 23, 2021 · 1 comment
Open

Failed to compile immersive of omaf-sample #65

haodengeke opened this issue Jul 23, 2021 · 1 comment

Comments

@haodengeke
Copy link

haodengeke commented Jul 23, 2021

Build: 2021072001
HW: SKL,ICX
OS: CentOS8.3,Ubuntu 21.04,Ubuntu 20.04,Ubuntu 18.04,RHEL 8.3
Case:CIR_BMRA_Basic_IMVideo_OMAF
Command:ansible-playbook -i immersive_inventory.ini playbooks/cir.yml --extra-vars profile=full_nfv bmra_version=basic

Error_log:
2021-07-21 02:50:18,177 p=6755 u=root n=ansible | TASK [immersive_install : compile immersive of omaf-sample] ********************
2021-07-21 02:50:18,180 p=6755 u=root n=ansible | fatal: [av09-03-wp]: FAILED! =>

{ "changed": true, "cmd": "cmake .. && make build -j 5", "delta": "0:09:21.925136", "end": "2021-07-21 02:50:17.835787", "rc": 2, "start": "2021-07-21 02:40:55.910651" }
......

---> Running in 23af08f29710
Removing intermediate container 23af08f29710
---> 455dd6d9de72
Step 14/42 : ARG YASM_REPO=https://www.tortall.net/projects/yasm/releases/yasm-${YASM_VER}.tar.gz
---> Running in 2703594cdcd5
Removing intermediate container 2703594cdcd5
---> 2b78bf7a0920
Step 15/42 : RUN wget O - ${YASM_REPO} | tar xz && cd yasm${YASM_VER} && sed -i "s/) ytasm./)/" Makefile.in && source /opt/rh/devtoolset-7/enable && ./configure --prefix="/usr" --libdir=/usr/lib/x86_64-linux-gnu && make -j$(nproc) && make install && cd ${WORKDIR} && rm -rf ./
---> Running in 38796abfa57a
�[91m-2021-07-21 09:50:16- https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
�[0m�[91mResolving proxy-chain.intel.com (proxy-chain.intel.com)... �[0m�[91m10.22.230.62
Connecting to proxy-chain.intel.com (proxy-chain.intel.com)|10.22.230.62|:912... �[0m�[91mconnected.
�[0m�[91mERROR: cannot verify www.tortall.net's certificate, issued by '/C=US/O=Let's Encrypt/CN=R3':
Issued certificate has expired.
To connect to www.tortall.net insecurely, use `--no-check-certificate'.
�[0m�[91m
gzip: stdin: unexpected end of file
�[0m�[91mtar: Child returned status 1
tar: Error is not recoverable: exiting now
�[0m

STDERR:

CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.

++ echo /usr/src/immersive/OMAF-Sample/server
++ awk -F OMAF-Sample '

{print $1}
'

  • REPOPATH=/usr/src/immersive/
  • SRCPATH=/usr/src/immersive/src/
  • DSTPATH=/usr/src/immersive/OMAF-Sample/server/src/
  • mkdir -p /usr/src/immersive/OMAF-Sample/server/src/
  • cd /usr/src/immersive/OMAF-Sample/server/src/..
  • cp -r /usr/src/immersive/src/360SCVP /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/external /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/ffmpeg /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/player /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/utils /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/isolib /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/trace /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/plugins /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/VROmafPacking /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/OmafDashAccess /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/src/CMakeLists.txt /usr/src/immersive/OMAF-Sample/server/src/
  • cp -r /usr/src/immersive/Sample-Videos /usr/src/immersive/OMAF-Sample/server/src/
  • '[' 1 = 1 ']'
  • docker build -t immersive_server:v1.4 .
    The command '/bin/sh c wget -O - ${YASM_REPO} | tar xz && cd yasm${YASM_VER} && sed -i "s/) ytasm./)/" Makefile.in && source /opt/rh/devtoolset-7/enable && ./configure --prefix="/usr" --libdir=/usr/lib/x86_64-linux-gnu && make -j$(nproc) && make install && cd ${WORKDIR} && rm -rf ./' returned a non-zero code: 2
    make[3]: *** [CMakeFiles/build.dir/build.make:76: CMakeFiles/build] Error 2
    make[2]: *** [CMakeFiles/Makefile2:153: CMakeFiles/build.dir/all] Error 2
    make[1]: *** [CMakeFiles/Makefile2:160: CMakeFiles/build.dir/rule] Error 2
    make: *** [Makefile:163: build] Error 2

MSG:

non-zero return code

@haodengeke
Copy link
Author

This issue is caused by SSL Certificate Expiration of this very site.
change line 69 in OMAF-Sample/server/Dockerfile can fix this bug:

RUN wget -O - ${YASM_REPO} | tar xz && \

To:

RUN wget -O - ${YASM_REPO} --no-check-certificate | tar xz && \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant