Bug #6380
closed
AIX rudder-agent SPECfile fails to build due to a macro expansion error
Added by Matthieu CERDA over 9 years ago.
Updated over 9 years ago.
Description
When you try to build rudder-agent on AIX, you get this:
16:57:03 rpm -ba SPECS/*.spec
16:57:03 parse error in expression
16:57:03 /resgrp136/opt-freeware/src/packages/package/SPECS/rudder-agent.spec:392: parseExpressionBoolean returns -1
The error is due to a condition that the AIX rpm version is unable to understand: "%if "%{is_tokyocabinet_here}" != "true" && 0%{?rhel} != 3" , the 0%{?rhel} != 3 condition has to be put between quotes to be understood properly (who needs integers anyway...)
- Status changed from 8 to Pending technical review
- Assignee changed from Matthieu CERDA to Benoît PECCATTE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/628
- Status changed from Pending technical review to Pending release
Applied in changeset packages:rudder-packages|commit:d96b719fee3b86c10b2cfb241a683325ed50df21.
Applied in changeset packages:rudder-packages|commit:f0b4d5d6c299383b093c565f4f7d76a5ffbcd751.
Applied in changeset rudder-packages|commit:d96b719fee3b86c10b2cfb241a683325ed50df21.
Applied in changeset rudder-packages|commit:f0b4d5d6c299383b093c565f4f7d76a5ffbcd751.
- Category changed from System integration to Packaging
- Reproduced set to No
This bug has been fixed in Rudder 2.10.12, 2.11.9 and 3.0.3 which were released today.
- Status changed from Pending release to Released
Also available in: Atom
PDF