Bug 273834

Summary: Cannot build editors/libreoffice 7.5.5.2_3
Product: Ports & Packages Reporter: web
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: grahamperrin, hrs, office, vvd
Priority: --- Flags: linimon: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   

Description web 2023-09-15 22:08:52 UTC
While attempting to update any of my ports that were out of date,
I tried to rebuild libreoffice.  The build failed with this error:
  
===>   libreoffice-7.5.5.2_3 depends on shared library: libxmlsec1-nss.so - not found
  
Later I learned that this file (libxmlsec1-nss.so) was part of security/xmlsec1 as
is indicated on the libreoffice Makefile on line 66.  I am able to build that port
(security/xmlsec1) without error, but it never installs libxmlsec1-nss.so or any
variant even though that file is listed in the pkg-plist of security/xmlsec1 (very
odd).

When I manually build security/xmlsec1 (make deinstall, then make reinstall) it
completes successfully (except does not install the libxmlsec1-nss.so file).
Then attempting to manally build editors/libreoffice (make install clean) it
fails because it tries to build (!) security/xmlsec1 and finds it already there
so it generates an error.

I am very confused.  Can anyone help steer me in the right direction?  Thanks!
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2023-09-15 22:39:08 UTC
Show "pkg info xmlsec1".
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2023-09-15 22:43:16 UTC
$ grep libxmlsec1-nss security/xmlsec1/pkg-plist
%%NSS%%lib/libxmlsec1-nss.so
%%NSS%%lib/libxmlsec1-nss.so.1
%%NSS%%lib/libxmlsec1-nss.so.%%DISTVERSION%%

libxmlsec1-nss.so builded with NSS option on only.
Probably you turned it off.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2023-09-16 15:03:30 UTC
The reason was to build the security/xmlsec1 without the NSS option.