Closed scpeters closed 1 year ago
I guess we are installing the GIMPACT headers but not their config.h file?
I think I've found the underlying issue: https://github.com/gazebo-tooling/release-tools/issues/890
Recent builds have a green status, see for example: https://build.osrfoundation.org/job/gazebo-abichecker-any_to_any-ubuntu_auto-amd64/1306/ . However, the output is:
+ abi-compliance-checker -lang C++ -lib gazebo-classic -old pkg.xml -new devel.xml
Preparing, please wait ...
WARNING: version number #1 is not set (use --v1=NUM option)
Using GCC 9 (x86_64-linux-gnu, target: x86_64)
WARNING: May not work properly with GCC 4.8.[0-2], 6.* and higher due to bug #78040 in GCC. Please try other GCC versions with the help of --gcc-path=PATH option or create ABI dumps by ABI Dumper tool instead to avoid using GCC. Test selected GCC version first by -test and -gcc-path options.
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
Checking header(s) X ...
ERROR: some errors occurred when compiling headers
ERROR: see log for details:
/home/jenkins/workspace/gazebo-abichecker-any_to_any-ubuntu_auto-amd64/abi_checker/logs/gazebo-classic/X/log.txt
WARNING: version number #2 is not set (use --v2=NUM option)
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
Checking header(s) Y ...
ERROR: some errors occurred when compiling headers
ERROR: see log for details:
/home/jenkins/workspace/gazebo-abichecker-any_to_any-ubuntu_auto-amd64/abi_checker/logs/gazebo-classic/Y/log.txt
Comparing ABIs ...
Comparing APIs ...
Creating compatibility report ...
Binary compatibility: 100%
Source compatibility: 100%
Total binary compatibility problems: 0, warnings: 0
Total source compatibility problems: 0, warnings: 0
Report: compat_reports/gazebo-classic/X_to_Y/compat_report.html
I am not sure if ERROR: some errors occurred when compiling headers
can be safely ignored. If yes, probably we can close the issue. @scpeters @j-rivero
I think we can close the issue since the build is passing again. I've copied the contents of one of the error logs from the jenkins workspace to the following gist in case anyone wants to follow up:
Environment
Description
Steps to reproduce
Output
From the Abi checker log: