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

Also available in: Atom PDF