Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919096 - >=dev-db/postgresql-16[kerberos] fails to build with app-crypt/heimdal-7.8.0
Summary: >=dev-db/postgresql-16[kerberos] fails to build with app-crypt/heimdal-7.8.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-03 03:19 UTC by Rafał Mużyło
Modified: 2024-01-16 08:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2023-12-03 03:19:39 UTC
heimdal has gss_store_cred_into implementation in the git (commits from the start of January 2019).

However, this hasn't been released yet.

This makes >=postgresql-16[kerberos] fail in configure phase.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-03 03:21:42 UTC
The title is kind of interesting because it implies it fails with a newer version, but we're in the unusual situation here of something needing an API which is in no released version.

I wonder why they've done that. Does app-crypt/mit-krb5 provide the needed API? I assume it must do.
Comment 2 Rafał Mużyło 2023-12-03 05:40:35 UTC
Can't read their minds.

Yet, the closed merge request (https://github.com/heimdal/heimdal/issues/451) references the (now implemented) proposal in MIT implementation.

Given that it's close to 5 years old, it's likely this falls under bad release cycle choices on the part of heimdal team - given that they did have an implementation shortly afterwards and postgresql team likely just decided 5 years should be enough.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-16 08:22:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca835d2b722f3612180172ff8f8675fad19b017

commit 9ca835d2b722f3612180172ff8f8675fad19b017
Author:     Patrick Lauer <patrick@gentoo.org>
AuthorDate: 2024-01-16 08:19:18 +0000
Commit:     Patrick Lauer <patrick@gentoo.org>
CommitDate: 2024-01-16 08:22:05 +0000

    dev-db/postgresql: Fix kerberos support for >=16
    
    According to upstream heimdal is actively not supported anymore.
    
    Switch from virtual/krb5 to app-crypt/mit-krb5
    
    Closes: https://bugs.gentoo.org/919096
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

 dev-db/postgresql/postgresql-16.0.ebuild | 2 +-
 dev-db/postgresql/postgresql-16.1.ebuild | 2 +-
 dev-db/postgresql/postgresql-9999.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)