acxz / gazebo-arch

A collection of Arch Linux PKGBUILDS for the Gazebo Simulator
18 stars 11 forks source link

[ignition-physics] sdformat-13 not found #64

Closed jbbjarnason closed 1 year ago

jbbjarnason commented 1 year ago
$ uname -a
Linux jonb-work-laptop 6.2.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 22 Mar 2023 22:52:35 +0000 x86_64 GNU/Linux

I ran this yay -Syu ignition-gazebo, previously I had installed gazebo classic with yay -Syu gazebo and received the following error:

Missing include sdf/Joint.hh

Build log

```bash ==> Making package: ignition-physics 6.3.0-1 (Sat 01 Apr 2023 08:42:38 AM GMT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found ignition-physics-6.3.0.tar.gz ==> Validating source files with sha256sums... ignition-physics-6.3.0.tar.gz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting ignition-physics-6.3.0.tar.gz with bsdtar ==> Sources are ready. ==> Making package: ignition-physics 6.3.0-1 (Sat 01 Apr 2023 08:42:39 AM GMT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting build()... -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- gz-physics6 version 6.3.0 -- Operating system is Linux -- -- ====== Finding Dependencies ====== -- Looking for gz-common5 -- found version 5.3.1 -- Searching for dependencies of gz-common5 -- Looking for gz-utils2 -- found version 2.0.0 -- Searching for dependencies of gz-utils2 -- Looking for dlfcn.h - found -- Looking for libdl - found -- Found DL: TRUE -- Checking for module 'uuid' -- Found uuid, version 2.38.1 -- Found UUID: TRUE -- Searching for component [geospatial] -- Looking for gz-common5-geospatial -- found version 5.3.1 -- Searching for dependencies of gz-common5-geospatial -- Looking for gz-math7 -- found version 7.1.0 -- Searching for dependencies of gz-math7 -- Looking for gz-utils2 -- found version 2.0.0 -- Looking for gz-common5 -- found version 5.3.1 -- Searching for dependencies of gz-common5 -- Looking for gz-utils2 -- found version 2.0.0 -- Looking for dlfcn.h - found -- Looking for libdl - found -- Searching for component [graphics] -- Looking for gz-common5-graphics -- found version 5.3.1 -- Searching for dependencies of gz-common5-graphics -- Looking for gz-math7 -- found version 7.1.0 -- Found GzAssimp: TRUE (found version "5.2.4") -- Searching for component [graphics] -- Searching for component [profiler] -- Looking for gz-common5-profiler -- found version 5.3.1 -- Searching for dependencies of gz-common5-profiler -- Looking for gz-common5 - found -- Looking for gz-math7 -- found version 7.1.0 -- Searching for dependencies of gz-math7 -- Looking for gz-utils2 -- found version 2.0.0 -- Searching for component [eigen3] -- Looking for gz-math7-eigen3 -- found version 7.1.0 -- Searching for dependencies of gz-math7-eigen3 -- Looking for gz-math7 - found -- Looking for gz-plugin2 -- found version 2.0.1 -- Searching for dependencies of gz-plugin2 -- Looking for gz-utils2 -- found version 2.0.0 -- Searching for dependencies of gz-utils2 -- Searching for component [cli] -- Looking for gz-utils2-cli -- found version 2.0.0 -- Searching for dependencies of gz-utils2-cli -- Searching for component [all] -- Looking for all libraries of gz-plugin2 -- found version 2.0.1 -- Looking for gz-plugin2 -- found version 2.0.1 -- Looking for gz-plugin2-loader -- found version 2.0.1 -- Searching for dependencies of gz-plugin2-loader -- Looking for gz-plugin2-register -- found version 2.0.1 -- Searching for dependencies of gz-plugin2-register -- Looking for gz-plugin2 - found -- Looking for gz-utils2 -- found version 2.0.0 -- Looking for gz-utils2 - found -- Looking for EIGEN3 - found CMake Warning at /usr/share/cmake/gz-cmake3/cmake3/GzUtils.cmake:231 (find_package): By not providing "Findsdformat13.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "sdformat13", but CMake did not find one. Could not find a package configuration file provided by "sdformat13" with any of the following names: sdformat13Config.cmake sdformat13-config.cmake Add the installation prefix of "sdformat13" to CMAKE_PREFIX_PATH or set "sdformat13_DIR" to a directory containing one of the above files. If "sdformat13" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:66 (gz_find_package) -- Looking for sdformat13 - not found -- Found assimp: /usr/include;/usr/include (found version "5.2.4") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found DART: /usr/include (Required is at least version "6.9") found components: collision-bullet collision-ode utils utils-urdf dart -- Looking for DART - found -- Found Bullet: /usr/lib/libBulletDynamics.so -- Looking for GzBullet - found -- ------------------------------------------- CMake Warning at /usr/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:69 (message): CONFIGURATION WARNINGS: -- Skipping component [sdf]: Missing dependency [sdformat13]. ^~~~~ Set SKIP_sdf=true in cmake to suppress this warning. -- Skipping component [dartsim]: Missing dependency [sdformat13]. ^~~~~ Set SKIP_dartsim=true in cmake to suppress this warning. -- Skipping component [tpe]: Missing dependency [sdformat13]. ^~~~~ Set SKIP_tpe=true in cmake to suppress this warning. -- Skipping component [bullet]: Missing dependency [sdformat13]. ^~~~~ Set SKIP_bullet=true in cmake to suppress this warning. Call Stack (most recent call first): CMakeLists.txt:103 (gz_configure_build) -- -- Searching for host SSE information -- SSE2 found -- SSE3 found -- SSE4.1 found -- SSE4.2 found -- Configuring library: gz-physics6 -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Testing is disabled -- skipping UNIT tests -- Skipping the component [sdf] because the following packages are missing: sdformat13 -- Configuring library: gz-physics6-heightmap -- Configuring library: gz-physics6-mesh -- Skipping the component [dartsim] because the following packages are missing: sdformat13 -- Skipping the component [tpe] because the following packages are missing: sdformat13 -- Skipping the component [bullet] because the following packages are missing: sdformat13 -- Configuring library: gz-physics6-bullet-featherstone -- Configuring library: gz-physics6-bullet-featherstone-plugin -- Adding codecheck target -- Build configuration successful -- Build type: Release -- Install prefix: /usr -- Looking for ronn to generate manpages - found -- Found Doxygen: /usr/bin/doxygen (found version "1.9.6") found components: doxygen dot -- Configuring done (1.6s) -- Generating done (0.0s) -- Build files have been written to: /home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build [ 5%] Generating API documentation with Doxygen warning: Tag 'OUTPUT_TEXT_DIRECTION' at line 102 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'TCL_SUBST' at line 260 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLANG_ASSISTED_PARSING' at line 1080 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'CLANG_OPTIONS' at line 1088 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'CLANG_DATABASE_PATH' at line 1098 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1116 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'FORMULA_TRANSPARENT' at line 1544 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'LATEX_SOURCE_CODE' at line 1852 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'RTF_SOURCE_CODE' at line 1942 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 2047 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 2237 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTNAME' at line 2279 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTSIZE' at line 2286 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_TRANSPARENT' at line 2512 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api_tagfile.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'OUTPUT_TEXT_DIRECTION' at line 102 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'TCL_SUBST' at line 260 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLANG_ASSISTED_PARSING' at line 1080 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'CLANG_OPTIONS' at line 1088 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'CLANG_DATABASE_PATH' at line 1098 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1116 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'FORMULA_TRANSPARENT' at line 1544 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'LATEX_SOURCE_CODE' at line 1852 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'RTF_SOURCE_CODE' at line 1942 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 2047 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 2237 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTNAME' at line 2279 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTSIZE' at line 2286 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_TRANSPARENT' at line 2512 of file '/home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/build/api.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" [ 5%] Built target doc [ 10%] Building CXX object src/CMakeFiles/gz-physics6.dir/CanReadData.cc.o [ 15%] Building CXX object src/CMakeFiles/gz-physics6.dir/CanWriteData.cc.o [ 20%] Building CXX object src/CMakeFiles/gz-physics6.dir/CompositeData.cc.o [ 25%] Building CXX object src/CMakeFiles/gz-physics6.dir/DataStatusMask.cc.o [ 30%] Building CXX object src/CMakeFiles/gz-physics6.dir/FrameID.cc.o [ 35%] Building CXX object src/CMakeFiles/gz-physics6.dir/Identity.cc.o [ 40%] Linking CXX shared library ../lib/libgz-physics6.so [ 40%] Built target gz-physics6 [ 45%] Building CXX object bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/src/Base.cc.o [ 50%] Building CXX object bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/src/EntityManagementFeatures.cc.o [ 55%] Building CXX object bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/src/FreeGroupFeatures.cc.o [ 60%] Building CXX object bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/src/JointFeatures.cc.o /home/jonb/.cache/yay/ignition-physics/src/gz-physics-gz-physics6_6.3.0/bullet-featherstone/src/JointFeatures.cc:23:10: fatal error: sdf/Joint.hh: No such file or directory 23 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[2]: *** [bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/build.make:118: bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/src/JointFeatures.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: bullet-featherstone/CMakeFiles/gz-physics6-bullet-featherstone-plugin.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: ignition-physics ```

acxz commented 1 year ago

should be fixed with be56c81

feel free to comment if the issue still persists!