• Bug#1101290: libxrender FTBFS: error: expected ';' before 'elt'

    From Helmut Grohne@21:1/5 to All on Tue Mar 25 08:20:01 2025
    XPost: linux.debian.maint.x

    Source: libxrender
    Version: 1:0.9.10-1.2
    Severity: serious
    Tags: ftbfs
    User: helmutg@debian.org
    Usertags: rebootstrap

    libxrender fails to build from source in unstable. A sequential build
    ends as follows:

    /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. -I../../include/X11/extensions -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-
    prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=
    init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DMALLOC_0_
    RETURNS_NULL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libxrender-0.9.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o Glyph.lo ../../src/Glyph.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. -I../../include/X11/extensions -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-
    function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=
    missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DMALLOC_0_RETURNS_NULL -g -O2 -Werror=
    implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libxrender-0.9.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../src/Glyph.c -fPIC -DPIC -o .libs/Glyph.o
    ../../src/Glyph.c: In function 'XRenderCompositeText8': ../../src/Glyph.c:481:13: error: expected ';' before 'elt'
    481 | elt->len = this_chars;
    | ^~~
    ../../src/Glyph.c: In function 'XRenderCompositeText16': ../../src/Glyph.c:592:13: error: expected ';' before 'elt'
    592 | elt->len = this_chars;
    | ^~~
    ../../src/Glyph.c: In function 'XRenderCompositeText32': ../../src/Glyph.c:698:13: error: expected ';' before 'elt'
    698 | elt->len = this_chars;
    | ^~~
    make[3]: *** [Makefile:503: Glyph.lo] Error 1
    make[3]: Leaving directory '/build/reproducible-path/libxrender-0.9.10/build/src'
    make[2]: *** [Makefile:526: all-recursive] Error 1
    make[2]: Leaving directory '/build/reproducible-path/libxrender-0.9.10/build' make[1]: *** [Makefile:414: all] Error 2
    make[1]: Leaving directory '/build/reproducible-path/libxrender-0.9.10/build' dh_auto_build: error: cd build && make -j1 returned exit code 2
    make: *** [debian/rules:8: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

    Helmut

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)