[Bug 279910] database/postgresql16-server: GSSAPI dumps core

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Oct 2024 03:22:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279910

Cullum Smith <cullum@sacredheartsc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cullum@sacredheartsc.com

--- Comment #2 from Cullum Smith <cullum@sacredheartsc.com> ---
Created attachment 254242
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254242&action=edit
Use standard gssapi.mk variables for databases/postgresql16-server

I am surprised you were able to compile postgresql16-server using the MIT
GSSAPI option. This was impossible for me due to Bug 276030.

It segfaulted because (according to your backtrace) postgres was somehow linked
against both the ancient Heimdal krb5 in base (/usr/lib/libgssapi.so.10 and
/usr/lib/libkrb5.so.11) and the MIT krb5 from ports
(/usr/local/lib/libkrb5.so.3.3).

The two are incompatible and will result in runtime crashes when used together.

This is probably a duplicate of Bug 225801.

I'm using the attached patch to build postgresql16-server with MIT kerberos
until this gets resolved.

-- 
You are receiving this mail because:
You are the assignee for the bug.