Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 811096

Summary: media-video/mpv-9999: build failed due to no member named 'bytes_read' in 'struct AVIOContext
Product: Gentoo Linux Reporter: Esad Katmer <esadkatmer>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
build log

Description Esad Katmer 2021-08-30 09:31:29 UTC
Build fails due to compile error in

../demux/demux_lavf.c:273:33: error: no member named 'bytes_read' in 'struct AVIOContext

Reproducible: Always

Steps to Reproduce:
1. emerge -1v mpv
Actual Results:  
build failed

Expected Results:  
build ok
Comment 1 Esad Katmer 2021-08-30 09:32:43 UTC
Created attachment 736768 [details]
emerge info
Comment 2 Esad Katmer 2021-08-30 09:34:48 UTC
This bug mentioned at mpv's github repo.

https://github.com/mpv-player/mpv/issues/9159#issue-980414838

One of the comments suggest that

    --enable-ffmpeg-strict-abi

configuration option must be added when configuring mpv.

This fixes compile error on my machine.
Comment 3 Mike Gilbert gentoo-dev 2021-08-31 01:01:22 UTC
Please attach the full build log and change the status back to UNCONFIRMED.
Comment 4 Esad Katmer 2021-08-31 18:33:05 UTC
Created attachment 736978 [details]
build log