ros-melodic-arch / ros-melodic-image-view

ros-melodic-image-viewAUR package
0 stars 3 forks source link

Fails to build, missing hb.h #6

Open ixil opened 5 years ago

ixil commented 5 years ago

Requires - owned by harfbuzz

==> Starting build()...
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/lib/ccache/bin/cc
-- Check for working C compiler: /usr/lib/ccache/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/lib/ccache/bin/c++
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /tmp/makepkg/ros-melodic-image-view/src/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.4", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using default Python package layout
-- Found PY_em: /usr/lib/python3.7/site-packages/em.py
-- Using empy: /usr/lib/python3.7/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Skip enable_testing() when building binary package
-- Using CATKIN_TEST_RESULTS_DIR: /tmp/makepkg/ros-melodic-image-view/src/build/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: /bin/nosetests-3.7
-- catkin 0.7.17
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Found PythonInterp: /usr/bin/python3 (found version "3.7.4")
-- Found Threads: TRUE
-- Found Boost: /usr/include (found version "1.69.0") found components:  thread chrono date_time atomic
-- Found OpenCV: /opt/opencv3 (found suitable version "3.4.6", minimum required is "3")
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    PYTHON_BASENAME
    PYTHON_INCLUDE_DIR
    PYTHON_LIBRARY

-- Build files have been written to: /tmp/makepkg/ros-melodic-image-view/src/build
Scanning dependencies of target image_view
Scanning dependencies of target video_recorder
Scanning dependencies of target image_view_gencfg
Scanning dependencies of target disparity_view
Scanning dependencies of target image_saver
Scanning dependencies of target extract_images
Scanning dependencies of target stereo_view
[  5%] Generating dynamic reconfigure files from cfg/ImageView.cfg: /tmp/makepkg/ros-melodic-image-view/src/build/devel/include/image_view/ImageViewConfig.h /tmp/makepkg/ros-melodic-image-view/src/build/devel/lib/python3.7/site-packages/image_view/cfg/ImageViewConfig.py
[ 11%] Building CXX object CMakeFiles/disparity_view.dir/src/nodes/disparity_view.cpp.o
[ 23%] Building CXX object CMakeFiles/extract_images.dir/src/nodes/extract_images.cpp.o
[ 23%] Building CXX object CMakeFiles/video_recorder.dir/src/nodes/video_recorder.cpp.o
[ 29%] Building CXX object CMakeFiles/image_saver.dir/src/nodes/image_saver.cpp.o
Generating reconfiguration files for ImageView in image_view
Wrote header file in /tmp/makepkg/ros-melodic-image-view/src/build/devel/include/image_view/ImageViewConfig.h
[ 35%] Building CXX object CMakeFiles/stereo_view.dir/src/nodes/stereo_view.cpp.o
[ 41%] Building CXX object CMakeFiles/image_view.dir/src/nodelets/image_nodelet.cpp.o
[ 47%] Building CXX object CMakeFiles/image_view.dir/src/nodelets/disparity_nodelet.cpp.o
[ 47%] Built target image_view_gencfg
Scanning dependencies of target image_view_exe
[ 52%] Building CXX object CMakeFiles/image_view_exe.dir/src/nodes/image_view.cpp.o
In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /tmp/makepkg/ros-melodic-image-view/src/image_pipeline-1.13.0/image_view/src/nodelets/disparity_nodelet.cpp:42:
/usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
   28 | #include <hb.h>
      |          ^~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/image_view.dir/build.make:76: CMakeFiles/image_view.dir/src/nodelets/disparity_nodelet.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /tmp/makepkg/ros-melodic-image-view/src/image_pipeline-1.13.0/image_view/src/nodes/stereo_view.cpp:53:
/usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
   28 | #include <hb.h>
      |          ^~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/stereo_view.dir/build.make:63: CMakeFiles/stereo_view.dir/src/nodes/stereo_view.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:200: CMakeFiles/stereo_view.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 58%] Linking CXX executable devel/lib/image_view/disparity_view
[ 58%] Built target disparity_view
[ 64%] Linking CXX executable devel/lib/image_view/video_recorder
[ 64%] Built target video_recorder
[ 70%] Linking CXX executable devel/lib/image_view/image_saver
[ 70%] Built target image_saver
make[1]: *** [CMakeFiles/Makefile2:173: CMakeFiles/image_view.dir/all] Error 2
[ 76%] Linking CXX executable devel/lib/image_view/extract_images
[ 76%] Built target extract_images
[ 82%] Linking CXX executable devel/lib/image_view/image_view
[ 82%] Built target image_view_exe
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: ros-melodic-image-view
No pacnew files to update.
pacman_program="sudo -u #$UID /usr/bin/yay --pacman powerpill" sudo   -S    4230.98s user 982.11s system 117% cpu 1:14:11.15 total
acxz commented 5 years ago

Also got this error when reinstalling ROS on Arch. It seems as astier has a tmp solution: https://aur.archlinux.org/packages/ros-melodic-image-view/#comment-704842

Edit: went ahead and created an upstream issue for this.

acxz commented 5 years ago

This issue should now be fixed via #9 . Let us know if the fix does not work on your end, @ixil

acxz commented 5 years ago

Reopening this as this issue has been patched locally.