Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698626 - media-video/mpv-0.30.0 - You manually enabled the feature 'tvos', but the autodetection check failed.
Summary: media-video/mpv-0.30.0 - You manually enabled the feature 'tvos', but the aut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-27 04:06 UTC by email200202
Modified: 2019-10-27 08:05 UTC (History)
0 users

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


Attachments
emerge -pqv '=media-video/mpv-0.30.0::gentoo' (file_698626.txt,516 bytes, text/plain)
2019-10-27 04:08 UTC, email200202
Details
emerge --info '=media-video/mpv-0.30.0::gentoo' (file_698626.txt,7.38 KB, text/plain)
2019-10-27 04:08 UTC, email200202
Details
build.log (build.log,9.63 KB, text/plain)
2019-10-27 04:11 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2019-10-27 04:06:51 UTC
media-video/mpv-0.30.0  failed (configure phase):

Checking for html manual generation                                       : disabled 
Checking for pdf manual generation                                        : disabled 
Checking for dynamic loader                                               : yes 
Checking for C plugins                                                    : disabled 
Checking for inline assembly (currently without effect)                   : yes 
Checking for test suite (using cmocka)                                    : disabled 
Checking for generate a clang compilation database                        : disabled 
Checking for static Swift linking                                         : disabled 
Checking for compiler support for noexecstack                             : yes 
Checking for linker support for --nxcompat --no-seh --dynamicbase         : no 
Checking for -lm                                                          : yes 
Checking for MinGW                                                        : os-win32 not found 
Checking for POSIX environment                                            : yes 
Checking for Android environment                                          : disabled 
Checking for tvOS environment                                             : no 
You manually enabled the feature 'tvos', but the autodetection check failed.
 * ERROR: media-video/mpv-0.30.0::gentoo failed (configure phase):
 *   configure failed
 * 


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world
3.
Actual Results:  
media-video/mpv-0.30.0  failed (configure phase)

Expected Results:  
It should compile
Comment 1 email200202 2019-10-27 04:08:03 UTC
Created attachment 594110 [details]
emerge -pqv '=media-video/mpv-0.30.0::gentoo'
Comment 2 email200202 2019-10-27 04:08:56 UTC
Created attachment 594112 [details]
emerge --info '=media-video/mpv-0.30.0::gentoo'
Comment 3 email200202 2019-10-27 04:11:29 UTC
Created attachment 594114 [details]
build.log
Comment 4 Ionen Wolkens gentoo-dev 2019-10-27 07:03:09 UTC
Ah, I see what's happening here. The former --enable-tv flag isn't supported anymore (mpv dropped v4l support). However unlike previous issues with dropped flags, --enable-tv still gets accepted and seen as a shortened --enable-tvos.

I believe the v4l flag and all its dependencies should be removed. May also want to add an explicit --disable-tvos in the "Not for us" section.

If you want to use v4l with mpv, will have to stick to the older version or use mplayer I guess. Otherwise, just drop the USE flag.
Comment 5 Andrew Udvare 2019-10-27 07:35:04 UTC
(In reply to Ionen Wolkens from comment #4)
> Ah, I see what's happening here. The former --enable-tv flag isn't supported
> anymore (mpv dropped v4l support). However unlike previous issues with
> dropped flags, --enable-tv still gets accepted and seen as a shortened
> --enable-tvos.
> 
> I believe the v4l flag and all its dependencies should be removed. May also
> want to add an explicit --disable-tvos in the "Not for us" section.
> 
> If you want to use v4l with mpv, will have to stick to the older version or
> use mplayer I guess. Otherwise, just drop the USE flag.

I ran into this issue and added --disable-tvos to the 'not for us' section.

Also I added libplacebo to the part where it checks for the vulkan USE flag in COMMON_DEPEND.

This seems to work fine.
Comment 6 Ionen Wolkens gentoo-dev 2019-10-27 07:42:51 UTC
Yeah, that will cancel the former --enable-tv. But doesn't change that the v4l USE flag isn't usable anymore, can clean it up from your own USE flags.

The ebuild will have to remove it as well, the support is gone in 0.30 so it's doing nothing.
Comment 7 Larry the Git Cow gentoo-dev 2019-10-27 07:57:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf716785a4629e400e1e040fdd85a7aac102741

commit ebf716785a4629e400e1e040fdd85a7aac102741
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-10-27 07:55:35 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-10-27 07:57:17 +0000

    media-video/mpv: multiple fixes
    
    Closes: https://bugs.gentoo.org/698608
    Closes: https://bugs.gentoo.org/698628
    Closes: https://bugs.gentoo.org/698626
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 media-video/mpv/mpv-0.30.0.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Comment 8 Ionen Wolkens gentoo-dev 2019-10-27 08:01:49 UTC
While it can build now, the v4l flag and support is still stuck in the ebuild when it doesn't work (which is what caused this build failure in the first place).
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-10-27 08:05:32 UTC
(In reply to Ionen Wolkens from comment #8)
> While it can build now, the v4l flag and support is still stuck in the
> ebuild when it doesn't work (which is what caused this build failure in the
> first place).

will allso take a look, thanks. Well, tvos automagic was not for gentoo in anyway.