Bug 258485

Summary: math/gnumeric: add harfbuzz dependency; fix pkg-plist issues with PERL=off
Product: Ports & Packages Reporter: Philipp Ost <bsd>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (gnome)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
math/gnumeric: add harfbuzz dependency, fix pkg-plist issues
none
poudriere logfile none

Description Philipp Ost 2021-09-13 20:48:47 UTC
Created attachment 227883 [details]
math/gnumeric: add harfbuzz dependency, fix pkg-plist issues

gnumeric fails to build in poudriere due to the following:

[...]
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/gnumeric-1.12.50 is linked to /usr/local/lib/libharfbuzz.so.0 from print/harfbuzz but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libharfbuzz.so:print/harfbuzz
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/gnumeric/%%VERSION%%/plugins/perl-func/perl_func.pl
Error: Missing: lib/gnumeric/%%VERSION%%/plugins/perl-func/plugin.xml
Error: Missing: lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.so
Error: Missing: lib/gnumeric/%%VERSION%%/plugins/perl-loader/plugin.xml
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/gnumeric
=>> Error: check-plist failures detected
build of math/gnumeric | gnumeric-1.12.50 ended at Mon Sep 13 19:56:16 CEST 2021
build time: 00:08:41
!!! build failure encountered !!!


The attached patch adds the missing harfbuzz library dependency and fixes the pkg-plist issues.

poudriere testport (12.2-Release-p10 amd64 jail) succeeds with these changes. The port now also installs without problems if compiled locally.
Comment 1 Philipp Ost 2021-09-13 20:52:00 UTC
Created attachment 227884 [details]
poudriere logfile