Source: simgear
Version: 1:2020.3.18+dfsg-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/simgear && /usr/bin/c++ -DHAVE_CONFIG_H 
> -DHAVE_INTTYPES_H -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/simgear 
> -I/<<PKGBUILDDIR>>/build -I/usr/include/AL 
> -I/<<PKGBUILDDIR>>/simgear/canvas/ShivaVG/include 
> -I/<<PKGBUILDDIR>>/3rdparty/utf8/source -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mfpmath=sse -ftree-vectorize 
> -ftree-slp-vectorize  -Wall -fPIC -Wno-unused-local-typedefs  
> -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -O3 -g -DNDEBUG 
> -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -std=gnu++11 -MD 
> -MT simgear/CMakeFiles/SimGearScene.dir/sound/xmlsound.cxx.o -MF 
> CMakeFiles/SimGearScene.dir/sound/xmlsound.cxx.o.d -o 
> CMakeFiles/SimGearScene.dir/sound/xmlsound.cxx.o -c 
> /<<PKGBUILDDIR>>/simgear/sound/xmlsound.cxx
> In file included from /<<PKGBUILDDIR>>/simgear/scene/viewer/Compositor.cxx:17:
> /<<PKGBUILDDIR>>/simgear/scene/viewer/Compositor.hxx:137:34: error: field 
> ‘_uniforms’ has incomplete type 
> ‘simgear::compositor::Compositor::BuiltinUniforms’ {aka 
> ‘std::array<osg::ref_ptr<osg::Uniform>, 14>’}
>   137 |     BuiltinUniforms              _uniforms;
>       |                                  ^~~~~~~~~
> In file included from /usr/include/c++/13/bits/hashtable_policy.h:34,
>                  from /usr/include/c++/13/bits/hashtable.h:35,
>                  from /usr/include/c++/13/bits/unordered_map.h:33,
>                  from /usr/include/c++/13/unordered_map:41,
>                  from /<<PKGBUILDDIR>>/simgear/scene/viewer/Compositor.hxx:20:
> /usr/include/c++/13/tuple:2005:45: note: declaration of 
> ‘simgear::compositor::Compositor::BuiltinUniforms’ {aka ‘struct 
> std::array<osg::ref_ptr<osg::Uniform>, 14>’}
>  2005 |   template<typename _Tp, size_t _Nm> struct array;
>       |                                             ^~~~~
> [ 74%] Building CXX object 
> simgear/CMakeFiles/SimGearScene.dir/sound/filters.cxx.o
> cd /<<PKGBUILDDIR>>/build/simgear && /usr/bin/c++ -DHAVE_CONFIG_H 
> -DHAVE_INTTYPES_H -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/simgear 
> -I/<<PKGBUILDDIR>>/build -I/usr/include/AL 
> -I/<<PKGBUILDDIR>>/simgear/canvas/ShivaVG/include 
> -I/<<PKGBUILDDIR>>/3rdparty/utf8/source -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mfpmath=sse -ftree-vectorize 
> -ftree-slp-vectorize  -Wall -fPIC -Wno-unused-local-typedefs  
> -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -O3 -g -DNDEBUG 
> -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -std=gnu++11 -MD 
> -MT simgear/CMakeFiles/SimGearScene.dir/sound/filters.cxx.o -MF 
> CMakeFiles/SimGearScene.dir/sound/filters.cxx.o.d -o 
> CMakeFiles/SimGearScene.dir/sound/filters.cxx.o -c 
> /<<PKGBUILDDIR>>/simgear/sound/filters.cxx
> [ 74%] Building CXX object 
> simgear/CMakeFiles/SimGearScene.dir/sound/soundmgr_openal.cxx.o
> cd /<<PKGBUILDDIR>>/build/simgear && /usr/bin/c++ -DHAVE_CONFIG_H 
> -DHAVE_INTTYPES_H -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/simgear 
> -I/<<PKGBUILDDIR>>/build -I/usr/include/AL 
> -I/<<PKGBUILDDIR>>/simgear/canvas/ShivaVG/include 
> -I/<<PKGBUILDDIR>>/3rdparty/utf8/source -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mfpmath=sse -ftree-vectorize 
> -ftree-slp-vectorize  -Wall -fPIC -Wno-unused-local-typedefs  
> -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -O3 -g -DNDEBUG 
> -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -std=gnu++11 -MD 
> -MT simgear/CMakeFiles/SimGearScene.dir/sound/soundmgr_openal.cxx.o -MF 
> CMakeFiles/SimGearScene.dir/sound/soundmgr_openal.cxx.o.d -o 
> CMakeFiles/SimGearScene.dir/sound/soundmgr_openal.cxx.o -c 
> /<<PKGBUILDDIR>>/simgear/sound/soundmgr_openal.cxx
> [ 74%] Building CXX object 
> simgear/CMakeFiles/SimGearScene.dir/sound/readwav.cxx.o
> cd /<<PKGBUILDDIR>>/build/simgear && /usr/bin/c++ -DHAVE_CONFIG_H 
> -DHAVE_INTTYPES_H -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/simgear 
> -I/<<PKGBUILDDIR>>/build -I/usr/include/AL 
> -I/<<PKGBUILDDIR>>/simgear/canvas/ShivaVG/include 
> -I/<<PKGBUILDDIR>>/3rdparty/utf8/source -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mfpmath=sse -ftree-vectorize 
> -ftree-slp-vectorize  -Wall -fPIC -Wno-unused-local-typedefs  
> -DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG -O3 -g -DNDEBUG 
> -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -std=gnu++11 -MD 
> -MT simgear/CMakeFiles/SimGearScene.dir/sound/readwav.cxx.o -MF 
> CMakeFiles/SimGearScene.dir/sound/readwav.cxx.o.d -o 
> CMakeFiles/SimGearScene.dir/sound/readwav.cxx.o -c 
> /<<PKGBUILDDIR>>/simgear/sound/readwav.cxx
> In file included from 
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorBuffer.cxx:33:
> /<<PKGBUILDDIR>>/simgear/scene/viewer/Compositor.hxx:137:34: error: field 
> ‘_uniforms’ has incomplete type 
> ‘simgear::compositor::Compositor::BuiltinUniforms’ {aka 
> ‘std::array<osg::ref_ptr<osg::Uniform>, 14>’}
>   137 |     BuiltinUniforms              _uniforms;
>       |                                  ^~~~~~~~~
> In file included from /usr/include/c++/13/bits/stl_map.h:63,
>                  from /usr/include/c++/13/map:63,
>                  from /usr/include/osg/GLExtensions:24,
>                  from /usr/include/osg/BufferObject:19,
>                  from /usr/include/osg/Image:17,
>                  from /usr/include/osg/Texture:18,
>                  from 
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorBuffer.hxx:20,
>                  from 
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorBuffer.cxx:17:
> /usr/include/c++/13/tuple:2005:45: note: declaration of 
> ‘simgear::compositor::Compositor::BuiltinUniforms’ {aka ‘struct 
> std::array<osg::ref_ptr<osg::Uniform>, 14>’}
>  2005 |   template<typename _Tp, size_t _Nm> struct array;
>       |                                             ^~~~~
> In file included from 
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.cxx:36:
> /<<PKGBUILDDIR>>/simgear/scene/viewer/Compositor.hxx:137:34: error: field 
> ‘_uniforms’ has incomplete type 
> ‘simgear::compositor::Compositor::BuiltinUniforms’ {aka 
> ‘std::array<osg::ref_ptr<osg::Uniform>, 14>’}
>   137 |     BuiltinUniforms              _uniforms;
>       |                                  ^~~~~~~~~
> In file included from /usr/include/c++/13/bits/hashtable_policy.h:34,
>                  from /usr/include/c++/13/bits/hashtable.h:35,
>                  from /usr/include/c++/13/bits/unordered_map.h:33,
>                  from /usr/include/c++/13/unordered_map:41,
>                  from 
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.hxx:20,
>                  from 
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.cxx:17:
> /usr/include/c++/13/tuple:2005:45: note: declaration of 
> ‘simgear::compositor::Compositor::BuiltinUniforms’ {aka ‘struct 
> std::array<osg::ref_ptr<osg::Uniform>, 14>’}
>  2005 |   template<typename _Tp, size_t _Nm> struct array;
>       |                                             ^~~~~
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.cxx: In member function 
> ‘virtual simgear::compositor::Pass* 
> simgear::compositor::QuadPassBuilder::build(simgear::compositor::Compositor*, 
> const SGPropertyNode*, const simgear::SGReaderWriterOptions*)’:
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.cxx:320:60: error: 
> range-based ‘for’ expression of type ‘const 
> std::array<osg::ref_ptr<osg::Uniform>, 14>’ has incomplete type
>   320 |         for (const auto &uniform : compositor->getUniforms())
>       |                                                            ^
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.cxx: In member function 
> ‘virtual simgear::compositor::Pass* 
> simgear::compositor::ScenePassBuilder::build(simgear::compositor::Compositor*,
>  const SGPropertyNode*, const simgear::SGReaderWriterOptions*)’:
> /<<PKGBUILDDIR>>/simgear/scene/viewer/CompositorPass.cxx:728:32: error: no 
> match for ‘operator[]’ (operand types are ‘const 
> std::array<osg::ref_ptr<osg::Uniform>, 14>’ and 
> ‘simgear::compositor::Compositor::BuiltinUniform’)
>   728 |         ss->addUniform(uniforms[Compositor::FCOEF]);
>       |                                ^
> make[3]: *** [simgear/CMakeFiles/SimGearScene.dir/build.make:1857: 
> simgear/CMakeFiles/SimGearScene.dir/scene/viewer/CompositorBuffer.cxx.o] 
> Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/simgear_2020.3.18+dfsg-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to