Re: Build failure on FreeBSD ports: “Makefile :88: *** missing separator. Stop.”
Norbert Grundmann <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
Hello...
maybe it is related to the fact that Linux uses gnu make - called as
"make". But FreeBSD distinguishes between "make" and "gmake"?
All the best, Norbert
On 12/9/25 08:19, Saii Varun M R wrote:
>
> Hi team,
>
> I’m trying to build the*wazuh-agent FreeBSD port*using the FreeBSD
> ports tree bundled inside the Wazuh source code.
>
> I executed the following command:
>
> |make
> V=1-C./wazuh/build/temp/freebsd-ports-release-13.0.0/security/wazuh-agent
> package|
>
> However, the build fails with the following error:
>
> |Makefile:88: *** missing separator. Stop. *Makefile content: *
> |WAZUHPREFIX= /var/ossec
>
> .include <bsd.port.pre.mk> <<----- line 88
>
> post-extract:
> .for FILE in ${EXTERNAL_DISTFILES}
> @cd ${WRKSRC}/src/external && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS}
> ${_DISTDIR}/${FILE:S/:wazuh_sources//} ${EXTRACT_AFTER_ARGS}
> .endfor
>
> Additional context:
>
> *
>
> I am performing this build on a*Linux x86_64 (AMD64) machine*, not
> on a FreeBSD host.
>
> *
>
> I’m using
> the|freebsd-ports-release-13.0.0/security/wazuh-agent|directory
> generated during the Wazuh build process.
>
> *
>
> My goal is to produce a FreeBSD package (|.pkg|) for the wazuh-agent.
>
>
> I didnt change the Makefile, can anyone help me on this??
>
> Thanks
> Saii Varun M R
>
>
--
Norbert Grundmann
I love penguins at the south pole,
windows in my house and apples on my tree,
but not in my computer