Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721724 - media-video/ffmpeg-4.2.2: libavcodec.so: undefined reference to `aom_codec_control_' after libaom upgrade
Summary: media-video/ffmpeg-4.2.2: libavcodec.so: undefined reference to `aom_codec_co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 721826 721870 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-09 00:23 UTC by Craig Andrews
Modified: 2020-05-09 20:46 UTC (History)
4 users (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 Craig Andrews gentoo-dev 2020-05-09 00:23:15 UTC
I upgraded media-libs/libaom from 1.0.0_p20200507 to 1.0.0-r2, and then tried to compile media-tv/kodi, and got this build error:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libavcodec.so: undefined reference to `aom_codec_control_'

I had to rebuild media-video/ffmpeg-4.2.2. After that, kodi emerged fine.

So I think to fix this, we need to do things:
* add a subslot operator on the media-libs/libaom dependency
* Incremement the subslot in media-libs/libaom-1.0.0-r2 (it's currently "0/0", same as libaom-1.0.0_p20200507)

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-05-09 12:25:31 UTC
The bug has been referenced in the following commit(s):

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

commit 0353d3d67fcdabd7ee99e4ab071abf73cf93c345
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-05-09 12:09:33 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-05-09 12:25:23 +0000

    media-video/ffmpeg: subscribe to media-libs/libaom subslot
    
    Bug: https://bugs.gentoo.org/721724
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 media-video/ffmpeg/ffmpeg-4.1.3.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-4.1.4.ebuild | 4 ++--
 media-video/ffmpeg/ffmpeg-4.2.1.ebuild | 4 ++--
 media-video/ffmpeg/ffmpeg-4.2.2.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-9999.ebuild  | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-05-09 12:26:48 UTC
Fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b9eb1e60aacbee6a32a631113c101d12073eaf3

There will be one last manual rebuild of ffmpeg required.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-05-09 20:46:12 UTC
*** Bug 721826 has been marked as a duplicate of this bug. ***
Comment 4 Arfrever Frehtes Taifersar Arahesis 2020-05-09 20:46:21 UTC
*** Bug 721870 has been marked as a duplicate of this bug. ***