Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565696 - ~media-video/libav-11.3 fails to compile with "vpx" USE flag and ~media-libs/libvpx-1.5.0
Summary: ~media-video/libav-11.3 fails to compile with "vpx" USE flag and ~media-libs/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 18:06 UTC by Peter Levine
Modified: 2015-12-29 19:52 UTC (History)
7 users (show)

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


Attachments
libav-11.3_libvpxenc.patch (libav-11.3_libvpxenc.patch,1.50 KB, patch)
2015-11-13 18:07 UTC, Peter Levine
Details | Diff
emerge --info (emerge.info.txt,20.82 KB, text/plain)
2015-11-13 20:36 UTC, Peter Levine
Details
build.log (build.log,789.07 KB, text/x-log)
2015-11-13 20:37 UTC, Peter Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2015-11-13 18:06:02 UTC
Compiling media-video/libav-11.3-r1 against media-libs/libvpx-1.5.0 leads to failures such as:

error: 'VP8E_UPD_ENTROPY' undeclared here (not in a function)
error: 'VP8E_UPD_REFERENCE' undeclared here (not in a function)
error: 'VP8E_USE_REFERENCE' undeclared here (not in a function)


Reproducible: Always

Steps to Reproduce:
1.USE="vpx" emerge -1 =media-libs/libvpx-1.5.0:0/3::gentoo =media-video/libav-11.3-r1:0/11::gentoo
Actual Results:  
error: 'VP8E_UPD_ENTROPY' undeclared here (not in a function)
error: 'VP8E_UPD_REFERENCE' undeclared here (not in a function)
error: 'VP8E_USE_REFERENCE' undeclared here (not in a function)

Expected Results:  
Successful merge.

Related to:

https://github.com/jb-alvarado/media-autobuild_suite/issues/185

http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab
Comment 1 Peter Levine 2015-11-13 18:07:42 UTC
Created attachment 416862 [details, diff]
libav-11.3_libvpxenc.patch

Based on:

http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab
Comment 2 Peter Levine 2015-11-13 20:36:01 UTC
Created attachment 416874 [details]
emerge --info
Comment 3 Peter Levine 2015-11-13 20:37:38 UTC
Created attachment 416876 [details]
build.log
Comment 4 tman 2015-11-20 10:48:44 UTC
same problem here:

Portage 2.2.25 (python 3.5.0-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64)
=================================================================
System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627044 total,  15883732 free
KiB Swap:   26488828 total,  26488828 free
Timestamp of repository gentoo: Fri, 20 Nov 2015 10:00:01 +0000
Timestamp of repository poly-c: Thu, 19 Nov 2015 18:36:38 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r3::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.4.0-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 0

dotnet
    location: /mnt/portage/local/layman/dotnet
    masters: gentoo
    priority: 1

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 2

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 3

dr
    location: /mnt/portage/local/layman/dr
    masters: gentoo
    priority: 4

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 5

poly-c
    location: /mnt/portage/local/layman/poly-c
    masters: gentoo
    priority: 6

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    masters: gentoo
    priority: 7

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 8

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 5 Pim Vullers 2015-11-20 21:30:44 UTC
I can confirm this issue on my ~amd64 system.
Comment 6 Steve Arnold archtester gentoo-dev 2015-12-10 19:52:00 UTC
Got hit with this yesterday on ~amd64 update, tested the patch, everything seems to work.  I vote go with it.