Bug 276511

Summary: benchmarks/hpl: "USES+=pkgconfig" missing dependency
Product: Ports & Packages Reporter: Peter Much <pmc>
Component: Individual Port(s)Assignee: Oliver Lehmann <oliver>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (oliver)
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description Peter Much 2024-01-21 23:14:44 UTC
Build of benchmarks/hpl shows these errors:

--- HPL_dlange.o ---
sh: pkgconf: not found
--- HPL_dlamch.o ---
sh: pkgconf: not found
--- HPL_dlacpy.o ---
In file included from ../HPL_dlacpy.c:50:
In file included from /usr/ports/benchmarks/hpl/work/hpl-2.3/include/hpl.h:80:
/usr/ports/benchmarks/hpl/work/hpl-2.3/include/hpl_pmisc.h:54:10: fatal error: 'mpi.h' file not found
   54 | #include "mpi.h"
      |          ^~~~~~~


Adding pkgconfig to USES= solves the issue.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-26 19:17:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e761e265e23ca0ea1a47d66d22a5321cba175c0

commit 7e761e265e23ca0ea1a47d66d22a5321cba175c0
Author:     Oliver Lehmann <oliver@FreeBSD.org>
AuthorDate: 2024-01-26 19:10:32 +0000
Commit:     Oliver Lehmann <oliver@FreeBSD.org>
CommitDate: 2024-01-26 19:16:22 +0000

    benchmarks/hpl: fix build by adding missing pkgconf

    PR:             276511

 benchmarks/hpl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Oliver Lehmann freebsd_committer freebsd_triage 2024-01-26 20:38:47 UTC
fixed - thanks for reporting it!