uoft-cs-robotics / robot_system_tools

Repository containing software infrastructure for running experiments on Franka Emika Panda Arms
9 stars 3 forks source link

Errors to build docker for the second time #5

Closed kouroshD closed 1 year ago

kouroshD commented 1 year ago
sudo docker-compose --log-level ERROR  -f docker/realtime_computer/docker-compose-gui.yml build
Step 1/29 : FROM osrf/ros:noetic-desktop-full
 ---> 6bb5064dac83
Step 2/29 : ENV WS_DIR="/"
 ---> Using cache
 ---> 9c2b611a713e
Step 3/29 : WORKDIR ${WS_DIR}
 ---> Using cache
 ---> 5e671ab3a387
Step 4/29 : SHELL ["/bin/bash", "-c"]
 ---> Using cache
 ---> 60d72050bc0f
Step 5/29 : ARG DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 383a1c246c49
Step 6/29 : RUN apt-get update && apt-get install -y     curl     grep     build-essential     make     libnuma-dev     python3     python3-distutils     gnuplot-qt    iproute2     sshpass
 ---> Using cache
 ---> 7e90c0cb8036
Step 7/29 : RUN apt-get update && apt-get install -y     bats     dialog     tmux     iputils-ping
 ---> Using cache
 ---> 6873bff2e715
Step 8/29 : RUN apt-get update && apt-get install -y     git     wget     autoconf     automake     libtool     curl     make     g++     unzip     python3-catkin-tools
 ---> Using cache
 ---> d751cbca2c53
Step 9/29 : RUN cd     && mkdir git     && cd git     && wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protobuf-all-3.11.4.zip     && unzip protobuf-all-3.11.4.zip     && cd protobuf-3.11.4     && ./configure     && make -j$(nproc)     && make check -j$(nproc)     && sudo make install     && sudo ldconfig
 ---> Using cache
 ---> 6dfff76d0526
Step 10/29 : RUN apt-get install -y     ros-noetic-libfranka     ros-noetic-franka-ros     ros-noetic-franka-gripper
 ---> Using cache
 ---> ddc8835a08c5
Step 11/29 : RUN echo "franka-interface"
 ---> Using cache
 ---> 6696744a9c22
Step 12/29 : RUN cd ~/git     && git clone --recurse-submodules https://github.com/iamlab-cmu/franka-interface     && cd franka-interface
 ---> Using cache
 ---> 36db093c82ac
Step 13/29 : RUN echo "cloning libfranka"
 ---> Using cache
 ---> 419db77aa8a7
Step 14/29 : RUN cd ~/git/franka-interface     && bash ./bash_scripts/clone_libfranka.sh 4
 ---> Using cache
 ---> d1bb63873ab9
Step 15/29 : RUN echo "building libfranka"
 ---> Using cache
 ---> 07db77cc0386
Step 16/29 : RUN cd ~/git/franka-interface     && bash ./bash_scripts/make_libfranka.sh
 ---> Running in 407da9a94aba
./bash_scripts/make_libfranka.sh: line 1: cd: libfranka: No such file or directory
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.

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.16)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /root/git/franka-interface/build
cp: cannot stat 'libfranka/cmake/FindEigen3.cmake': No such file or directory
cp: cannot stat 'libfranka/cmake/FindPoco.cmake': No such file or directory
ERROR: Service 'docker_realtime' failed to build: The command '/bin/bash -c cd ~/git/franka-interface     && bash ./bash_scripts/make_libfranka.sh' returned a non-zero code: 1

This happened on the realtime machine.

Ruthrash commented 1 year ago

closing as the issue was resolved on it own