From Newsgroup: muc.lists.freebsd.ports
This is a multi-part message in MIME format. --------------iT6lo7micg5Q4o2nQxjqyKDC
Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable
Hello...
maybe it is related to the fact that Linux uses gnu make - called as=20 "make".=C2=A0 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=E2=80=99m trying to =C2=A0build the*wazuh-agent FreeBSD port*using the=
FreeBSD=20
ports tree bundled inside the Wazuh source code.
I executed the following command:
|make=20 V=3D1-C./wazuh/build/temp/freebsd-ports-release-13.0.0/security/wazuh-ag=
ent=20
package|
However, the build fails with the following error:
|Makefile:88: *** missing separator. Stop. *Makefile content: *=20 |WAZUHPREFIX=3D /var/ossec
.include <bsd.port.pre.mk>=C2=A0 =C2=A0 <<-----=C2=A0 line 88
post-extract:
.for FILE in ${EXTERNAL_DISTFILES}
@cd ${WRKSRC}/src/external && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS}=20 ${_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=E2=80=99m 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
=2D-=20
Norbert Grundmann
I love penguins at the south pole,
windows in my house and apples on my tree,
but not in my computer
--------------iT6lo7micg5Q4o2nQxjqyKDC
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-=
</head>
<body>
<p>Hello...</p>
<p>maybe it is related to the fact that Linux uses gnu make - called
as "make".=C2=A0 But FreeBSD distinguishes between "make" and "gmake= "?</p>
<p>All the best, Norbert</p>
<div class=3D"moz-cite-prefix">On 12/9/25 08:19, Saii Varun M R wrote:=
</div>
<blockquote type=3D"cite" cite=3D"mid:
19b01fa8a0e.73ca2f025900.5364160451772561289@zohocorp.com">
<meta content=3D"text/html; charset=3DUTF-8" http-equiv=3D"Content-T= ype">
<div
style=3D"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10= pt;">
<p
style=3D"font-style: normal; font-variant-ligatures: normal; font-variant-= caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-a= lign: start; text-indent: 0px; text-transform: none; widows: 2; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decorat= ion-thickness: initial; text-decoration-style: initial; text-decoration-co= lor: initial;"><span
class=3D"highlight"
style=3D"background-color:rgb(255, 255, 255)"><span
class=3D"colour" style=3D"color:rgb(0, 0, 0)"><span
class=3D"font"
style=3D"font-family:Verdana, Arial, Helvetica, sans-serif"><span
class=3D"size"
style=3D"font-size: 13.3333px; font-style: normal; font-variant-ligatures:=
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norm=
al; orphans: 2; text-align: start; text-indent: 0px; text-transform: none;=
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space=
: normal; text-decoration-thickness: initial; text-decoration-style: initi=
al; text-decoration-color: initial;">Hi
team,<br>
</span></span></span></span></p>
<p
style=3D"font-style: normal; font-variant-ligatures: normal; font-variant-= caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-a= lign: start; text-indent: 0px; text-transform: none; widows: 2; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decorat= ion-thickness: initial; text-decoration-style: initial; text-decoration-co= lor: initial;"><span
class=3D"highlight"
style=3D"background-color:rgb(255, 255, 255)"><span
class=3D"colour" style=3D"color:rgb(0, 0, 0)"><span
class=3D"font"
style=3D"font-family:Verdana, Arial, Helvetica, sans-serif"><span
class=3D"size"
style=3D"font-size: 13.3333px; font-style: normal; font-variant-ligatures:=
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norm=
al; orphans: 2; text-align: start; text-indent: 0px; text-transform: none;=
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space=
: normal; text-decoration-thickness: initial; text-decoration-style: initi=
al; text-decoration-color: initial;">I=E2=80=99m
trying to =C2=A0build the<span>=C2=A0</span><b>wazuh-age=
nt
FreeBSD port</b><span>=C2=A0</span>using the FreeBSD
ports tree bundled inside the Wazuh source code.<br>
</span></span></span></span></p>
<p
style=3D"font-style: normal; font-variant-ligatures: normal; font-variant-= caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-a= lign: start; text-indent: 0px; text-transform: none; widows: 2; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decorat= ion-thickness: initial; text-decoration-style: initial; text-decoration-co= lor: initial;"><span
class=3D"highlight"
style=3D"background-color:rgb(255, 255, 255)"><span
class=3D"colour" style=3D"color:rgb(0, 0, 0)"><span
class=3D"font"
style=3D"font-family:Verdana, Arial, Helvetica, sans-serif"><span
class=3D"size"
style=3D"font-size: 13.3333px; font-style: normal; font-variant-ligatures:=
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norm=
al; orphans: 2; text-align: start; text-indent: 0px; text-transform: none;=
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space=
: normal; text-decoration-thickness: initial; text-decoration-style: initi=
al; text-decoration-color: initial;">I
executed the following command:<br>
</span></span></span></span></p>
<pre
style=3D"white-space: pre-wrap; color: rgb(0, 0, 0); font-size: 13.3333px;=
font-style: normal; font-variant-ligatures: normal; font-variant-caps: no= rmal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: st= art; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;=
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); tex= t-decoration-thickness: initial; text-decoration-style: initial; text-deco= ration-color: initial;"
class=3D"x_1519516151overflow-visible!"><div class=3D"x_1519516151contain-inline-size x_1519516151rounded-2xl x_1519516= 151corner-superellipse/1.1 x_1519516151relative x_1519516151bg-token-sideb= ar-surface-primary"><div
class=3D"x_1519516151sticky x_1519516151top-9"><div class=3D"x_1519516151absolute x_1519516151end-0 x_1519516151bottom-0 x_151= 9516151flex x_1519516151h-9 x_1519516151items-center x_1519516151pe-2"><di=
v
class=3D"x_1519516151bg-token-bg-elevated-secondary x_1519516151text-token= -text-secondary x_1519516151flex x_1519516151items-center x_1519516151gap-=
4 x_1519516151rounded-sm x_1519516151px-2 x_1519516151font-sans x_15195161= 51text-xs">
</div></div></div><div
class=3D"x_1519516151overflow-y-auto x_1519516151p-4" dir=3D"ltr">= <code
class=3D"x_1519516151whitespace-pre!"><span><span>make </span><spa= n><span
class=3D"x_1519516151hljs-type">V</span></span><span><span
class=3D"x_1519516151hljs-operator">=3D</span></span><span><span
class=3D"x_1519516151hljs-number">1</span></span><span> </span><sp= an><span
class=3D"x_1519516151hljs-operator">-</span></span><span><span
class=3D"x_1519516151hljs-type">C</span></span><span> .</span><spa= n><span
class=3D"x_1519516151hljs-regexp">/wazuh/</span></span><span>build= </span><span><span
class=3D"x_1519516151hljs-regexp">/temp/</span></span><span>freebs= d</span><span><span
class=3D"x_1519516151hljs-operator">-</span></span><span>ports</sp= an><span><span
class=3D"x_1519516151hljs-operator">-</span></span><span>release</= span><span><span
class=3D"x_1519516151hljs-operator">-</span></span><span><span
class=3D"x_1519516151hljs-number">13.0</span></span><span>.</span>= <span><span
class=3D"x_1519516151hljs-number">0</span></span><span><span
class=3D"x_1519516151hljs-regexp">/security/</span></span><span>wa= zuh</span><span><span
class=3D"x_1519516151hljs-operator">-</span></span><span>agent </s= pan><span><span
class=3D"x_1519516151hljs-keyword">package</span></span><span> </span></span></code>
</div></div></pre>
<p
style=3D"font-style: normal; font-variant-ligatures: normal; font-variant-= caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-a= lign: start; text-indent: 0px; text-transform: none; widows: 2; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decorat= ion-thickness: initial; text-decoration-style: initial; text-decoration-co= lor: initial;"><span
class=3D"highlight"
style=3D"background-color:rgb(255, 255, 255)"><span
class=3D"colour" style=3D"color:rgb(0, 0, 0)"><span
class=3D"font"
style=3D"font-family:Verdana, Arial, Helvetica, sans-serif"><span
class=3D"size"
style=3D"font-size: 13.3333px; font-style: normal; font-variant-ligatures:=
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norm=
al; orphans: 2; text-align: start; text-indent: 0px; text-transform: none;=
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space=
: normal; text-decoration-thickness: initial; text-decoration-style: initi=
al; text-decoration-color: initial;">However,
the build fails with the following error:<br>
</span></span></span></span></p>
<pre
style=3D"white-space: pre-wrap; color: rgb(0, 0, 0); font-size: 13.3333px;=
font-style: normal; font-variant-ligatures: normal; font-variant-caps: no= rmal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: st= art; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;=
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); tex= t-decoration-thickness: initial; text-decoration-style: initial; text-deco= ration-color: initial;"
class=3D"x_1519516151overflow-visible!"><div class=3D"x_1519516151contain-inline-size x_1519516151rounded-2xl x_1519516= 151corner-superellipse/1.1 x_1519516151relative x_1519516151bg-token-sideb= ar-surface-primary"><div
class=3D"x_1519516151sticky x_1519516151top-9"><div class=3D"x_1519516151absolute x_1519516151end-0 x_1519516151bottom-0 x_151= 9516151flex x_1519516151h-9 x_1519516151items-center x_1519516151pe-2"><di=
v
class=3D"x_1519516151bg-token-bg-elevated-secondary x_1519516151text-token= -text-secondary x_1519516151flex x_1519516151items-center x_1519516151gap-=
4 x_1519516151rounded-sm x_1519516151px-2 x_1519516151font-sans x_15195161= 51text-xs">
</div></div></div><div
class=3D"x_1519516151overflow-y-auto x_1519516151p-4" dir=3D"ltr">= <code
class=3D"x_1519516151whitespace-pre!"><span><span><span
class=3D"x_1519516151hljs-symbol">Makefile:</span><span
class=3D"x_1519516151hljs-number">88</span>: *** missing separator=
. <span
class=3D"x_1519516151hljs-keyword">Stop</span>.
<b>Makefile content:
</span></span></code>WAZUHPREFIX=3D /var/ossec
</div></div></pre>
<div><br>
</div>
<div>.include <bsd.port.pre.mk>=C2=A0 =C2=A0 <<-----= =C2=A0 line 88<br>
</div>
<div><br>
</div>
<div>post-extract:<br>
</div>
<div>.for FILE in ${EXTERNAL_DISTFILES}<br>
</div>
<div>@cd ${WRKSRC}/src/external && ${EXTRACT_CMD}
${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${<a class=3D"moz-txt-link-fr= eetext" href=3D"FILE:S/:wazuh_sources//">FILE:S/:wazuh_sources//</a>}
${EXTRACT_AFTER_ARGS}<br>
</div>
<div>.endfor<br>
</div>
<div><br>
</div>
<pre
style=3D"white-space: pre-wrap; color: rgb(0, 0, 0); font-size: 13.3333px;=
font-style: normal; font-variant-ligatures: normal; font-variant-caps: no= rmal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: st= art; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;=
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); tex= t-decoration-thickness: initial; text-decoration-style: initial; text-deco= ration-color: initial;"
class=3D"x_1519516151overflow-visible!"><div class=3D"x_1519516151contain-inline-size x_1519516151rounded-2xl x_1519516= 151corner-superellipse/1.1 x_1519516151relative x_1519516151bg-token-sideb= ar-surface-primary"><div
class=3D"x_1519516151overflow-y-auto x_1519516151p-4" dir=3D"ltr"> </div></div></pre>
<p
style=3D"font-style: normal; font-variant-ligatures: normal; font-variant-= caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-a= lign: start; text-indent: 0px; text-transform: none; widows: 2; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decorat= ion-thickness: initial; text-decoration-style: initial; text-decoration-co= lor: initial;"><span
class=3D"highlight"
style=3D"background-color:rgb(255, 255, 255)"><span
class=3D"colour" style=3D"color:rgb(0, 0, 0)"><span
class=3D"font"
style=3D"font-family:Verdana, Arial, Helvetica, sans-serif"><span
class=3D"size"
style=3D"font-size: 13.3333px; font-style: normal; font-variant-ligatures:=
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norm=
al; orphans: 2; text-align: start; text-indent: 0px; text-transform: none;=
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space=
: normal; text-decoration-thickness: initial; text-decoration-style: initi=
al; text-decoration-color: initial;">Additional
context:<br>
</span></span></span></span></p>
<ul
style=3D"color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans= -serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norma=
l; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space:=
normal; background-color: rgb(255, 255, 255); text-decoration-thickness: = initial; text-decoration-style: initial; text-decoration-color: initial;">
<li>
<p style=3D"margin-top: 0px;">I am performing this build on a<= span>=C2=A0</span><b>Linux
x86_64 (AMD64) machine</b>, not on a FreeBSD host.<br>
</p>
</li>
<li>
<p style=3D"margin-top: 0px;">I=E2=80=99m using the<span>=C2= =A0</span><code>freebsd-ports-release-13.0.0/security/wazuh-agent</code><s= pan>=C2=A0</span>directory
generated during the Wazuh build process.<br>
</p>
</li>
<li>
<p style=3D"margin-top: 0px;">My goal is to produce a FreeBSD
package (<code>.pkg</code>) for the wazuh-agent.<br>
<br>
<br>
</p>
</li>
</ul>
<div
style=3D"color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans= -serif; font-size: 13.3333px; font-style: normal; font-variant-ligatures: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: norma=
l; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space:=
normal; background-color: rgb(255, 255, 255); text-decoration-thickness: = initial; text-decoration-style: initial; text-decoration-color: initial;">
<div>I didnt change the Makefile, can anyone help me on this??<b=
</div>
<div><br>
</div>
<div>Thanks<br>
Saii Varun M R</div>
</div>
<div><br>
</div>
</div>
<br>
</blockquote>
<pre class=3D"moz-signature" cols=3D"72">--=20
Norbert Grundmann
I love penguins at the south pole,
windows in my house and apples on my tree,
but not in my computer</pre>
</body>
</html>
--------------iT6lo7micg5Q4o2nQxjqyKDC--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to
news-admin@muc.de
--- Synchronet 3.21a-Linux NewsLink 1.2