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

Bug 657398

Summary: media-video/vlc-3.0.3-r1[aom] fails to compile with media-libs/libaom-0_pre20180421
Product: Gentoo Linux Reporter: Ștefan Talpalaru <stefantalpalaru>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED NEEDINFO    
Severity: normal CC: djdunn.safety, jstein, kripton, luisav.ferreira
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ștefan Talpalaru 2018-06-05 16:03:55 UTC
The VLC patch you need to apply: https://github.com/stefantalpalaru/gentoo-overlay/blob/8639952102cd4abf11d69eef819b30b2831aeb08/media-video/vlc/files/vlc-3.0.2-libaom.patch

The build-time errors:

codec/aom.c:92:23: error: ‘AOM_IMG_FMT_YUY2’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_YV12’?
     { VLC_CODEC_YUYV, AOM_IMG_FMT_YUY2, 8, 0 },
                       ^~~~~~~~~~~~~~~~
                       AOM_IMG_FMT_YV12
codec/aom.c:93:23: error: ‘AOM_IMG_FMT_UYVY’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_YUY2’?
     { VLC_CODEC_UYVY, AOM_IMG_FMT_UYVY, 8, 0 },
                       ^~~~~~~~~~~~~~~~
                       AOM_IMG_FMT_YUY2
codec/aom.c:94:23: error: ‘AOM_IMG_FMT_YVYU’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_UYVY’?
     { VLC_CODEC_YVYU, AOM_IMG_FMT_YVYU, 8, 0 },
                       ^~~~~~~~~~~~~~~~
                       AOM_IMG_FMT_UYVY
codec/aom.c:96:24: error: ‘AOM_IMG_FMT_RGB555’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_YVYU’?
     { VLC_CODEC_RGB15, AOM_IMG_FMT_RGB555, 8, 0 },
                        ^~~~~~~~~~~~~~~~~~
                        AOM_IMG_FMT_YVYU
codec/aom.c:97:24: error: ‘AOM_IMG_FMT_RGB565’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_RGB555’?
     { VLC_CODEC_RGB16, AOM_IMG_FMT_RGB565, 8, 0 },
                        ^~~~~~~~~~~~~~~~~~
                        AOM_IMG_FMT_RGB555
codec/aom.c:98:24: error: ‘AOM_IMG_FMT_RGB24’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_RGB565’?
     { VLC_CODEC_RGB24, AOM_IMG_FMT_RGB24, 8, 0 },
                        ^~~~~~~~~~~~~~~~~
                        AOM_IMG_FMT_RGB565
codec/aom.c:99:24: error: ‘AOM_IMG_FMT_RGB32’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_RGB24’?
     { VLC_CODEC_RGB32, AOM_IMG_FMT_RGB32, 8, 0 },
                        ^~~~~~~~~~~~~~~~~
                        AOM_IMG_FMT_RGB24
codec/aom.c:101:23: error: ‘AOM_IMG_FMT_ARGB’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_RGB32’?
     { VLC_CODEC_ARGB, AOM_IMG_FMT_ARGB, 8, 0 },
                       ^~~~~~~~~~~~~~~~
                       AOM_IMG_FMT_RGB32
codec/aom.c:102:23: error: ‘AOM_IMG_FMT_ARGB_LE’ undeclared here (not in a function); did you mean ‘AOM_IMG_FMT_ARGB’?
     { VLC_CODEC_BGRA, AOM_IMG_FMT_ARGB_LE, 8, 0 },
                       ^~~~~~~~~~~~~~~~~~~
                       AOM_IMG_FMT_ARGB
Comment 1 DJ Dunn 2018-06-06 01:54:23 UTC
same error
Comment 2 Andreas Sturmlechner gentoo-dev 2018-07-10 09:02:49 UTC
What about 1.0.0?
Comment 3 David Heidelberg (okias) 2018-07-15 09:40:15 UTC
@asturm 1.0.0 ebuild fails here -> #659538
Comment 4 Andreas Sturmlechner gentoo-dev 2018-07-22 20:36:19 UTC
(In reply to David Heidelberg (okias) from comment #3)
> @asturm 1.0.0 ebuild fails here -> #659538

bug 659538 was fixed, what now?