tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ghostscript-agpl build failure on Linux



> Date: Sun, 13 Apr 2025 19:50:00 +0200
> From: Benny Siegert <bsiegert%gmail.com@localhost>
> 
> I am seeing a consistent failure when running "make replace" for 
> ghostscript-agpl on Fedora Linux:
> 
> [...]
> The following variables will affect the build process of this package,
> ghostscript-agpl-10.05.0.  Their current value is shown below:
> 
>          * JPEG_DEFAULT = jpeg
>          * KRB5_DEFAULT = mit-krb5
>          * PAPERSIZE = A4
> [...]
> ===> Creating toolchain wrappers for ghostscript-agpl-10.05.0
> ERROR: mit-krb5>=1.4 is not installed; can't buildlink files.
> *** Error code 1
> 
> Stop.
> bmake[1]: stopped making "replace" in 
> /home/bsiegert/pkgsrc/print/ghostscript-agpl
> *** Error code 1
> 
> ISTR that there was a Kerberos-related change recently. It's curious 
> that mit-krb5 does not appear as part of the dependencies.
> 
> Any ideas?

What does `bmake show-buildlink3' say?

The Kerberos dependency comes via print/libcups/buildlink3.mk, when
you have the `cups' option enabled for ghostscript-agpl and the
`kerberos' option enabled for libcups:

pkgbase := libcups
.include "../../mk/pkg-build-options.mk"

.if ${PKG_BUILD_OPTIONS.libcups:Mkerberos}
.include "../../mk/krb5.buildlink3.mk"
.endif

I would guess (not having investigated, so this has a decent chance of
being wrong) that the change of KRB5_DEFAULT might break incremental
updates of existing installations, so you probably either need to:

(a) put KRB5_DEFAULT=heimdal in mk.conf for incremental updates, or
(b) rebuild ~all your packages afresh (or at least, all those whose
    dependency chains involve any kerberos/gssapi anywhere).


Home | Main Index | Thread Index | Old Index