Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2024 18:27:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278237] textproc/opensearch fails to package with PLUGINS=off
Message-ID:  <bug-278237-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278237

            Bug ID: 278237
           Summary: textproc/opensearch fails to package with PLUGINS=3Doff
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: opensearch@FreeBSD.org
          Reporter: martin@waschbuesch.de
             Flags: maintainer-feedback?(opensearch@FreeBSD.org)
          Assignee: opensearch@FreeBSD.org

Just like in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269909
opensearch once again fails to build when disabling plugins:

=3D=3D=3D>   Building opensearch-2.11.1
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/etc/opensearch/=
opensearch-notifications-core/:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/etc/opensearch/=
opensearch-notifications/:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/etc/opensearch/=
opensearch-observability/:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/etc/opensearch/=
opensearch-performance-analyzer/:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/etc/opensearch/=
opensearch-reports-scheduler/:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/opensearch/work/stage/usr/local/etc/opensearch/=
opensearch-security/:No
such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/opensearch


At a first glance, in the Makefile

        ${ECHO} "@dir(opensearch,opensearch,0750)
${ETCDIR}/opensearch-notifications-core" >> ${TMPPLIST}
        ${ECHO} "@dir(opensearch,opensearch,0750)
${ETCDIR}/opensearch-notifications" >> ${TMPPLIST}
        ${ECHO} "@dir(opensearch,opensearch,0750)
${ETCDIR}/opensearch-observability" >> ${TMPPLIST}
        ${ECHO} "@dir(opensearch,opensearch,0750)
${ETCDIR}/opensearch-performance-analyzer" >> ${TMPPLIST}
        ${ECHO} "@dir(opensearch,opensearch,0750)
${ETCDIR}/opensearch-reports-scheduler" >> ${TMPPLIST}
        ${ECHO} "@dir(opensearch,opensearch,0750)
${ETCDIR}/opensearch-security" >> ${TMPPLIST}

should all be inside a check for the PLUGINS option

.if ${PORT_OPTIONS:MPLUGINS}
.endif

as these seem to be individual subdirs for the config of the plugins?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278237-7788>