Actions
Bug #5055
closedUser story #5077: Update to CFEngine 3.6.0 release
2.11 RPM builds of rudder-agent fail because of a LMDB linking issue
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Pull Request:
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.
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.
Updated by Matthieu CERDA over 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:7a825dde920bf28e5248c9ef64715c0e7effbc42.
Updated by Matthieu CERDA over 10 years ago
Applied in changeset commit:b64f0240dc7dd3066743a394a30d766467f948c8.
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.
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions