Bug#1133513: libe-book: ftbfs with GCC-16
Rene Engelhard <[email protected]> Mon, 13 Apr 2026 18:16:11 +0200
| Newsgroups | gmane.linux.debian.devel.openoffice |
|---|---|
| Organization | Debian Project |
| Message-ID | <7eb9b4ba-e8d5-43bc-a595-af22ffba3df6__2095.03360544971$1776097169$gmane$org@debian.org> |
Hi Emanuele,
Am 13.04.26 um 15:05 schrieb Emanuele Rocca:
> 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.
You probably should look for common stuff here. Here it is:
> [...]
>
>
> /usr/include/unicode/localpointer.h:559:26: error: parameter declared 'auto'
> 559 | template <typename Type, auto closeFunction>
> | ^~~~
> /usr/include/unicode/localpointer.h:571:76: error: template argument 2 is invalid [-Wtemplate-body]
> 571 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
> | ^
> /usr/include/unicode/localpointer.h:581:78: error: template argument 2 is invalid [-Wtemplate-body]
> 581 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
> | ^
> /usr/include/unicode/localpointer.h:597:59: error: template argument 2 is invalid [-Wtemplate-body]
> 597 | operator std::unique_ptr<Type, decltype(closeFunction)> () && {
> | ^
> /usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
> 69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
> 597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[5]: *** [Makefile:1258: libe_book_internal_la-PluckerParser.lo] Error 1
> make[5]: *** [Makefile:1237: libe_book_internal_la-PalmDocParser.lo] Error 1
> make[5]: *** [Makefile:985: libe_book_internal_la-BBeBParser.lo] Error 1
ICU header.
> In file included from /usr/include/unicode/uenum.h:25,
> from /usr/include/unicode/ucnv.h:52,
> from EBOOKCharsetConverter.h:16,
> from TealDocParser.cpp:24:
> /usr/include/unicode/localpointer.h:559:26: error: parameter declared 'auto'
> 559 | template <typename Type, auto closeFunction>
> | ^~~~
> /usr/include/unicode/localpointer.h:571:76: error: template argument 2 is invalid [-Wtemplate-body]
> 571 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
> | ^
> /usr/include/unicode/localpointer.h:581:78: error: template argument 2 is invalid [-Wtemplate-body]
> 581 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
> | ^
> /usr/include/unicode/localpointer.h:597:59: error: template argument 2 is invalid [-Wtemplate-body]
> 597 | operator std::unique_ptr<Type, decltype(closeFunction)> () && {
> | ^
> /usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
> 69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
> 597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Here also the complains comes from ICU
Same case with libsmpub (1133524).
Ccing Lazslo., any idea?
Regards,
Rene