Bug #3045
closedThe package rudder-agent is not compatible with SLES 11 SP2 since db43 is no more available
Description
rudder-agent package needs db43 package, unfortunately on SLES 11 SP2, db43 is replaced by libdb-4.5.
We need to add new dependencies for SLES 11 SP2 in order to support this new service pack.
Pull Request URL: https://github.com/Normation/rudder-packages/pull/3
Updated by Jonathan CLARKE almost 12 years ago
- Assignee set to Nicolas PERRON
Nicolas, please provide a fix for this ASAP.
Updated by François ARMAND almost 12 years ago
- Status changed from New to In progress
A first workaround is to use db43 from Suse 11 SP1.
The full correction implies to:
- add a builder for CFEngine / SLES 11 SP2 so that it use libdb4.5
- change packaging to depend upon libdb4.5
Updated by Nicolas PERRON almost 12 years ago
François ARMAND wrote:
A first workaround is to use db43 from Suse 11 SP1.
The full correction implies to:
- add a builder for CFEngine / SLES 11 SP2 so that it use libdb4.5
This task is in progress actually
- change packaging to depend upon libdb4.5
The correct name of the package is libdb-4_5. I will add the correct dependencies
Updated by Nicolas PERRON almost 12 years ago
- Description updated (diff)
Pull Request URL added (https://github.com/Normation/rudder-packages/pull/3)
Updated by Nicolas PERRON almost 12 years ago
I don't know how to deal with this Service Packa problem.
In the SPEC file there are 2 conditions:
%if 0%{?sles_version} == 11 BuildRequires: db43-devel Requires: db43 pmtools %endif %if 0%{?suse_version} >= 1120 BuildRequires: libdb-4_5-devel Requires: libdb-4_5 pmtools %endif
But SLES 11 SP2 enter into the two of them. I don't know how to do a elseif with the SPEC file, it seems that it is not possible.
I've tried this without success:
%if 0%{?sles_version} == 11 %if 0%{?suse_version} >= 1120 [...] %else [...] %endif %endif
or this (cf https://twitter.com/mvidner/status/8592049695)
%if 0%{?suse_version} >= 1120 [...] %else \n %if 0%{?sles_version} == 11 [...] %endif
Updated by Nicolas PERRON almost 12 years ago
It seems that an error happens with the macro %suse_version on SLES 11 SP2:
sles-builder-11-sp2-64:/usr/src/packages # cat /etc/SuSE-release SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 2 sles-builder-11-sp2-64:/usr/src/packages # rpm --eval '%suse_version' 1110
sles-11-sp1-64:~ # cat /etc/SuSE-release SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 1 sles-11-sp1-64:~ # rpm --eval '%suse_version' 1110
Then, the decision has been made to not support SLES 11 SP2 for the 2.4.0~rc2
Updated by Nicolas PERRON almost 12 years ago
- Target version changed from 2.4.0~rc2 to 61
Updated by François ARMAND almost 12 years ago
- Target version changed from 61 to 2.4.2
Updated by Nicolas PERRON almost 12 years ago
- Target version changed from 2.4.2 to 2.4.3
Updated by François ARMAND almost 12 years ago
- Status changed from In progress to Discussion
What is the status of that bug ? Does new work was done on it ? Does we want to not support SLES 11 SP2 at all ?
Updated by François ARMAND almost 12 years ago
- Assignee changed from Nicolas PERRON to Jonathan CLARKE
Updated by Jonathan CLARKE almost 12 years ago
François ARMAND wrote:
What is the status of that bug ? Does new work was done on it ? Does we want to not support SLES 11 SP2 at all ?
We need to support SLES 11 SP2. However, they have broken the system variables that packaging relies on, by not incrementing their version number (!!!), making it very hard for us to implement the logic required. I'm not sure how to work around it yet...
Updated by Vincent MEMBRÉ almost 12 years ago
That problem occurs on SLES 11 SP1 too (see #3188)
It seems that the package db43 is only available on the SLES 11 SDK, but was never on the official Suse repositories.
So there is no problem on Suse having the SDK, but every other won't work
Updated by Vincent MEMBRÉ almost 12 years ago
I made another pull request containing the dependency change for all SLES 11 here : https://github.com/Normation/rudder-packages/pull/15
Updated by Vincent MEMBRÉ almost 12 years ago
- Status changed from Discussion to Pending technical review
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
Trying to install rudder-agent 2.3 fails too,
making another pull request to fix it on that branch : https://github.com/Normation/rudder-packages/pull/16
Updated by Matthieu CERDA almost 12 years ago
- % Done changed from 0 to 90
I am MCE and I approve this pull request.
Merging it in the 2.3 branch, to be upmerged in 2.4 and 2.5.
Updated by Vincent MEMBRÉ almost 12 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 90 to 100
Applied in changeset commit:4a35fc1de5687d329acaaf1338ad94bc82f9052b.
Updated by Matthieu CERDA almost 12 years ago
Applied in changeset commit:d162b42f9dc847592ab0dc2e17bddffb91439e74.
Updated by Matthieu CERDA almost 12 years ago
- Target version changed from 2.4.3 to 2.3.10
Changed target version to the correct branch: 2.3 !
Updated by Jonathan CLARKE almost 12 years ago
- Status changed from Pending release to Discussion
This is a great workaround for this problem! I hadn't realised that libdb-4_5 was also available on SLES 11 SP1 - this makes it a lot easier.
However, this is a major library version change, and I'm pretty sure this has no place in a stable version. Please revert, and apply to 2.5 branch only.
Updated by Matthieu CERDA almost 12 years ago
- Status changed from Discussion to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
Acknowledged, this commit has been reverted on the 2.3 and 2.4 branches.
Updated by Vincent MEMBRÉ almost 12 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:c5a7e8cdb1855ce06b5bf3f57236351ed58df05f.
Updated by Matthieu CERDA almost 12 years ago
Applied in changeset commit:87d22edccde72728cff21f2e9e38598a2551721c.
Updated by Nicolas PERRON almost 12 years ago
- Target version changed from 2.3.10 to 2.5.0~rc1
Updated by Nicolas PERRON almost 12 years ago
- Status changed from Pending release to Released
This has been released with Rudder 2.5.0~rc1
Updated by Nicolas PERRON almost 12 years ago
- Project changed from Rudder to 34
- Category deleted (
11)
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging