Bug 254946

Summary: devel/rubygem-ffi-yajl needs devel/rubygem-libyajl2 for build
Product: Ports & Packages Reporter: hakan
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: renchap, vvd
Priority: --- Flags: bugzilla: maintainer-feedback? (renchap)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
add BUILD_DEPENDS= rubygem-libyajl2>=1.2:devel/rubygem-libyajl2 vvd: maintainer-approval?

Description hakan 2021-04-10 14:02:06 UTC
Hi,

I got stuck at this while updating to the latest www/gitlab-ce version.
Using portmaster, this port failed to build with "failed to build gem native extension" because it looked for libyajl2.
It is already present as a runtime dependency, but for portmaster, it seems to be needed as a build dependency as well. Manually installing devel/rubygem-libyajl2  solved the issue for now.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2022-02-25 10:54:49 UTC
Created attachment 232101 [details]
add BUILD_DEPENDS= rubygem-libyajl2>=1.2:devel/rubygem-libyajl2

Same here during clean install from ports on live system 13.0.
Attached patch fixed the issue.