Bug#1133647: texlive-bin: ftbfs with GCC-16

Preuße, Hilmar <[email protected]> Mon, 20 Apr 2026 15:02:49 +0200
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <25b69b77-9788-4a70-9c90-7117e6a3658c__30584.0392293007$1776690331$gmane$org@web.de>
Control: reassign -1 libicu-dev

Am 13.04.2026 um 15:11 schrieb Emanuele Rocca:

Hello,

> texlive-bin 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.
> 

I've forwarded the issue to the XeTeX maintainers [1] and got a statement:

<snip>
 From a quick look at the log, it seems that the ICU headers on that 
system are incompatible with this compiler version (or with the 
particular compiler options being used):

/usr/include/unicode/localpointer.h:559:26: error: parameter declared ‘auto’
   559 | template <typename Type, auto closeFunction>

I think this usage of auto was a C++17 feature, so perhaps -std=c++17 
would help?
</snip>

For now I can confirm that adding the "-std=c++17" flag solves the 
issue, it replaces "-std=gnu++11".

Could you contact ice upstream for this? Thanks!

Hilmar

[1] https://sourceforge.net/p/xetex/bugs/205/
-- 
sigfault
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmnmI/kFAwAAAAAACgkQxiZYRqvgLItH
pw/9Fn41d9EO4sRj2BK/yLv33fjGh2IacJd1ElJz6QKCIo31jyQqueEKepgK6VjNHBx8tcr1KI/1
CsAbnVHe4h95a/AEbpuYV348HUL8VDnuiU8y03H45ORay4Wh1jDvdZxJ3cuaQGh2N/Ifd9KnI5dC
imZupb/Pcnc1J/64Zbcnq2+jYMOFWU7mkW0rzcVbBVDshi7umvagHqtI0bGwPKCzS+DFWcePdBJr
6QGAvGOBQlu38aKdtXS3b1lccPtrSVN7Ts/SH1BYtfOoBwPTg5wuYGCImxViMShUhqlWMd/OzU8n
P34MQZdEiQ+AMODPpYGk/Bw3sgIbw2gOIeBatIH6nwmMZY1yvNZglN7KWI+ePp57Tvj0+9vkOr8w
/qA4OU2STtz8nprQUaQxdYluq7DMwD5s6PxiO+QtRZIgvigsogi3t6EMruNWfDmVzS+D4V7glRtt
95v8J6vLnT/7Qz93InpeFuQlU2CuXdnX55AkEg6Xw5vCmofxTEq7RlVSM5mBqYiOI4TTGGk6uEQg
wcnxWFBUv7p1vPNyKDxQC233sbPj0+DSOo9BX7v+DZLs6QWxHB4E64sczmGckunNtmeCRP41ZlES
ivlxmXEbTuR6evl8Alt4hYydi79X1vTxHYq0CnaQOg+Ati9ZN8kY7MUwg9Zbiw/MreZXw8snhuRx
74Q=
=mOCm
-----END PGP SIGNATURE-----