Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 937991

Summary: dev-games/openscenegraph-3.6.5-r115 fails with gcc-15 <anonymous> >’ has no member named ‘pt’ [-Wtemplate-body
Product: Gentoo Linux Reporter: tdr <ted.d.rodgers>
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: UNCONFIRMED ---    
Severity: normal CC: games, ted.d.rodgers
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: build fail log
emerge--info

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