Bug 276511 - benchmarks/hpl: "USES+=pkgconfig" missing dependency
Summary: benchmarks/hpl: "USES+=pkgconfig" missing dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 23:14 UTC by Peter Much
Modified: 2024-01-26 20:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (oliver)


Attachments

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