I have database/postgresql84-{client,server} installed, and have the following options set for mail/dovecot2: KQUEUE=on "kqueue(2) support" SSL=on "SSL support" GSSAPI=on "GSSAPI support" VPOPMAIL=off "vpopmail support" LDAP=off "OpenLDAP support" PGSQL=on "PostgreSQL support" MYSQL=off "MySQL support" SQLITE=on "SQLite support" When I try to build the port, it fails at configure-time with the following error: checking for pg_config... pg_config checking for PQconnectdb in -lpq... no configure: error: Can't build with PostgreSQL support: libpq not found It looks like there is a missing dependency. How-To-Repeat: Try to build mail/dovecot2 with PGSQL=on.
Responsible Changed From-To: freebsd-ports-bugs->rakuco Submitter has GNATS access (via the GNATS Auto Assign Tool)
Maintainer of mail/dovecot2, Please note that PR ports/162134 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162134 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Hi, Raphael. Builds fine here on 10-CURRENT with postgresql90-client, also as in 8.2 tinderbox with postgresql84-client. So it looks like you local problem. Have you tried to update your ports and rebuild postgresql84-client? http://happy-nation.by.ru/ports/tb/8.2/dovecot-2.0.15.log -- Regards, Ruslan Tinderboxing kills... the drives.
Ruslan Mahmatkhanov <cvs-src@yandex.ru> writes: > Hi, Raphael. > > Builds fine here on 10-CURRENT with postgresql90-client, also as in > 8.2 tinderbox with postgresql84-client. So it looks like you local > problem. Have you tried to update your ports and rebuild > postgresql84-client? > > http://happy-nation.by.ru/ports/tb/8.2/dovecot-2.0.15.log Hi there, Thanks for taking a look at this PR. Indeed, it does not seem to be dovecot's fault. Looking at config.log, I can see the following: configure:22904: cc -o conftest -std=gnu99 -O2 -pipe -march=core2 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib conftest.c -lpq -lrt -L/usr/local/lib >&5 /usr/local/lib/libpq.so: undefined reference to `gss_import_name' /usr/local/lib/libpq.so: undefined reference to `gss_release_name' /usr/local/lib/libpq.so: undefined reference to `gss_delete_sec_context' /usr/local/lib/libpq.so: undefined reference to `gss_display_status' /usr/local/lib/libpq.so: undefined reference to `gss_release_buffer' /usr/local/lib/libpq.so: undefined reference to `gss_init_sec_context' /usr/local/lib/libpq.so: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' It happens that I build postgresql84-{client,server} with GSSAPI=on, but libpq.so does not seem to depend on libgssapi.so (one needs to pass it to the linker manually). I'll file a PR against the postgresql ports.
State Changed From-To: feedback->closed This seems to be a problem with postgresql84 and GSSAPI=on.