net-misc/openswan-2.6.22.ebuild uses find|sed to change /usr/local to /usr in a few files. Unfortunately, find fires on 2.6.16.54-0.2.5 subdirectory as well, resulting in [...] >>> Source unpacked in /var/tmp/portage/net-misc/openswan-2.6.22/work >>> Preparing source in /var/tmp/portage/net-misc/openswan-2.6.22/work/openswan-2.6.22 ... Applying openswan-2.6.22-gentoo.patch ... ok sed: couldn't edit ./patches/kernel/2.6.16.54-0.2.5: not a regular file >>> Source prepared. [...] Attached trivial patch gets rid of the (harmless) sed error message. Reproducible: Always
Created attachment 195783 [details, diff] trivial patch adding -type f to find
Fixed in 2.4.15 and 2.6.22.