Skip to content

fix(deb): depend on runtime libgcrypt20 instead of libgcrypt20-dev - #127

Merged
mscasso-scanoss merged 1 commit into
mainfrom
fix/deb-runtime-libgcrypt20
Oct 28, 2026
Merged

mscasso-scanoss merged 1 commit into
mainfrom
fix/deb-runtime-libgcrypt20

Conversation

@mscasso-scanoss

Copy link
Copy Markdown
Contributor

Summary

The .deb control file declares libgcrypt20-dev as a runtime dependency. That is a build-time package: the scanoss binary only needs the runtime library libgcrypt20 at run time.

On hosts without libgcrypt20-dev, dpkg -i of the package fails on the unmet dependency, even though the binary would run fine.

Change

scripts/debpkg/DEBIAN/control:

-Depends: libgcrypt20-dev (>= 1.9.0), libc6 (>= 2.4), zlib1g (>= 1:1.1.4)
+Depends: libgcrypt20 (>= 1.9.0), libc6 (>= 2.4), zlib1g (>= 1:1.1.4)

Same fix already applied on the crc64 line (engine 6.0.1-crc64). The RPM spec declares no Requires, so nothing to change there.

Intended to land before tagging v5.4.28.

🤖 Generated with Claude Code

The .deb control declared libgcrypt20-dev, a build-time package, as a runtime
dependency. Hosts without the -dev package could not install the .deb
(dpkg -i fails on the unmet dependency). The binary only needs the runtime
library libgcrypt20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@scanoss-qg scanoss-qg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mscasso-scanoss
mscasso-scanoss merged commit b3aec5f into main Oct 28, 2026
1 check passed
@mscasso-scanoss
mscasso-scanoss deleted the fix/deb-runtime-libgcrypt20 branch October 28, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants