Bug 269909 - textproc/opensearch fails to package with PLUGINS=off
Summary: textproc/opensearch fails to package with PLUGINS=off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: opensearch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-02 08:20 UTC by Ivan
Modified: 2023-03-30 14:11 UTC (History)
2 users (show)

See Also:
admin: maintainer-feedback+


Attachments
build port without Plugins; patch Makefile (621 bytes, patch)
2023-03-06 19:27 UTC, Sven Ruediger
admin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2023-03-02 08:20:23 UTC
I've tried to build opensearch without plugins, however build fails in package phase with

===>  Building package for opensearch-2.4.0
pkg-static: Unable to access file /wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/lib/opensearch/plugins/:No such file or directory
*** Error code 1
Comment 1 Sven Ruediger 2023-03-06 19:27:00 UTC
Created attachment 240623 [details]
build port without Plugins; patch Makefile

Thanks for the report. A patch for building the port without Plugins is attached.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-03-30 14:10:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36337ab152ea647b2852991cf40533c14a111f84

commit 36337ab152ea647b2852991cf40533c14a111f84
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-03-30 14:03:33 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-03-30 14:10:02 +0000

    textproc/opensearch-*: Update to 2.4.1

    - Fix issues when it is packaged with PLUGINS=off [1]
    PR:             269909
    Reported by:    bsd  at_ abinet.ru [1]
    With hat:       opensearch

 textproc/opensearch-dashboards/Makefile | 2 +-
 textproc/opensearch-dashboards/distinfo | 6 +++---
 textproc/opensearch/Makefile            | 4 +++-
 textproc/opensearch/distinfo            | 6 +++---
 4 files changed, 10 insertions(+), 8 deletions(-)
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2023-03-30 14:11:30 UTC
Committed thanks!! Thanks for your report