Summary: | benchmarks/fio: libnfs dependency broken and port out of date | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dani I. <i.dani> | ||||
Component: | Individual Port(s) | Assignee: | Kirill Ponomarev <krion> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | diizzy, krion | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(krion) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Dani I.
2023-03-29 09:04:36 UTC
Please include information so its easy to reproduce, Version of FreeBSD and arch Version of ports tree (master branch or quarterly) Using ports, poudriere, something else? Works on my end on 13.2-RC5 (amd64) using ports (master branch, a few days old) (In reply to Daniel Engberg from comment #1) Sure, sorry: - FBSD 12.4, amd64 - Master, updated daily - Build with poudriere - libnfs-5.0.2 from ports: ===> Returning to build of fio-3.33 =========================================================================== =======================<phase: lib-depends >============================ ===> fio-3.33 depends on shared library: libnfs.so - not found ===> Installing existing package /packages/All/libnfs-5.0.2.pkg [fb124-master-job-01] Installing libnfs-5.0.2... [fb124-master-job-01] Extracting libnfs-5.0.2: .......... done ===> fio-3.33 depends on shared library: libnfs.so - found (/usr/local/lib/libnfs.so) ===> Returning to build of fio-3.33 Any update? Created attachment 241611 [details]
Fix broken libnfs build
I digged a bit more into it and found out, that fio uses pkg-config to check if libnfs is available.
root@fb124-master:/wrkdirs/usr/ports/benchmarks/fio/work/fio-3.34 # pkg-config --cflags libnfs
pkg-config: Command not found.
But due to the missing pkgconfig entry, that didn't work. After adjusting the USES param everything builds fine.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2513bd3092631b5c4d3db7bec8ac9f3b6543b07e commit 2513bd3092631b5c4d3db7bec8ac9f3b6543b07e Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2023-04-20 11:28:37 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2023-04-20 11:28:37 +0000 benchmarks/fio: Fix build with libnfs PR: 270518 Reported by: i.dani@outlook.com benchmarks/fio/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) |