#1147950 postgres-decoderbufs: FTBFS in trixie

#1147950#5
Date:
2026-09-15 17:00:38 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in trixie, this package failed to build.

[ Note: The bug is marked as fixed with the version in forky/sid, but
  packages in trixie must still build in trixie ].

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:postgres-decoderbufs, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
2026-09-13 08:38:26.777 UTC [310] sbuild@contrib_regression ERROR:  replication slot "decoderbufs_demo" does not exist
2026-09-13 08:38:26.777 UTC [310] sbuild@contrib_regression STATEMENT:  select regexp_replace(data, '(txid|commit_time)\[\d+\]', '\1[***]', 'g') as data
	from pg_logical_slot_peek_changes('decoderbufs_demo', NULL, NULL, 'debug-mode', '1');
Dropping cluster 17/regress ...
**** regression.diffs ****
diff -U3 /<<PKGBUILDDIR>>/expected/decoderbufs.out /<<PKGBUILDDIR>>/results/decoderbufs.out
--- /<<PKGBUILDDIR>>/expected/decoderbufs.out	2026-09-13 08:38:22.000000000 +0000
+++ /<<PKGBUILDDIR>>/results/decoderbufs.out	2026-09-13 08:38:26.771579041 +0000
@@ -1,27 +1,8 @@
 select slot_name from pg_create_logical_replication_slot('decoderbufs_demo', 'decoderbufs');
-INFO:  Exiting startup callback
-    slot_name
-------------------
- decoderbufs_demo
-(1 row)
-
+ERROR:  library "decoderbufs" may not be used as an output plugin
+HINT:  If it is safe for all REPLICATION users to use this library as an output plugin, add it to "output_plugin_libraries" and reload the server configuration.
 create table foo (id int primary key, data text);
 insert into foo values (1, 'Important stuff');
 select regexp_replace(data, '(txid|commit_time)\[\d+\]', '\1[***]', 'g') as data
 from pg_logical_slot_peek_changes('decoderbufs_demo', NULL, NULL, 'debug-mode', '1');
-NOTICE:  Decoderbufs DEBUG MODE is ON.
-INFO:  Exiting startup callback
-                            data
-------------------------------------------------------------
- txid[***], commit_time[***], op[3]
- txid[***], commit_time[***], op[4]
- txid[***], commit_time[***], op[3]
- txid[***], commit_time[***], table[public.foo], op[0]     +
- NEW TUPLE:                                                +
- column_name[id], column_type[23], datum[1]                +
- column_name[data], column_type[25], datum[Important stuff]+
-                                                           +
-
- txid[***], commit_time[***], op[4]
-(5 rows)
-
+ERROR:  replication slot "decoderbufs_demo" does not exist
### End 17 installcheck (FAILED with exit code 1) ###
make[1]: *** [debian/rules:10: override_dh_pgxs_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------