Bug 280976

Summary: devel/pipelight: add USES localbase
Product: Ports & Packages Reporter: Yonas Yanfa <yonas.yanfa>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ashish)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yonas Yanfa 2024-08-21 12:30:54 UTC
Fails to compile for me without adding USES localbase
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2024-08-21 13:36:56 UTC
Hi –

Thanks for the report. Could you please mention which platform it's failing to build on, and share the build log ?

Thanks!
Comment 2 Yonas Yanfa 2024-08-21 19:58:05 UTC
Hi Ashish, it fails on FreeBSD 14.1 amd64:

  cargo:warning=libgit2/src/libgit2/transports/ssh_libssh2.c:12:10: fatal error: 'libssh2.h' file not found
  cargo:warning=   12 | #include <libssh2.h>
  cargo:warning=      |          ^~~~~~~~~~~
Comment 3 Yonas Yanfa 2024-08-21 20:03:11 UTC
A longer copy of the log can be found here:

https://pastebin.mozilla.org/CJXc2gBC
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-08-22 09:48:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b976d7094fad34859061bf5c7cf8f0eda086466

commit 1b976d7094fad34859061bf5c7cf8f0eda086466
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2024-08-22 09:38:01 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-08-22 09:46:21 +0000

    devel/pipelight: Unbreak

    - add missing USES=localbase

    PR:             280976
    Reported by:    Yonas Yanfa <yonas dot yanfa at gmail dot com>

 devel/pipelight/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2024-08-23 04:50:32 UTC
Fixed. It didn't happen in my testing because I was building with ssl=openssl32 so those flags were already present in the environment.

Thanks for the report.