Bug 254946 - devel/rubygem-ffi-yajl needs devel/rubygem-libyajl2 for build
Summary: devel/rubygem-ffi-yajl needs devel/rubygem-libyajl2 for build
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-10 14:02 UTC by hakan
Modified: 2022-02-25 10:54 UTC (History)
2 users (show)

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


Attachments
add BUILD_DEPENDS= rubygem-libyajl2>=1.2:devel/rubygem-libyajl2 (493 bytes, patch)
2022-02-25 10:54 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

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