Re: Problem compiling chromium

From: John-Mark Gurney <jmg_at_funkthat.com>
Date: Sun, 9 Aug 2020 10:22:30 -0700
Filippo Moretti wrote this message on Sun, Aug 02, 2020 at 08:23 +0000:
> 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

Are you sure that chromium is Python 3 clean?  Python 2 was recently
deprecated, so likely this is fallout from that.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Sun Aug 09 2020 - 15:22:35 UTC

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