Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Building the CEF binaries 5615

Post Reply
alpires2000
Posts: 48
Joined: Sat Dec 09, 2017 4:40 pm

Building the CEF binaries 5615

Post by alpires2000 »

Hi Salvador.
I'm trying to compile CEF 5615 with proprietary_codecs=true, but the following error is occurring:

Code: Select all

[6:46:01]   src/third_party/flatbuffers/src
[6:46:01]   src/third_party/fp16/src
41>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "--no-tags"' in d:\code\chromium_git\chromium\src\third_party\flatbuffers\src failed; will retry after a short nap...
Syncing projects:  95% (42/44) src/third_party/dawn

src/third_party/dav1d/libdav1d (ERROR)
----------------------------------------
[6:42:47] Started.
[6:42:48]

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/videolan/dav1d.git d:\code\chromium_git\chromium\src\third_party\dav1d\_gclient_libdav1d_xe98a4rp' in 'd:\code\chromium_git\chromium'

[6:43:01] Cloning into 'd:\code\chromium_git\chromium\src\third_party\dav1d\_gclient_libdav1d_xe98a4rp'...
[6:43:20] fatal: unable to access 'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git/': Recv failure: Connection was reset
[6:43:51]
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/videolan/dav1d.git d:\code\chromium_git\chromium\src\third_party\dav1d\_gclient_libdav1d_xe98a4rp' in 'd:\code\chromium_git\chromium' attempt 2 / 2

[6:43:51] Cloning into 'd:\code\chromium_git\chromium\src\third_party\dav1d\_gclient_libdav1d_xe98a4rp'...
[6:44:16] fatal: unable to access 'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git/': Recv failure: Connection was reset
Traceback (most recent call last):
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 1160, in _Clone
    self._Run(clone_cmd,
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 1506, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "d:\code\chromium_git\depot_tools\gclient_utils.py", line 715, in CheckCallAndFilter
    raise subprocess2.CalledProcessError(
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/videolan/dav1d.git d:\\code\\chromium_git\\chromium\\src\\third_party\\dav1d\\_gclient_libdav1d_xe98a4rp' returned non-zero exit status 128 in d:\code\chromium_git\chromium
[6:44:30] _____ Conflicting directory found in d:\code\chromium_git\chromium\src\third_party\dav1d\libdav1d. Moving to d:\code\chromium_git\chromium\_bad_scm\src\third_party\dav1d\libdav1dlaxcrzdc.
----------------------------------------


Warnings:
Conflicting directory d:\code\chromium_git\chromium\src\third_party\dav1d\libdav1d moved to d:\code\chromium_git\chromium\_bad_scm\src\third_party\dav1d\libdav1dlaxcrzdc.
Traceback (most recent call last):
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 647, in update
    self._Clone(revision, url, options)
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 1160, in _Clone
    self._Run(clone_cmd,
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 1506, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "d:\code\chromium_git\depot_tools\gclient_utils.py", line 715, in CheckCallAndFilter
    raise subprocess2.CalledProcessError(
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/videolan/dav1d.git d:\\code\\chromium_git\\chromium\\src\\third_party\\dav1d\\_gclient_libdav1d_xe98a4rp' returned non-zero exit status 128 in d:\code\chromium_git\chromium

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\alexa\.vpython-root\7a8f61\lib\shutil.py", line 791, in move
    os.rename(src, real_dst)
FileNotFoundError: [WinError 2] O sistema não pode encontrar o arquivo especificado: 'd:\\code\\chromium_git\\chromium\\src\\third_party\\dav1d\\libdav1d' -> 'd:\\code\\chromium_git\\chromium\\_bad_scm\\src\\third_party\\dav1d\\libdav1dlaxcrzdc\\libdav1d'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\code\chromium_git\depot_tools\metrics.py", line 301, in print_notice_and_exit
    yield
  File "d:\code\chromium_git\depot_tools\gclient.py", line 3532, in <module>
    sys.exit(main(sys.argv[1:]))
  File "d:\code\chromium_git\depot_tools\gclient.py", line 3518, in main
    return dispatcher.execute(OptionParser(), argv)
  File "d:\code\chromium_git\depot_tools\subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "d:\code\chromium_git\depot_tools\gclient.py", line 3069, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "d:\code\chromium_git\depot_tools\gclient.py", line 2032, in RunOnDeps
    work_queue.flush(revision_overrides,
  File "d:\code\chromium_git\depot_tools\gclient_utils.py", line 1016, in flush
    reraise(e[0], e[1], e[2])
  File "d:\code\chromium_git\depot_tools\gclient_utils.py", line 70, in reraise
    raise value
  File "d:\code\chromium_git\depot_tools\gclient_utils.py", line 1093, in run
    self.item.run(*self.args, **self.kwargs)
  File "d:\code\chromium_git\depot_tools\gclient.py", line 1007, in run
    self._got_revision = self._used_scm.RunCommand(command, options, args,
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 128, in RunCommand
    return getattr(self, command)(options, args, file_list)
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 650, in update
    self._DeleteOrMove(options.force)
  File "d:\code\chromium_git\depot_tools\gclient_scm.py", line 203, in _DeleteOrMove
    shutil.move(self.checkout_path, dest_path)
  File "C:\Users\alexa\.vpython-root\7a8f61\lib\shutil.py", line 811, in move
    copy_function(src, real_dst)
  File "C:\Users\alexa\.vpython-root\7a8f61\lib\shutil.py", line 435, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "C:\Users\alexa\.vpython-root\7a8f61\lib\shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'd:\\code\\chromium_git\\chromium\\src\\third_party\\dav1d\\libdav1d'
Traceback (most recent call last):
  File "automate\automate-git.py", line 1160, in <module>
    run("gclient sync --nohooks --with_branch_heads --jobs 16", \
  File "automate\automate-git.py", line 66, in run
    return subprocess.check_call(
  File "D:\code\depot_tools\bootstrap-2@3_8_10_chromium_26_bin\python3\bin\lib\subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--nohooks', '--with_branch_heads', '--jobs', '16']' returned non-zero exit status 1.
D:\code>
Some idea?
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Building the CEF binaries 5615

Post by salvadordf »

Hi,

The log includes this line :

Code: Select all

[6:43:20] fatal: unable to access 'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git/': Recv failure: Connection was reset
It looks like the build process failed because of a network issue. Retry to build after a few moments.

However, I would also check the new requirements in the 5615 branch :
  • Visual Studio 2022
  • Windows 10 SDK version 10.0.22621
alpires2000
Posts: 48
Joined: Sat Dec 09, 2017 4:40 pm

Re: Building the CEF binaries 5615

Post by alpires2000 »

Yes, I am using VS 2022 and SDK 10.0.22621
I'll try again
Thanks
Post Reply