Hi, I think it is useful to prevent bug reports about overlay ebuilds.
Created attachment 88639 [details, diff] overlay-warning.patch patch for ebuild.sh to display a warning when the ebuild is from an overlay. I do not know if this is perfect coding and wording - please correct me if I am wrong somewhere.
Thanks, it's a good idea. It's in svn r3473, reimplemented in python for portable cannonical path handling. Internally, portage uses cannonical paths for overlays, while PORTDIR_OVERLAY possibly contains non-cannonical paths. The ebuild path is relative to the cannonical overlay path.
This has been released in 2.1_rc4-r5.