Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672270 - <media-video/ffmpeg-4 fails to build with media-libs/fdk-aac-2.0.0: AAENC_InfoStruct has no member encoderDelay
Summary: <media-video/ffmpeg-4 fails to build with media-libs/fdk-aac-2.0.0: AAENC_Inf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: Bug, NeedPatch
Depends on:
Blocks:
 
Reported: 2018-11-30 03:18 UTC by jorgicio
Modified: 2019-04-08 19:29 UTC (History)
2 users (show)

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


Attachments
The log (ffmpeg-3.3.6-build-fdk-aac-2.log.gz,31.91 KB, application/gzip)
2018-11-30 03:18 UTC, jorgicio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2018-11-30 03:18:23 UTC
Created attachment 556756 [details]
The log

Hi!

I noticed the fdk-aac package was updated to the 2.0.0 version. However, when installed, ffmpeg fails at build due to a missing attribute in the struct AACENC_InfoStruct.

More information in the log attached.

Thanks.
Comment 1 jorgicio 2018-11-30 04:23:31 UTC
Possibly, the solution may be found here: https://github.com/mstorsjo/fdk-aac/issues/93
Comment 2 Alexis Ballier gentoo-dev 2018-11-30 11:57:14 UTC
well, it's fixed in ffmpeg-4 which you should be using if you are using ~arch fdk-aac
Comment 3 jorgicio 2018-11-30 16:08:47 UTC
Yes, I should, but apps like Kodi and vbam requires <ffmpeg-4.
Comment 4 Dominique Michel 2019-01-11 15:37:09 UTC
If I mask ffmpeg-4* in /etc/portage/package.mask, I get the error described in that bug. If I don't mask ffmpeg-4*, I get:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/aubio-0.4.8::gentoo[-libav,ffmpeg]
# required by media-sound/ardour-5.12::gentoo
# required by @selected
# required by @world (argument)
>=media-video/ffmpeg-4.1 -abi_x86_32

If I proceed that USE changes, I get:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/libquicktime-1.2.4-r3::gentoo[-libav,ffmpeg]
# required by media-video/mjpegtools-2.1.0-r4::gentoo[quicktime]
# required by media-plugins/gst-plugins-mplex-1.14.3::gentoo
# required by media-plugins/gst-plugins-meta-1.14.1::gentoo[vcd]
# required by app-cdr/brasero-3.12.2-r1::gentoo
# required by media-gfx/gthumb-3.6.2::gentoo[cdr]
# required by @selected
# required by @world (argument)
>=media-video/ffmpeg-4.1 abi_x86_32

Would you like to add these changes to your config files? [Yes/No] n

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

emerge: there are no ebuilds built with USE flags to satisfy "media-libs/lilv[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]".
!!! One of the following packages is required to complete your request:
- media-video/ffmpeg-4.1::gentoo (Change USE: -abi_x86_32)
(dependency required by "media-video/ffmpeg-4.1::gentoo" [ebuild])
(dependency required by "media-sound/mpd-0.21.3::gentoo[-libav,ffmpeg]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

That imply I am stuck in the middle of a world update and that's not good. What can we do? reopen and fix that bug? or is it another solution?
Comment 5 Dominique Michel 2019-01-14 02:46:21 UTC
> That imply I am stuck in the middle of a world update and that's not good.
> What can we do? reopen and fix that bug? or is it another solution?

The solution was to mask fdk-aac-2.0.0
Comment 6 Daniel Pielmeier gentoo-dev 2019-04-08 19:29:00 UTC
Now that media-libs/fdk-aac-2.0.0 is stable this is even more a problem. Either ffmpeg-4 should have been stabilized before or fdk-aac should have been delayed.