Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928853 - sci-libs/octomap-1.9.8 fails to compile: OcTreeBase.h:46:21: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
Summary: sci-libs/octomap-1.9.8 fails to compile: OcTreeBase.h:46:21: error: template-...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 20:27 UTC by Agostino Sarubbo
Modified: 2025-03-28 17:25 UTC (History)
0 users

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


Attachments
build.log (build.log,71.06 KB, text/plain)
2024-04-06 20:27 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 2024-04-06 20:27:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/octomap-1.9.8 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-06 20:27:09 UTC
Created attachment 889648 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-06 20:27:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
FAILED: octomap/src/CMakeFiles/octomap-static.dir/AbstractOcTree.cpp.o 
FAILED: octomap/src/CMakeFiles/octomap-static.dir/CountingOcTree.cpp.o 
FAILED: octomap/src/CMakeFiles/octomap.dir/AbstractOcTree.cpp.o 
FAILED: octomap/src/CMakeFiles/octomap.dir/CountingOcTree.cpp.o 
/var/tmp/portage/sci-libs/octomap-1.9.8/work/octomap-1.9.8/octomap/include/octomap/OcTreeBase.h:46:21: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
Comment 3 Larry the Git Cow gentoo-dev 2025-03-28 17:25:05 UTC
The bug has been referenced in the following commit(s):

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

commit ec86568a3fb6ee37be869bd606194343da0770fa
Author:     Nicolas PARLANT <nicolas.parlant@parhuet.fr>
AuthorDate: 2025-03-28 09:15:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-28 17:23:59 +0000

    sci-libs/octomap: add 1.10.0, qt6
    
    bump EAPI8
    
    switch to qt6 by default (see trivial patch with a PR in upstream)
    
    use soname 1.10 for subslot, instead of expected 110 (19 in tree)
    
    patches:
    * cmake_min bump to 3.10
    * fix destdir
    * filter -Werror and -O3
    * use pkgconf for libGQLViewer
    * switch qt4/qt5 to qt5/qt6
    
    tests passed here without jobs restriction
    
    open bugs for 1.9.8 are hopefully addressed
    
    Bug: https://bugs.gentoo.org/801232
    Bug: https://bugs.gentoo.org/890433
    Bug: https://bugs.gentoo.org/890489
    Bug: https://bugs.gentoo.org/928853
    Closes: https://bugs.gentoo.org/949090
    Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
    Closes: https://github.com/gentoo/gentoo/pull/41342
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/octomap/Manifest                          |   1 +
 .../octomap/files/octomap-1.10.0-cmake_bump.patch  |  42 ++++++
 .../files/octomap-1.10.0-destdir_edt3d.patch       |  18 +++
 .../files/octomap-1.10.0-filter_flags.patch        |  16 +++
 .../octomap-1.10.0-pkgconf_libqglviewer.patch      |  32 +++++
 .../octomap/files/octomap-1.10.0-qt5_qt6.patch     | 143 +++++++++++++++++++++
 sci-libs/octomap/octomap-1.10.0.ebuild             |  91 +++++++++++++
 7 files changed, 343 insertions(+)