Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a table of system dependencies with minimum versions #348

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

g2p
Copy link

@g2p g2p commented Oct 28, 2024

This documents and enforces minimum requirements for C library dependencies. At the moment versions were picked from debian bookworm (debian stable since 2023-06), except blkid (util-linux) where 2.40.1 is required: #347

libaio is excluded because it doesn't provide a pkg-config file.

Also remove libscrypt from debian/control since we use the libsodium implementation.

This documents and enforces minimum requirements for C library
dependencies.  At the moment versions were picked from debian bookworm
(debian stable since 2023-06), except blkid (util-linux) where 2.40.1
is required:
koverstreet#347

libaio is excluded because it doesn't provide a pkg-config file.

Also remove libscrypt from debian/control since we use the libsodium
implementation.
@g2p
Copy link
Author

g2p commented Oct 28, 2024

Can someone with nix fu require blkid 2.40.1 in flake.nix?

Edit: actually it needs to be updated in nixpkgs:

@g2p
Copy link
Author

g2p commented Oct 28, 2024

Currently blocked on NixOS/nixpkgs#333467
Or, alternatively, on util-linux/util-linux#3013

2.40.1 is still a soft requirement as format will refuse
to run without a flag.

nixpkgs requiring macOS compatibility of util-linux is a questionable
choice.

See:
- NixOS/nixpkgs#333467
- util-linux/util-linux#3013

Rationale for picking blkid 2.39.3:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39.3-ReleaseNotes
@g2p
Copy link
Author

g2p commented Oct 28, 2024

Worked around by lowering the blkid requirement to something nixpkgs has. There's still a safeguard against actually formatting using an outdated blkid.

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.

1 participant