This patch makes dirs in PRELINK_PATH_MASK env variable blacklisted. Useful for packages like wine and valgrind which break if prelinked. Reproducible: Always Steps to Reproduce:
Created attachment 39327 [details, diff] portage-prelink-blacklist.patch
For your information: Same patch works against portage-2.0.51_rc1 with just 100line offset. Can remake the patch if required but it is not needed.
Have we had testing on this? How are old versions handled here? Does it break anything during normal operations, or does this only affect system prelinking operations?
> Have we had testing on this? I have only tested it locally, but it is a small effect patch > How are old versions handled here? Old versions of prelink did not set PRELINK_PATH_MASK in the portage distro automatically so will not generate the new lines. If it does then prelink will just print a minor warning before continuing about unrecognised line. But only ^really^ old versions of prelink are effected, all those in portage support the new option. (and they have been there for months) > Does it break anything during normal operations, or does this only affect system prelinking operations? Only effects the prelink.conf file, adding a few lines ^only^ if PRELINK_PATH_MASK is set. ( -b <dir> lines to be exact ) This code is only triggered when env-update stuff runs and writes the prelink.conf file.
Created attachment 41815 [details, diff] env-update.prelink.patch Missed env-update.sh - not sure when it is used but needs updating. Patch attached, please commit - as harmless as the last patch!
Bug has been fixed and released in stable portages on or before 2.0.51-r2