Created attachment 915562 [details, diff] 0001-media-video-ffmpeg-fix-verify-sig-on-prefix-systems.patch Trying to emerge media-video/ffmpeg with USE=verify-sig fails at unpack on Gentoo Prefix systems. The attached patch fixes it by passing the path to the PGP key in the VERIFY_SIG_OPENPGP_KEY_PATH environment variable rather than as an argument to verify-sig_verify_detached, otherwise it will not prepend the prefix to the path, pointing to a most likely non-existing file. Perhaps this should be considered a bug on the verify-sig_* functions for not prepending the prefix? I can't think of a good reason to have this inconsistent behavior. jlucas
(In reply to jlucas from comment #0) > Perhaps this should be considered a bug on the verify-sig_* functions for > not prepending the prefix? I can't think of a good reason to have this > inconsistent behavior. It's fairly rare for these functions to be called directly, and I think we should expect ebuild authors to correctly prefix any paths. Forcing a prefix of BROOT would make the functions less flexible. For example, this would prevent the use of relative paths, or paths that live under WORKDIR or DISTDIR.
As for why VERIFY_SIG_OPENPGP_KEY_PATH is treated specially: this variable is supposed to be set in global scope. BROOT cannot be referenced in global scope, so we prepend it as a compromise for the most common usage.