pkgsrc-Users archive

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

security/mit-krb5 breaks other kerberos-using packages



As noted here:

  http://mail-index.NetBSD.org/pkgsrc-users/2016/09/21/msg023779.html

"net/wireshark" v2.2.0 in pkgsrc-HEAD (soon to be pkgsrc-2016Q3) requires
"security/mit-krb5" and installs it as a dependency.

Once installed, other kerberos-using packages break when their "./configure"
script picks up "/usr/pkg/bin/krb5-config" and subsequently fail to
link.

Example from "print/cups":

[...]
ld: cannot find -lgssapi_krb5
ld: cannot find -lk5crypto
Makefile:232: recipe for target 'ippserver' failed
gmake[1]: *** [ippserver] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Makefile:31: recipe for target 'all' failed
gmake: *** [all] Error 1
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/print/cups
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/print/cups


Fortunately, "print/cups" can have kerberos support disabled to work
around the problem.  Others, such as "chat/loudmouth" do not currently
have an explicit dependency on kerberos and thus fail similarly.  One
must explicitly include "../../security/mit-krb5/buildlink3.mk" to get
"loudmouth" to build on a system with "mit-krb5" installed.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index