Closed jwinarske closed 2 months ago
Duplicate of #3788
@magreenblatt What's the issue with depot_tools? This is not clear in the other issue.
What's the issue with depot_tools?
I don't know, and I don't have an Ubuntu 20 setup to debug the issue.
Now testing on Fedora 40. I don't think it's a depot_tools issue.
@magreenblatt Fedora 40 is not a duplicate
~/code/chromium_git/chromium/src/cef$ ./cef_create_projects.sh
...
Generating CEF project files...
Creating /home/joel/code/chromium_git/chromium/src/out/Debug_GN_x64 directory.
ERROR at //printing/BUILD.gn:480:16: Script returned non-zero exit code.
libs = exec_script("cups_config_helper.py",
^----------
Current dir: /home/joel/code/chromium_git/chromium/src/out/Debug_GN_x64/
Command: python3 /home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py --libs-for-gn
Returned 1.
stderr:
Traceback (most recent call last):
File "/home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py", line 108, in <module>
sys.exit(main())
^^^^^^
File "/home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py", line 92, in main
flags = run_cups_config(cups_config, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py", line 35, in run_cups_config
cups = subprocess.Popen([cups_config, '--cflags', '--ldflags', '--libs'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cups-config'
See //BUILD.gn:288:17: which caused the file to be included.
deps += [ "//printing:printing_unittests" ]
^------------------------------
Traceback (most recent call last):
File "/home/joel/code/chromium_git/chromium/src/cef/tools/gclient_hook.py", line 149, in <module>
RunAction(src_dir, cmd)
File "/home/joel/code/chromium_git/chromium/src/cef/tools/gclient_util.py", line 35, in RunAction
gclient_utils.CheckCallAndFilter(
File "/home/joel/code/depot_tools/gclient_utils.py", line 714, in CheckCallAndFilter
raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'gn gen out/Debug_GN_x64' returned non-zero exit status 1 in /home/joel/code/chromium_git/chromium/src
ERROR at //printing/BUILD.gn:480:16: Script returned non-zero exit code.
libs = exec_script("cups_config_helper.py",
^----------
Current dir: /home/joel/code/chromium_git/chromium/src/out/Debug_GN_x64/
Command: python3 /home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py --libs-for-gn
Returned 1.
stderr:
Traceback (most recent call last):
File "/home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py", line 108, in <module>
sys.exit(main())
^^^^^^
File "/home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py", line 92, in main
flags = run_cups_config(cups_config, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/joel/code/chromium_git/chromium/src/printing/cups_config_helper.py", line 35, in run_cups_config
cups = subprocess.Popen([cups_config, '--cflags', '--ldflags', '--libs'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cups-config'
See //BUILD.gn:288:17: which caused the file to be included.
deps += [ "//printing:printing_unittests" ]
^------------------------------
Fedora failure was due to missing runtime deps... Since the install deps only handles debian packages
Works as advertised on Fedora 40; requires manual install of runtime packages
Describe the bug Following Linux setup fails at
./cef_create_projects.sh
everytime https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md#markdown-header-linux-setupTo Reproduce Steps to reproduce the behavior:
Expected behavior
cef_create_projects.sh
runs without errorVersions (please complete the following information):