Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716966 - media-video/mpv-9999: waf: error: no such option: --disable-oss-audio
Summary: media-video/mpv-9999: waf: error: no such option: --disable-oss-audio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-10 17:06 UTC by gerion
Modified: 2020-04-22 14:42 UTC (History)
1 user (show)

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


Attachments
build.log.1 (build.log,32.07 KB, text/x-log)
2020-04-11 21:37 UTC, gerion
Details
build.log.2 (build.log.2,30.51 KB, application/octet-stream)
2020-04-11 21:41 UTC, gerion
Details
build.log.2 (build.log.2,30.51 KB, application/octet-stream)
2020-04-11 21:42 UTC, gerion
Details
build.log.3 (build.log.3,30.47 KB, application/octet-stream)
2020-04-11 21:42 UTC, gerion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerion 2020-04-10 17:06:03 UTC
As said in the additional information of #716624 already, mpv now fails with waf: error: no such option: --disable-oss-audio.

Reproducible: Always
Comment 1 gerion 2020-04-10 17:09:23 UTC
Additional flags that are failing:
--disable-rsound (unconditional)
--disable-sndio (unconditaionl)

For my use flag combination mpv builds after removing all of this.
Comment 2 Jonas Stein gentoo-dev 2020-04-11 17:09:02 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 3 gerion 2020-04-11 21:37:28 UTC
I guess, the linked pull request (made by an mpv author) proves the validity of this error, but here are the three emerge log files (I have always patched one failing option away).

build.log.1: Original mpv ebuild
build.log.2: Without "--disable-oss-audio" and oss use flag (removed in mpv commit bca917f6d2c50d9df3a4140b7be7beb6d567aa5b)
build.log.3: Without "--disable-rsound" (removed in mpv commit 4583bd8cc7bf538bce424983d49729c934d13a53)

Without "--disable-sndio" (removed in mpv commit 71d218eae4b4d93ada34ff74906f71ad359c84bc) it works.
Comment 4 gerion 2020-04-11 21:37:53 UTC
Created attachment 632354 [details]
build.log.1
Comment 5 gerion 2020-04-11 21:41:44 UTC
Created attachment 632356 [details]
build.log.2
Comment 6 gerion 2020-04-11 21:42:07 UTC
Created attachment 632358 [details]
build.log.2
Comment 7 gerion 2020-04-11 21:42:37 UTC
Created attachment 632360 [details]
build.log.3
Comment 8 gerion 2020-04-11 21:43:44 UTC
I'll drop the `emerge --info` since the error (and the solution) are known (I guess).
Comment 9 Larry the Git Cow gentoo-dev 2020-04-22 14:42:27 UTC
The bug has been closed via the following commit(s):

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

commit 2d68141c865826ee03e4b287173fffc8a5ff5669
Author:     Niklas Haas <git@haasn.xyz>
AuthorDate: 2020-04-10 21:23:47 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-04-22 14:42:21 +0000

    media-video/mpv: sync live (remove oss)
    
    These options no longer exist upstream, causing build errors.
    
    Closes: https://bugs.gentoo.org/716966
    Signed-off-by: Niklas Haas <git@haasn.xyz>
    Closes: https://github.com/gentoo/gentoo/pull/15295
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 media-video/mpv/mpv-9999.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)