-
Notifications
You must be signed in to change notification settings - Fork 105
hinting_stats reports missing libc #3107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
ttfautohint is invoked via a python wrapper. Maybe it is not properly installed? Try to create a new virtualenv and reinstall fontbakery in it form scratch (the ttfautohint wrapper is automatically installed as a PyPI dependency) |
@simoncozens said (in a private chat):
|
libc_path = find_library("c")
if libc_path is None:
raise OSError("Could not find the libc shared library") You really should have a C library, or else nothing will work on your system at all (unless Big Sur is being extremely non-Unix-like). So why is ctypes not finding it? |
It is true. I am missing libc.dylib — it is not at /usr/lib/libc.dylib But at the same time, my computer generally works. |
Looks like this is a expected Big Sur thing. C libraries have now moved into the "shared cache". System Python (shipped by Apple) has a fix for it, but hand-rolled Python builds do not. Apparently this has been fixed really recently (two weeks ago) and will come to future builds of Python 3.8 and 3.9. Either use system Python or hang tight for the next point-release. |
system Python is still 2.7, so that is no good. I guess I will just wait then! |
You may be able to run your own derivative of the googlefonts check profile without the ttfa checks until then. If that import and whatever relies on it goes away, you should be able to run FB without a new cPy release. |
is it useful to still keep this issue open? Or would you be OK closing it now? |
I've raised it with ttfautohint-py, so let's close it here. |
I realize this involves third-party libraries. Some guidance on what to do would be appreciated.
Observed behaviour
Expected behaviour
Clearer guidance.
Resources and exact process needed to replicate
Running latest fontbakery on a proprietary font for Google. Contact me for details.
The text was updated successfully, but these errors were encountered: