g++ -MMD -MF obj/media/ffmpeg/ffmpeg/ffmpeg_common.o.d -DV8_DEPRECATION_WARNINGS -DENABLE_MDNS=1 -DENABLE_NOTIFICATIONS -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE _PDF=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO= 1 -DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABL E_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DIS COVERY=1 -DUSE_PROPRIETARY_CODECS -DENABLE_HANGOUT_SERVICES_EXTENSION=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDI A_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DD YNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DMEDIA_IMPLEMENTATION -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/libevent_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/zlib_shim -Igen/shim_headers/harfbuzz_shim -I gen/shim_headers/libpng_shim -Igen/shim_headers/ffmpeg_shim -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -B../../third_p arty/binutils/Linux_x64/Release/bin -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-pa rameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno- rtti -fno-exceptions -c ../../media/ffmpeg/ffmpeg_common.cc -o obj/media/ffmpeg/ffmpeg/ffmpeg_common.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition ../../media/ffmpeg/ffmpeg_common.cc:766:58: error: ‘AVCOL_PRI_SMPTEST428_1’ was not declared in this scope static_cast<int>(gfx::ColorSpace::PrimaryID::P) == AVCOL_PRI_##P, \ ^ ../../media/ffmpeg/ffmpeg_common.cc:789:1: note: in expansion of macro ‘TEST_PRIMARY’ TEST_PRIMARY(SMPTEST428_1); ^ ../../media/ffmpeg/ffmpeg_common.cc:771:59: error: ‘AVCOL_TRC_SMPTEST2084’ was not declared in this scope static_cast<int>(gfx::ColorSpace::TransferID::T) == AVCOL_TRC_##T, \ ^ ../../media/ffmpeg/ffmpeg_common.cc:807:1: note: in expansion of macro ‘TEST_TRANSFER’ TEST_TRANSFER(SMPTEST2084); ^ ../../media/ffmpeg/ffmpeg_common.cc:771:59: error: ‘AVCOL_TRC_SMPTEST428_1’ was not declared in this scope static_cast<int>(gfx::ColorSpace::TransferID::T) == AVCOL_TRC_##T, \ ^ ../../media/ffmpeg/ffmpeg_common.cc:808:1: note: in expansion of macro ‘TEST_TRANSFER’ TEST_TRANSFER(SMPTEST428_1); ^ This is with media-video/ffmpeg-2.8.7 .
Fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/chromium?id=a8bffd1406404d9e2a726f6c90288bda7fc44ae1 .