Closed gabrielmocan closed 4 months ago
Logs below:
#21 500.5 postgres_stats.c: In function 'get_pg_stat_activity': #21 500.5 postgres_stats.c:1046:44: warning: implicit declaration of function 'pgstat_fetch_stat_beentry'; did you mean 'pgstat_fetch_stat_dbentry'? [-Wimplicit-function-declaration] #21 500.5 1046 | PgBackendStatus *beentry = pgstat_fetch_stat_beentry(i); #21 500.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~ #21 500.5 | pgstat_fetch_stat_dbentry #21 500.5 postgres_stats.c:1046:44: warning: initialization of 'PgBackendStatus *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #21 500.5 /usr/bin/clang-15 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -DUIFILE='"/usr/share/postgresql/16/contrib/bg_mon.html"' -DHAS_LIBBROTLI -I. -I./ -I/usr/include/postgresql/16/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 net_stats.bc net_stats.c #21 500.5 /usr/bin/clang-15 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -DUIFILE='"/usr/share/postgresql/16/contrib/bg_mon.html"' -DHAS_LIBBROTLI -I. -I./ -I/usr/include/postgresql/16/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 postgres_stats.bc postgres_stats.c #21 500.7 /usr/bin/clang-15 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -DUIFILE='"/usr/share/postgresql/16/contrib/bg_mon.html"' -DHAS_LIBBROTLI -I. -I./ -I/usr/include/postgresql/16/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 safety_funcs.bc safety_funcs.c #21 500.8 /usr/bin/clang-15 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -DUIFILE='"/usr/share/postgresql/16/contrib/bg_mon.html"' -DHAS_LIBBROTLI -I. -I./ -I/usr/include/postgresql/16/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 system_stats.bc system_stats.c #21 500.8 /bin/mkdir -p '/usr/lib/postgresql/16/lib' #21 500.8 /bin/mkdir -p '/usr/share/postgresql/16/contrib' #21 500.9 postgres_stats.c:1046:30: warning: call to undeclared function 'pgstat_fetch_stat_beentry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] #21 500.9 PgBackendStatus *beentry = pgstat_fetch_stat_beentry(i); #21 500.9 ^ #21 500.9 postgres_stats.c:1046:20: error: incompatible integer to pointer conversion initializing 'PgBackendStatus *' (aka 'struct PgBackendStatus *') with an expression of type 'int' [-Wint-conversion] #21 500.9 PgBackendStatus *beentry = pgstat_fetch_stat_beentry(i); #21 500.9 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #21 500.9 1 warning and 1 error generated. #21 500.9 make[1]: *** [/usr/lib/postgresql/16/lib/pgxs/src/makefiles/../../src/Makefile.global:1093: postgres_stats.bc] Error 1 #21 500.9 make[1]: *** Waiting for unfinished jobs.... #21 501.1 make[1]: Leaving directory '/builddeps/bg_mon-a0e7c93458ee7d96b0c95d9a0a4c5bc7a72ff5f4' #21 501.1 make: *** [/usr/lib/postgresql/16/lib/pgxs/src/makefiles/../../src/Makefile.global:868: install-strip] Error 2 #21 501.1 make: Leaving directory '/builddeps/bg_mon-a0e7c93458ee7d96b0c95d9a0a4c5bc7a72ff5f4' ------ executor failed running [/bin/sh -c bash base.sh]: exit code: 2
Spilo version that supports PG16 is currently located in dev-16 branch
@hughcapet sorry, I was confused by #971 where it says Also brings the full PostgreSQL 16 support.
Also brings the full PostgreSQL 16 support
Logs below: