+++ This bug was initially created as a clone of Bug #257662 +++ Neel (sysutils/gnome-control-center), Timur (net/samba412), as of Git 35b99cbcd7b1b3ec5d8ab3995efb6dc52cc2246e: and on a system where krb5 is installed: $ make -C /usr/ports/sysutils/gnome-control-center DEVELOPER=yes ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/gnome-control-center is linked to /usr/local/lib/samba4/libsmbclient.so.0 which does not have a SONAME. net/samba412 needs to be fixed. Error: /usr/local/bin/gnome-control-center is linked to /usr/local/lib/libkrb5.so.3.3 from security/krb5 but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libkrb5.so:security/krb5 Without krb5 installed: ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/gnome-control-center is linked to /usr/local/lib/samba4/libsmbclient.so.0 which does not have a SONAME. net/samba412 needs to be fixed. => 1. Neel, Gnome@, please see to it that Kerberos is not auto-configured, or if it is, that it is consistent. See 5.9.12 and 5.13.2 of the porter's handbook https://docs.freebsd.org/en/books/porters-handbook/book/ => 2. Timur, can you fix Samba so that libsmbclient.so.0 provides an ELF SONAME? Thanks.
(In reply to Matthias Andree from comment #0) gnome-control-center always requires MIT Kerberos to build. It isn't an optional dependency from the upstream's point of view. However, FreeBSD base ships Heimdal Kerberos, and pulling in MIT Kerberos from ports may cause other ports to automatically pick up MIT Kerberos and introduce conflicts. Therefore, gnome-control-center port patches out function calls which are not supported by Heimdal Kerberos to make it possible to compile with Heimdal Kerberos. It is likely that this is the wrong way to solve the problem, but it seems to be fine if you don't use Kerberos.