You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILED: libexpat.a
python "/home/rb/deps/skia/gn/rm.py" "libexpat.a" && ar rcs libexpat.a @libexpat.a.rsp
/bin/sh: 1: python: not found
[427/1786] compile ../../third_party/externals/harfbuzz/src/hb-ot-layout.cc
ninja: build stopped: subcommand failed.
occured (at step 414/1786).
edit: Just realized, when I'm executing ninja over and over again, it fails on a different file every time, but always claims it's the error at libexpat.a.
I'm using Linux Mint, full updated.
The text was updated successfully, but these errors were encountered:
GrosserKaese
changed the title
ninja: not found hb-ot-layout.cc
ninja: FAILED: libexpat.a
Nov 13, 2023
I think this error is a library missing of Python code. I resolved the problem by installing expatriate library through pip (pip install expatriate).
Somehow on some machines pip doesn't work. It returns the error "This environment is externally managed" and doesn't install the package. In this case, you may refer to this StackOverflow page.
After installation, you can execute ninja -C out/Release-x64 skia modules and everything will work.
Had the same issue trying to build on Debian. I think it's an issue referencing the python version or something since I had to run python3 instead of python in a previous step. Found a work around using help from a Cyberciti article to make a symlink.
I think this is linked to ISSUE27.
While executing
ninja -C out/Release-x64 skia modules
the error
FAILED: libexpat.a
python "/home/rb/deps/skia/gn/rm.py" "libexpat.a" && ar rcs libexpat.a @libexpat.a.rsp
/bin/sh: 1: python: not found
[427/1786] compile ../../third_party/externals/harfbuzz/src/hb-ot-layout.cc
ninja: build stopped: subcommand failed.
occured (at step 414/1786).
edit: Just realized, when I'm executing ninja over and over again, it fails on a different file every time, but always claims it's the error at libexpat.a.
I'm using Linux Mint, full updated.
The text was updated successfully, but these errors were encountered: