Problem compiling chromium

From: Filippo Moretti <filippomore_at_yahoo.com>
Date: Sun, 2 Aug 2020 08:23:59 +0000 (UTC)
This is the last eror I get attempting to compile chromium on amd64 arch R363570[263/38159] python ../../mojo/public/tools/mojom/mojom_parser.py --input-root /usr/ports/www/chromium/work/chromium-84.0.4147.105/ --input-root /usr/ports/www/chromium/work/chromium-84.0.4147.105/out/Release/gen --output-root /usr/ports/www/chromium/work/chromium-84.0.4147.105/out/Release/gen --mojom-file-list=__mojo_public_mojom_base_base__parser___build_toolchain_linux_clang_x64__rule..rsp --check-imports /usr/ports/www/chromium/work/chromium-84.0.4147.105/out/Release/gen/mojo/public/mojom/base/base.build_metadata --enable-feature file_path_is_string --enable-feature is_posix --enable-feature is_linux
[264/38159] python ../../tools/licenses.py --target-os=freebsd --depfile gen/components/resources/about_credits.d credits gen/components/resources/about_credits.html
FAILED: gen/components/resources/about_credits.html 
python ../../tools/licenses.py --target-os=freebsd --depfile gen/components/resources/about_credits.d credits gen/components/resources/about_credits.html
Traceback (most recent call last):
  File "../../tools/licenses.py", line 807, in <module>
    sys.exit(main())
  File "../../tools/licenses.py", line 792, in main
    args.gn_target, args.depfile): File "../../tools/licenses.py", line 720, in GenerateCredits
    license_file_list + ['build.ninja'])
  File "/usr/ports/www/chromium/work/chromium-84.0.4147.105/build/android/gyp/util/build_utils.py", line 619, in WriteDepfile
    inputs = ComputePythonDependencies() + inputs
  File "/usr/ports/www/chromium/work/chromium-84.0.4147.105/build/android/gyp/util/build_utils.py", line 557, in ComputePythonDependencies
    p for p in abs_module_paths if p.startswith(abs_dir_source_root)
  File "/usr/ports/www/chromium/work/chromium-84.0.4147.105/build/android/gyp/util/build_utils.py", line 557, in <listcomp>
    p for p in abs_module_paths if p.startswith(abs_dir_source_root)
  File "/usr/ports/www/chromium/work/.bin/../../../../../local/lib/python3.7/posixpath.py", line 378, in abspath
    path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
Received on Sun Aug 02 2020 - 06:24:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC