On Mon, 2020-11-23 at 16:56 +0100, Jean Delvare wrote: > Apparently rpmbuild will resolve symbolic links to patch files before > passing them to the patch utility. We need to do the same before we > attempt to turn absolute paths into relative paths for the series > file, otherwise we will fail to match the common path.
After further analysis, it turns out that rpmbuild is not to blame. The resolution of symbolic links is done by the kernel itself when we figure out (via procfs) the path to the patch file which was passed to the patch utility through stdin. Illustration: $ readlink /proc/self/fd/0 < /tmp/foo/openSUSE:Factory/quilt/expand.diff /tmp/openSUSE:Factory/quilt/expand.diff So a better fix is possible. Working on it. -- Jean Delvare SUSE L3 Support _______________________________________________ Quilt-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/quilt-dev
