Bug 254946 - devel/rubygem-ffi-yajl needs devel/rubygem-libyajl2 for build
Summary: devel/rubygem-ffi-yajl needs devel/rubygem-libyajl2 for build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-10 14:02 UTC by hakan
Modified: 2024-09-16 17:55 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.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-09-16 00:41:27 UTC
Maintainer timeout > 3 years.
I'll commit my patch tomorrow.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-09-16 17:55:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b8e6c4e7a2c1bf86ea89d89ec863737a5ab64c8

commit 3b8e6c4e7a2c1bf86ea89d89ec863737a5ab64c8
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-09-16 17:42:33 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-09-16 17:49:55 +0000

    devel/rubygem-ffi-yajl: Add devel/rubygem-libyajl2 to BUILD_DEPENDS

    While here replace PORTVERSION with DISTVERSION

    PR:             254946
    Approved by:    renchap@cocoa-x.com (maintainer, timeout > 3 years)

 devel/rubygem-ffi-yajl/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)