Package: src:pg-bsd-indent
Version: 2.1.1-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
args.o args.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
err.o err.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
indent.o indent.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
io.o io.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
lexi.o lexi.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
parse.o parse.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer -I. -I./ 
-I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o 
pr_comment.o pr_comment.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o args.bc args.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o err.bc err.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o indent.bc indent.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o io.bc io.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o lexi.bc lexi.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o parse.bc parse.c
/usr/bin/clang-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Xclang -no-opaque-pointers 
-Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. 
-I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal  
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  
-flto=thin -emit-llvm -c -o pr_comment.bc pr_comment.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 
-Wcast-function-type -Wshadow=compatible-local -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation 
-Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fno-omit-frame-pointer args.o err.o 
indent.o io.o lexi.o parse.o pr_comment.o   -L/usr/lib/x86_64-linux-gnu 
-Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-16/lib  -Wl,--as-needed   
-L/usr/lib/x86_64-linux-gnu -lpq  -o pg_bsd_indent
/usr/bin/ld: indent.o: in function `bakcopy':
/<<PKGBUILDDIR>>/indent.c:1220:(.text.startup+0xc07): undefined reference to 
`pg_sprintf'
/usr/bin/ld: indent.o: in function `main':
/<<PKGBUILDDIR>>/indent.c:469:(.text.startup+0x2c48): undefined reference to 
`pg_printf'
/usr/bin/ld: /<<PKGBUILDDIR>>/indent.c:471:(.text.startup+0x2c75): undefined 
reference to `pg_printf'
/usr/bin/ld: args.o: in function `add_typedefs_from_file':
/<<PKGBUILDDIR>>/args.c:345:(.text+0x109): undefined reference to `pg_fprintf'
/usr/bin/ld: args.o: in function `set_option':
/<<PKGBUILDDIR>>/args.c:310:(.text+0x230): undefined reference to `pg_printf'
/usr/bin/ld: args.o: in function `scan_profile':
/<<PKGBUILDDIR>>/args.c:228:(.text+0x4dd): undefined reference to `pg_printf'
/usr/bin/ld: args.o: in function `set_profile':
/<<PKGBUILDDIR>>/args.c:189:(.text+0x560): undefined reference to `pg_snprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/args.c:187:(.text+0x61f): undefined reference to 
`pg_snprintf'
/usr/bin/ld: err.o: in function `err':
/<<PKGBUILDDIR>>/err.c:49:(.text+0xbe): undefined reference to `pg_vfprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/err.c:50:(.text+0xd3): undefined reference to 
`pg_fprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/err.c:52:(.text+0xdb): undefined reference to 
`pg_strerror'
/usr/bin/ld: /<<PKGBUILDDIR>>/err.c:52:(.text+0xf3): undefined reference to 
`pg_fprintf'
/usr/bin/ld: err.o: in function `errx':
/<<PKGBUILDDIR>>/err.c:63:(.text+0x1a8): undefined reference to `pg_vfprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/err.c:64:(.text+0x1bd): undefined reference to 
`pg_fprintf'
/usr/bin/ld: io.o: in function `dump_line':
/<<PKGBUILDDIR>>/io.c:133:(.text+0x6e0): undefined reference to `pg_fprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/io.c:159:(.text+0x811): undefined reference to 
`pg_fprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/io.c:130:(.text+0xaa8): undefined reference to 
`pg_fprintf'
/usr/bin/ld: /<<PKGBUILDDIR>>/io.c:146:(.text+0xb2c): undefined reference to 
`pg_fprintf'
/usr/bin/ld: io.o:/<<PKGBUILDDIR>>/io.c:115: more undefined references to 
`pg_fprintf' follow
/usr/bin/ld: pr_comment.o: in function `pr_comment':
/<<PKGBUILDDIR>>/pr_comment.c:234:(.text+0xd83): undefined reference to 
`pg_printf'
collect2: error: ld returned 1 exit status
make[1]: *** [/usr/lib/postgresql/17/lib/pgxs/src/makefiles/pgxs.mk:478: 
pg_bsd_indent] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to