exim-postgres package broken
At some point recently - i think between exi 4.87-r1 (i think) and 4.88-r0 the postgresql subpkg broke — it won’t load
Steps to reproduce:
$ echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' | sudo tee -a /etc/apk/repositories
$ sudo apk add -U exim@testing exim-postgresql@testing
$ exim -bV 2>&1 >/dev/null | grep pgsql.so
Output:
Error loading pgsql.so: Error relocating /usr/lib/exim//pgsql.so: PQresultErrorMessage: symbol not found
2017-01-31 00:11:09 Error loading lookup module pgsql.so: NULL
I can’t find a way of getting at historic package files so I can’t check for certain if .87-r1 worked or not.
(from redmine: issue id 6775, created on 2017-01-31, closed on 2017-04-07)
- Changesets:
- Revision a480d71e on 2017-02-01T17:58:45Z:
testing/exim: Fix linking error on loadable modules/subpackages
Something about the gcc invocation was causing it to not link libpq or
libmysql so the exim-postgresql and exim-mysql packages were unusable at
runtime.
linux-headers build-time deb didn't seem to cause any problems, but it
issued a warning about linux/ip.h not found, and we can fix that easily
enough so we should.
Fixes #6775