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

Homebrew CI Failure Mid February 2022 #1017

Closed
traversaro opened this issue Feb 9, 2022 · 2 comments · Fixed by #1028
Closed

Homebrew CI Failure Mid February 2022 #1017

traversaro opened this issue Feb 9, 2022 · 2 comments · Fixed by #1028

Comments

@traversaro
Copy link
Member

See https://github.com/robotology/robotology-superbuild/runs/5119174198 .

2022-02-09T03:04:59.4240130Z [10/106] Linking CXX shared library lib/libgazebo_yarp_rpc_worldinterface.4.1.1.dylib
2022-02-09T03:04:59.4340680Z [11/106] Creating library symlink lib/libgazebo_yarp_rpc_worldinterface.dylib
2022-02-09T03:04:59.4441780Z [12/106] Building CXX object libraries/singleton/CMakeFiles/gazebo_yarp_singleton.dir/src/ConfHelpers.cc.o
2022-02-09T03:04:59.4542640Z FAILED: libraries/singleton/CMakeFiles/gazebo_yarp_singleton.dir/src/ConfHelpers.cc.o 
2022-02-09T03:04:59.4649190Z /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=3.20 -DLIBBULLET_VERSION_GT_282 -Dgazebo_yarp_singleton_EXPORTS -I/Users/runner/work/robotology-superbuild/robotology-superbuild/src/GazeboYARPPlugins/libraries/singleton/include/GazeboYarpPlugins -I/Users/runner/work/robotology-superbuild/robotology-superbuild/src/GazeboYARPPlugins/libraries/singleton/include -isystem /usr/local/include -isystem /usr/local/include/gazebo-11 -isystem /usr/local/Cellar/bullet/3.21/include/bullet -isystem /usr/local/Cellar/bullet/3.21/include -isystem /usr/local/include/simbody -isystem /usr/local/Cellar/sdformat9/9.7.0/include/sdformat-9.7 -isystem /usr/local/include/ignition/math6 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_10/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_10/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_10/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_10/include/OGRE/Paging -isystem /usr/local/include/ignition/transport8 -isystem /usr/local/include/ignition/msgs5 -isystem /usr/local/include/ignition/common3 -isystem /usr/local/include/ignition/fuel_tools4 -isystem /Users/runner/work/robotology-superbuild/robotology-superbuild/build/install/include -isystem /usr/local/include/eigen3 -isystem /usr/local/Cellar/fcl/0.7.0/include -isystem /usr/local/Cellar/assimp/5.2.1/include -isystem /usr/local/include/sdformat-9.7/sdf/.. -isystem /usr/local/include/ignition/cmake2 -O3 -DNDEBUG -isysroot /Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -fPIC -F/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks  -std=gnu++17 -MD -MT libraries/singleton/CMakeFiles/gazebo_yarp_singleton.dir/src/ConfHelpers.cc.o -MF libraries/singleton/CMakeFiles/gazebo_yarp_singleton.dir/src/ConfHelpers.cc.o.d -o libraries/singleton/CMakeFiles/gazebo_yarp_singleton.dir/src/ConfHelpers.cc.o -c /Users/runner/work/robotology-superbuild/robotology-superbuild/src/GazeboYARPPlugins/libraries/singleton/src/ConfHelpers.cc
2022-02-09T03:04:59.4653440Z In file included from /Users/runner/work/robotology-superbuild/robotology-superbuild/src/GazeboYARPPlugins/libraries/singleton/src/ConfHelpers.cc:13:
2022-02-09T03:04:59.4754170Z In file included from /usr/local/include/gazebo-11/gazebo/common/common.hh:53:
2022-02-09T03:04:59.4855370Z /usr/local/include/gazebo-11/gazebo/common/ffmpeg_inc.h:32:10: fatal error: 'libavcodec/avcodec.h' file not found
2022-02-09T03:04:59.4955600Z #include <libavcodec/avcodec.h>
2022-02-09T03:04:59.5056670Z          ^~~~~~~~~~~~~~~~~~~~~~
2022-02-09T03:04:59.5157140Z 1 error generated.
2022-02-09T03:04:59.5258120Z [13/106] Building CXX object libraries/singleton/CMakeFiles/gazebo_yarp_singleton.dir/src/Handler.cc.o
2022-02-09T03:04:59.5358430Z [14/106] Building CXX object plugins/clock/CMakeFiles/gazebo_yarp_clock.dir/src/Clock.cc.o
2022-02-09T03:04:59.5459660Z [15/106] Building CXX object plugins/camera/CMakeFiles/gazebo_yarp_camera.dir/src/Camera.cc.o
2022-02-09T03:04:59.5559980Z [16/106] Building CXX object plugins/camera/CMakeFiles/gazebo_yarp_camera.dir/src/CameraDriver.cpp.o
2022-02-09T03:04:59.5661260Z ninja: build stopped: subcommand failed.

Probably related to the recent ffmpeg v4 --> v5 update.

@traversaro
Copy link
Member Author

traversaro commented Feb 14, 2022

After understanding a bit more of the issue, I think it would take some work to fix it. To be honest, I would welcome anyone interested in Homebrew support to step in and fix it (I would happy to provide support&guidance in that case), otherwise I think we can switch off ROBOTOLOGY_USES_GAZEBO on Homebrew CI and mark that option as unsupported in the long run, as as discussed in #842, we should direct macOS uses to conda instead.

@traversaro
Copy link
Member Author

The issue has been "reported" in osrf/homebrew-simulation#1800 (comment) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant