Re: Build failure on FreeBSD porLuKAnQ==
Robert Clausecker <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
Am Thu, Dec 11, 2025 at 12:17:05PM +0530 schrieb Saii Varun M R:
> HI Team,
>
> For the build, I'm using:
>
> Wazuh source:
>
> https://github.com/wazuh/wazuh/archive/refs/tags/v4.5.2.zip
>
> Ports tree :
>
> https://github.com/freebsd/freebsd-ports/archive/a1b512e0161d4e965c74f3f1a8853596396c149d.zip
>
> (This commit contains the Wazuh port version that matches 4.5.2)
>
> My build VM is running FreeBSD 13.5, and the default Perl installed on the system is perl 5.42.
>
> However, the ports tree snapshot I'm using depends on older Perl versions. In Mk/Uses/perl5.mk
> from that snapshot, the supported values are:
>
> 5.34
>
> 5.36
>
> 5.38
>
> devel
>
> Since Perl 5.42 is not in this list, I'm running into compatibility issues during the Wazuh 4.5.2 build process.
>
> What to do ??
>
> For reference: I successfully built a pkg using the latest ports tree for Wazuh 4.12.0,
> but I specifically need 4.5.2 because we have custom modifications for that version.
>
> Thanks
I now understand your problem a little bit better.
There are two options:
(a) take the security/wazuh-* directories of the ports tree with your desired version
and copy them into the current ports tree. Then hope they build. If it doesn't,
you could try to mess with the ports to make them build.
(b) if that doesn't work, you can set up a Poudriere environment and build wazuh plus
all of its dependencies in versions that match the old ports tree. This gives you
a package repository, which you can then import in /usr/local/etc/pkg/repos to get
that versin of wazuh plus all dependencies. However, note that due to outdated
dependencies, there are likely to be security issues.
Yours,
Robert Clausecker
---
() ascii ribbon campaign - for an encoding-agnostic world
/\ - against html email - against proprietary attachments