Package: postgresql-autodoc
Version: 1.40-3
Severity: grave
Tags: upstream sid bullseye

Dear maintainer,

postgresql-autodoc, as currently packaged in Debian, doesn't work with
PostgreSQL 12, which is the current default version of PostgreSQL in testing and
sid (it works fine with PostgreSQL 11 which is shipped with buster).

The failure mode is the following (excuse my French):

$ postgresql_autodoc -d softwareheritage-dev -f autodoc/db-schema

DBD::Pg::st execute failed: ERREUR:  la colonne � adsrc � n'existe pas
LIGNE 40 :                 adsrc
                           ^ at /usr/bin/postgresql_autodoc line 687.
DBD::Pg::st fetchrow_hashref failed: no statement executing at 
/usr/bin/postgresql_autodoc line 689.
[...]
Use of uninitialized value in numeric comparison (<=>) at 
/usr/bin/postgresql_autodoc line 991.
[...]
Use of uninitialized value in numeric comparison (<=>) at 
/usr/bin/postgresql_autodoc line 1466.
[...]

This generates dot files with a lot of column missings.

Upstream seems to have picked up development on GitHub at
https://github.com/cbbrowne/autodoc. This repository shows a bunch of commits on
top of the current Debian version which should fix at least this bug.

Thank you,
Nicolas

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages postgresql-autodoc depends on:
ii  libdbd-pg-perl         3.14.2-1
ii  libhtml-template-perl  2.97-1
ii  libterm-readkey-perl   2.38-1+b1
ii  perl                   5.30.3-4

Versions of packages postgresql-autodoc recommends:
ii  dia                                 0.97.3+git20160930-9
ii  docbook-defguide [docbook-book]     2.0.17+svn9912-2
ii  firefox [www-browser]               80.0.1-1
ii  firefox-esr [www-browser]           78.2.0esr-1
ii  google-chrome-stable [www-browser]  85.0.4183.102-1
ii  graphviz                            2.42.2-4

postgresql-autodoc suggests no packages.

-- no debconf information

Reply via email to