Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620528 - www-client/chromium-60.0.3112.10 does not compile with stable openh264
Summary: www-client/chromium-60.0.3112.10 does not compile with stable openh264
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-03 18:07 UTC by Ingo Brunberg
Modified: 2017-06-06 13:57 UTC (History)
0 users

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 Ingo Brunberg 2017-06-03 18:07:49 UTC
I noticed chromium-60.0.3112.10 pulls in media-libs/openh264 as a new dependency. With stable openh264-1.5.0 compilation failed with a openh264 related error.

After upgrade to openh264-1.6.0 compilation succeeded.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-06-05 13:14:53 UTC
Thanks for the report.

I confirmed, we need openh264-1.6.0 . I'll update the dependency.

FAILED: obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264_encoder_impl.o
x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264_encoder_impl.o.d -DWEBRTC_USE_H264 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV
 -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BRO
WSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
 -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_RESTRICT_LOGGING -DEXPAT_RELATIVE_PATH -DHAVE_SCTP -DENABLE_EXTERNAL_AUTH -DHAVE_WEBRTC_VIDEO -D
HAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DUSE_WEBRTC_DEV_BRANCH -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DNO_SOUND_SYSTEM -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party -Igen/shim_headers/libjpeg_shim -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/openh264_shim -I../../third_party/libyuv/include -I../../third_party/webrtc/common_video/include -I../../third_party/webrtc/common_video/libyuv/include -I/usr/include/openh264 -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 -fvisibility=hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -O2 -pipe -march=native -fno-delete-null-pointer-checks -c ../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc -o obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264_encoder_impl.o
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc: In member function ‘SEncParamExt webrtc::H264EncoderImpl::CreateEncoderParams() const’:
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc:456:40: error: ‘struct SSpatialLayerConfig’ has no member named ‘sSliceArgument’; did you mean ‘sSliceCfg’?
       encoder_params.sSpatialLayers[0].sSliceArgument.uiSliceNum = 1;
                                        ^~~~~~~~~~~~~~
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc:457:40: error: ‘struct SSpatialLayerConfig’ has no member named ‘sSliceArgument’; did you mean ‘sSliceCfg’?
       encoder_params.sSpatialLayers[0].sSliceArgument.uiSliceMode =
                                        ^~~~~~~~~~~~~~
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc:458:11: error: ‘SM_SIZELIMITED_SLICE’ was not declared in this scope
           SM_SIZELIMITED_SLICE;
           ^~~~~~~~~~~~~~~~~~~~
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc:459:40: error: ‘struct SSpatialLayerConfig’ has no member named ‘sSliceArgument’; did you mean ‘sSliceCfg’?
       encoder_params.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint =
                                        ^~~~~~~~~~~~~~
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc:467:40: error: ‘struct SSpatialLayerConfig’ has no member named ‘sSliceArgument’; did you mean ‘sSliceCfg’?
       encoder_params.sSpatialLayers[0].sSliceArgument.uiSliceNum = 1;
                                        ^~~~~~~~~~~~~~
../../third_party/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc:468:40: error: ‘struct SSpatialLayerConfig’ has no member named ‘sSliceArgument’; did you mean ‘sSliceCfg’?
       encoder_params.sSpatialLayers[0].sSliceArgument.uiSliceMode =
                                        ^~~~~~~~~~~~~~