GCC 14 will fail to build this package because there is a C type error: paps.c: In function ‘split_text_into_paragraphs’: paps.c:866:34: error: assignment to ‘gunichar’ {aka ‘unsigned int’} from ‘gchar *’ {aka ‘char *’} makes integer from pointer without a cast 866 | wc = g_utf8_prev_char(next); | ^ As far as I can see, this line comes from paps-fix-cpi.patch. It's not clear how this is supposed to work. Is the intent to back up one character, updating the next pointer? Reproducible: Always
That code block tries to align the text length against a parameter of the column per inch and recapturing current processing character for next one.
FEDORA-2024-b614585844 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b614585844
FEDORA-2024-b614585844 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
Thank you, also re-checked with the instrumented compiler. Looks good.