wazuh-packages
wazuh-packages copied to clipboard
Error building CentOS 5 sending it the debug parameter
Wazuh version | Component | Install type | Install method | Platform |
---|---|---|---|---|
4.4.0 | Build package | build.sh CentOS 5 | Script | CentOS 5 |
Description
When running build.sh
from Jenkins adding the debug parameter, it searches for the script %{_rpmconfigdir}/find-debuginfo.sh
set in the SPECS, and cannot find it in said directory.
And it throws the following error:
19:15:45 + '[' yes = yes ']'
19:15:45 + '%{_rpmconfigdir}/find-debuginfo.sh'
19:15:45 /var/tmp/rpm-tmp.328: line 145: fg: no job control
19:15:45 error: Bad exit status from /var/tmp/rpm-tmp.328 (%install)
19:15:45 RPM build errors:
19:15:45 Bad exit status from /var/tmp/rpm-tmp.328 (%install)
19:15:45
19:15:45 [Pipeline] echo
19:15:45 Package generation ended with exit code: 1
Evidences
Test with Debug: https://devel.ci.wazuh.info/job/Package_builder_fcaffieri/247
Test without Debug: https://devel.ci.wazuh.info/job/Package_builder_fcaffieri/249
Steps to reproduce
Execute this pipeline Package_builder with the following parameters: