Package: src:libmspub
Version: 0.1.4-3
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libmspub_0.1.4-3_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o MSPUBMetaData.lo MSPUBMetaData.cpp
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o MSPUBParser.lo MSPUBParser.cpp
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o MSPUBParser2k.lo MSPUBParser2k.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c MSPUBDocument.cpp  -fPIC -DPIC -o .libs/MSPUBDocument.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c MSPUBParser.cpp  -fPIC -DPIC -o .libs/MSPUBParser.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c MSPUBMetaData.cpp  -fPIC -DPIC -o .libs/MSPUBMetaData.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c MSPUBParser2k.cpp  -fPIC -DPIC -o .libs/MSPUBParser2k.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c Dash.cpp  -fPIC -DPIC -o .libs/Dash.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c ColorReference.cpp  -fPIC -DPIC -o .libs/ColorReference.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c MSPUBCollector.cpp  -fPIC -DPIC -o .libs/MSPUBCollector.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c Fill.cpp  -fPIC -DPIC -o .libs/Fill.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o MSPUBParser97.lo MSPUBParser97.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c MSPUBParser97.cpp  -fPIC -DPIC -o .libs/MSPUBParser97.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o PolygonUtils.lo PolygonUtils.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c PolygonUtils.cpp  -fPIC -DPIC -o .libs/PolygonUtils.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o Shadow.lo Shadow.cpp
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o ShapeGroupElement.lo ShapeGroupElement.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c Shadow.cpp  -fPIC -DPIC -o .libs/Shadow.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c ShapeGroupElement.cpp  -fPIC -DPIC -o .libs/ShapeGroupElement.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o VectorTransformation2D.lo VectorTransformation2D.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c VectorTransformation2D.cpp  -fPIC -DPIC -o 
.libs/VectorTransformation2D.o
In file included from PolygonUtils.h:19,
                 from PolygonUtils.cpp:10:
Coordinate.h: In member function 'double libmspub::Coordinate::getWidthIn() 
const':
Coordinate.h:32:19: error: 'int64_t' was not declared in this scope
   32 |     return double(int64_t(m_xe) - m_xs) / EMUS_IN_INCH;
      |                   ^~~~~~~
Coordinate.h:14:1: note: 'int64_t' is defined in header '<cstdint>'; this is 
probably fixable by adding '#include <cstdint>'
   13 | #include "MSPUBConstants.h"
  +++ |+#include <cstdint>
   14 | 
Coordinate.h: In member function 'double libmspub::Coordinate::getHeightIn() 
const':
Coordinate.h:36:19: error: 'int64_t' was not declared in this scope
   36 |     return double(int64_t(m_ye) - m_ys) / EMUS_IN_INCH;
      |                   ^~~~~~~
Coordinate.h:36:19: note: 'int64_t' is defined in header '<cstdint>'; this is 
probably fixable by adding '#include <cstdint>'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc 
-I/usr/include/librevenge-0.0    -DNDEBUG -DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c -o libmspub_utils.lo libmspub_utils.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG 
-DLIBMSPUB_BUILD=1 -g -O2 
-ffile-prefix-map=/build/reproducible-path/libmspub-0.1.4=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-DLIBMSPUB_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable 
-Weffc++ -c libmspub_utils.cpp  -fPIC -DPIC -o .libs/libmspub_utils.o
make[4]: *** [Makefile:568: PolygonUtils.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
MSPUBParser.cpp: In member function 'bool 
libmspub::MSPUBParser::parseFontChunk(librevenge::RVNGInputStream*, const 
libmspub::ContentChunkReference&)':
MSPUBParser.cpp:565:41: warning: 'eotOffset.boost::optional<unsigned 
int>::<unnamed>.boost::optional_detail::tc_optional_base<unsigned 
int>::m_storage' may be used uninitialized [-Wmaybe-uninitialized]
  565 |             input->seek(eotOffset.get() + 4, librevenge::RVNG_SEEK_SET);
      |                         ~~~~~~~~~~~~~~~~^~~
MSPUBParser.cpp:536:37: note: 'eotOffset.boost::optional<unsigned 
int>::<unnamed>.boost::optional_detail::tc_optional_base<unsigned 
int>::m_storage' was declared here
  536 |           boost::optional<unsigned> eotOffset;
      |                                     ^~~~~~~~~
MSPUBParser.cpp: In member function 'bool 
libmspub::MSPUBParser::parseShape(librevenge::RVNGInputStream*, const 
libmspub::ContentChunkReference&)':
MSPUBParser.cpp:767:49: warning: 'numRows.boost::optional<unsigned 
int>::<unnamed>.boost::optional_detail::tc_optional_base<unsigned 
int>::m_storage' may be used uninitialized [-Wmaybe-uninitialized]
  767 |               else if (rowHeightsInEmu.size() < nr)
      |                                                 ^~
MSPUBParser.cpp:716:31: note: 'numRows.boost::optional<unsigned 
int>::<unnamed>.boost::optional_detail::tc_optional_base<unsigned 
int>::m_storage' was declared here
  716 |     boost::optional<unsigned> numRows;
      |                               ^~~~~~~
MSPUBParser.cpp:765:46: warning: 'numCols.boost::optional<unsigned 
int>::<unnamed>.boost::optional_detail::tc_optional_base<unsigned 
int>::m_storage' may be used uninitialized [-Wmaybe-uninitialized]
  765 |               if (columnWidthsInEmu.size() < nc)
      |                                              ^~
MSPUBParser.cpp:717:31: note: 'numCols.boost::optional<unsigned 
int>::<unnamed>.boost::optional_detail::tc_optional_base<unsigned 
int>::m_storage' was declared here
  717 |     boost::optional<unsigned> numCols;
      |                               ^~~~~~~
make[4]: Leaving directory '/build/reproducible-path/libmspub-0.1.4/src/lib'
make[3]: *** [Makefile:393: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/libmspub-0.1.4/src'
make[2]: *** [Makefile:501: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/libmspub-0.1.4'
make[1]: *** [Makefile:412: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libmspub-0.1.4'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to