Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820806 - sci-electronics/gazebo-11.7.0-r1 fails to compile: Connection.hh:58:5: error: expected class-name before ‘{’ token
Summary: sci-electronics/gazebo-11.7.0-r1 fails to compile: Connection.hh:58:5: error:...
Status: RESOLVED FIXED
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: 820851
  Show dependency tree
 
Reported: 2021-10-30 06:02 UTC by Agostino Sarubbo
Modified: 2022-05-05 07:48 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,36.08 KB, application/x-xz)
2021-10-30 06:02 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-10-30 06:02:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/gazebo-11.7.0-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-10-30 06:02:24 UTC
Created attachment 747375 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-30 06:02:25 UTC
Possible context of error(s):

  Could not find a package configuration file provided by "Simbody" with any
-- Could NOT find DART (missing: DART_DIR)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
--   Package 'freeimage', required by 'virtual:world', not found
--   Package 'libprofiler', required by 'virtual:world', not found
--   Package 'libtcmalloc', required by 'virtual:world', not found
--   Package 'OculusVR', required by 'virtual:world', not found
--   Package 'playercore', required by 'virtual:world', not found
--   Package 'playerc++', required by 'virtual:world', not found
--   Package 'playerwkb', required by 'virtual:world', not found
/var/tmp/portage/sci-electronics/gazebo-11.7.0-r1/work/gazebo-11.7.0/gazebo/transport/Connection.hh:58:5: error: expected class-name before ‘{’ token
Comment 3 Alex Fan archtester 2021-12-02 01:21:27 UTC
>313:61: error: ‘allocate_root’ is not a member of ‘tbb::v1::task’
>  313 |                   ConnectionReadTask *task = >new(tbb::task::allocate_root())
>      |                                                             ^~~~~~~~~~~~~
>/var/tmp/portage/sci-electronics/gazebo-11.7.0-r1/work/gazebo-11.7.0/gazebo/transport/Connection.hh:315:30: error: ‘enqueue’ is not a member of >‘tbb::v1::task’
>  315 |                   tbb::task::enqueue(*task);
>      |                              ^~~~~~~

gazebo is not compatible with dev-cpp/tbb-2021.4.0. Currently, upstream pinned it to 2020.2.
Comment 4 Larry the Git Cow gentoo-dev 2021-12-02 01:25:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2861b030d887b522466a76cd189c184934903f2

commit e2861b030d887b522466a76cd189c184934903f2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-02 01:22:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-02 01:22:58 +0000

    sci-electronics/gazebo: pin to older TBB
    
    Bug: https://bugs.gentoo.org/820806
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gazebo/{gazebo-11.3.0-r2.ebuild => gazebo-11.3.0-r3.ebuild}         | 2 +-
 .../gazebo/{gazebo-11.5.1-r2.ebuild => gazebo-11.5.1-r3.ebuild}         | 2 +-
 .../gazebo/{gazebo-11.7.0-r1.ebuild => gazebo-11.7.0-r2.ebuild}         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)