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

TASK: fix libxcrypt-compat in ELN (Extras) #238

Closed
yselkowitz opened this issue Mar 20, 2025 · 4 comments
Closed

TASK: fix libxcrypt-compat in ELN (Extras) #238

yselkowitz opened this issue Mar 20, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@yselkowitz
Copy link
Member

What does the ELN SIG need to do?

While libxcrypt-compat is officially unwanted in RHEL 11, nbdkit-vddk-plugin still requires it, and that dependency is out of our control. Additionally, because libxcrypt-compat Requires: libxcrypt AND libxcrypt Obsoletes: libxcrypt-compat < VERSION-RELEASE, it requires bootstrapping to build libxcrypt-compat from libxcrypt-epel and everything breaks of libxcrypt-compat's NVR falls behind libxcrypt.

In order to fix this, can we consider the following:

  • Can the Release of libxcrypt-epel be raised to e.g. 100, so that it won't fall behind libxcrypt?
  • Additionally, should we try to drop the obsoletes for RHEL libxcrypt, as it doesn't make sense because EPEL may provide it?
  • Does libxcrypt-compat really need to Requires: libxcrypt?

/cc @michel-slm @davide125

@yselkowitz yselkowitz added bug Something isn't working Meeting Topics for discussion at the weekly meeting and removed triage Meeting Topics for discussion at the weekly meeting labels Mar 20, 2025
@michel-slm
Copy link
Member

For the first two points - yes, absolutely. The obsoletes should be either dropped, or fixed - it should obsolete the version-release lesser than the first time -compat is dropped but no higher

And we can bump and rebuild for now - but should also check if the Requires is still necessary.

@yselkowitz
Copy link
Member Author

Following up on last week's discussion, I don't see any evidence that the compat library depends on the main one, it just compiles the same code with different options. Therefore, the Requires: libxcrypt seems unnecessary, although that still leaves the conflict between BuildRequires: gnupg2 (which pulls in libxcrypt) and BuildRequires: libxcrypt-compat for that one test. Is that test worth the need to rebootstrap for each bump?

@yselkowitz
Copy link
Member Author

https://src.fedoraproject.org/rpms/libxcrypt-epel/pull-request/1

@yselkowitz
Copy link
Member Author

The package still needs to be kept ahead of libxcrypt NVR-wise, but it is buildable and installable again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants