Bug 257663 - sysutils/gnome-control-center: 40.0 stage-qa issues
Summary: sysutils/gnome-control-center: 40.0 stage-qa issues
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords: needs-qa
Depends on: 257662
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-06 16:55 UTC by Matthias Andree
Modified: 2022-04-02 09:08 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2021-08-06 16:55:55 UTC
+++ 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.
Comment 1 Ting-Wei Lan 2021-08-22 18:41:17 UTC
(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.