Summary: | dev-games/simgear-2020.3.19 - [ffmpeg] vector.hpp: error: redeclaration of typedef int boost::container::vector_insert_ordered_cursor<BiDirPosConstIt, BiDirValueIt>::iter | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arve.barsnes, atoth, games, vamp898-gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/acxz/flightgear-arch/issues/19 https://git.skewed.de/count0/graph-tool/-/issues/799 https://github.com/boostorg/container/issues/292 https://github.com/boostorg/move/issues/59 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 946461 | ||
Attachments: |
emerge-info.txt
dev-games:simgear-2020.3.19:20250116-201314.log.xz emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 916764 [details]
emerge-info.txt
Created attachment 916765 [details]
dev-games:simgear-2020.3.19:20250116-201314.log.xz
Created attachment 916766 [details]
emerge-history.txt.xz
Created attachment 916767 [details]
environment
Created attachment 916768 [details]
etc.clang.tar.xz
Created attachment 916769 [details]
etc.portage.tar.xz
Created attachment 916770 [details]
logs.tar.xz
Created attachment 916771 [details]
qlist-info.txt.xz
Created attachment 916772 [details]
temp.tar.xz
simgear-2020.3.20_rc1 is also showing the symptom. -std=gnu++17? How to properly include boost? Even the current has the same inclusion scheme... FYI the exact same issue appears when building FlightGear on Archlinux from AUR (I have a second machine running Arch and just checked). So this is not an Gentoo exclusive issue, this seems to be an upstream issue. (In reply to Vamp898 from comment #11) > FYI the exact same issue appears when building FlightGear on Archlinux from > AUR (I have a second machine running Arch and just checked). > > So this is not an Gentoo exclusive issue, this seems to be an upstream issue. That gives a hope it will take less time to find a solution. googling ‘BOOST_MOVE_STD_NS_BEG’ led me to https://git.skewed.de/count0/graph-tool/-/issues/799 -> https://git.skewed.de/count0/graph-tool/-/commit/5fa4b6d77b00ceb301573abf9811493e85b8873a. They had a bundled boost workaround or something though. There's also https://github.com/boostorg/container/issues/292 and https://github.com/boostorg/move/issues/59 which mentions simgear. 2024.01.01 have been released, maybe that one already fixes the issue. (In reply to Vamp898 from comment #15) > 2024.01.01 have been released, maybe that one already fixes the issue. It appears to be a bug in Boost itself AFAICT. It appears so, yes. I just assumed they might have implemented an workaround for it. But maybe not^^ After applying the patch at https://github.com/boostorg/move/commit/e9ff3ca0952e680871145f454925614d950cef4d to boost-1.87.0, both simgear and flightgear compile for me. (In reply to Arve Barsnes from comment #18) > After applying the patch at > https://github.com/boostorg/move/commit/ > e9ff3ca0952e680871145f454925614d950cef4d to boost-1.87.0, both simgear and > flightgear compile for me. I confirm, that it fixes the problem on my system as well. It is surprising how other projects are not involved. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b9fdc8c51fed27b6b4762af0f7e9dece80fbab commit 00b9fdc8c51fed27b6b4762af0f7e9dece80fbab Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-07 13:48:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-07 13:48:19 +0000 dev-libs/boost: fix boost::move regression Closes: https://bugs.gentoo.org/948204 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/boost/boost-1.87.0-r1.ebuild | 345 +++++++++++++++++++++++++++ dev-libs/boost/files/boost-1.87.0-move.patch | 74 ++++++ 2 files changed, 419 insertions(+) |