Bug#1133534: libreoffice: ftbfs with GCC-16

Emanuele Rocca <[email protected]> Mon, 13 Apr 2026 15:06:21 +0200
Newsgroups gmane.linux.debian.devel.openoffice
Message-ID <[email protected]>
Package: src:libreoffice
Version: 4:26.2.1-1
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16

Hi,

libreoffice fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/libreoffice_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


checking which libqxp to use... external
checking for libqxp-0.0... yes
checking which libzmf to use... external
checking for libzmf-0.0... yes
checking which libstaroffice to use... external
checking for libstaroffice-0.0... yes
checking for STAROFFICE version... 0.0.7
checking which lcms2 to use... external
checking for lcms2... yes
checking which freetype to use... external
checking for freetype2 >= 9.9.3... yes
checking which libxslt to use... external
checking for libxslt... yes
checking for libexslt... yes
checking for xsltproc... /usr/bin/xsltproc
checking which libxml to use... external
checking for libxml-2.0 >= 2.0... yes
checking for xmllint... /usr/bin/xmllint
checking which Python to use for Pyuno... system
checking for a Python interpreter with version >= 3.7... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.13
checking for python3 platform... linux
checking for GNU default python3 prefix... ${prefix}
checking for GNU default python3 exec_prefix... ${exec_prefix}
checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.13/site-packages
checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages
checking for Python.h... yes
checking for python lxml... yes
checking for correct python library version... ok
checking whether to build LibreLogo... yes
checking whether to build the MariaDB/MySQL SDBC driver... yes
checking which MariaDB to use... external
checking MariaDB version... OK
checking for MariaDB Client library... includes '-I/usr/include/mariadb -I/usr/include/mariadb/mysql', libraries ' -L/usr/lib/aarch64-linux-gnu/ -lmariadb'
checking whether to bundle the MySQL/MariaDB client library... no
checking which hsqldb to use... external
checking whether hsqldb is 1.8.0.x... yes
checking whether to build the PostgreSQL SDBC driver... yes
checking for pg_config... /usr/bin/pg_config
checking PostgreSQL C interface... external PostgreSQL
configure: checking system PostgreSQL prerequisites
checking for libpq-fe.h... yes
checking for PQconnectdbParams in -lpq... yes
checking which Firebird to use... external
checking for fb_config... /usr/bin/fb_config
configure: fb_config found
checking for Firebird Client library... includes `', libraries ` -lfbclient'
checking Firebird version... OK
checking which curl to use... external
checking for libcurl >= 7.68.0... yes
checking which boost to use... external
checking for boostlib >= 1.69 (106900)... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Locale library is available... yes
checking for exit in -lboost_locale... yes
checking for boost/shared_ptr.hpp... yes
checking for boost/spirit/include/classic_core.hpp... yes
checking which mdds to use... external
checking for mdds-3.0 >= 3.0.0... yes
checking which dragonbox to use... external
checking for dragonbox/dragonbox.h... no
configure: error: dragonbox/dragonbox.h not found. install dragonbox
Error running configure at ./autogen.sh line 338.
make: *** [debian/rules:2681: debian/stampdir/build-arch] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2