Bug 273834 - Cannot build editors/libreoffice 7.5.5.2_3
Summary: Cannot build editors/libreoffice 7.5.5.2_3
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-15 22:08 UTC by web
Modified: 2023-09-16 15:03 UTC (History)
4 users (show)

See Also:
linimon: maintainer-feedback? (office)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.