[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096775: marked as done (graphite2: ftbfs with GCC-15)



Your message dated Sun, 17 Aug 2025 22:05:53 +0000
with message-id <E1unlVh-00CC02-09@fasolo.debian.org>
and subject line Bug#1096775: fixed in graphite2 1.3.14-3
has caused the Debian Bug report #1096775,
regarding graphite2: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1096775: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096775
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:graphite2
Version: 1.3.14-2
Severity: important
Tags: sid forky
User: debian-gcc@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/graphite2_1.3.14-2_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

[...]
  110 |           table = {_ttf.data() + tbl_offset, tbl_len};
      |                                                     ^
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:110:53: note: there are 4 candidates
In file included from /usr/include/c++/15/bits/stl_algobase.h:64,
                 from /usr/include/c++/15/string:53,
                 from /usr/include/c++/15/bits/locale_classes.h:42,
                 from /usr/include/c++/15/bits/ios_base.h:43,
                 from /usr/include/c++/15/ios:46,
                 from /usr/include/c++/15/istream:42,
                 from /usr/include/c++/15/fstream:42,
                 from /build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:24:
/usr/include/c++/15/bits/stl_pair.h:948:9: note: candidate 1: ‘template<class _U1, class _U2> typename std::enable_if<std::__and_<std::is_assignable<_T1&, const _U1&>, std::is_assignable<_T2&, const _U2&> >::value, std::pair<_T1, _T2>&>::type std::pair<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U2 = _U1; _T1 = const void*; _T2 = long unsigned int]’
  948 |         operator=(const pair<_U1, _U2>& __p)
      |         ^~~~~~~~
/usr/include/c++/15/bits/stl_pair.h:948:9: note: template argument deduction/substitution failed:
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:110:53: note:   couldn’t deduce template parameter ‘_U1’
  110 |           table = {_ttf.data() + tbl_offset, tbl_len};
      |                                                     ^
/usr/include/c++/15/bits/stl_pair.h:959:9: note: candidate 2: ‘template<class _U1, class _U2> typename std::enable_if<std::__and_<std::is_assignable<_T1&, _U1&&>, std::is_assignable<_T2&, _U2&&> >::value, std::pair<_T1, _T2>&>::type std::pair<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U2 = _U1; _T1 = const void*; _T2 = long unsigned int]’
  959 |         operator=(pair<_U1, _U2>&& __p)
      |         ^~~~~~~~
/usr/include/c++/15/bits/stl_pair.h:959:9: note: template argument deduction/substitution failed:
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:110:53: note:   couldn’t deduce template parameter ‘_U1’
  110 |           table = {_ttf.data() + tbl_offset, tbl_len};
      |                                                     ^
