tech-pkg archive

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

Re: ghostscript-agpl build failure on Linux





Am 13.04.25 um 20:02 schrieb Taylor R Campbell:
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?

mit-krb5 comes from libcups, according to "bmake show-buildlink3".

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:

Yes, I have "dbus dnssd kerberos" options on libcups.

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).

Is there an easy trick for (b)? Otherwise, I will go with (a).

--
Benny

PS: Thank you so much for the quick reply! This was super helpful :)


Home | Main Index | Thread Index | Old Index