Project

General

Profile

Actions

Bug #6095

closed

Rudder agent build fails on RHEL5 / SLES 10

Added by Matthieu CERDA almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The result:

16:32:27 Making all in libcompat
16:32:27   CC     generic_at.lo
16:32:27 + make
16:32:27 make[1]: Leaving directory `/usr/src/rudder-packages/package/SOURCES/cfengine-source'
16:32:27 In file included from ../libutils/platform.h:939,
16:32:27                  from generic_at.c:25:
16:32:27 ../libutils/deprecated.h:41: error: expected declaration specifiers or '...' before numeric constant
16:32:27 ../libutils/deprecated.h:41: error: expected declaration specifiers or '...' before '__builtin_object_size'
16:32:27 ../libutils/deprecated.h:41: warning: conflicting types for built-in function '__builtin___sprintf_chk'
16:32:27 make[3]: *** [generic_at.lo] Error 1
16:32:28 make[2]: *** [all-recursive] Error 1
16:32:28 make[1]: *** [all] Error 2

The error seems to be linked to the fact that RPM builds add specific CFLAGS in the SPECfile, especially FORTIFY_SOURCE, that makes CFEngine build fail.

We need to strip FORTIFY_SOURCE from those...


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #6112: CFLAGS/CXXFLAGS definition in rudder-agent SPEC file does not work on RHEL7ReleasedBenoît PECCATTE2015-01-08Actions
Has duplicate Rudder - Bug #5870: rudder-agent 3.0.0~beta1 build on SLES 10 & RHEL 5 fails at the beginning of CFEngine compilationRejected2014-11-29Actions
Actions #1

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from In progress 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/580
Actions #2

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:0b649ee5bd8c3f29b6c98d65991db439fd863e8e.

Actions #3

Updated by Benoît PECCATTE almost 10 years ago

Applied in changeset packages:rudder-packages|commit:53589fdfd33d53f4609d7e389e8ce2d3ed2ce941.

Actions #4

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending release to In progress
  • Assignee changed from Benoît PECCATTE to Matthieu CERDA
  • % Done changed from 100 to 50
  • Pull Request deleted (https://github.com/Normation/rudder-packages/pull/580)

This commit is broken... Reopening, I'll submit a PR that reverts and corrects this properly

Actions #5

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 50 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/581
Actions #6

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:799b1f74191318e4848deccd1303be1eb22e314d.

Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0, which was released on 2015/02/16

Actions

Also available in: Atom PDF