Otherwise, configure breaks because BD-J needs ant. Reproducible: Always
When this fails, is the java USE flag set for media-libs/libbluray (or globally in make.conf)? The following command will show how it is set on your system. equery u media-libs/libbluray Also of interest is the state of the java USE flag for media-tv/mythtv. equery u media-tv/mythtv The bug is: mythtv ebuild does not require the java USE flag for media-libs/libbluray dependency when it is set for mythtv.
The error from configure was "ERROR: BD-J requires ANT, but ant was not found. Please install it.". libbluray: + + java : Add support for BD-J mythtv: - - bluray + + java
I can not replicate the error. Which ebuild version and revision did you use?
media-tv/mythtv-30.0_p20190808-r1
Maybe you have installed ant manually?
(In reply to thomas from comment #5) > Maybe you have installed ant manually? My system does not contain ant. Several packages do depend on ant-core which is installed by: media-libs/libbluray-1.1.2 (java ? dev-java/ant-core) Does this error occur at install (emerge) time or at runtime accessing a DB-J DVD?
At install time, very early during configure.
I found the ant requirement, however it is provided by ant-core on my system. # equery b /usr/bin/ant * Searching for /usr/bin/ant ... dev-java/ant-core-1.10.7 (/usr/bin/ant) Do you have file /usr/bin/ant on your system?
I have it now, after I installed dev-java/ant, which also intalled ant-core. But you are right, it should be enough to install ant-core.
I am not sure why ant-core was not on your system. You have media-libs/libbluray installed with the java USE flag. Is it the version below or newer? equery d dev-java/ant-core media-libs/libbluray-1.1.2 (java ? dev-java/ant-core)
# equery depends ant-core * These packages depend on ant-core: libbluray is not installed on my system.
I'll revise the ebuild to depend on ant-core when the when java USE flag is set. Then is works with or without libbluray.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efbfda26c37b30d1648468e272f5ecebc646d1c6 commit efbfda26c37b30d1648468e272f5ecebc646d1c6 Author: Wilson Michaels <thebitpit@earthlink.net> AuthorDate: 2020-02-18 15:13:20 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-02-19 07:23:45 +0000 media-tv/mythtv: Bug fix, add user info Closes: https://bugs.gentoo.org/702654 Closes: https://bugs.gentoo.org/696568 Closes: https://bugs.gentoo.org/710046 Closes: https://bugs.gentoo.org/710048 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Wilson Michaels <thebitpit@earthlink.net> Closes: https://github.com/gentoo/gentoo/pull/14694 Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-tv/mythtv/mythtv-29.1-r2.ebuild | 8 +- media-tv/mythtv/mythtv-30.0_p20190808-r1.ebuild | 2 +- media-tv/mythtv/mythtv-30.0_p20190808-r2.ebuild | 432 ++++++++++++++++++++++++ 3 files changed, 436 insertions(+), 6 deletions(-)