Skip to content

DAOS-18827 build: fix missing libisal2 dep in deb packages#18057

Open
knard38 wants to merge 4 commits intomasterfrom
ckochhof/fix/master/daos-18827/patch-003
Open

DAOS-18827 build: fix missing libisal2 dep in deb packages#18057
knard38 wants to merge 4 commits intomasterfrom
ckochhof/fix/master/daos-18827/patch-003

Conversation

@knard38
Copy link
Copy Markdown
Contributor

@knard38 knard38 commented Apr 20, 2026

Description

The FPM --rpm-autoreq option automatically detects shared library dependencies by scanning ELF binaries at package build time. However, it is an RPM-only feature that is silently ignored when producing Debian packages, creating an invisible gap between the two packaging formats.

As a result, the daos package's generated .deb was missing a dependency on libisal2 (providing libisal.so.2), even though the equivalent RPM correctly pulled it in via auto-detection. This causes installation failures on Debian/Ubuntu systems where libisal2 is not already present.

To fix this and establish a consistent, auditable dependency graph across both packaging formats, --rpm-autoreq and its associated noautoreq escape hatch are removed from fpm_common.sh and daos.sh. The missing ${isal_lib} >= ${isal_version} dependency is explicitly added to the daos package, mirroring how all other dependencies are already declared.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

@knard38 knard38 self-assigned this Apr 20, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

Ticket title is 'DAOS Debian package missing libisal dependency and wrong executable permissions    '
Status is 'In Review'
https://daosio.atlassian.net/browse/DAOS-18827

@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18827/patch-003 branch from 8f398e3 to 0a66b9b Compare April 23, 2026 12:21
@daosbuild3
Copy link
Copy Markdown
Collaborator

The --rpm-autoreq FPM option is RPM-only and silently no-ops when
building Debian packages, causing the daos package to miss the
libisal2 (libisal.so.2) dependency in .deb output. Remove the
option and the associated noautoreq escape hatch in favour of
uniform explicit dependency declarations across both packaging
formats. Add the missing isal_lib dependency to the daos package.

Signed-off-by: Cedric Koch-Hofer <cedric.koch-hofer@hpe.com>
@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18827/patch-003 branch from 0a66b9b to 00262db Compare April 28, 2026 08:54
@knard38 knard38 marked this pull request as ready for review April 30, 2026 11:56
@knard38 knard38 requested a review from a team as a code owner April 30, 2026 11:56
@knard38 knard38 requested review from daltonbohning, grom72, janekmi, johannlombardi and jolivier23 and removed request for janekmi April 30, 2026 11:56
@daosbuild3
Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18057/5/execution/node/1224/log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants