media-libs/mlt-6.18.0 ebuild fails to start compilation: >>> Emerging (1 of 1) media-libs/mlt-6.18.0::gentoo * mlt-6.18.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mlt-6.18.0.tar.gz to /var/tmp/portage/media-libs/mlt-6.18.0/work >>> Source unpacked in /var/tmp/portage/media-libs/mlt-6.18.0/work >>> Preparing source in /var/tmp/portage/media-libs/mlt-6.18.0/work/mlt-6.18.0 ... * Applying mlt-6.10.0-swig-underlinking.patch ... [ ok ] * ERROR: media-libs/mlt-6.18.0::gentoo failed (prepare phase): * python_fix_shebang: EPYTHON unset (pkg_setup not called?) * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 2618: Called python_fix_shebang 'src/swig/python' * environment, line 1919: Called die * The specific snippet of code: * [[ -n ${EPYTHON} ]] || die "${FUNCNAME}: EPYTHON unset (pkg_setup not called?)"; The workaround is to add USE="python" for mlt. I suspect that this line in the ebuild: "python_fix_shebang src/swig/python" might need to be prepended by a 'if use python' statement.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864613c0f925cf31a09490630273e0781eba7103 commit 864613c0f925cf31a09490630273e0781eba7103 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-11-17 10:37:48 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-11-17 10:38:49 +0000 media-libs/mlt: Conditionalise python_fix_shebang Closes: https://bugs.gentoo.org/700340 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-libs/mlt/mlt-6.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** This bug has been marked as a duplicate of bug 700318 ***