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

prereleases for Melodic and Noetic fail (early) #63

Open
mgruhler opened this issue Jun 25, 2020 · 0 comments
Open

prereleases for Melodic and Noetic fail (early) #63

mgruhler opened this issue Jun 25, 2020 · 0 comments

Comments

@mgruhler
Copy link

I have an issue with running prereleases for Melodic and Noetic (tested with my repo soem, kept rest as default). Kinetic is working fine.
(I also have the same issue with e.g. std_msgs, though there kinetic fails with another, seemingly unrelated error during cloning the overlay. If I build only the underlay in kinetic, then everything works as well).

The generation of the prerelease command works fine as well. Running the generated prerelease.sh leads to the following error output:

# BEGIN SECTION: Run Dockerfile - build and install
# BEGIN SUBSECTION: build workspace in isolation and install
Invoking '_CATKIN_SETUP_DIR=/opt/ros/melodic . /opt/ros/melodic/setup.sh && PYTHONIOENCODING=utf_8 PYTHONUNBUFFERED=1 catkin_make_isolated --install --cmake-args -DBUILD_TESTING=0 -DCATKIN_SKIP_TESTING=1' in '/tmp/ws'
Base path: /tmp/ws
Source space: /tmp/ws/src
Build space: /tmp/ws/build_isolated
Devel space: /tmp/ws/devel_isolated
Install space: /tmp/ws/install_isolated
Additional CMake Arguments: -DBUILD_TESTING=0 -DCATKIN_SKIP_TESTING=1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 1 packages in topological order:
~~  - std_msgs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The packages or cmake arguments have changed, forcing cmake invocation

==> Processing catkin package: 'std_msgs'
==> Creating build directory: 'build_isolated/std_msgs'
==> cmake /tmp/ws/src/std_msgs -DCATKIN_DEVEL_PREFIX=/tmp/ws/devel_isolated/std_msgs -DCMAKE_INSTALL_PREFIX=/tmp/ws/install_isolated -DBUILD_TESTING=0 -DCATKIN_SKIP_TESTING=1 -G Unix Makefiles in '/tmp/ws/build_isolated/std_msgs'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- broken
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/usr/lib/ccache/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /tmp/ws/build_isolated/std_msgs/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_947e2/fast"
    /usr/bin/make -f CMakeFiles/cmTC_947e2.dir/build.make CMakeFiles/cmTC_947e2.dir/build
    make[1]: Entering directory '/tmp/ws/build_isolated/std_msgs/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_947e2.dir/testCCompiler.c.o
    /usr/lib/ccache/cc    -o CMakeFiles/cmTC_947e2.dir/testCCompiler.c.o   -c /tmp/ws/build_isolated/std_msgs/CMakeFiles/CMakeTmp/testCCompiler.c
    ccache: error: Failed to create directory /home/buildfarm/.ccache/tmp: Permission denied
    CMakeFiles/cmTC_947e2.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_947e2.dir/testCCompiler.c.o' failed
    make[1]: *** [CMakeFiles/cmTC_947e2.dir/testCCompiler.c.o] Error 1
    make[1]: Leaving directory '/tmp/ws/build_isolated/std_msgs/CMakeFiles/CMakeTmp'
    Makefile:126: recipe for target 'cmTC_947e2/fast' failed
    make: *** [cmTC_947e2/fast] Error 2
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
See also "/tmp/ws/build_isolated/std_msgs/CMakeFiles/CMakeOutput.log".
See also "/tmp/ws/build_isolated/std_msgs/CMakeFiles/CMakeError.log".
<== Failed to process package 'std_msgs': 
  Command '['cmake', '/tmp/ws/src/std_msgs', '-DCATKIN_DEVEL_PREFIX=/tmp/ws/devel_isolated/std_msgs', '-DCMAKE_INSTALL_PREFIX=/tmp/ws/install_isolated', '-DBUILD_TESTING=0', '-DCATKIN_SKIP_TESTING=1', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /tmp/ws/build_isolated/std_msgs && cmake /tmp/ws/src/std_msgs -DCATKIN_DEVEL_PREFIX=/tmp/ws/devel_isolated/std_msgs -DCMAKE_INSTALL_PREFIX=/tmp/ws/install_isolated -DBUILD_TESTING=0 -DCATKIN_SKIP_TESTING=1 -G 'Unix Makefiles'

Command failed, exiting.
# END SUBSECTION

System Specs:

  • Ubuntu 16.04,
  • Docker version 19.03.11, build 42e35e61f3
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