GCC 15 now diagnoses failed lookups in non-instantiated templates since r15-2117-g313afcfdabeab3 [0]. This exposes broken latent code [0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=r15-2117-g313afcfdabeab3. Reproducible: Always Steps to Reproduce: select gcc-15 emerge -va1 =dev-games/openscenegraph-3.6.5-r115 Actual Results: /var/tmp/portage/dev-games/openscenegraph-3.6.5-r115/work/OpenSceneGraph-OpenSceneGraph-3.6.5/include/osg/GLExtensions:140:9: note: because ‘osg::VertexAttribAlias’ has user-provided ‘osg::VertexAttribAlias::VertexAttribAlias(const osg::VertexAttribAlias&)’ 140 | VertexAttribAlias(const VertexAttribAlias& rhs): | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/dcmtk/ofstd/ofmem.h:27, from /usr/include/dcmtk/oflog/appender.h:33, from /usr/include/dcmtk/oflog/spi/apndatch.h:33, from /usr/include/dcmtk/oflog/logger.h:36, from /usr/include/dcmtk/oflog/oflog.h:28, from /usr/include/dcmtk/dcmdata/dctypes.h:27, from /usr/include/dcmtk/dcmdata/dcxfer.h:26, from /usr/include/dcmtk/dcmdata/dcobject.h:32, from /usr/include/dcmtk/dcmdata/dcelem.h:28, from /usr/include/dcmtk/dcmdata/dcsequen.h:29, from /usr/include/dcmtk/dcmdata/dcfilefo.h:28, from /var/tmp/portage/dev-games/openscenegraph-3.6.5-r115/work/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/dicom/ReaderWriterDICOM.cpp:27: /usr/include/dcmtk/ofstd/ofutil.h: In constructor ‘OFrvalue_storage<T, <anonymous> >::type::type(const OFrvalue_storage<T, <anonymous> >&)’: /usr/include/dcmtk/ofstd/ofutil.h:79:18: error: ‘const struct OFrvalue_storage<T, <anonymous> >’ has no member named ‘pt’ [-Wtemplate-body] 79 | : t( rhs.pt ) {} | ^~
Created attachment 900232 [details] build fail log
Created attachment 900233 [details] emerge--info
This is actually a bug in dcmtk: bug 936681.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f97cb6d7e8d694f6ea9cfa4f4e5d2f0fc0b470a commit 1f97cb6d7e8d694f6ea9cfa4f4e5d2f0fc0b470a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-24 05:46:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-24 05:46:21 +0000 sci-libs/dcmtk: add 3.6.9 Another ODR issue has appeared, not yet reported upstream. Bug: https://bugs.gentoo.org/862699 Closes: https://bugs.gentoo.org/936681 Closes: https://bugs.gentoo.org/937991 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/dcmtk/Manifest | 1 + sci-libs/dcmtk/dcmtk-3.6.9.ebuild | 88 +++++++++++++++++++++++++++ sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch | 15 +++++ 3 files changed, 104 insertions(+)