Control: tags -1 fixed-upstream

On Sun, Feb 22, 2026 at 05:18:32PM +0100, Aurelien Jarno wrote:
> tuxpaint fails to build from source with glibc 2.43, currently in
> experimental. From the build log:
> 
> | src/i18n.c: In function ‘set_current_language’:
> | src/i18n.c:1239:37: error: assignment of read-only location ‘*(const char 
> *)strchr(short_lang_prefix, 95)’
> |  1239 |     *strchr(short_lang_prefix, '_') = '\0';
> |       |                                     ^

On Mon, Aug 10, 2026 at 02:44:53PM +0200, Aurelien Jarno wrote:
> With the upload of glibc 2.43 to unstable, the packages now FTBFS in 
> unstable, hence upgrading the severity to serious.
> 
> Note that as a quick workaround, it is possible to roll back to C/C++17 
> standard using -std=c17, -std=gnu17, std=c++17 or std=gnu++17. This was 
> the default up to GCC 14, and GCC 15 changed it to C/C23.

This was fixed upstream as per
https://sourceforge.net/p/tuxpaint/tuxpaint/ci/6271edececef2a3720e5a5b4e245407cf909f034/
| Make short_lang_prefix non-const
| 
| - Glibc-2.43 does not allow assigning
| to const char pointer anymore, requiring to make
| short_lang_prefix non-const
| - See: https://bugs.gentoo.org/969855
so now tagging accordingly.

HTH,
Flo

Attachment: signature.asc
Description: PGP signature

Reply via email to