<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>42770</bug_id>
          
          <creation_ts>2022-05-16 13:04:13 +0300</creation_ts>
          <short_desc>Не упакованы cmake файлы</short_desc>
          <delta_ts>2022-05-16 13:04:13 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>catkin</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>grenka</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>210726</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2022-05-16 13:04:13 +0300</bug_when>
    <thetext>Версия пакета:
catkin-0.8.10-alt1

Шаги воспроизведения:
По инструкции http://wiki.ros.org/catkin/Tutorials/create_a_workspace#Prerequisites

$ mkdir -p ~/catkin_ws/src &amp;&amp; cd ~/catkin_ws/ &amp;&amp; catkin_make

Получаю ошибку:

Creating the toplevel cmake file failed: Could neither find file &quot;toplevel.cmake&quot; in any workspace nor relative, checked the following paths:
/home/test/catkin_ws/src/catkin/cmake/toplevel.cmake
/usr/lib/python3/cmake/toplevel.cmake
/usr/share/catkin/cmake/toplevel.cmake
/usr/lib/share/catkin/cmake/toplevel.cmake

Такого файла нет.

Ошибка исправляется, если отсюда https://github.com/ros/catkin взять папку cmake и скопировать в /usr/share/catkin.

Однако, потом возникает уже другая ошибка:
CMake Error at CMakeLists.txt:65 (message):
  find_package(catkin) failed.  catkin was neither found in the workspace nor
  in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
  sourced before.

В инструкции, указанной выше, пишут про файл setup.sh, который нужно подключить перед запуском, но данного файла я не нашёл.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>