Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702654 - media-tv/mythtv should depend on dev-java/ant
Summary: media-tv/mythtv should depend on dev-java/ant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wilson M. Michaels
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-12-13 09:28 UTC by thomas
Modified: 2020-02-19 07:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas 2019-12-13 09:28:03 UTC
Otherwise, configure breaks because BD-J needs ant.

Reproducible: Always
Comment 1 Wilson M. Michaels 2019-12-13 19:47:51 UTC
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.
Comment 2 thomas 2019-12-13 20:42:46 UTC
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
Comment 3 Wilson M. Michaels 2019-12-13 22:18:13 UTC
I can not replicate the error.  Which ebuild version and revision did you use?
Comment 4 thomas 2019-12-14 06:33:08 UTC
media-tv/mythtv-30.0_p20190808-r1
Comment 5 thomas 2019-12-14 06:33:32 UTC
Maybe you have installed ant manually?
Comment 6 Wilson M. Michaels 2019-12-14 16:23:07 UTC
(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?
Comment 7 thomas 2019-12-14 16:39:17 UTC
At install time, very early during configure.
Comment 8 Wilson M. Michaels 2019-12-14 20:58:58 UTC
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?
Comment 9 thomas 2019-12-14 21:05:39 UTC
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.
Comment 10 Wilson M. Michaels 2019-12-14 21:27:09 UTC
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)
Comment 11 thomas 2019-12-15 09:22:30 UTC
# equery depends ant-core
 * These packages depend on ant-core:

libbluray is not installed on my system.
Comment 12 Wilson M. Michaels 2019-12-16 16:54:48 UTC
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.
Comment 13 Larry the Git Cow gentoo-dev 2020-02-19 07:34:02 UTC
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(-)