Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827964 - sci-electronics/gazebo-11.14.0: gazebo/msgs/poses_stamped.pb.h: No such file or directory with cmake 3.22.0
Summary: sci-electronics/gazebo-11.14.0: gazebo/msgs/poses_stamped.pb.h: No such file ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL: https://github.com/osrf/gazebo/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-02 03:54 UTC by Alex Fan
Modified: 2024-04-16 16:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (gazebo-11.7.0-r1:20211202-113752.log,496.11 KB, text/plain)
2021-12-02 03:57 UTC, Alex Fan
Details
emerge --info (emerge.info,5.24 KB, text/plain)
2021-12-02 03:57 UTC, Alex Fan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Fan archtester 2021-12-02 03:54:19 UTC
with test enabled, it fails compilation with cmake 3.22.0 while succeeds with cmake 3.21.4.

In file included from /var/tmp/portage/sci-electronics/gazebo-11.7.0-r1/work/gazebo-11.7.0/gazebo/common/Plugin.hh:41,
                 from /var/tmp/portage/sci-electronics/gazebo-11.7.0-r1/work/gazebo-11.7.0/gazebo/common/Plugin_TEST.cc:18:
/var/tmp/portage/sci-electronics/gazebo-11.7.0-r1/work/gazebo-11.7.0/gazebo/physics/PhysicsTypes.hh:26:10: fatal error: gazebo/msgs/poses_stamped.pb.h: No such file or directory
   26 | #include "gazebo/msgs/poses_stamped.pb.h"

gazebo/msgs/*.pb.h is generated by protoc from *.proto as specified in gazebo/msgs/CMakeLists.txt. But seems like gazebo/common gets compiled before it is generated.
Comment 1 Alex Fan archtester 2021-12-02 03:57:39 UTC
Created attachment 757162 [details]
build log
Comment 2 Alex Fan archtester 2021-12-02 03:57:58 UTC
Created attachment 757163 [details]
emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2021-12-02 07:03:38 UTC
ci has reproduced this issue with version 11.7.0-r2 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2021-12-15 10:27:59 UTC
ci has reproduced this issue with version 11.9.1 - Updating summary.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-15 10:28:23 UTC
Needs to be reported upstream, I think.
Comment 6 Alex Fan archtester 2021-12-16 11:49:28 UTC
from this commit
https://github.com/osrf/gazebo/commit/1754f15e49a56237b9ffa7a7c146c5b338945b0f
, it seems upstream does not recommend compiling tests and the default all target in the same time by enabling ENABLE_TESTS_COMPILATION. But I am not sure about using BUILD_TESTING.

The upstream ci script build with make all -> make tests -> make test/ ctest. I removed BUILD_TESTING and add

> src_compile() {
>     cmake_src_compile
>     use test && cmake_src_compile tests
> }

This compiles and runs the tests.
Comment 7 Agostino Sarubbo gentoo-dev 2022-01-28 08:52:52 UTC
ci has reproduced this issue with version 11.9.1-r1 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-22 07:38:55 UTC
ci has reproduced this issue with version 11.10.1 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2022-04-21 10:50:00 UTC
ci has reproduced this issue with version 11.10.2 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2022-06-23 14:11:26 UTC
ci has reproduced this issue with version 11.11.0 - Updating summary.
Comment 11 Agostino Sarubbo gentoo-dev 2022-10-18 15:05:11 UTC
ci has reproduced this issue with version 11.12.0 - Updating summary.
Comment 12 Agostino Sarubbo gentoo-dev 2024-04-16 16:19:35 UTC
ci has reproduced this issue with version 11.14.0 - Updating summary.