Bug 258983 - security/wazuh-agent working on i386
Summary: security/wazuh-agent working on i386
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-07 12:04 UTC by mike
Modified: 2021-10-13 09:21 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (m.muenz)


Attachments
3 diffs to get things to compile and run on i386 (2.20 KB, patch)
2021-10-07 12:04 UTC, mike
no flags Details | Diff
Makefile 4.2.3 (14.34 KB, patch)
2021-10-13 07:59 UTC, Michael
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2021-10-07 12:04:50 UTC
Created attachment 228498 [details]
3 diffs to get things to compile and run on i386

Hi,
I found that if you change the compile option of the wazuh-agent to non shared, it  builds and runs on i386.  Not sure if this can be incorporated into the port or not. Diffs attached that I used to get it to work on RELENG_13, i386.
Comment 1 Michael 2021-10-12 14:41:19 UTC
Hi,

Sorry for the late reply! Did you test if this patch compiles also with poudriere? I'm currently struggeling with update to 4.2 which breaks poudriere build completely and I'm not sure if enabling i386 will help to make things better.

Best,
Michael
Comment 2 mike 2021-10-12 14:47:41 UTC
Hi, I didnt test with poudriere. So far, I just manually tested building the package from the ports tree and then added that package to my nanobsd image and its been working so far
Comment 3 Michael 2021-10-12 15:34:17 UTC
Sorry, I can't accept this patch as it seems Wazuh guys removed this parameter in 4.2.X Makefile:

https://github.com/wazuh/wazuh/blob/master/src/Makefile#L70
Comment 4 mike 2021-10-12 17:52:29 UTC
(In reply to Michael from comment #3)
Hmmm, yes I see what you mean. There is a large version upgrade since then. I will see if I can generate a new set of diffs.  What branch (if any) are you working on from their git repo ?
Comment 5 Michael 2021-10-13 07:59:35 UTC
Created attachment 228652 [details]
Makefile 4.2.3

Enclosed the patchset I'm using which compiles fine pkg but breaks poudriere.