Control: tags -1 + fixed-upstream

On 2023-12-05 23:06 +0100, Santiago Vila wrote:

> Package: src:libgnt
> Version: 2.14.3-2
> Severity: serious
> Tags: ftbfs
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, your package failed to build:
>
> --------------------------------------------------------------------------------

> [27/35] cc -Ilibgnt.so.0.14.3.p -I. -I.. -I/usr/include/ncursesw 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
> libgnt.so.0.14.3.p/gntwm.c.o -MF libgnt.so.0.14.3.p/gntwm.c.o.d -o 
> libgnt.so.0.14.3.p/gntwm.c.o -c ../gntwm.c
> FAILED: libgnt.so.0.14.3.p/gntwm.c.o
> cc -Ilibgnt.so.0.14.3.p -I. -I.. -I/usr/include/ncursesw 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
> libgnt.so.0.14.3.p/gntwm.c.o -MF libgnt.so.0.14.3.p/gntwm.c.o.d -o 
> libgnt.so.0.14.3.p/gntwm.c.o -c ../gntwm.c
> ../gntwm.c: In function ‘work_around_for_ncurses_bug’:
> ../gntwm.c:170:35: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   170 |                 sx = getbegx(panel->win);
>       |                                   ^~
> ../gntwm.c:171:35: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   171 |                 ex = getmaxx(panel->win) + sx;
>       |                                   ^~
> ../gntwm.c:172:35: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   172 |                 sy = getbegy(panel->win);
>       |                                   ^~
> ../gntwm.c:173:35: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   173 |                 ey = getmaxy(panel->win) + sy;
>       |                                   ^~
> ../gntwm.c:176:47: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   176 |                         if (sy > getbegy(below->win) + 
> getmaxy(below->win) ||
>       |                                               ^~
> ../gntwm.c:176:69: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   176 |                         if (sy > getbegy(below->win) + 
> getmaxy(below->win) ||
>       |                                                                     ^~
> ../gntwm.c:177:59: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   177 |                                         ey < getbegy(below->win))
>       |                                                           ^~
> ../gntwm.c:179:47: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   179 |                         if (sx > getbegx(below->win) + 
> getmaxx(below->win) ||
>       |                                               ^~
> ../gntwm.c:179:69: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   179 |                         if (sx > getbegx(below->win) + 
> getmaxx(below->win) ||
>       |                                                                     ^~
> ../gntwm.c:180:59: error: invalid use of incomplete typedef ‘PANEL’ {aka 
> ‘struct panel’}
>   180 |                                         ex < getbegx(below->win))
>       |                                                           ^~
> [more errors snipped]

I have not tested it myself, but these errors should be fixed in libgnt
2.14.4 which has been released upstream the other day.  See
https://keep.imfreedom.org/libgnt/libgnt/rev/2da723f790d6, which
explicitly mentions this bug.

Cheers,
       Sven

Reply via email to