[Rpm-maint] [rpm-software-management/rpm] Enhance requires with version information from the build root. (PR #2372)

Gordon Messmer notifications at github.com
Thu Feb 9 03:42:29 UTC 2023


Copying the commit message for the tests:

    These tests are not compatible with fakechroot, for two reasons.
    While fakechroot supports dlmopen(), it will convert relative paths
    to absolute paths, which prevents library path searching.  The test
    could be run from the data directory so that the relative path's
    absolute path expansion was correct, and dlmopen() will succeed.
    However, linkmap->l_name will have the real path, not a chrooted
    path, and when that is passed to readlink(), fakechroot will try
    to expand a path that already includes the chroot prefix.  So,
    even when the library can be loaded with dlmopen(), the symlink
    can't be resolved to find the path that contains the version.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2372#issuecomment-1423578709
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2372/c1423578709 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230208/d0230e7c/attachment.html>


More information about the Rpm-maint mailing list