/usr/include/c++/15/bits/stl_pair.h:923:7: note: candidate 3: ‘std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(std::__conditional_t<((bool)std::__and_<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2> >::value), const std::pair<_T1, _T2>&, const std::__nonesuch&>) [with _T1 = const void*; _T2 = long unsigned int; std::__conditional_t<((bool)std::__and_<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2> >::value), const std::pair<_T1, _T2>&, const std::__nonesuch&> = const std::pair<const void*, long unsigned int>&]’
  923 |       operator=(__conditional_t<__and_<is_copy_assignable<_T1>,
      |       ^~~~~~~~
/usr/include/c++/15/bits/stl_pair.h:925:65: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::__conditional_t<true, const std::pair<const void*, long unsigned int>&, const std::__nonesuch&>’ {aka ‘const std::pair<const void*, long unsigned int>&’}
  923 |       operator=(__conditional_t<__and_<is_copy_assignable<_T1>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  924 |                                        is_copy_assignable<_T2>>::value,
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  925 |                                 const pair&, const __nonesuch&> __p)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/15/bits/stl_pair.h:933:7: note: candidate 4: ‘std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(std::__conditional_t<((bool)std::__and_<std::is_move_assignable<_Tp>, std::is_move_assignable<_T2> >::value), std::pair<_T1, _T2>&&, std::__nonesuch&&>) [with _T1 = const void*; _T2 = long unsigned int; std::__conditional_t<((bool)std::__and_<std::is_move_assignable<_Tp>, std::is_move_assignable<_T2> >::value), std::pair<_T1, _T2>&&, std::__nonesuch&&> = std::pair<const void*, long unsigned int>&&]’
  933 |       operator=(__conditional_t<__and_<is_move_assignable<_T1>,
      |       ^~~~~~~~
/usr/include/c++/15/bits/stl_pair.h:935:55: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::__conditional_t<true, std::pair<const void*, long unsigned int>&&, std::__nonesuch&&>’ {aka ‘std::pair<const void*, long unsigned int>&&’}
  933 |       operator=(__conditional_t<__and_<is_move_assignable<_T1>,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  934 |                                        is_move_assignable<_T2>>::value,
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  935 |                                 pair&&, __nonesuch&&> __p)
      |                                 ~~~~~~~~~~~~~~~~~~~~~~^~~
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp: In function ‘void testFeatTable(const T&, const std::string&)’:
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:310:14: error: ‘uint16_t’ was not declared in this scope [-Wtemplate-body]
  310 |         for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
      |              ^~~~~~~~
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:310:14: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/build/reproducible-path/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:310:30: error: ‘j’ was not declared in this scope [-Wtemplate-body]
  310 |         for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
      |                              ^
make[3]: *** [tests/featuremap/CMakeFiles/featuremaptest.dir/build.make:82: tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/graphite2-1.3.14/build'
make[2]: *** [CMakeFiles/Makefile2:741: tests/featuremap/CMakeFiles/featuremaptest.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 94%] Linking CXX static library libvm-test-common.a
cd /build/reproducible-path/graphite2-1.3.14/build/tests/vm && /usr/bin/cmake -P CMakeFiles/vm-test-common.dir/cmake_clean_target.cmake
cd /build/reproducible-path/graphite2-1.3.14/build/tests/vm && /usr/bin/cmake -E cmake_link_script CMakeFiles/vm-test-common.dir/link.txt --verbose=1
/usr/bin/ar qc libvm-test-common.a "CMakeFiles/vm-test-common.dir/basic_test.cpp.o"
/usr/bin/ranlib libvm-test-common.a
make[3]: Leaving directory '/build/reproducible-path/graphite2-1.3.14/build'
[ 94%] Built target vm-test-common
make[2]: Leaving directory '/build/reproducible-path/graphite2-1.3.14/build'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/graphite2-1.3.14/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: graphite2
Source-Version: 1.3.14-3
Done: Rene Engelhard <rene@debian.org>

We believe that the bug you reported is fixed in the latest version of
graphite2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1096775@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated graphite2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 17 Aug 2025 20:44:35 +0200
Source: graphite2
Architecture: source
Version: 1.3.14-3
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1096775 1100451
Changes:
 graphite2 (1.3.14-3) unstable; urgency=medium
 .
   * debian/patches/include-cstdint.diff: #include <cstdint> to fix build
     with gcc 15 (closes: #1096775)
   * debian/tests/control: remove explicit depends on dpkg-dev
     (closes: #1100451)
   * debian/patches/cmake-4.0.diff: fix build issues with cmake 4.0
     (based on https://github.com/silnrsi/graphite/issues/98)
   * debian/patches/disable-latex-for-now.diff: disable latex build for
     now due to LaTeX error (probably) caused by doxygen.
     To be investigated further.
Checksums-Sha1:
 118082fb8aa0c547d882cdc02ac793ac9d04caad 2558 graphite2_1.3.14-3.dsc
 1460a165df13b42e98b272dedb8dd94da227c5d6 15224 graphite2_1.3.14-3.debian.tar.xz
 bf2b62ae6561583559726b692ff3a324a9f3f33b 7794 graphite2_1.3.14-3_source.buildinfo
Checksums-Sha256:
 da01edffbe48695ce0d212ffdb0bad1f3d199f7553b77d3b6c9b2425982bbe70 2558 graphite2_1.3.14-3.dsc
 72b3caba0ea0e9bd09742ae66d342c0f2370360fd9bde3515910d5643da65d01 15224 graphite2_1.3.14-3.debian.tar.xz
 0719c371ccc55e56929b09acf32085b8677fcc028c955eda12fdf45664275368 7794 graphite2_1.3.14-3_source.buildinfo
Files:
 35bf7325644c18715db39359695f9b2c 2558 libs optional graphite2_1.3.14-3.dsc
 3aa342c074453e2862e72077db9cd2b3 15224 libs optional graphite2_1.3.14-3.debian.tar.xz
 069539d07b12831b604a04490dad36cb 7794 libs optional graphite2_1.3.14-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmiiR6gQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cAiiD/9kT0TcGCNnm+LKPt3rfgH4gdGbtKl9NOyO
/xtE1zWTaSUxl1i9epBjxT6PzC8LoWAXyOP2RQHYBncqSCtVvqu/7jv5BK5a6inS
TUp5knj2BRuPNAnA2QYjh7Y4Ox79NxsI8RfTnkrSMSZ96Ur7+9c9m1n6c631mF0x
/EhWdxZ2+W5ixNjen+gvOMtQe21rzZ4NZc/7Qz6Lx6M8oXMyc1CQNNc0vpot1fEg
ExyCihtx0TxPk/Yd+9MPJC6gwExXDv7sYpunCVERmgSe+k8d/o/eju5A4Dx7lQdd
K60d3Qwc0EYJxk5hwXmr+tMpJSYa3IXaJpDoUhR/KBPl/TTMd3nJh9cEbW5BSYYs
hw6LE03NeRqQi7RaZZt8By/u6lFQ3QWATYUqWXMzPh3XqAmy4dTz+8ExcOe1RXuM
zdGvldc/FrEZ4Lt0l/vabGvRI3B7BWKhr4EBSMH2ynke9kJh+ZRmwVxiW8BUJ52m
PECJDJkB7uhaDvcQarOohEPnhKHusyZznXfLPeW97P6HoA1geHQ9a++CbWnA3CvQ
B7Ucom0lA367vfm/T+2Cl1HirLsYb7Vd9vlKMbCT1inbcz9s39ggRZV86Hmp6gPc
aItxZjukqcOG0M5xpK0XyCFga38P9jTSs9FxtGOf0Jwf3KVMjxND5I1SXXgOEU4B
IYBbXBKklQ==
=XFlx
-----END PGP SIGNATURE-----

Attachment: pgps5umj2YXMh.pgp
Description: PGP signature


--- End Message ---

Reply to: