Bug#840071: calligra FTBFS, failure to find postgresql.
package: calligra
serverity: serious
version: 1:2.9.11+dfsg-2
Calligra FTBFS because it fails to find postgresql resulting in missing
files.
I first saw this in when doing a build for raspbian stretch, but it can
also be seen in the Debian reproducable builds tests and in the
autobuild results for minor debian architectures. For example from the
mips64el build log.
-- Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found version "9.6.0")
<--snip-->
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
<--snip-->
* libpq<http://www.postgresql.org>
C application programmer's interface to PostgreSQL
Required by Kexi PostgreSQL driver
<--snip>
dh_install --list-missing
dh_install: Cannot find (any matches for) "usr/lib/kde4/kexidb_pqxxsqldriver.so" (tried in "." and "debian/tmp")
dh_install: kexi-postgresql-driver missing files: usr/lib/kde4/kexidb_pqxxsqldriver.so
dh_install: Cannot find (any matches for) "usr/lib/kde4/keximigrate_pqxx.so" (tried in "." and "debian/tmp")
dh_install: kexi-postgresql-driver missing files: usr/lib/kde4/keximigrate_pqxx.so
dh_install: Cannot find (any matches for) "usr/share/kde4/services/calligra/kexidb_pqxxsqldriver.desktop" (tried in "." and "debian/tmp")
dh_install: kexi-postgresql-driver missing files: usr/share/kde4/services/calligra/kexidb_pqxxsqldriver.desktop
dh_install: Cannot find (any matches for) "usr/share/kde4/services/calligra/keximigrate_pqxx.desktop" (tried in "." and "debian/tmp")
dh_install: kexi-postgresql-driver missing files: usr/share/kde4/services/calligra/keximigrate_pqxx.desktop
I belive this was triggered by the removal of postgresql 9.5 from the
list of supported postgresql versions. I belive the fix is to add 9.6 to
the list of known postgresql versions in FindCalligraPostgreSQL.cmake ,
testing (in raspbian) now.
Reply to: