Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2022 17:18:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 264575] databases/evolution-data-server: WITH_KRB5=/usr ignored if security/krb5 is installed
Message-ID:  <bug-264575-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264575

            Bug ID: 264575
           Summary: databases/evolution-data-server: WITH_KRB5=3D/usr
                    ignored if security/krb5 is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: cy@FreeBSD.org, gnome@FreeBSD.org
                CC: cy@FreeBSD.org, gnome@FreeBSD.org

If security/krb5 is installed, evolution-data-server's configure & build st=
ages
will find and use the kerberos package in /usr/local instead of the one in
/usr.

It seems to build okay, but it reflects a hidden/untracked dependency.  All=
 the
.so files are linked with kerberos libraries in /usr/local/lib.  If the krb5
package is subsequently removed, this will break evolution-data-server due =
to
the missing libraries.

I don't have a test to check if there is a functional difference between the
base krb libs and the ports krb libs.  If anyone does, please mention it he=
re.

If there is no functional difference, then the resolution to the untracked
dependency problem is probably to investigate what cmake is doing (never
anyone's favorite task to dig into cmake), and figure out how to correctly =
get
it to link explicitly with the desired krb (base or ports).

Optionally, evolution-data-server could just be modified to depend on the
security/krb5 port (if the KERBEROS option is on).  If the base krb libs wo=
rk
just fine for evolution-data-server's needs, the extra dependency on the po=
rt
could be seen as just an unnecessary extra dependency (extends build/install
times and uses extra disk space - although the krb5 package is not a big ho=
g in
either regard, build time or space).

If base is built without krb, of course, then things will likely break at b=
uild
time (if no krb pkg is installed).  So it is an additional desirable update=
 to
support selecting krb from base or krb from ports as an enhancement to the
KERBEROS option.

I don't have a patch to resolve any of the above at this time.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264575-6497>