Project

General

Profile

Actions

Bug #5055

closed

User story #5077: Update to CFEngine 3.6.0 release

2.11 RPM builds of rudder-agent fail because of a LMDB linking issue

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

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

We package lmdb as part of rudder-agent in 2.11, but the following error happens:

11:53:36 + /usr/lib/rpm/check-buildroot
11:53:36 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/lib/libpromises.a matches
11:53:36 /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/lib/libpromises.la:dependency_libs=' -R/usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/lib -L/usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/lib -lnss_nis -lrt -lm -llmdb -lpcre -lssl -lcrypto -ldl'
11:53:36 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-upgrade matches
11:53:36 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-execd matches
11:53:36 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-monitord matches
11:53:37 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-promises matches
11:53:37 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-serverd matches
11:53:37 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/rpmvercmp matches
11:53:37 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-agent matches
11:53:37 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-runagent matches
11:53:38 Binary file /usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386/opt/rudder/bin/cf-key matches
11:53:38 Found '/usr/src/rudder-packages/package/BUILDROOT/rudder-agent-2.11.0.beta2.git201406171140-1.EL.6.i386' in installed files; aborting

It is because we try to put lmdb in buildroot during the configure stage, which breaks the build and fails the /usr/lib/rpm/check-buildroot check.

We need to install it in /opt/rudder instead, and then configure.

Actions #1

Updated by Matthieu CERDA over 10 years ago

  • Project changed from Rudder to 34
Actions #2

Updated by Matthieu CERDA over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/380

PR ready and validated by JCL, self merging.

Actions #3

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:7a825dde920bf28e5248c9ef64715c0e7effbc42.

Actions #4

Updated by Matthieu CERDA over 10 years ago

Applied in changeset commit:b64f0240dc7dd3066743a394a30d766467f948c8.

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Parent task set to #5077
Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.0~beta2 (announcement , changelog), which were released today.

Actions #7

Updated by Benoît PECCATTE almost 10 years ago

  • Category set to Packaging
Actions

Also available in: Atom PDF