Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651848 - media-video/ffmpeg-9999 - In file included from src/libavcodec/qdm2_tablegen.c:24: src/libavcodec/get_bits.h: In function 'init_get_bits': src/libavcodec/get_bits.h:432:40: error: 'AV_INPUT_BUFFER_PADDING_SIZE' undeclared
Summary: media-video/ffmpeg-9999 - In file included from src/libavcodec/qdm2_tablegen....
Status: RESOLVED OBSOLETE
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:
Depends on:
Blocks:
 
Reported: 2018-03-28 16:25 UTC by Alex
Modified: 2018-04-09 23:24 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,5.13 KB, text/plain)
2018-03-28 16:26 UTC, Alex
Details
emerge -pqv (emerge-qpv.txt,1010 bytes, text/plain)
2018-03-28 16:26 UTC, Alex
Details
gzipped build log (build.log.gz,34.42 KB, application/gzip)
2018-03-28 21:39 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2018-03-28 16:25:45 UTC
Hi,

ffmpeg-9999 fails with the error:
-----------------------------------------------------------------------
n file included from src/libavcodec/tableprint.h:29:0,
                 from src/libavcodec/tableprint_vlc.h:38,
                 from src/libavcodec/qdm2_tablegen.c:24:
src/libavcodec/get_bits.h: In function 'init_get_bits':
src/libavcodec/get_bits.h:432:40: error: 'AV_INPUT_BUFFER_PADDING_SIZE' undeclared (first use in this function)
     if (bit_size >= INT_MAX - FFMAX(7, AV_INPUT_BUFFER_PADDING_SIZE*8) || bit_size < 0 || !buffer) {
                                        ^
src/libavutil/common.h:94:28: note: in definition of macro 'FFMAX'
 #define FFMAX(a,b) ((a) > (b) ? (a) : (b))
                            ^
src/libavcodec/get_bits.h:432:40: note: each undeclared identifier is reported only once for each function it appears in
     if (bit_size >= INT_MAX - FFMAX(7, AV_INPUT_BUFFER_PADDING_SIZE*8) || bit_size < 0 || !buffer) {
                                        ^
src/libavutil/common.h:94:28: note: in definition of macro 'FFMAX'
 #define FFMAX(a,b) ((a) > (b) ? (a) : (b))
                            ^
make: *** [/var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999/ffbuild/common.mak:152: libavcodec/qdm2_tablegen.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-video/ffmpeg-9999::gentoo failed (compile phase):
--------------------------------------------------------------------

Build log and 'emerge --info' are attached.

Regards,
Alex
Comment 1 Alex 2018-03-28 16:26:11 UTC
Created attachment 525974 [details]
emerge --info
Comment 2 Alex 2018-03-28 16:26:32 UTC
Created attachment 525976 [details]
emerge -pqv
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-28 20:40:26 UTC
Please attach the entire build log to this bug report.
Comment 4 Alex 2018-03-28 21:39:50 UTC
Created attachment 526018 [details]
gzipped build log
Comment 5 Alex 2018-04-03 16:18:58 UTC
Today it compiles.
I didn't change anything in my system, `emerge` simply pulled in new source code from git.
Comment 6 Carl Eugen Hoyos 2018-04-07 21:02:51 UTC
The issue was introduced March 26th:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=e529fe76
and fixed three days later:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=5c75438b
Comment 7 Andriy Utkin (RETIRED) gentoo-dev 2018-04-09 23:24:56 UTC
Thanks for update Alex!
Thanks for insight Carl Eugen!
Closing.