Project

General

Profile

Actions

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.

Status:
Released
Priority:
2
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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...)

Actions #1

Updated by Matthieu CERDA over 9 years ago

  • 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
Actions #2

Updated by Matthieu CERDA over 9 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:d96b719fee3b86c10b2cfb241a683325ed50df21.

Actions #3

Updated by Benoît PECCATTE over 9 years ago

Applied in changeset packages:rudder-packages|commit:f0b4d5d6c299383b093c565f4f7d76a5ffbcd751.

Actions #4

Updated by Matthieu CERDA over 9 years ago

Applied in changeset rudder-packages|commit:d96b719fee3b86c10b2cfb241a683325ed50df21.

Actions #5

Updated by Benoît PECCATTE over 9 years ago

Applied in changeset rudder-packages|commit:f0b4d5d6c299383b093c565f4f7d76a5ffbcd751.

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Category changed from System integration to Packaging
  • Reproduced set to No
Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

This bug has been fixed in Rudder 2.10.12, 2.11.9 and 3.0.3 which were released today.

Actions #8

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF