New issue
Advanced search Search tips

Issue 820311 link

Starred by 4 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Widevine Compilation - 11 Errors Generated

Reported by robrich...@gmail.com, Mar 9 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3366.0 Safari/537.36

Steps to reproduce the problem:
As tested on Windows:

1. Build Chromium with 'enable_widevine = true' argument.
2. Widevine fails to build with 11 errors generated.

What is the expected behavior?
Build to succeed.

What went wrong?
Widevine fails to build.

Did this work before? Yes recentlty

Chrome version: 67.0.3366.0  Channel: dev
OS Version: 10.0
Flash Version: 

In file included from ../../media/cdm/stub/stub_cdm.cc:5:
../..\media/cdm/stub/stub_cdm.h(50,34):  error: no type named 'InputBuffer' in namespace 'cdm'
  cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer,
                            ~~~~~^
../..\media/cdm/stub/stub_cdm.h(53,18):  error: no type named 'AudioDecoderConfig' in namespace 'cdm'
      const cdm::AudioDecoderConfig& audio_decoder_config) override;
            ~~~~~^
../..\media/cdm/stub/stub_cdm.h(55,18):  error: no type named 'VideoDecoderConfig' in namespace 'cdm'
      const cdm::VideoDecoderConfig& video_decoder_config) override;
            ~~~~~^
