Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937991 - dev-games/openscenegraph-3.6.5-r115 fails with gcc-15 <anonymous> >’ has no member named ‘pt’ [-Wtemplate-body
Summary: dev-games/openscenegraph-3.6.5-r115 fails with gcc-15 <anonymous> >’ has no m...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-15 21:39 UTC by tdr
Modified: 2024-08-15 21:43 UTC (History)
2 users (show)

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


Attachments
build fail log (openscenegraph-3.6.5-r115-build-fail.log.gz,446.33 KB, text/plain)
2024-08-15 21:43 UTC, tdr
Details
emerge--info (emerge--info.txt,6.10 KB, text/plain)
2024-08-15 21:43 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-08-15 21:39:45 UTC
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 ) {}
      |                  ^~
Comment 1 tdr 2024-08-15 21:43:13 UTC
Created attachment 900232 [details]
build fail log
Comment 2 tdr 2024-08-15 21:43:37 UTC
Created attachment 900233 [details]
emerge--info