Source: postgresql-filedump
Version: 13.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
> -Werror=vla -Wendif-labels -Wmissing-format-attribute 
> -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security 
> -fno-strict-aliasing -fwrapv -fexcess-precision=standard 
> -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security 
> -fno-omit-frame-pointer -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -I. -I./ 
> -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  
> -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
> pg_filedump.o pg_filedump.c
> pg_filedump.c: In function ‘FormatItem’:
> pg_filedump.c:1247:32: error: ‘SGLTHDRSZ’ undeclared (first use in this 
> function)
>  1247 |                 if (numBytes < SGLTHDRSZ)
>       |                                ^~~~~~~~~
> pg_filedump.c:1247:32: note: each undeclared identifier is reported only once 
> for each function it appears in
> In file included from /usr/include/postgresql/14/server/c.h:1362,
>                  from /usr/include/postgresql/14/server/postgres.h:46,
>                  from pg_filedump.h:28,
>                  from pg_filedump.c:25:
> pg_filedump.c:1261:40: error: ‘struct SpGistLeafTupleData’ has no member 
> named ‘nextOffset’
>  1261 |                                    itup->nextOffset,
>       |                                        ^~
> /usr/include/postgresql/14/server/port.h:222:43: note: in definition of macro 
> ‘printf’
>   222 | #define printf(...)             pg_printf(__VA_ARGS__)
>       |                                           ^~~~~~~~~~~
> pg_filedump.c: In function ‘FormatSpecial’:
> pg_filedump.c:1477:56: error: ‘BTPageOpaqueData’ has no member named ‘btpo’
>  1477 |                                            btreeSection->btpo.level,
>       |                                                        ^~
> /usr/include/postgresql/14/server/port.h:222:43: note: in definition of macro 
> ‘printf’
>   222 | #define printf(...)             pg_printf(__VA_ARGS__)
>       |                                           ^~~~~~~~~~~
> make[2]: *** [<builtin>: pg_filedump.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/postgresql-filedump_13.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to