../..\media/cdm/stub/stub_cdm.h(58,48):  error: no type named 'InputBuffer' in namespace 'cdm'
  cdm::Status DecryptAndDecodeFrame(const cdm::InputBuffer& encrypted_buffer,
                                          ~~~~~^
../..\media/cdm/stub/stub_cdm.h(60,50):  error: no type named 'InputBuffer' in namespace 'cdm'
  cdm::Status DecryptAndDecodeSamples(const cdm::InputBuffer& encrypted_buffer,
                                            ~~~~~^
../../media/cdm/stub/stub_cdm.cc(37,14):  error: allocating an object of abstract class type 'media::StubCdm'
  return new media::StubCdm(host);
             ^
../..\media/cdm/api/content_decryption_module.h(655,18):  note: unimplemented pure virtual method 'Decrypt' in 'StubCdm'
  virtual Status Decrypt(const InputBuffer_1& encrypted_buffer,
                 ^
../..\media/cdm/api/content_decryption_module.h(668,18):  note: unimplemented pure virtual method 'InitializeAudioDecoder' in 'StubCdm'
  virtual Status InitializeAudioDecoder(
                 ^
../..\media/cdm/api/content_decryption_module.h(681,18):  note: unimplemented pure virtual method 'InitializeVideoDecoder' in 'StubCdm'
  virtual Status InitializeVideoDecoder(
                 ^
../..\media/cdm/api/content_decryption_module.h(710,18):  note: unimplemented pure virtual method 'DecryptAndDecodeFrame' in 'StubCdm'
  virtual Status DecryptAndDecodeFrame(const InputBuffer_1& encrypted_buffer,
                 ^
../..\media/cdm/api/content_decryption_module.h(729,18):  note: unimplemented pure virtual method 'DecryptAndDecodeSamples' in 'StubCdm'
  virtual Status DecryptAndDecodeSamples(const InputBuffer_1& encrypted_buffer,
                 ^
../../media/cdm/stub/stub_cdm.cc(110,41):  error: no type named 'InputBuffer' in namespace 'cdm'
cdm::Status StubCdm::Decrypt(const cdm::InputBuffer& /* encrypted_buffer */,
                                   ~~~~~^
../../media/cdm/stub/stub_cdm.cc(116,16):  error: no type named 'AudioDecoderConfig' in namespace 'cdm'
    const cdm::AudioDecoderConfig& /* audio_decoder_config */) {
          ~~~~~^
../../media/cdm/stub/stub_cdm.cc(121,16):  error: no type named 'VideoDecoderConfig' in namespace 'cdm'
    const cdm::VideoDecoderConfig& /* video_decoder_config */) {
          ~~~~~^
../../media/cdm/stub/stub_cdm.cc(132,16):  error: no type named 'InputBuffer' in namespace 'cdm'
    const cdm::InputBuffer& /* encrypted_buffer */,
          ~~~~~^
../../media/cdm/stub/stub_cdm.cc(138,16):  error: no type named 'InputBuffer' in namespace 'cdm'
    const cdm::InputBuffer& /* encrypted_buffer */,
          ~~~~~^
11 errors generated.
 
Labels: Needs-Triage-M67
Components: Build
Labels: Triaged-ET TE-NeedsTriageHelp
As this issue is related to Build, adding 'TE-NeedsTriageHelp' label for further help in triaging this issue.

Thanks..
Ongoing with 67.0.3372.0:

C:\depot_tools\chromium\src>ninja -C out/testing third_party/widevine/cdm:widevinecdmadapter
ninja: Entering directory `out/testing'
[479/486] CXX obj/third_party/widevine/cdm/widevinecdm/stub_cdm.obj
FAILED: obj/third_party/widevine/cdm/widevinecdm/stub_cdm.obj
../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe /nologo /showIncludes  "-imsvcc:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\atlmfc\include" "-imsvcc:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include" "-imsvcc:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt" "-imsvcc:\program files (x86)\windows kits\10\include\10.0.15063.0\shared" "-imsvcc:\program files (x86)\windows kits\10\include\10.0.15063.0\um" "-imsvcc:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt" "-imsvcc:\program files (x86)\windows kits\10\include\10.0.15063.0\cppwinrt" -DCDM_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D"CR_CLANG_REVISION=\"325667-1\"" -D_HAS_EXCEPTIONS=0 -DCOMPONENT_BUILD -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -DDEPRECATEDENUMERATOR(x)=[[deprecated(x)]] -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=0x0A000002 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../.. -Igen -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 /Gy /FS /bigobj /d2FastFail /Zc:sizedDealloc- -fmsc-version=1911 -m64 /W4 -Wimplicit-fallthrough -Wthread-safety /WX /utf-8 /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4702 -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic /Od /Ob0 /GF /Z7 -fno-standalone-debug /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare /TP /wd4577 /GR- /c ../../media/cdm/stub/stub_cdm.cc /Foobj/third_party/widevine/cdm/widevinecdm/stub_cdm.obj /Fd"obj/third_party/widevine/cdm/widevinecdm_cc.pdb"
In file included from ../../media/cdm/stub/stub_cdm.cc:5:
../..\media/cdm/stub/stub_cdm.h(50,34):  error: no type named 'InputBuffer' in namespace 'cdm'
  cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer,
                            ~~~~~^
../..\media/cdm/stub/stub_cdm.h(53,18):  error: no type named 'AudioDecoderConfig' in namespace 'cdm'
      const cdm::AudioDecoderConfig& audio_decoder_config) override;
            ~~~~~^
../..\media/cdm/stub/stub_cdm.h(55,18):  error: no type named 'VideoDecoderConfig' in namespace 'cdm'
      const cdm::VideoDecoderConfig& video_decoder_config) override;
            ~~~~~^
../..\media/cdm/stub/stub_cdm.h(58,48):  error: no type named 'InputBuffer' in namespace 'cdm'
  cdm::Status DecryptAndDecodeFrame(const cdm::InputBuffer& encrypted_buffer,
                                          ~~~~~^
../..\media/cdm/stub/stub_cdm.h(60,50):  error: no type named 'InputBuffer' in namespace 'cdm'
  cdm::Status DecryptAndDecodeSamples(const cdm::InputBuffer& encrypted_buffer,
                                            ~~~~~^
../../media/cdm/stub/stub_cdm.cc(37,14):  error: allocating an object of abstract class type 'media::StubCdm'
  return new media::StubCdm(host);
             ^
../..\media/cdm/api/content_decryption_module.h(655,18):  note: unimplemented pure virtual method 'Decrypt' in 'StubCdm'
  virtual Status Decrypt(const InputBuffer_1& encrypted_buffer,
                 ^
../..\media/cdm/api/content_decryption_module.h(668,18):  note: unimplemented pure virtual method 'InitializeAudioDecoder' in 'StubCdm'
  virtual Status InitializeAudioDecoder(
                 ^
../..\media/cdm/api/content_decryption_module.h(681,18):  note: unimplemented pure virtual method 'InitializeVideoDecoder' in 'StubCdm'
  virtual Status InitializeVideoDecoder(
                 ^
../..\media/cdm/api/content_decryption_module.h(710,18):  note: unimplemented pure virtual method 'DecryptAndDecodeFrame' in 'StubCdm'
  virtual Status DecryptAndDecodeFrame(const InputBuffer_1& encrypted_buffer,
                 ^
../..\media/cdm/api/content_decryption_module.h(729,18):  note: unimplemented pure virtual method 'DecryptAndDecodeSamples' in 'StubCdm'
  virtual Status DecryptAndDecodeSamples(const InputBuffer_1& encrypted_buffer,
                 ^
../../media/cdm/stub/stub_cdm.cc(110,41):  error: no type named 'InputBuffer' in namespace 'cdm'
cdm::Status StubCdm::Decrypt(const cdm::InputBuffer& /* encrypted_buffer */,
                                   ~~~~~^
../../media/cdm/stub/stub_cdm.cc(116,16):  error: no type named 'AudioDecoderConfig' in namespace 'cdm'
    const cdm::AudioDecoderConfig& /* audio_decoder_config */) {
          ~~~~~^
../../media/cdm/stub/stub_cdm.cc(121,16):  error: no type named 'VideoDecoderConfig' in namespace 'cdm'
    const cdm::VideoDecoderConfig& /* video_decoder_config */) {
          ~~~~~^
../../media/cdm/stub/stub_cdm.cc(132,16):  error: no type named 'InputBuffer' in namespace 'cdm'
    const cdm::InputBuffer& /* encrypted_buffer */,
          ~~~~~^
../../media/cdm/stub/stub_cdm.cc(138,16):  error: no type named 'InputBuffer' in namespace 'cdm'
    const cdm::InputBuffer& /* encrypted_buffer */,
          ~~~~~^
11 errors generated.
[484/486] LINK(DLL) base.dll base.dll.lib base.dll.pdb
ninja: build stopped: subcommand failed.

Sign in to add a comment