lvm2 is currently built against compat-readline5 (5.2) where the latest version of readline is 8, it would be useful to move to the latest readline so it builds against a supported version.
Is readline 8 available under a compatible licence?
See bug 511847 for background